Re: [gtkmm] Draw lines into a Gdk::Pixbuf



"Find All" <find_all hotmail com> writes:

> Is there a way to draw lines,rectangles... directly to a Gdk::Pixbuf
> in the same way as the functions draw_line,draw_rectangle... of
> Gdk::Drawable?

No, not as far as I know. But it's quite easy to do yourself if you
make a proper frontend for the pixbuf interface. I've got one
suggestion here:

  http://www.cs.auc.dk/~olau/misc/pixbuf-drawing.hpp

I wrote a message about it on this list about a year ago or so with
usage instructions:

  http://mail.gnome.org/archives/gtkmm-list/2003-January/msg00198.html

Perhaps I should think about making a patch.
  
-- 
Ole Laursen
http://www.cs.auc.dk/~olau/



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