Polygon fill algo?
Monte Goulding
monte at appisle.net
Sun Feb 14 17:30:43 EST 2021
Hi Richard
Have you checked out the `fillRule` property docs?
Cheers
Monte
> On 15 Feb 2021, at 9:25 am, Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> I was hoping to use a single polygon draw a box, using the old trick of making discontiguous regions by adding a blank line between lists of points.
>
> The results draws the lines as I expected, but the fill is unpredictable, at least for me. Apparently the fill rules for a polygon cause it to not fill some regions, even when discontiguous.
>
> I guess I'll have to use separate objects, but I was wondering if anyone has a description of the polyfill rule(s), or better, a way to coerce discontiguous polygon regions to always be filled.
>
> --
> Richard Gaskin
> Fourth World Systems
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list