Re: cairo drawing
- From: Alexander Semenov <bohtvaroh gmail com>
- To: Luiz Rafael Culik Guimaraes <luiz xharbour com br>
- Cc: gtk-list gnome org
- Subject: Re: cairo drawing
- Date: Thu, 25 Sep 2008 00:59:49 +0300
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]