[mcclim-devel] bezier simplification

Christophe Rhodes csr21 at cantab.net
Mon Jul 16 20:46:28 UTC 2007


Hi,

I think the attached patch implements a slight simplification of
convolution of areas with regions: since segments within bezier curves
are by construction connected (p3 of one segment is p0 of the next),
the convolution was including duplicates from the region at successive
endpoints.

The gsharp :quarter-rest becomes a union of 32 bezier areas with this
patch (down from 47), and doesn't look noticeably different to me,
either with the X or the html canvas output methods; the canvas output
is overall smaller by 20%, just from this change.

I believe that there are still duplicate regions in the quarter rest,
but if this change could be reviewed I'd be happy.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bezier.diff
Type: text/x-diff
Size: 2813 bytes
Desc: fewer duplicate regions
URL: <https://mailman.common-lisp.net/pipermail/mcclim-devel/attachments/20070716/adcdb539/attachment.diff>
-------------- next part --------------

Cheers,

Christophe


More information about the mcclim-devel mailing list