XWindows: drawing rectangle using GXinvert function fails on upper left corner
Asked by
MarioDePoli
Using the following code:
/*look at upper left corner in the second rectangle using a black window*/
/*the pixel is black!!! Double inversion? */
XSetForeground (Display,Draw_GC, XWhitePixel(
XSetFunction(
XDrawRectangl
XSetFunction(
XDrawRectangl
XFlushGC(
the first pixel is lost (black)!!!
Possible interpretation: double inversion!
I do not like that missing pixel expecially if point are large due to scaling.
thank for help
Mario
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
To post a message you must log in.