Re: Polygon fill algo?

2021-02-16 Thread Richard Gaskin via use-livecode
Super helpful, Mark. Thank you. I can better understand how the existing modes work, but I need something a little different. Imagine if we had a mode where each successive set of points is rendered so it completely paints over anything rendered before it, vertices and all - e.g.:

Re: Polygon fill algo?

2021-02-15 Thread Mark Waddingham via use-livecode
On 2021-02-16 05:55, Richard Gaskin via use-livecode wrote: My expectation was almost beyond anything reasonable, but it would seem useful if there was some way to make it happen: imagine if each segment within a list of discontiguous points was rendered as though it's a separate object, back

Re: Polygon fill algo?

2021-02-15 Thread Richard Gaskin via use-livecode
Bernd Niggemann wrote: > > Richard wrote > > a way to coerce discontiguous polygon regions to always be filled? > > I assume you have set the opaque of the polygon graphic to true? Yep. My expectation was almost beyond anything reasonable, but it would seem useful if there was some way to

Re: Polygon fill algo?

2021-02-15 Thread Niggemann, Bernd via use-livecode
>Richard wrote >a way to coerce discontiguous polygon regions to always be filled? I assume you have set the opaque of the polygon graphic to true? Without "opaque" I do not get any filling, with "opaque" true it always fills Kind regards Bernd ___

Re: Polygon fill algo?

2021-02-14 Thread Richard Gaskin via use-livecode
Thanks, Monte. I checked it out, but unfortunately none of the options handle my specific use case in the way I want (which is arguably an unrealistic expectation, given that I need to have the fill region paint over some vertices). I also discovered what may be a bug, or at least a

Re: Polygon fill algo?

2021-02-14 Thread Monte Goulding via use-livecode
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 > 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

Polygon fill algo?

2021-02-14 Thread Richard Gaskin via use-livecode
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