Lines Matching refs:gc
104 GC gc = XCreateGC( xdisplay, (Pixmap) m_bitmap, 0, NULL );
106 XSetForeground( xdisplay, gc, WhitePixel(xdisplay,xscreen) );
107 XSetFillStyle( xdisplay, gc, FillSolid );
108 XFillRectangle( xdisplay, (Pixmap) m_bitmap, gc, 0, 0, image.GetWidth(), image.GetHeight() );
138 XSetForeground( xdisplay, gc, BlackPixel(xdisplay,xscreen) );
159 XDrawLine( xdisplay, (Pixmap) m_bitmap, gc, start_x, j, i-1, j );
166 XDrawLine( xdisplay, (Pixmap) m_bitmap, gc, start_x, j, i, j );
169 XFreeGC( xdisplay, gc );
212 GC gc = XCreateGC( (Display*) m_display, (Pixmap) m_bitmap, 0, NULL );
215 gc, 0, 0, bitmap.GetWidth(), bitmap.GetHeight(), 0, 0, 1 );
217 XFreeGC( (Display*) m_display, gc );
336 GC gc = XCreateGC( dpy, (Pixmap)xpixmap, 0, NULL );
340 XPutImage( dpy, ret, gc, ximage,
343 XFreeGC( dpy, gc );
406 GC gc = XCreateGC( xdisplay, copy, 0, NULL );
407 XCopyArea( xdisplay, xpixmap, copy, gc, 0, 0, width, height, 0, 0 );
408 XFreeGC( xdisplay, gc );
749 GC gc = XCreateGC( xdisplay, (Pixmap) M_BMPDATA->m_pixmap, 0, NULL );
750 XPutImage( xdisplay, (Pixmap) M_BMPDATA->m_pixmap, gc, data_image, 0, 0, 0, 0, width, height );
752 XFreeGC( xdisplay, gc );
758 GC gc = XCreateGC( xdisplay, (Pixmap) GetMask()->GetBitmap(), 0, NULL );
759 XPutImage( xdisplay, (Pixmap) GetMask()->GetBitmap(), gc, mask_image, 0, 0, 0, 0, width, height );
762 XFreeGC( xdisplay, gc );