Raster operations



Hello List members,

I am Asela this is my first email to the list. I just started developing
a small application in C language uisng the Gtk+2.0 library. I need some
information on the Gtk+ (of GDK) api's. I will be very greatefull if
someone can help me. ( Since I am a newbie an explanation in the most
simplest way is much appreciated).

I am currentrly developing a program to render a vector image to screen.
(The image is in XML data) The method I use is; first create a Gtk draw
widget then draw polygons and lines in to a Gdk pixmap usind Gdk drawing
api's and draw the Gdk pixmap on the Gtk draw widget. Then show it on a
window.

The problem is I need to do some raster operations like ROP2, ROP3,
Porter and Duff etc... Are there any api's in Gtk(or Gdk) to achive it?
If not is there a library or something that I can use(C language)?
If both the above is not possible is there a standard method to do the
above operations(C language, GDK and Gtk widgets)?

Thank you for your time.
Asela.



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