LibreOffice Module canvas (master)  1
Classes | Functions
vclcanvas::tools Namespace Reference

Classes

class  LocalGuard
 
class  OutDevStateKeeper
 

Functions

::BitmapEx bitmapExFromXBitmap (const uno::Reference< rendering::XBitmap > &xBitmap)
 
bool setupFontTransform (::Point &o_rPoint, vcl::Font &io_rVCLFont, const rendering::ViewState &rViewState, const rendering::RenderState &rRenderState,::OutputDevice const &rOutDev)
 
bool isRectangle (const ::tools::PolyPolygon &rPolyPoly)
 Predicate, to determine whether polygon is actually an axis-aligned rectangle. More...
 
::Point mapRealPoint2D (const geometry::RealPoint2D &rPoint, const rendering::ViewState &rViewState, const rendering::RenderState &rRenderState)
 
::tools::PolyPolygon mapPolyPolygon (const ::basegfx::B2DPolyPolygon &rPoly, const rendering::ViewState &rViewState, const rendering::RenderState &rRenderState)
 
::BitmapEx transformBitmap (const BitmapEx &rBitmap, const ::basegfx::B2DHomMatrix &rTransform)
 
::BitmapEx bitmapExFromXBitmap (const css::uno::Reference< css::rendering::XBitmap > &)
 
bool setupFontTransform (::Point &o_rPoint, vcl::Font &io_rVCLFont, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState,::OutputDevice const &rOutDev)
 Setup VCL font and output position. More...
 
::Point mapRealPoint2D (const css::geometry::RealPoint2D &rPoint, const css::rendering::ViewState &rViewState, const css::rendering::RenderState &rRenderState)
 
::tools::PolyPolygon mapPolyPolygon (const ::basegfx::B2DPolyPolygon &rPoly, const css::rendering::ViewState &rViewState, const css::rendering::RenderState &rRenderState)
 

Function Documentation

::BitmapEx vclcanvas::tools::bitmapExFromXBitmap ( const uno::Reference< rendering::XBitmap > &  xBitmap)
::BitmapEx vclcanvas::tools::bitmapExFromXBitmap ( const css::uno::Reference< css::rendering::XBitmap > &  )
bool vclcanvas::tools::isRectangle ( const ::tools::PolyPolygon rPolyPoly)

Predicate, to determine whether polygon is actually an axis-aligned rectangle.

Returns
true, if the polygon is a rectangle.

Definition at line 150 of file impltools.cxx.

::tools::PolyPolygon vclcanvas::tools::mapPolyPolygon ( const ::basegfx::B2DPolyPolygon rPoly,
const css::rendering::ViewState rViewState,
const css::rendering::RenderState &  rRenderState 
)
::tools::PolyPolygon vclcanvas::tools::mapPolyPolygon ( const ::basegfx::B2DPolyPolygon rPoly,
const rendering::ViewState rViewState,
const rendering::RenderState &  rRenderState 
)
::Point vclcanvas::tools::mapRealPoint2D ( const css::geometry::RealPoint2D &  rPoint,
const css::rendering::ViewState rViewState,
const css::rendering::RenderState &  rRenderState 
)
::Point vclcanvas::tools::mapRealPoint2D ( const geometry::RealPoint2D &  rPoint,
const rendering::ViewState rViewState,
const rendering::RenderState &  rRenderState 
)
bool vclcanvas::tools::setupFontTransform ( ::Point o_rPoint,
vcl::Font io_rVCLFont,
const css::rendering::ViewState viewState,
const css::rendering::RenderState &  renderState,
::OutputDevice const &  rOutDev 
)

Setup VCL font and output position.

Returns
false, if no text output should happen
bool vclcanvas::tools::setupFontTransform ( ::Point o_rPoint,
vcl::Font io_rVCLFont,
const rendering::ViewState rViewState,
const rendering::RenderState &  rRenderState,
::OutputDevice const &  rOutDev 
)
BitmapEx vclcanvas::tools::transformBitmap ( const BitmapEx rBitmap,
const ::basegfx::B2DHomMatrix rTransform 
)