VideoTools
|
An abstract base class for xserver-side drawables (windows, pixmaps, etc) with methods for drawing points, lines and blocks. More...
#include <gxdrawable.h>
Public Member Functions | |
Drawable (Display &) | |
Constructor. The display reference is kept. | |
virtual | ~Drawable () |
Destructor. | |
virtual ::Drawable | xd ()=0 |
Returns the X object. | |
void | drawPoint (Context &, int x, int y) |
Draws a point. | |
void | drawLine (Context &, int x1, int y1, int x2, int y2) |
Draws a line. | |
void | drawRectangle (Context &, int x, int y, int dx, int dy) |
Draws a rectangle. | |
void | drawArc (Context &, int x, int y, unsigned int width, unsigned int height, int angle1, int angle2) |
Draws an arc. | |
An abstract base class for xserver-side drawables (windows, pixmaps, etc) with methods for drawing points, lines and blocks.
Definition at line 38 of file gxdrawable.h.