Public Types | |
typedef cairo_font_face_t | cobject |
Public Member Functions | |
const cobject * | cobj () const |
cobject * | cobj () |
FontFace (cairo_font_face_t *cobject, bool has_reference=false) | |
Create a C++ wrapper for the C instance. | |
FontType | get_type () const |
void | reference () const |
void | unreference () const |
virtual | ~FontFace () |
Protected Attributes | |
cobject * | m_cobject |
typedef cairo_font_face_t Cairo::FontFace::cobject |
Cairo::FontFace::FontFace | ( | cairo_font_face_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::FontFace::~FontFace | ( | ) | [virtual] |
const cobject* Cairo::FontFace::cobj | ( | ) | const [inline] |
cobject* Cairo::FontFace::cobj | ( | ) | [inline] |
FontType Cairo::FontFace::get_type | ( | ) | const |
void Cairo::FontFace::reference | ( | ) | const |
void Cairo::FontFace::unreference | ( | ) | const |
cobject* Cairo::FontFace::m_cobject [protected] |