| 
    Board
    0.6.devel
    
   | 
 
#include <Transforms.h>


Public Member Functions | |
| double | rounded (double x) const | 
| double | mapY (double y) const | 
| double | mapWidth (double width) const | 
| void | setBoundingBox (const Rect &rect, const double pageWidth, const double pageHeight, const double margin) | 
  Public Member Functions inherited from LibBoard::Transform | |
| Transform () | |
| virtual | ~Transform () | 
| virtual double | mapX (double x) const | 
| virtual void | apply (double &x, double &y) const | 
| virtual double | scale (double x) const | 
Additional Inherited Members | |
  Static Public Member Functions inherited from LibBoard::Transform | |
| static double | round (const double &x) | 
  Protected Attributes inherited from LibBoard::Transform | |
| double | _scale | 
| double | _deltaX | 
| double | _deltaY | 
| double | _height | 
Structure representing a scaling and translation suitable for an SVG output.
The TransformSVG structure.
| double LibBoard::TransformSVG::mapWidth | ( | double | width | ) | const | 
References LibBoard::Transform::round().
Referenced by LibBoard::Arrow::flushSVG(), LibBoard::Shape::svgProperties(), and LibBoard::Shape::tikzProperties().
      
  | 
  virtual | 
Implements LibBoard::Transform.
References LibBoard::Transform::_deltaY, LibBoard::Transform::_height, LibBoard::Transform::_scale, and rounded().
Referenced by LibBoard::Dot::flushSVG(), LibBoard::Line::flushSVG(), LibBoard::Arrow::flushSVG(), LibBoard::Rectangle::flushSVG(), LibBoard::Image::flushSVG(), LibBoard::Ellipse::flushSVG(), LibBoard::Circle::flushSVG(), LibBoard::Arc::flushSVG(), LibBoard::Text::flushSVG(), LibBoard::Path::flushSVGCommands(), LibBoard::Path::flushSVGPoints(), LibBoard::Line::flushTikZ(), LibBoard::Arrow::flushTikZ(), LibBoard::Image::flushTikZ(), LibBoard::Ellipse::flushTikZ(), LibBoard::Circle::flushTikZ(), LibBoard::Arc::flushTikZ(), LibBoard::Text::flushTikZ(), and LibBoard::Path::flushTikZPoints().
      
  | 
  virtual | 
Reimplemented from LibBoard::Transform.
References LibBoard::Transform::round().
Referenced by mapY().
      
  | 
  virtual | 
Implements LibBoard::Transform.
References LibBoard::Transform::_deltaX, LibBoard::Transform::_deltaY, LibBoard::Transform::_height, LibBoard::Transform::_scale, LibBoard::Rect::height, LibBoard::Rect::left, LibBoard::Rect::top, and LibBoard::Rect::width.
Referenced by LibBoard::Board::saveSVG(), and LibBoard::Board::saveTikZ().