Post Reply 
FILLPOLY_P() Question.
06-30-2021, 11:11 AM
Post: #1
FILLPOLY_P() Question.
I have been trying to use FILLPOLY_P() to fill circles and other more complex shapes, and find that when I plot the points too close together, which obviously better defines the outer shape, then the fill is compromised, and can sometimes result in blank parts not actually filled, or lines outside of the shape, where a corner turns towards the centre.

Does anyone know what algorithm it follows, or how I might avoid badly filled shapes? I am being careful to ensure that the full outline is drawn, with no spaces, but you can take a look at the result and see what I mean.

EXPORT sham2()
    LOCAL COORD:={};
      FOR T FROM 0 TO 2*π STEP 0.009 DO
WAIT (-1);

You can see the example of the code above in the attached screen shot.

Attached File(s) Thumbnail(s)
Find all posts by this user
Quote this message in a reply
Post Reply 

User(s) browsing this thread: 1 Guest(s)