
#include <face.h>

Public Types | |
| enum | TYPE { SMILEY } |
| typedef enum Papyrus::Face::TYPE | TYPE |
| typedef PapyrusPointer< Face > | pointer |
Public Member Functions | |
| virtual | ~Face () |
| virtual void | draw (Cairo::RefPtr< Cairo::Context > cairo) const |
| TYPE | type () |
| void | set_type (TYPE type) |
| double | size () |
| void | set_size (double size) |
| void | set_size_type (double size, TYPE type) |
| PAPYRUS_CLASS_NAME ("Face") | |
| PAPYRUS_CLONE_METHOD (Face) | |
Static Public Member Functions | |
| static pointer | create (double size=20.0, TYPE type=SMILEY) |
| static pointer | create (const Glib::ustring &id, double size=20.0, TYPE type=SMILEY) |
Protected Member Functions | |
| Face (const Glib::ustring &id, double size=20.0, TYPE type=SMILEY) | |
Protected Attributes | |
| TYPE | m_type |
| double | m_size |
| typedef PapyrusPointer<Face> Papyrus::Face::pointer |
Reimplemented from Papyrus::Drawable.
| typedef enum Papyrus::Face::TYPE Papyrus::Face::TYPE |
| enum Papyrus::Face::TYPE |
| Papyrus::Face::Face | ( | const Glib::ustring & | id, | |
| double | size = 20.0, |
|||
| TYPE | type = SMILEY | |||
| ) | [protected] |
| Papyrus::Face::~Face | ( | ) | [virtual] |
| Face::pointer Papyrus::Face::create | ( | const Glib::ustring & | id, | |
| double | size = 20.0, |
|||
| TYPE | type = SMILEY | |||
| ) | [static] |
References PAPYRUS_CREATE.
| Face::pointer Papyrus::Face::create | ( | double | size = 20.0, |
|
| TYPE | type = SMILEY | |||
| ) | [static] |
| void Papyrus::Face::draw | ( | Cairo::RefPtr< Cairo::Context > | cairo | ) | const [virtual] |
Implements Papyrus::Drawable.
References Papyrus::Drawable::cairo_fill(), Papyrus::Drawable::cairo_stroke(), and m_size.
| Papyrus::Face::PAPYRUS_CLASS_NAME | ( | "Face" | ) |
| Papyrus::Face::PAPYRUS_CLONE_METHOD | ( | Face | ) |
| void Papyrus::Face::set_size | ( | double | size | ) |
References Papyrus::Drawable::invalidate_extents(), m_size, and Papyrus::Drawable::redraw().
| void Papyrus::Face::set_size_type | ( | double | size, | |
| TYPE | type | |||
| ) |
References Papyrus::Drawable::invalidate_extents(), m_size, m_type, and Papyrus::Drawable::redraw().
| void Papyrus::Face::set_type | ( | TYPE | type | ) |
References m_type, and Papyrus::Drawable::redraw().
| double Papyrus::Face::size | ( | ) |
References m_size.
| Face::TYPE Papyrus::Face::type | ( | ) |
References m_type.
double Papyrus::Face::m_size [protected] |
Referenced by draw(), set_size(), set_size_type(), and size().
TYPE Papyrus::Face::m_type [protected] |
Referenced by set_size_type(), set_type(), and type().
1.5.7.1