Public Member Functions | Data Fields

LibBoard::Board::State Struct Reference

#include <Board.h>

Collaboration diagram for LibBoard::Board::State:
Collaboration graph
[legend]

Public Member Functions

 State ()
double unit (const double &x)
Point unit (const Point &p)
void unit (Shape &shape)

Data Fields

Color penColor
Color fillColor
double lineWidth
Shape::LineStyle lineStyle
Shape::LineCap lineCap
Shape::LineJoin lineJoin
Fonts::Font font
double fontSize
double unitFactor

Detailed Description

Current graphical state for drawings made by the drawSomething() methods.


Constructor & Destructor Documentation

LibBoard::Board::State::State (  ) 

Member Function Documentation

double LibBoard::Board::State::unit ( const double &  x  )  [inline]
void LibBoard::Board::State::unit ( Shape shape  )  [inline]
Point LibBoard::Board::State::unit ( const Point p  )  [inline]

Field Documentation

The factor to be applied to arguments of the drawSomething() family.

Referenced by LibBoard::Board::operator<<(), LibBoard::Board::setUnit(), State(), and unit().


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