papyrus logo

Papyrus::Polygon Class Reference

#include <polygon.h>

Inheritance diagram for Papyrus::Polygon:
Inheritance graph
[legend]

List of all members.

Public Types

typedef PapyrusPointer< Polygonpointer

Public Member Functions

virtual ~Polygon ()
virtual void draw_shape (Context &cairo) const
 PAPYRUS_CLASS_NAME ("Polygon")
 PAPYRUS_CLONE_METHOD (Polygon)

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)

Detailed Description

Author:
Rick L Vinyard Jr

Member Typedef Documentation

typedef PapyrusPointer<Polygon> Papyrus::Polygon::pointer

Reimplemented from Papyrus::Polyline.

Reimplemented in Papyrus::RegularPolygon.


Constructor & Destructor Documentation

Papyrus::Polygon::Polygon ( const Glib::ustring &  id,
const Vertices vertices,
Fill::pointer  fill,
Stroke::pointer  stroke 
) [protected]
Papyrus::Polygon::~Polygon (  )  [virtual]

Member Function Documentation

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]
Papyrus::Polygon::PAPYRUS_CLASS_NAME ( "Polygon"   ) 

Reimplemented from Papyrus::Polyline.

Papyrus::Polygon::PAPYRUS_CLONE_METHOD ( Polygon   ) 

Reimplemented from Papyrus::Polyline.

Reimplemented in Papyrus::RegularPolygon.


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

Generated on Tue Nov 17 15:49:27 2009 for papyrus by doxygen 1.6.1