Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

FillConvexPoly too convex

Hi,

I'm trying to draw a filled rotated rectangle-like shape (so not exactly a rectangle, because of no square angle). I'm thus calling the function FillConvexPoly, and giving the 4 vertices of my polygon, but the result is the following :

image description

Instead, I'd like to have straight lines going from each vertice to the other. I tried adding points in the middle of the line but it still tries to make it as convex as possible.

Is there a function or a way or tuning this one allowing me to draw a filled shape with straight lines?

FillConvexPoly too convex

Hi,

I'm trying to draw a filled rotated rectangle-like shape (so not exactly a rectangle, because of no square angle). I'm thus calling the function FillConvexPoly, and giving the 4 vertices of my polygon, but the result is the following :

image description

Instead, I'd like to have straight lines going from each vertice to the other. I tried adding points in the middle of the line but it still tries to make it as convex as possible.

Is there a function or a way or tuning this one allowing me to draw a filled shape with straight lines?

[Solved] FillConvexPoly too convex

Hi,

I'm trying to draw a filled rotated rectangle-like shape (so not exactly a rectangle, because of no square angle). I'm thus calling the function FillConvexPoly, and giving the 4 vertices of my polygon, but the result is the following :

image description

Instead, I'd like to have straight lines going from each vertice to the other. I tried adding points in the middle of the line but it still tries to make it as convex as possible.

Is there a function or a way or tuning this one allowing me to draw a filled shape with straight lines?