Public Member Functions | Private Attributes

LibBoard::TransformFIG Struct Reference

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

#include <Transforms.h>

Inheritance diagram for LibBoard::TransformFIG:
Inheritance graph
[legend]
Collaboration diagram for LibBoard::TransformFIG:
Collaboration graph
[legend]

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

Private Attributes

int _maxDepth
int _minDepth

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

int LibBoard::TransformFIG::mapDepth ( int  depth  )  const
int LibBoard::TransformFIG::mapWidth ( double  width  )  const
double LibBoard::TransformFIG::mapY ( double  y  )  const [virtual]
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

Referenced by mapDepth(), and setDepthRange().

Referenced by mapDepth(), and setDepthRange().


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