Re: cairo drawing



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 gnome org
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


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