| cairomm 1.14.5
    | 
#include <cairomm/pattern.h>

| Public Member Functions | |
| SurfacePattern (cairo_pattern_t *cobject, bool has_reference=false) | |
| Create a C++ wrapper for the C instance. | |
| ~SurfacePattern () override | |
| void | set_extend (Extend extend) | 
| Extend | get_extend () const | 
| void | set_filter (Filter filter) | 
| Sets the filter to be used for resizing when using this pattern. | |
| Filter | get_filter () const | 
| Gets the current filter for a pattern. | |
| RefPtr< const Surface > | get_surface () const | 
| Gets the surface associated with this pattern. | |
| RefPtr< Surface > | get_surface () | 
|  Public Member Functions inherited from Cairo::Pattern | |
| Pattern (cairo_pattern_t *cobject, bool has_reference=false) | |
| Create a C++ wrapper for the C instance. | |
| Pattern (const Pattern &)=delete | |
| Pattern & | operator= (const Pattern &)=delete | 
| virtual | ~Pattern () | 
| void | set_matrix (const Matrix &matrix) | 
| Sets the pattern's transformation matrix to @matrix. | |
| void | get_matrix (Matrix &matrix) const | 
| Returns the pattern's transformation matrix. | |
| Matrix | get_matrix () const | 
| Returns the pattern's transformation matrix. | |
| void | set_matrix (const cairo_matrix_t &matrix) | 
| void | get_matrix (cairo_matrix_t &matrix) const | 
| PatternType | get_type () const | 
| Returns the type of the pattern. | |
| void | set_extend (Extend extend) | 
| Sets the mode to be used for drawing outside the area of a pattern. | |
| Extend | get_extend () const | 
| Gets the current extend mode See Cairo::Extend for details on the semantics of each extend strategy. | |
| cobject * | cobj () | 
| const cobject * | cobj () const | 
| void | reference () const | 
| void | unreference () const | 
| Static Public Member Functions | |
| static RefPtr< SurfacePattern > | create (const RefPtr< Surface > &surface) | 
| Create a new Cairo::Pattern for the given surface. | |
| Protected Member Functions | |
| SurfacePattern (const RefPtr< Surface > &surface) | |
|  Protected Member Functions inherited from Cairo::Pattern | |
| Pattern () | |
| Additional Inherited Members | |
|  Public Types inherited from Cairo::Pattern | |
| typedef cairo_pattern_t | cobject | 
|  Protected Attributes inherited from Cairo::Pattern | |
| cobject * | m_cobject | 
| 
 | 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. | 
| 
 | override | 
| 
 | static | 
Create a new Cairo::Pattern for the given surface.
| Extend Cairo::SurfacePattern::get_extend | ( | ) | const | 
| Filter Cairo::SurfacePattern::get_filter | ( | ) | const | 
Gets the current filter for a pattern.
See Cairo::Filter for details on each filter.
Gets the surface associated with this pattern.
Sets the filter to be used for resizing when using this pattern.
See Cairo::Filter for details on each filter.
Note that you might want to control filtering even when you do not have an explicit Cairo::Pattern object, (for example when using Cairo::Context::set_source_surface()). In these cases, it is convenient to use Cairo::Context::get_source() to get access to the pattern that cairo creates implicitly.
| filter | Cairo::Filter describing the filter to use for resizing the pattern |