ionflux.org | Impressum

Ionflux::Tools::GtkCairoArea Class Reference
[General tools]

GTK+/Cairo drawing area. More...

#include <GtkCairoArea.hpp>

Collaboration diagram for Ionflux::Tools::GtkCairoArea:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GtkCairoArea ()
 Constructor.
 GtkCairoArea (CairoCanvas *initCairoCanvas)
 Constructor.
virtual ~GtkCairoArea ()
 Destructor.
virtual void setCairoCanvas (Ionflux::Tools::CairoCanvas *newCairoCanvas)
 Set cairo canvas.
virtual Ionflux::Tools::CairoCanvasgetCairoCanvas () const
 Get cairo canvas.

Protected Member Functions

virtual void on_realize ()
 Event handler: realize.
virtual bool on_expose_event (GdkEventExpose *event)
 Event handler: expose.
virtual bool paint ()
 Paint widget.

Protected Attributes

ObjectPool pool
 Object pool.
Glib::RefPtr< Gdk::GC > theGC
 Graphics context.
Gdk::Color black
 Color: black.
Ionflux::Tools::CairoCanvascairoCanvas
 Cairo canvas.

Detailed Description

GTK+/Cairo drawing area.

A drawing area for GTK+ using Cairo.


Constructor & Destructor Documentation

Ionflux::Tools::GtkCairoArea::GtkCairoArea  ) 
 

Constructor.

Construct new GtkCairoArea object.

Ionflux::Tools::GtkCairoArea::GtkCairoArea CairoCanvas initCairoCanvas  ) 
 

Constructor.

Construct new GtkCairoArea object.

Parameters:
initCairoCanvas Cairo canvas.

Ionflux::Tools::GtkCairoArea::~GtkCairoArea  )  [virtual]
 

Destructor.

Destruct GtkCairoArea object.


Member Function Documentation

Ionflux::Tools::CairoCanvas * Ionflux::Tools::GtkCairoArea::getCairoCanvas  )  const [virtual]
 

Get cairo canvas.

Returns:
Current value of cairo canvas.

bool Ionflux::Tools::GtkCairoArea::on_expose_event GdkEventExpose *  event  )  [protected, virtual]
 

Event handler: expose.

Handler for the expose event.

Parameters:
event Event.

void Ionflux::Tools::GtkCairoArea::on_realize  )  [protected, virtual]
 

Event handler: realize.

Handler for the realize event.

bool Ionflux::Tools::GtkCairoArea::paint  )  [protected, virtual]
 

Paint widget.

Paint the widget.

void Ionflux::Tools::GtkCairoArea::setCairoCanvas Ionflux::Tools::CairoCanvas newCairoCanvas  )  [virtual]
 

Set cairo canvas.

Set new value of cairo canvas.

Parameters:
newCairoCanvas New value of cairo canvas.


Member Data Documentation

Gdk::Color Ionflux::Tools::GtkCairoArea::black [protected]
 

Color: black.

Ionflux::Tools::CairoCanvas* Ionflux::Tools::GtkCairoArea::cairoCanvas [protected]
 

Cairo canvas.

ObjectPool Ionflux::Tools::GtkCairoArea::pool [protected]
 

Object pool.

Glib::RefPtr<Gdk::GC> Ionflux::Tools::GtkCairoArea::theGC [protected]
 

Graphics context.


The documentation for this class was generated from the following files:
Generated on Tue Mar 14 21:08:20 2006 for Ionflux Tools Class Library (iftools) by  doxygen 1.4.6