GTK migrated from GDK to Cairo. And when anti-aliasing/transparency is
available XOR is not supported.

  Our recommendation is don't use XOR anymore anywhere. Use double buffer
and redraw everything. The nowadays GPUs are fast enough for that.

Best,
Scuri


Em qua., 22 de jan. de 2020 às 19:09, Milind Gupta <milind.gu...@gmail.com>
escreveu:

> Hi,
>          I have a canvas on which I draw something using the CD_XOR
> writemode. The example pasted below works fine by drawing a black line on
> windows but not on linux. Linux does not show anything.
>          What am I doing wrong here?
>
> Thanks,
> Milind
> _______________________________________________
> Canvasdraw-users mailing list
> canvasdraw-us...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/canvasdraw-users
>
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to