Inherited by Cairo::Gradient, Cairo::SolidPattern, and Cairo::SurfacePattern.
Public Types | |
| typedef cairo_pattern_t | cobject |
Public Member Functions | |
| Pattern (cairo_pattern_t*cobject, bool has_reference=false) | |
| Create a C++ wrapper for the C instance. | |
| virtual | ~Pattern () |
| void | set_matrix (const Matrix& matrix) |
| void | get_matrix (Matrix& matrix) const |
| Matrix | get_matrix () const |
| void | set_matrix (const cairo_matrix_t& matrix) |
| void | get_matrix (cairo_matrix_t& matrix) const |
| PatternType | get_type () const |
| cobject* | cobj () |
| const cobject* | cobj () const |
| void | reference () const |
| void | unreference () const |
Protected Member Functions | |
| Pattern () | |
Protected Attributes | |
| cobject* | m_cobject |
| typedef cairo_pattern_t Cairo::Pattern::cobject |
| 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.
| 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] |
| const cobject* Cairo::Pattern::cobj | ( | ) | const [inline] |
| cobject* Cairo::Pattern::cobj | ( | ) | [inline] |
| void Cairo::Pattern::get_matrix | ( | cairo_matrix_t& | matrix | ) | const |
| Matrix Cairo::Pattern::get_matrix | ( | ) | const |
| void Cairo::Pattern::get_matrix | ( | Matrix& | matrix | ) | const |
| PatternType Cairo::Pattern::get_type | ( | ) | const |
| void Cairo::Pattern::reference | ( | ) | const |
| void Cairo::Pattern::set_matrix | ( | const cairo_matrix_t& | matrix | ) |
| void Cairo::Pattern::set_matrix | ( | const Matrix& | matrix | ) |
| void Cairo::Pattern::unreference | ( | ) | const |
cobject* Cairo::Pattern::m_cobject [protected] |
1.5.9