VDKDrawingArea Class Reference

This class provides a drawing area widget. This widget should substitute VDKCanvas which is now deprecated but will continue to be supported even if not enhanced more. However VDKCanvas is not really deprecated, simply VDKDrawingArea is a better widget, much powerfull and easy to use. More...

#include <vdkdrawarea.h>

Inheritance diagram for VDKDrawingArea:

VDKObject VDKNotCopyAble

List of all members.

Public Member Functions

Public Attributes


Detailed Description

This class provides a drawing area widget. This widget should substitute VDKCanvas which is now deprecated but will continue to be supported even if not enhanced more. However VDKCanvas is not really deprecated, simply VDKDrawingArea is a better widget, much powerfull and easy to use.

Constructor & Destructor Documentation

VDKDrawingArea::VDKDrawingArea ( VDKForm owner  ) 

Constructor

VDKDrawingArea::~VDKDrawingArea (  )  [virtual]

Destructor


Member Function Documentation

void VDKDrawingArea::Clear (  ) 

Clears canvas area

void VDKDrawingArea::SetForeground ( VDKRgb  color,
GtkStateType  state = GTK_STATE_NORMAL 
) [virtual]

Sets object foreground

Parameters:
color a VDKRgb object
state can be one of the gtk+ widget states

Reimplemented from VDKObject.

void VDKDrawingArea::SetBackground ( VDKRgb  color,
GtkStateType  state = GTK_STATE_NORMAL 
) [virtual]

Sets object background

Parameters:
color a VDKRgb object
state can be one of the gtk+ widget states

Reimplemented from VDKObject.

void VDKDrawingArea::SetFont ( VDKFont f  )  [virtual]

Sets object font

Reimplemented from VDKObject.


Member Data Documentation

The pen drawing tool

The brush drawing tool (actually unused)


The documentation for this class was generated from the following files:

Generated on Tue May 6 03:40:10 2008 for vdk 2.4.0 by  doxygen 1.5.5