brandonborkholder / glg2d

Graphics2D wrapper for JOGL
77 stars 31 forks source link

Minor fixes to path drawing (exception on empty paths and moveTo) #27

Closed michaelzangl closed 9 years ago

michaelzangl commented 9 years ago

I found glg2d to be incompatible with my JOGL version (2.2.4). I fixed this.

The next thing I noticed is, that moveTo() for paths only draws the path as far as it is, but it does not discard the draw buffer, thus drawing the whole line and the moveTo() line the next time.

There also was an error when trying to draw empty areas.