53 virtual ::Drawable
xd() ;
56 void blit(
GX::Window & ,
int src_x ,
int src_y ,
int dx ,
int dy ,
int dst_x ,
int dst_y ) ;
69 void readImage( unique_ptr<Image> & )
const ;
76 void operator=(
const Pixmap & ) ;
77 void blit(
GX::Window & ,
Context & ,
int src_x ,
int src_y ,
int dx ,
int dy ,
int dst_x ,
int dst_y ) ;
A window class that is-a GX::Drawable and a GX::EventHandler.
void readImage(unique_ptr< Image > &) const
Reads the image from the xserver.
::Pixmap x()
Returns the X object.
Pixmap(Display &, GX::Window &window, int dx=0, int dy=0)
Constructor. The display reference is kept.
void blit(GX::Window &, int src_x, int src_y, int dx, int dy, int dst_x, int dst_y)
Blits to a window.
A pixmap class for xserver-side images.
int dx() const
Returns the width.
virtual ::Drawable xd()
From Drawable.
void clear()
Draws a big rectangle to clear the pixmap.
int dy() const
Returns the height.
An abstract base class for xserver-side drawables (windows, pixmaps, etc) with methods for drawing po...