| VideoTools
    | 
A class for xclient-side images that are drawn locally and then blitted to the xserver. More...
#include <gximage.h>
| Public Member Functions | |
| Image (Display &, const GX::Window &window, int dx=0, int dy=0) | |
| Constructor. The display reference is kept. | |
| Image (Display &display, XImage *p, int dx, int dy) | |
| A private constructor used by Pixmap::getImage(). | |
| ~Image () | |
| Destructor. | |
| ::XImage * | x () | 
| Returns the X object. | |
| void | blit (GX::Window &, int src_x, int src_y, int dx, int dy, int dst_x, int dst_y) | 
| Blits to a window.  More... | |
| int | dx () const | 
| Returns the width. | |
| int | dy () const | 
| Returns the height. | |
| void | drawPoint (int x, int y, unsigned long p, bool or_=false) | 
| Draws a point. The pixel value typically comes from GX::ColourMap::get(). | |
| bool | fastable () const | 
| Returns true if drawFastPoint() can be used. | |
| void | drawFastPoint (int x, int y, unsigned long p) | 
| Draws a point fast. | |
| unsigned long | readPoint (int x, int y) const | 
| Reads a pixel value at a point. | |
| void | drawLine (int x1, int y1, int x2, int y2, unsigned long p, bool or_=false) | 
| Draws a line. The pixel value typically comes from GX::ColourMap::get(). | |
| void | drawLineAcross (int x1, int x2, int y, unsigned long p) | 
| Draws a horizontal line. | |
| void | drawLineDown (int x, int y1, int y2, unsigned long p) | 
| Draws a vertical line. | |
| void | clear (bool white=false) | 
| Clears the image. | |
A class for xclient-side images that are drawn locally and then blitted to the xserver.
| void GX::Image::blit | ( | GX::Window & | window, | 
| int | src_x, | ||
| int | src_y, | ||
| int | dx, | ||
| int | dy, | ||
| int | dst_x, | ||
| int | dst_y | ||
| ) | 
Blits to a window.
Uses the display's default graphics context.
Definition at line 77 of file gximage.cpp.