[squeak-dev] Bezier filled shape rendering artifacts

Igor Stasenko siguctua at gmail.com
Mon Mar 24 09:35:21 UTC 2008

i spent a few hours to implement new morph (BezierMorph) , partly to
see how balloon draws bezier shapes, partly to be able to edit all
cubic bezier parameters.

What i found that at some specific point it produces a visual
artifacts by infinitely extending a single horizontal lines.

Can't say, is this bug of balloon plugin or it's because of
inaccuracies , which can be eliminated/avoided by ST, without fixing
I'm specially making sure that all segment joints having same
coordinates (endpoint  of segment A is equal to starting point of
segment B, which follows A). Also shape is closed.

To reproduce a bug, file in a morph. Put it on desktop, then
right-click -> convert to filled shape.
You can also edit a morph's points (by choosing 'edit shape' in
context menu) and see how horizontal line appears and disappears
depending on vertex position and segments curvature.

Btw, time to time i see same artifacts in hint popups which using
filled curved shapes too.

Best regards,
Igor Stasenko AKA sig.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BezierMorph.st.gz
Type: application/x-gzip
Size: 2756 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080324/ea3f585a/BezierMorph.st.bin

More information about the Squeak-dev mailing list