vdk 2.4.0
|
This class and subclasses provid customized drawing tools for VDKDrawingArea widget. More...
#include <vdkdrawarea.h>
Public Member Functions | |
VDKDrawTool (VDKDrawingArea *owner) | |
virtual | ~VDKDrawTool () |
void | SetTile (const char *tfile) |
void | SetTile (char **tdata) |
void | SetTile (GdkPixmap *tile) |
GdkPixmap * | Tile (char **tdata) |
GdkPixmap * | Tile (const char *tfile) |
Public Attributes | |
VDKReadWriteValueProp < VDKDrawTool, GdkFill > | Fill |
VDKReadWriteValueProp < VDKDrawTool, GdkFunction > | Function |
This class and subclasses provid customized drawing tools for VDKDrawingArea widget.
VDKDrawTool::VDKDrawTool | ( | VDKDrawingArea * | owner | ) |
Constructor
|
virtual |
Destructor
void VDKDrawTool::SetTile | ( | const char * | tfile | ) |
Sets tile pixmap, valid only on GDK_TILED mode
void VDKDrawTool::SetTile | ( | char ** | tdata | ) |
Sets tile pixmap, valid only on GDK_TILED fill mode
void VDKDrawTool::SetTile | ( | GdkPixmap * | tile | ) |
Sets tile pixmap, valid only on GDK_TILED fill mode
GdkPixmap * VDKDrawTool::Tile | ( | char ** | tdata | ) |
Returns a tile
GdkPixmap * VDKDrawTool::Tile | ( | const char * | tfile | ) |
Returns a tile
VDKReadWriteValueProp<VDKDrawTool, GdkFill> VDKDrawTool::Fill |
Set how your drawing is filled, following modes are supported:
VDKReadWriteValueProp<VDKDrawTool, GdkFunction> VDKDrawTool::Function |
Determines how the bit values for the source pixels are combined with the bit values for destination pixels to produce the final result. Only a few of these values are usually useful: for colored images, only GDK_COPY, GDK_XOR and GDK_INVERT are generally useful. For bitmaps, GDK_AND and GDK_OR are also useful. Supported modes: GDK_COPY, GDK_INVERT, GDK_XOR, GDK_CLEAR, GDK_AND, GDK_AND_REVERSE, GDK_AND_INVERT, GDK_NOOP, GDK_OR, GDK_EQUIV, GDK_OR_REVERSE, GDK_COPY_INVERT, GDK_OR_INVERT, GDK_NAND, GDK_NOR, GDK_SET