Public Types | Public Member Functions | Protected Attributes

Cairo::Device Class Reference

This is a reference-counted object that should be used via Cairo::RefPtr. More...

List of all members.

Public Types

typedef cairo_device_t cobject

Public Member Functions

 Device (cairo_device_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance.
virtual ~Device ()
DeviceType get_type () const
void flush ()
void finish ()
cobjectcobj ()
const cobjectcobj () const
void reference () const
void unreference () const

Protected Attributes

cobjectm_cobject

Detailed Description

This is a reference-counted object that should be used via Cairo::RefPtr.


Member Typedef Documentation

typedef cairo_device_t Cairo::Device::cobject

Constructor & Destructor Documentation

Cairo::Device::Device ( cairo_device_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:
cobjectThe C instance.
has_referenceWhether we already have a reference. Otherwise, the constructor will take an extra reference.
virtual Cairo::Device::~Device (  ) [virtual]

Member Function Documentation

cobject* Cairo::Device::cobj (  ) [inline]
const cobject* Cairo::Device::cobj (  ) const [inline]
void Cairo::Device::finish (  )
void Cairo::Device::flush (  )
DeviceType Cairo::Device::get_type (  ) const
void Cairo::Device::reference (  ) const
void Cairo::Device::unreference (  ) const

Member Data Documentation


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