Question about the GdkGC
- From: "Tom Liu" <tom liu flextrade com>
- To: <gtk-app-devel-list gnome org>
- Subject: Question about the GdkGC
- Date: Wed, 12 Nov 2003 11:26:32 -0500
When I create a GdkGC, I have to give a GdkDrawable to attach this GC,
But when I draw line or rectangle, I still need the GdkDrawable as
parameter.
Is these because one GdkGC can work on multile GdkDrawable after it
created?
Another question: the CreateGC and releaseGC is a expensive job? Should
I create and release it every time I need to draw or just keep a global
copy for better performance.
Thanks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]