Hi, I don't know did I miss some property to set or it is a bug, this is the problem:
My program is supposed to visualize a signal, so I need to draw a graph and fill inside of this graph, so I create a convex and set n+2 points to specify graph's border (n points for graph line and 2 point to make convex a closed shape((width, height) and (0, height)), it draws graph but has some malfunctions in 2 parts: 1- when draws outline it has some distortion 2- it fills convex like 3d, but I want to fill just inside of graph
I put graph's image: