LibreOffice Module cppcanvas (master) 1
Namespaces | Functions
mtftools.cxx File Reference
#include <comphelper/diagnose_ex.hxx>
#include <com/sun/star/rendering/XCanvas.hpp>
#include <basegfx/utils/canvastools.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/range/b2drectangle.hxx>
#include <basegfx/vector/b2dvector.hxx>
#include <canvas/canvastools.hxx>
#include <rtl/math.hxx>
#include <vcl/canvastools.hxx>
#include <vcl/virdev.hxx>
#include <vcl/metric.hxx>
#include "mtftools.hxx"
#include <outdevstate.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
Include dependency graph for mtftools.cxx:

Go to the source code of this file.

Namespaces

namespace  cppcanvas
 
namespace  cppcanvas::tools
 

Functions

void cppcanvas::tools::initRenderState (rendering::RenderState &renderState, const ::cppcanvas::internal::OutDevState &outdevState)
 
::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 (rendering::RenderState &o_rRenderState, const struct ::cppcanvas::internal::OutDevState &rOutdevState, const CanvasSharedPtr &rCanvas, const ::basegfx::B2DPoint &rOffset, const ::basegfx::B2DVector *pScaling, const double *pRotation)
 
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 ::basegfx::B2DPoint &rStartPos, const double &rLineWidth, const TextLineInfo &rTextLineInfo)
 
::basegfx::B2DRange cppcanvas::tools::calcDevicePixelBounds (const ::basegfx::B2DRange &rBounds, const rendering::ViewState &viewState, const rendering::RenderState &renderState)
 
::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...
 
void cppcanvas::tools::createTextLinesPolyPolygon (const double &rStartOffset, const double &rLineWidth, const TextLineInfo &rTextLineInfo, ::basegfx::B2DPolyPolygon &rOverlinePolyPoly, ::basegfx::B2DPolyPolygon &rUnderlinePolyPoly, ::basegfx::B2DPolyPolygon &rStrikeoutPolyPoly)