Papyrus::Hexgrid Class Reference

#include <papyrus/hexgrid.h>

Inheritance diagram for Papyrus::Hexgrid:

Inheritance graph
[legend]
List of all members.

Detailed Description

This class is still not ported from the old glcanvasmm library.

Author:
Rick L Vinyard Jr


Public Types

enum  STYLE { SIDE, VERTEX }
typedef enum Papyrus::Hexgrid::STYLE Style

Public Member Functions

 Hexgrid (Vertex upperleft, int width, int height, double hexrad)
 Hexgrid (Vertex upperleft, std::string filename, double hexrad)
virtual void pl_insert ()
bool has_outline ()
bool use_outline (bool uo)
RGBA get_outline ()
void set_outline (RGBA &outline)
double get_edge ()
double get_apothem ()
double get_radius ()
void set_radius (double radius)
Vertex & get_upperleft ()
void set_upperleft (Vertex &upperleft)
Style get_style ()
void set_style (Style s)
void set_color (int x, int y, RGBA &color)

Protected Attributes

RGBA_colors
bool _use_outline
RGBA _outline
Vertex _upperleft
int _width
int _height
double _radius
double _apothem
double _halfedge
Style _style


The documentation for this class was generated from the following file:
Generated on Sun Mar 11 10:01:40 2007 by  doxygen 1.5.1