#include <papyrus/hexgrid.h>
Inheritance diagram for Papyrus::Hexgrid:

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 |
1.5.1