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 (Cairo::RefPtr< Cairo::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.

Referenced by Papyrus::example_factory().

void Papyrus::Polygon::draw_shape ( Cairo::RefPtr< Cairo::Context >  cairo  )  const [virtual]

Papyrus::Polygon::PAPYRUS_CLASS_NAME ( "Polygon"   ) 

Papyrus::Polygon::PAPYRUS_CLONE_METHOD ( Polygon   ) 


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

Generated on Wed Mar 18 12:34:57 2009 for papyrus by doxygen 1.5.7.1