Public Member Functions

LibBoard::TransformSVG Struct Reference

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

#include <Transforms.h>

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

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)

Detailed Description

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

The TransformSVG structure.


Member Function Documentation

double LibBoard::TransformSVG::mapWidth ( double  width  )  const
double LibBoard::TransformSVG::mapY ( double  y  )  const [virtual]
double LibBoard::TransformSVG::rounded ( double  x  )  const [virtual]

Reimplemented from LibBoard::Transform.

References LibBoard::Transform::round().

Referenced by mapY().

void LibBoard::TransformSVG::setBoundingBox ( const Rect rect,
const double  pageWidth,
const double  pageHeight,
const double  margin 
) [virtual]

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