
#include <polygon.h>

Public Member Functions | |
| PAPYRUS_DRAWABLE (Polygon) | |
| virtual | ~Polygon () |
| virtual void | draw_shape (Context &cairo) const |
Static Public Member Functions | |
| static pointer | create (const Vertices &vertices=Vertices(), Fill::pointer fill=Fill::pointer(), Stroke::pointer stroke=Stroke::pointer()) |
| static pointer | create (const Glib::ustring &id, const Vertices &vertices=Vertices(), Fill::pointer fill=Fill::pointer(), Stroke::pointer stroke=Stroke::pointer()) |
Protected Member Functions | |
| Polygon (const Glib::ustring &id, const Vertices &vertices, Fill::pointer fill, Stroke::pointer stroke) | |
| Papyrus::Polygon::Polygon | ( | const Glib::ustring & | id, | |
| const Vertices & | vertices, | |||
| Fill::pointer | fill, | |||
| Stroke::pointer | stroke | |||
| ) | [protected] |
| Papyrus::Polygon::~Polygon | ( | ) | [virtual] |
| Polygon::pointer Papyrus::Polygon::create | ( | const Glib::ustring & | id, | |
| const Vertices & | vertices = Vertices(), |
|||
| Fill::pointer | fill = Fill::pointer(), |
|||
| Stroke::pointer | stroke = Stroke::pointer() | |||
| ) | [static] |
References PAPYRUS_CREATE.
| Polygon::pointer Papyrus::Polygon::create | ( | const Vertices & | vertices = Vertices(), |
|
| Fill::pointer | fill = Fill::pointer(), |
|||
| Stroke::pointer | stroke = Stroke::pointer() | |||
| ) | [static] |
Reimplemented from Papyrus::Polyline.
References PAPYRUS_CREATE.
| void Papyrus::Polygon::draw_shape | ( | Context & | cairo | ) | const [virtual] |
Reimplemented from Papyrus::Polyline.
References Papyrus::Polyline::m_vertices, Papyrus::Drawable::x(), and Papyrus::Drawable::y().
| Papyrus::Polygon::PAPYRUS_DRAWABLE | ( | Polygon | ) |
Reimplemented from Papyrus::Polyline.
Reimplemented in Papyrus::RegularPolygon.
1.6.1