Board  0.9.2
Public Member Functions | Public Attributes | List of all members
LibBoard::Board::State Struct Reference

#include <Board.h>

Public Member Functions

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

Public Attributes

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.

Member Data Documentation

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

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

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


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