Cairo::SurfacePattern Class Reference

Inheritance diagram for Cairo::SurfacePattern:

Inheritance graph
[legend]

List of all members.

Public Member Functions

Extend get_extend () const
Filter get_filter () const
RefPtr< Surfaceget_surface ()
 Gets the surface associated with this pattern.
RefPtr< const Surfaceget_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< SurfacePatterncreate (const RefPtr< Surface > &surface)

Protected Member Functions

 SurfacePattern (const RefPtr< Surface > &surface)


Constructor & Destructor Documentation

Cairo::SurfacePattern::SurfacePattern ( const RefPtr< Surface > &  surface  )  [explicit, protected]

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.

Parameters:
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]


Member Function Documentation

static RefPtr<SurfacePattern> Cairo::SurfacePattern::create ( const RefPtr< Surface > &  surface  )  [static]

Extend Cairo::SurfacePattern::get_extend (  )  const

Filter Cairo::SurfacePattern::get_filter (  )  const

RefPtr<Surface> Cairo::SurfacePattern::get_surface (  ) 

Gets the surface associated with this pattern.

Since:
1.4

RefPtr<const Surface> Cairo::SurfacePattern::get_surface (  )  const

Gets the surface associated with this pattern.

Since:
1.4

void Cairo::SurfacePattern::set_extend ( Extend  extend  ) 

void Cairo::SurfacePattern::set_filter ( Filter  filter  ) 


The documentation for this class was generated from the following file:

Generated on Thu Sep 4 21:57:17 2008 for cairomm by  doxygen 1.5.5