Re: cairo drawing

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

 



Luiz Rafael Culik Guimaraes wrote:
Hello friends

I need to draw an cairo rectangle on an gtk app. does this rectangle can be draw inside an gtk_drawing_area_new() widget?

Regards
Luiz
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

Hi.

I think you can get the GdkDrawable from the widget->window and acquire cairo context from it with gdk_cairo_create (), then draw on it.

Regards, Alexander
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux