Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

VDKDrawTool Class Reference

This class and subclasses provid customized drawing tools for VDKDrawingArea widget. More...

#include <vdkdrawarea.h>

Inheritance diagram for VDKDrawTool:

VDKNotCopyAble VDKBrush VDKPen List of all members.

Public Member Functions

Public Attributes


Detailed Description

This class and subclasses provid customized drawing tools for VDKDrawingArea widget.


Constructor & Destructor Documentation

VDKDrawTool::VDKDrawTool VDKDrawingArea owner  ) 
 

Constructor

VDKDrawTool::~VDKDrawTool  )  [virtual]
 

Destructor


Member Function Documentation

void VDKDrawTool::SetTile GdkPixmap *  tile  ) 
 

Sets tile pixmap, valid only on GDK_TILED fill mode

void VDKDrawTool::SetTile char **  tdata  ) 
 

Sets tile pixmap, valid only on GDK_TILED fill mode

  • tdata a string array of pixmap data

void VDKDrawTool::SetTile const char *  tfile  ) 
 

Sets tile pixmap, valid only on GDK_TILED mode

  • tfile a file containing a pixmap

GdkPixmap * VDKDrawTool::Tile const char *  tfile  ) 
 

Returns a tile

  • tfile a file containing a pixmap

GdkPixmap * VDKDrawTool::Tile char **  tdata  ) 
 

Returns a tile

  • tdata a string array of pixmap data


Member Data Documentation

VDKReadWriteValueProp<VDKDrawTool, GdkFill> VDKDrawTool::Fill
 

Set how your drawing is filled, following modes are supported:

  • GDK_SOLID draw with the foreground color
  • GDK_TILED draw with a tiled pixmap

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


The documentation for this class was generated from the following files:
Generated on Tue Oct 26 18:58:51 2004 for vdk 2.4.0 by  doxygen 1.3.9.1