DrawPath() vs Polygon() draws differently
Posted: Sun Mar 12, 2017 7:51 pm
Hello Andreas
Please try these lines.
It draws the same polygon with Polygon() and DrawPath().
The Drawpath() makes a line out of the corner if the lines has too small degree.
It is a similar thing that the sideeffect of #edge and larger line weight.
Could you fix this?
Please try these lines.
It draws the same polygon with Polygon() and DrawPath().
The Drawpath() makes a line out of the corner if the lines has too small degree.
It is a similar thing that the sideeffect of #edge and larger line weight.
Could you fix this?
Code: Select all
Polygon(100,200,{0,0,400,-50,40,0},3,#RED)
StartPath(1)
MoveTo(1,0,0)
LineTo(1,400,-50)
LineTo(1,40,0)
ClosePath(1)
DrawPath(1,100,400,#RED)
Plot(100+0,400+0,#YELLOW)
Plot(100+400,400-50,#YELLOW)
Plot(100+40,400+0,#YELLOW)
WaitLeftMouse