WordDraw Class Reference

#include <WordDraw.h>

List of all members.

Public Member Functions

 WordDraw (int n, const Word &w, bool draw_grid=true)
 WordDraw (int n, const list< Word > &w, bool draw_grid=true)
 ~WordDraw ()
void saveTo (const string &f_name)

Private Member Functions

void drawCompressedBraid (const Word &theWord, int vert_offset=0)
void drawGenerator (Generator g, int pos, int vert_offset)
void drawVerticalGrid (int vpos, int color)
void drawHorizontalGrid (int hpos)

Private Attributes

int N
CImagetheImage
int ss
int theLength
int betBraids


Detailed Description

Definition at line 19 of file WordDraw.h.


Constructor & Destructor Documentation

WordDraw::WordDraw int  n,
const Word w,
bool  draw_grid = true
[inline]
 

Definition at line 22 of file WordDraw.h.

References AImage::getHeight(), AImage::getWidth(), Word::length(), CImage::setBluePixel(), CImage::setGreenPixel(), CImage::setRedPixel(), and theImage.

WordDraw::WordDraw int  n,
const list< Word > &  w,
bool  draw_grid = true
[inline]
 

Definition at line 49 of file WordDraw.h.

WordDraw::~WordDraw  )  [inline]
 

Definition at line 90 of file WordDraw.h.


Member Function Documentation

void WordDraw::drawCompressedBraid const Word theWord,
int  vert_offset = 0
[inline, private]
 

Definition at line 101 of file WordDraw.h.

References abs(), Word::begin(), and Word::end().

void WordDraw::drawGenerator Generator  g,
int  pos,
int  vert_offset
[inline, private]
 

Definition at line 116 of file WordDraw.h.

void WordDraw::drawHorizontalGrid int  hpos  )  [inline, private]
 

Definition at line 140 of file WordDraw.h.

void WordDraw::drawVerticalGrid int  vpos,
int  color
[inline, private]
 

Definition at line 131 of file WordDraw.h.

void WordDraw::saveTo const string &  f_name  )  [inline]
 

Definition at line 91 of file WordDraw.h.


Member Data Documentation

int WordDraw::betBraids [private]
 

Definition at line 153 of file WordDraw.h.

int WordDraw::N [private]
 

Definition at line 149 of file WordDraw.h.

int WordDraw::ss [private]
 

Definition at line 151 of file WordDraw.h.

CImage* WordDraw::theImage [private]
 

Definition at line 150 of file WordDraw.h.

Referenced by WordDraw().

int WordDraw::theLength [private]
 

Definition at line 152 of file WordDraw.h.


The documentation for this class was generated from the following file:
Generated on Sun Dec 3 10:59:06 2006 for CRyptography And Groups (CRAG) by  doxygen 1.4.6