Board  0.6.devel
 All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Macros
LibBoard::TransformFIG Struct Reference

#include <Transforms.h>

Inheritance diagram for LibBoard::TransformFIG:
Collaboration diagram for LibBoard::TransformFIG:

Public Member Functions

 TransformFIG ()
double rounded (double x) const
double mapY (double y) const
int mapWidth (double width) const
void setBoundingBox (const Rect &rect, const double pageWidth, const double pageHeight, const double margin)
void setDepthRange (const ShapeList &shapes)
int mapDepth (int depth) const
- 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

Private Attributes

int _maxDepth
int _minDepth

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

Detailed Description

Structure representing a scaling and translation suitable for an XFig output.

The TransformFIG structure.


Constructor & Destructor Documentation

LibBoard::TransformFIG::TransformFIG ( )
inline

Member Function Documentation

double LibBoard::TransformFIG::rounded ( double  x) const
virtual

Reimplemented from LibBoard::Transform.

References LibBoard::Transform::round().

Referenced by mapY().

void LibBoard::TransformFIG::setBoundingBox ( const Rect rect,
const double  pageWidth,
const double  pageHeight,
const double  margin 
)
virtual
void LibBoard::TransformFIG::setDepthRange ( const ShapeList shapes)

Field Documentation

int LibBoard::TransformFIG::_maxDepth
private

Referenced by mapDepth(), and setDepthRange().

int LibBoard::TransformFIG::_minDepth
private

Referenced by mapDepth(), and setDepthRange().


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