History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-1639
Type: Improvement Improvement
Status: Verified Verified
Resolution: Fixed
Priority: P1 P1
Assignee: Frisco Del Rosario
Reporter: Oliver Steele
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

cubic bezier implementation

Created: 26/Feb/06 11:35 PM   Updated: 26/Jan/07 06:06 PM
Component/s: Extensions - drawview
Affects Version/s: None
Fix Version/s: 3.2 (Sage)

Time Tracking:
Not Specified

Severity: Minor
URL: http://osteele.com/sources/openlaszlo/drawview-patches.js
Fixed in Change#: 40,658
Runtime: N/A
Release Note Text: Sent to ptw
Fix in hand: True, False


 Description  « Hide
I'll contribute the LzDrawView.prototype.bezierCurveTo method from http://osteele.com/sources/openlaszlo/drawview-patches.js when it can be added to the platform.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jim Grandy - 10/Mar/06 02:23 PM
Thanks, Oliver!

Max Carlson - 10/Mar/06 07:25 PM
This shows a bug (test from http://developer.mozilla.org/samples/canvas-tutorial/2_6_canvas_beziercurveto.html):

<canvas>
    <drawview>
        <method event="oninit">
            this.beginPath();
            this.moveTo(75,40);
            this.bezierCurveTo(75,37,70,25,50,25);
            this.bezierCurveTo(20,25,20,62.5,20,62.5);
            this.bezierCurveTo(20,80,40,102,75,120);
            this.bezierCurveTo(110,102,130,80,130,62.5);
            this.bezierCurveTo(130,62.5,130,25,100,25);
            this.bezierCurveTo(85,25,75,37,75,40);
            this.fill();
        </method>
    </drawview>
</canvas>

Max Carlson - 15/Mar/06 06:51 PM
checking in as-is. Filing a separate bug for the issue shown in the drawing.lzx testcase...