ionflux.org | Impressum

Ionflux::Tools::Cairo::Pattern Class Reference
[Cairo]

Cairo pattern. More...

#include <CairoPattern.hpp>

Inheritance diagram for Ionflux::Tools::Cairo::Pattern:

Inheritance graph
[legend]
Collaboration diagram for Ionflux::Tools::Cairo::Pattern:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Pattern ()
 Constructor.
 Pattern (const Pattern &initPattern)
 Constructor.
 Pattern (cairo_pattern_t *initPattern)
 Constructor.
virtual ~Pattern ()
 Destructor.
virtual void reference ()
 Pattern.
virtual void destroy ()
 Pattern.
virtual cairo_status_t status ()
 Pattern.
virtual void setMatrix (const cairo_matrix_t *matrix)
 Pattern matrix.
virtual void getMatrix (cairo_matrix_t *matrix)
 Pattern matrix.
virtual void setMatrix (const Matrix &matrix)
 Pattern matrix.
virtual void getMatrix (Matrix &matrix)
 Pattern matrix.
virtual Patternoperator= (const Pattern &newCairoPattern)
 Assignment operator.
virtual Patternoperator= (cairo_pattern_t *newCairoPattern)
 Assignment operator.
virtual void setCairoPattern (cairo_pattern_t *newCairoPattern)
 Set cairo pattern.
virtual cairo_pattern_t * getCairoPattern () const
 Get cairo pattern.

Protected Attributes

cairo_pattern_t * cairoPattern
 Cairo pattern.

Detailed Description

Cairo pattern.

Base class for the Cairo vector graphics API pattern types (see http://www.cairographics.org/).

Note:
Not all features of Cairo are supported yet by this wrapper.


Constructor & Destructor Documentation

Ionflux::Tools::Cairo::Pattern::Pattern  ) 
 

Constructor.

Construct new Pattern object.

Ionflux::Tools::Cairo::Pattern::Pattern const Pattern initPattern  ) 
 

Constructor.

Construct new Pattern object.

Parameters:
initPattern Cairo pattern.

Ionflux::Tools::Cairo::Pattern::Pattern cairo_pattern_t *  initPattern  ) 
 

Constructor.

Construct new Pattern object.

Parameters:
initPattern Cairo pattern.

Ionflux::Tools::Cairo::Pattern::~Pattern  )  [virtual]
 

Destructor.

Destruct Pattern object.


Member Function Documentation

void Ionflux::Tools::Cairo::Pattern::destroy  )  [virtual]
 

Pattern.

Pattern

cairo_pattern_t * Ionflux::Tools::Cairo::Pattern::getCairoPattern  )  const [virtual]
 

Get cairo pattern.

Returns:
Current value of cairo pattern.

void Ionflux::Tools::Cairo::Pattern::getMatrix Matrix matrix  )  [virtual]
 

Pattern matrix.

Pattern matrix

Parameters:
matrix Matrix.

void Ionflux::Tools::Cairo::Pattern::getMatrix cairo_matrix_t *  matrix  )  [virtual]
 

Pattern matrix.

Pattern matrix

Parameters:
matrix Matrix.

Pattern & Ionflux::Tools::Cairo::Pattern::operator= cairo_pattern_t *  newCairoPattern  )  [virtual]
 

Assignment operator.

Assign a cairo pattern to this pattern object.

Parameters:
newCairoPattern Cairo pattern.
Returns:
The object itself.

Reimplemented in Ionflux::Tools::Cairo::Gradient, Ionflux::Tools::Cairo::LinearGradient, Ionflux::Tools::Cairo::RadialGradient, Ionflux::Tools::Cairo::SolidPattern, and Ionflux::Tools::Cairo::SurfacePattern.

Pattern & Ionflux::Tools::Cairo::Pattern::operator= const Pattern newCairoPattern  )  [virtual]
 

Assignment operator.

Assign a pattern to another pattern.

Parameters:
newCairoPattern Cairo pattern.
Returns:
The object itself.

void Ionflux::Tools::Cairo::Pattern::reference  )  [virtual]
 

Pattern.

Pattern

void Ionflux::Tools::Cairo::Pattern::setCairoPattern cairo_pattern_t *  newCairoPattern  )  [virtual]
 

Set cairo pattern.

Set new value of cairo pattern.

Parameters:
newCairoPattern New value of cairo pattern.

void Ionflux::Tools::Cairo::Pattern::setMatrix const Matrix matrix  )  [virtual]
 

Pattern matrix.

Pattern matrix

Parameters:
matrix Matrix.

void Ionflux::Tools::Cairo::Pattern::setMatrix const cairo_matrix_t *  matrix  )  [virtual]
 

Pattern matrix.

Pattern matrix

Parameters:
matrix Matrix.

cairo_status_t Ionflux::Tools::Cairo::Pattern::status  )  [virtual]
 

Pattern.

Pattern

Returns:
.


Member Data Documentation

cairo_pattern_t* Ionflux::Tools::Cairo::Pattern::cairoPattern [protected]
 

Cairo pattern.


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