Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Cairo::Pattern Class Reference

Inheritance diagram for Cairo::Pattern:

Inheritance graph
[legend]
List of all members.

Detailed Description

This is a reference-counted object.

The copy constructor creates a second reference to the object, instead of creating an independent copy of the object.


Public Types

typedef cairo_pattern_t cobject

Public Member Functions

const cobjectcobj () const
cobjectcobj ()
void get_matrix (cairo_matrix_t &matrix) const
 Pattern (cairo_pattern_t *cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance.
void reference () const
void set_matrix (const cairo_matrix_t &matrix)
void unreference () const
virtual ~Pattern ()

Protected Member Functions

 Pattern ()

Protected Attributes

cobjectm_cobject


Member Typedef Documentation

typedef cairo_pattern_t Cairo::Pattern::cobject
 


Constructor & Destructor Documentation

Cairo::Pattern::Pattern cairo_pattern_t *  cobject,
bool  has_reference = false
[explicit]
 

Create a C++ wrapper for the C instance.

This C++ instance should then be given to a RefPtr.

Parameters:
cobject The C instance.
has_reference Whether we already have a reference. Otherwise, the constructor will take an extra reference.

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

Cairo::Pattern::Pattern  )  [protected]
 


Member Function Documentation

const cobject* Cairo::Pattern::cobj  )  const [inline]
 

cobject* Cairo::Pattern::cobj  )  [inline]
 

void Cairo::Pattern::get_matrix cairo_matrix_t &  matrix  )  const
 

void Cairo::Pattern::reference  )  const
 

void Cairo::Pattern::set_matrix const cairo_matrix_t &  matrix  ) 
 

void Cairo::Pattern::unreference  )  const
 


Member Data Documentation

cobject* Cairo::Pattern::m_cobject [protected]
 


The documentation for this class was generated from the following file:
Generated on Tue Apr 4 20:48:35 2006 for cairomm by  doxygen 1.4.4