papyrus logo

Papyrus::Polygon Class Reference

#include <polygon.h>

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

List of all members.

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)

Detailed Description

Author:
Rick L Vinyard Jr

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_DRAWABLE ( Polygon   ) 

Reimplemented from Papyrus::Polyline.

Reimplemented in Papyrus::RegularPolygon.


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

Generated on Fri Apr 16 12:41:08 2010 for papyrus by doxygen 1.6.1