DGtal 1.4.0
|
#include <Board/Board.h>
Public Member Functions | |
State () | |
double | unit (const double &x) |
Point | unit (const Point &p) |
void | unit (Shape &shape) |
Data Fields | |
DGtal::Color | penColor |
DGtal::Color | fillColor |
double | lineWidth |
Shape::LineStyle | lineStyle |
Shape::LineCap | lineCap |
Shape::LineJoin | lineJoin |
Fonts::Font | font |
double | fontSize |
double | unitFactor |
Current graphical state for drawings made by the drawSomething() methods.
LibBoard::Board::State::State | ( | ) |
Definition at line 90 of file Board.cpp.
References DGtal::Color::Black, fillColor, font, fontSize, lineCap, lineJoin, lineStyle, lineWidth, DGtal::Color::None, penColor, LibBoard::Fonts::TimesRoman, and unitFactor.
|
inline |
Definition at line 951 of file Board.h.
References unitFactor.
Referenced by LibBoard::Board::drawArc(), LibBoard::Board::drawArrow(), LibBoard::Board::drawBoundingBox(), LibBoard::Board::drawCircle(), LibBoard::Board::drawClosedPolyline(), LibBoard::Board::drawDot(), LibBoard::Board::drawEllipse(), LibBoard::Board::drawImage(), LibBoard::Board::drawLine(), LibBoard::Board::drawPolyline(), LibBoard::Board::drawQuadraticBezierCurve(), LibBoard::Board::drawRectangle(), LibBoard::Board::drawText(), LibBoard::Board::drawText(), LibBoard::Board::drawTriangle(), LibBoard::Board::drawTriangle(), LibBoard::Board::fillCircle(), LibBoard::Board::fillEllipse(), LibBoard::Board::fillGouraudTriangle(), LibBoard::Board::fillGouraudTriangle(), LibBoard::Board::fillPolyline(), LibBoard::Board::fillRectangle(), LibBoard::Board::fillTriangle(), LibBoard::Board::fillTriangle(), LibBoard::Board::setClippingPath(), LibBoard::Board::setClippingPath(), and LibBoard::Board::setClippingRectangle().
|
inline |
Definition at line 953 of file Board.h.
References LibBoard::Shape::scaleAll(), and unitFactor.
DGtal::Color LibBoard::Board::State::fillColor |
The fill color.
Definition at line 942 of file Board.h.
Referenced by LibBoard::Board::drawBoundingBox(), LibBoard::Board::drawCircle(), LibBoard::Board::drawClosedPolyline(), LibBoard::Board::drawEllipse(), LibBoard::Board::drawPolyline(), LibBoard::Board::drawQuadraticBezierCurve(), LibBoard::Board::drawRectangle(), LibBoard::Board::drawTriangle(), LibBoard::Board::drawTriangle(), LibBoard::Board::setFillColor(), LibBoard::Board::setFillColorRGBf(), LibBoard::Board::setFillColorRGBi(), and State().
Fonts::Font LibBoard::Board::State::font |
The font.
Definition at line 947 of file Board.h.
Referenced by LibBoard::Board::drawText(), LibBoard::Board::drawText(), LibBoard::Board::setFont(), and State().
double LibBoard::Board::State::fontSize |
The font size.
Definition at line 948 of file Board.h.
Referenced by LibBoard::Board::drawText(), LibBoard::Board::drawText(), LibBoard::Board::setFont(), LibBoard::Board::setFontSize(), and State().
Shape::LineCap LibBoard::Board::State::lineCap |
The type of line extremities.
Definition at line 945 of file Board.h.
Referenced by LibBoard::Board::drawArrow(), LibBoard::Board::drawBoundingBox(), LibBoard::Board::drawClosedPolyline(), LibBoard::Board::drawLine(), LibBoard::Board::drawPolyline(), LibBoard::Board::drawQuadraticBezierCurve(), LibBoard::Board::drawRectangle(), LibBoard::Board::drawTriangle(), LibBoard::Board::drawTriangle(), LibBoard::Board::fillPolyline(), LibBoard::Board::fillRectangle(), LibBoard::Board::fillTriangle(), LibBoard::Board::fillTriangle(), and State().
Shape::LineJoin LibBoard::Board::State::lineJoin |
The type of line junction.
Definition at line 946 of file Board.h.
Referenced by LibBoard::Board::drawArrow(), LibBoard::Board::drawBoundingBox(), LibBoard::Board::drawClosedPolyline(), LibBoard::Board::drawLine(), LibBoard::Board::drawPolyline(), LibBoard::Board::drawQuadraticBezierCurve(), LibBoard::Board::drawRectangle(), LibBoard::Board::drawTriangle(), LibBoard::Board::drawTriangle(), LibBoard::Board::fillPolyline(), LibBoard::Board::fillRectangle(), LibBoard::Board::fillTriangle(), LibBoard::Board::fillTriangle(), and State().
Shape::LineStyle LibBoard::Board::State::lineStyle |
The line style.
Definition at line 944 of file Board.h.
Referenced by LibBoard::Board::drawArc(), LibBoard::Board::drawArrow(), LibBoard::Board::drawBoundingBox(), LibBoard::Board::drawCircle(), LibBoard::Board::drawClosedPolyline(), LibBoard::Board::drawEllipse(), LibBoard::Board::drawLine(), LibBoard::Board::drawPolyline(), LibBoard::Board::drawQuadraticBezierCurve(), LibBoard::Board::drawRectangle(), LibBoard::Board::drawTriangle(), LibBoard::Board::drawTriangle(), LibBoard::Board::fillCircle(), LibBoard::Board::fillEllipse(), LibBoard::Board::fillPolyline(), LibBoard::Board::fillRectangle(), LibBoard::Board::fillTriangle(), LibBoard::Board::fillTriangle(), and State().
double LibBoard::Board::State::lineWidth |
The line thickness.
Definition at line 943 of file Board.h.
Referenced by LibBoard::Board::drawArc(), LibBoard::Board::drawArrow(), LibBoard::Board::drawBoundingBox(), LibBoard::Board::drawCircle(), LibBoard::Board::drawClosedPolyline(), LibBoard::Board::drawDot(), LibBoard::Board::drawEllipse(), LibBoard::Board::drawLine(), LibBoard::Board::drawPolyline(), LibBoard::Board::drawQuadraticBezierCurve(), LibBoard::Board::drawRectangle(), LibBoard::Board::drawTriangle(), LibBoard::Board::drawTriangle(), LibBoard::Board::setLineWidth(), and State().
DGtal::Color LibBoard::Board::State::penColor |
The pen color.
Definition at line 941 of file Board.h.
Referenced by LibBoard::Board::drawArc(), LibBoard::Board::drawArrow(), LibBoard::Board::drawBoundingBox(), LibBoard::Board::drawCircle(), LibBoard::Board::drawClosedPolyline(), LibBoard::Board::drawDot(), LibBoard::Board::drawEllipse(), LibBoard::Board::drawLine(), LibBoard::Board::drawPolyline(), LibBoard::Board::drawQuadraticBezierCurve(), LibBoard::Board::drawRectangle(), LibBoard::Board::drawText(), LibBoard::Board::drawText(), LibBoard::Board::drawTriangle(), LibBoard::Board::drawTriangle(), LibBoard::Board::fillCircle(), LibBoard::Board::fillEllipse(), LibBoard::Board::fillGouraudTriangle(), LibBoard::Board::fillPolyline(), LibBoard::Board::fillRectangle(), LibBoard::Board::fillTriangle(), LibBoard::Board::fillTriangle(), LibBoard::Board::setPenColor(), LibBoard::Board::setPenColorRGBf(), LibBoard::Board::setPenColorRGBi(), and State().
double LibBoard::Board::State::unitFactor |
The factor to be applied to arguments of the drawSomething() family.
Definition at line 949 of file Board.h.
Referenced by LibBoard::Board::operator<<(), LibBoard::Board::setUnit(), LibBoard::Board::setUnit(), State(), unit(), unit(), and unit().