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 cobject * | cobj () const |
cobject * | cobj () |
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 | |
cobject * | m_cobject |
|
|
|
Create a C++ wrapper for the C instance. This C++ instance should then be given to a RefPtr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|