X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08 Oct 2009 10:10 AM by  anon
IDLgrPolygon fill
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
08 Oct 2009 10:10 AM
    Hi, If the vertices of a polygon are as follows. x = indgen(12) y = [5, 5, 6, 7, 8, 9, 8, 7, 6, 8,5, 4] thisPoly = Obj_New('IDLgrPolygon', x, y, Color=[255,0,255]) thisPoly->SetProperty, STYLE=1 with Style=1 the polygon is created properly as expected.. whereas if Style=2 (i.e when filled), the filling is performed over the outer vertices. And hence these two do not look similar.. Is there any option to make the polygon fill by considering vertices as such and not by outer vertices alone.. Thanks, Subashini

    Deleted User



    New Member


    Posts:
    New Member


    --
    20 Oct 2009 03:10 AM
    Hi, I think you have to read the "IDLgrTessellator" help. There is an interesting example that I suppose you have to follow. Best regards.
    You are not authorized to post a reply.