Bug 592 : bezier example image or source may have error
Last modified: 2007-11-25 08:56




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
Zachary Seldess
Assigned To:
REAS

Attachment Type Created Size Actions

Description:   Opened: 2007-07-02 07:59
revision number: 0124Beta
OS: OSX 10.4.10
MacBookPro 15inch 2.16GHz, 2G RAM, 256MB Video Card

The code from the bezier() reference doesn't render correctly on my machine

in addition to drawing the bezier curve, it draws another line connecting
the two endpoints (i.e. line(85, 20, 15, 80)), and then fills the inside of
the shape with white.

Code example below.

best,
Zachary

stroke(255, 102, 0);
line(85, 20, 10, 10);
line(90, 90, 15, 80);
stroke(0, 0, 0);
bezier(85, 20, 10, 10, 90, 90, 15, 80);
Additional Comment #1 From fry 2007-07-06 20:58
the code is rendering correctly, this may be an issue with the image being
wrong, or more likely, that the code in the example should have "noFill()"
to match the image.