papyrus logo

Papyrus::Hextille Class Reference

#include <hextille.h>

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

List of all members.

Public Member Functions

 PAPYRUS_DRAWABLE (Hextille)
virtual ~Hextille ()
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

 Hextille (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::Hextille::Hextille ( const Glib::ustring &  id,
unsigned  rows,
unsigned  columns,
double  side_length 
) [protected]
Papyrus::Hextille::~Hextille (  )  [virtual]

Member Function Documentation

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

References Hextille(), and PAPYRUS_CREATE.

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

References Hextille(), and PAPYRUS_CREATE.

void Papyrus::Hextille::draw ( Context cairo  )  const [virtual]
Papyrus::Hextille::PAPYRUS_DRAWABLE ( Hextille   ) 
void Papyrus::Hextille::update_centroid (  )  [protected, virtual]
void Papyrus::Hextille::update_centroid_x (  )  [protected, virtual]
void Papyrus::Hextille::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