bombasticbob / X11workbenchProject

The X11 Work Bench, an IDE for working on X11 applications, with a simple C language toolkit that should be familiar and easy to use for old school GUI programmers (currently pre-alpha state)
Other
3 stars 0 forks source link

'arrow' APIs don't completely "fill" the polygon when using grey color #11

Closed bombasticbob closed 8 years ago

bombasticbob commented 8 years ago

for some reason, the 'fill' functionality does not properly fill the triangle shape when painting an 'arrow' using one of the four 'window dressing' API functions that paint arrows. These functions internally call XFillPolygon() which SHOULD fill the polygon; however, close inspection of a dark grey on light grey polygon show a light grey dot within the dark grey triangle. This problem does not appear to show up when BLACK is used to draw the triangle 'arrow'.

functions affected:

WBDrawLeftArrow(), WBDrawRightArrow(), WBDrawUpArrow(), WBDrawDownArrow()

bombasticbob commented 8 years ago

changed fill method, seems to work fine now.