
Public Member Functions | |
| Extend | get_extend () const |
| Filter | get_filter () const |
| RefPtr< Surface > | get_surface () |
| Gets the surface associated with this pattern. | |
| RefPtr< const Surface > | get_surface () const |
| Gets the surface associated with this pattern. | |
| void | set_extend (Extend extend) |
| void | set_filter (Filter filter) |
| SurfacePattern (cairo_pattern_t *cobject, bool has_reference=false) | |
| Create a C++ wrapper for the C instance. | |
| virtual | ~SurfacePattern () |
Static Public Member Functions | |
| static RefPtr< SurfacePattern > | create (const RefPtr< Surface > &surface) |
Protected Member Functions | |
| SurfacePattern (const RefPtr< Surface > &surface) | |
| Cairo::SurfacePattern::SurfacePattern | ( | 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::SurfacePattern::~SurfacePattern | ( | ) | [virtual] |
| static RefPtr<SurfacePattern> Cairo::SurfacePattern::create | ( | const RefPtr< Surface > & | surface | ) | [static] |
| Extend Cairo::SurfacePattern::get_extend | ( | ) | const |
| Filter Cairo::SurfacePattern::get_filter | ( | ) | const |
Gets the surface associated with this pattern.
Gets the surface associated with this pattern.
| void Cairo::SurfacePattern::set_extend | ( | Extend | extend | ) |
| void Cairo::SurfacePattern::set_filter | ( | Filter | filter | ) |
1.5.1