text drawing artifact

Steven J Abner pheonix.sja at att.net
Wed May 29 17:49:43 UTC 2024


 I've gotten frustrated and need help. I've tried different combos of 
matrix, cairo_t, clip
and saves. I just can't make this work: draw text then drawing. Can 
switch order:
drawing then draw text to make it work, but in creating objects parsing 
order for draw
events is not really an option.
 What am I doing wrong?????

demo: compile
 gcc -x c -std=c99 -pipe -fno-builtin -fmessage-length=0 -g `pkg-config 
--cflags gtk+-3.0` -o a artifact.c `pkg-config --libs gtk+-3.0`
demo: run
 ./a
then try altering draw() so draw_wmgr() runs before text drawing code 
to see difference.
  Steve

-------------- next part --------------
A non-text attachment was scrubbed...
Name: artifact.c
Type: text/x-csrc
Size: 3209 bytes
Desc: not available
URL: <https://lists.cairographics.org/archives/cairo/attachments/20240529/680f5f0d/attachment.c>


More information about the cairo mailing list