LibreOffice Module cppcanvas (master) 1
Classes | Namespaces | Functions
mtftools.hxx File Reference
#include <action.hxx>
#include <cppcanvas/canvas.hxx>
Include dependency graph for mtftools.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cppcanvas::tools::TextLineInfo
 

Namespaces

namespace  basegfx
 
namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::rendering
 
namespace  cppcanvas
 
namespace  cppcanvas::internal
 
namespace  cppcanvas::tools
 

Functions

void cppcanvas::tools::initRenderState (css::rendering::RenderState &renderState, const ::cppcanvas::internal::OutDevState &outdevState)
 Init render state from OutDevState. More...
 
::Size cppcanvas::tools::getBaselineOffset (const ::cppcanvas::internal::OutDevState &outdevState, const VirtualDevice &rVDev)
 Calc output offset relative to baseline. More...
 
::basegfx::B2DHomMatrixcppcanvas::tools::calcLogic2PixelLinearTransform (::basegfx::B2DHomMatrix &o_rMatrix, const VirtualDevice &rVDev)
 Construct a matrix that converts from logical to pixel coordinate system. More...
 
::basegfx::B2DHomMatrixcppcanvas::tools::calcLogic2PixelAffineTransform (::basegfx::B2DHomMatrix &o_rMatrix, const VirtualDevice &rVDev)
 Construct a matrix that converts from logical to pixel coordinate system. More...
 
bool cppcanvas::tools::modifyClip (css::rendering::RenderState &o_rRenderState, const struct ::cppcanvas::internal::OutDevState &rOutdevState, const CanvasSharedPtr &rCanvas, const ::basegfx::B2DPoint &rOffset, const ::basegfx::B2DVector *pScaling, const double *pRotation)
 This method modifies the clip, to cancel the given transformation. More...
 
::basegfx::B2DRange cppcanvas::tools::calcDevicePixelBounds (const ::basegfx::B2DRange &rBounds, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState)
 Transform given bounds to device coordinate system. More...
 
TextLineInfo cppcanvas::tools::createTextLineInfo (const ::VirtualDevice &rVDev, const ::cppcanvas::internal::OutDevState &rState)
 Generate text underline/strikeout info struct from OutDev state. More...
 
::basegfx::B2DPolyPolygon cppcanvas::tools::createTextLinesPolyPolygon (const double &rStartOffset, const double &rLineWidth, const TextLineInfo &rTextLineInfo)
 Create a poly-polygon representing the given combination of overline, strikeout and underline. More...
 
::basegfx::B2DPolyPolygon cppcanvas::tools::createTextLinesPolyPolygon (const ::basegfx::B2DPoint &rStartPos, const double &rLineWidth, const TextLineInfo &rTextLineInfo)
 
void cppcanvas::tools::createTextLinesPolyPolygon (const double &rStartOffset, const double &rLineWidth, const TextLineInfo &rTextLineInfo, ::basegfx::B2DPolyPolygon &rOverlinePolyPoly, ::basegfx::B2DPolyPolygon &rUnderlinePolyPoly, ::basegfx::B2DPolyPolygon &rStrikeoutPolyPoly)