[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

draw & render fonts and later get the image's pixels by RGB




Hi !

I'm very new on this list and in GTK programming as well. I can't figure out
how can I draw primitives on a widget with the gdk_draw_ stuff, render fonts
on it, and later, get back the image's pixels by RGB colors (or the whole
image in an RGB array).

First I tried with GdkPixmap on which I could draw with gdk_draw
and I could render font as well, but I couldn't get the image
by RGB colors.

So could you name a widget and the functions which I can use to do the above ?
Or just an URL, or something, on which I can start.

Thank you in advance.

-- 
Nicolas
nicolas@hal2000.hal.vein.hu



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]