Lines Matching defs:gc
85 GdkGC *gc,
96 wxCHECK_RET( gc, _T("NULL gc in gdk_wx_draw_bitmap") );
110 gc_private = (GdkGCPrivate*) gc;
248 static void wxFreePoolGC( GdkGC *gc )
252 if (wxGCPool[i].m_gc == gc)
1058 GdkGC *gc = gdk_gc_new( new_mask );
1060 gdk_gc_set_foreground( gc, &col );
1061 gdk_draw_rectangle( new_mask, gc, TRUE, 0, 0, ww, hh );
1063 gdk_gc_set_background( gc, &col );
1065 gdk_gc_set_foreground( gc, &col );
1066 gdk_gc_set_clip_region( gc, m_currentClippingRegion.GetRegion() );
1067 gdk_gc_set_clip_origin( gc, -xx, -yy );
1068 gdk_gc_set_fill( gc, GDK_OPAQUE_STIPPLED );
1069 gdk_gc_set_stipple( gc, mask );
1070 gdk_draw_rectangle( new_mask, gc, TRUE, 0, 0, ww, hh );
1071 gdk_gc_unref( gc );
1278 GdkGC *gc = gdk_gc_new( new_mask );
1280 gdk_gc_set_foreground( gc, &col );
1281 gdk_gc_set_ts_origin( gc, -xsrcMask, -ysrcMask);
1282 gdk_draw_rectangle( new_mask, gc, TRUE, 0, 0, bm_ww, bm_hh );
1284 gdk_gc_set_background( gc, &col );
1286 gdk_gc_set_foreground( gc, &col );
1287 gdk_gc_set_clip_region( gc, m_currentClippingRegion.GetRegion() );
1288 // was: gdk_gc_set_clip_origin( gc, -xx, -yy );
1289 gdk_gc_set_clip_origin( gc, -cx, -cy );
1290 gdk_gc_set_fill( gc, GDK_OPAQUE_STIPPLED );
1291 gdk_gc_set_stipple( gc, mask );
1292 gdk_draw_rectangle( new_mask, gc, TRUE, 0, 0, bm_ww, bm_hh );
1293 gdk_gc_unref( gc );