papyrus logo

Papyrus::Quadrille Class Reference

#include <quadrille.h>

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

List of all members.

Public Member Functions

 PAPYRUS_DRAWABLE (Quadrille)
virtual ~Quadrille ()
virtual void draw (Context &cairo) const

Static Public Member Functions

static pointer create (unsigned rows=0, unsigned columns=0, double side_length=1.0)
static pointer create (const Glib::ustring &id, unsigned rows, unsigned columns, double side_length)

Protected Member Functions

 Quadrille (const Glib::ustring &id, unsigned rows, unsigned columns, double side_length)
virtual void update_centroid_x ()
virtual void update_centroid_y ()
virtual void update_centroid ()

Detailed Description

Author:
Rick L Vinyard Jr <rvinyard@cs.nmsu.edu>

Constructor & Destructor Documentation

Papyrus::Quadrille::Quadrille ( const Glib::ustring &  id,
unsigned  rows,
unsigned  columns,
double  side_length 
) [protected]
Papyrus::Quadrille::~Quadrille (  )  [virtual]

Member Function Documentation

Quadrille::pointer Papyrus::Quadrille::create ( const Glib::ustring &  id,
unsigned  rows,
unsigned  columns,
double  side_length 
) [static]

References PAPYRUS_CREATE, and Quadrille().

Quadrille::pointer Papyrus::Quadrille::create ( unsigned  rows = 0,
unsigned  columns = 0,
double  side_length = 1.0 
) [static]

References PAPYRUS_CREATE, and Quadrille().

void Papyrus::Quadrille::draw ( Context cairo  )  const [virtual]
Papyrus::Quadrille::PAPYRUS_DRAWABLE ( Quadrille   ) 
void Papyrus::Quadrille::update_centroid (  )  [protected, virtual]
void Papyrus::Quadrille::update_centroid_x (  )  [protected, virtual]
void Papyrus::Quadrille::update_centroid_y (  )  [protected, virtual]

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

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