Cairo::Path Class Reference

List of all members.


Detailed Description

A data structure for holding a path.

Use Context::copy_path() or Context::copy_path_flat() to instantiate a new Path. The application is responsible for freeing the Path object when it is no longer needed.

Todo:
There's currently no way to access the path data without reverting to the C object (see cobj())

Public Types

typedef cairo_path_t cobject

Public Member Functions

const cobjectcobj () const
cobjectcobj ()
 Path (cairo_path_t *cobject, bool take_ownership=false)
virtual ~Path ()

Protected Attributes

cobjectm_cobject

Member Typedef Documentation

typedef cairo_path_t Cairo::Path::cobject


Constructor & Destructor Documentation

Cairo::Path::Path ( cairo_path_t *  cobject,
bool  take_ownership = false 
) [explicit]

virtual Cairo::Path::~Path (  )  [virtual]


Member Function Documentation

const cobject* Cairo::Path::cobj (  )  const [inline]

References m_cobject.

cobject* Cairo::Path::cobj (  )  [inline]

References m_cobject.


Member Data Documentation

Referenced by cobj().


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

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