Ask Your Question

francoisdtf's profile - activity

2020-08-24 03:33:25 -0600 received badge  Notable Question (source)
2019-04-23 07:25:47 -0600 received badge  Popular Question (source)
2015-12-10 04:04:28 -0600 received badge  Editor (source)
2015-12-10 04:03:25 -0600 commented answer [Solved] FillConvexPoly too convex

This definitely answers the question, thanks a lot :)

2015-12-10 04:02:47 -0600 received badge  Supporter (source)
2015-12-10 04:02:44 -0600 received badge  Scholar (source)
2015-12-08 08:55:58 -0600 received badge  Student (source)
2015-12-08 05:34:40 -0600 asked a question [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?