|
LibreOffice Module canvas (master) 1
|
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) |
| void | setupFontWidth (const css::geometry::Matrix2D &rFontMatrix, vcl::Font &rFont, OutputDevice &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) |
| void | SetDefaultDeviceAntiAliasing (OutputDevice *pDevice) |
| ::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) |
| ::BitmapEx vclcanvas::tools::bitmapExFromXBitmap | ( | const css::uno::Reference< css::rendering::XBitmap > & | ) |
| ::BitmapEx vclcanvas::tools::bitmapExFromXBitmap | ( | const uno::Reference< rendering::XBitmap > & | xBitmap | ) |
Definition at line 49 of file impltools.cxx.
References vcl::unotools::bitmapExFromXBitmap(), ENSURE_OR_THROW, vclcanvas::SpriteCanvas::getBackBuffer(), vclcanvas::CanvasBitmap::getBitmap(), and BitmapEx::IsEmpty().
Referenced by vclcanvas::CanvasHelper::implDrawBitmap().
| bool vclcanvas::tools::isRectangle | ( | const ::tools::PolyPolygon & | rPolyPoly | ) |
Predicate, to determine whether polygon is actually an axis-aligned rectangle.
Definition at line 165 of file impltools.cxx.
References isRectangle(), and nCount.
Referenced by isRectangle(), dxcanvas::SpriteHelper::redraw(), and canvas::CanvasCustomSpriteHelper::updateClipState().
| ::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 | ||
| ) |
Definition at line 199 of file impltools.cxx.
References canvas::tools::mergeViewAndRenderTransform(), and basegfx::B2DPolyPolygon::transform().
| ::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 | ||
| ) |
Definition at line 185 of file impltools.cxx.
References canvas::tools::mergeViewAndRenderTransform(), and vcl::unotools::pointFromB2DPoint().
| void vclcanvas::tools::SetDefaultDeviceAntiAliasing | ( | OutputDevice * | pDevice | ) |
Definition at line 248 of file impltools.cxx.
References OutputDevice::GetAntialiasing(), SkiaHelper::isVCLSkiaEnabled(), and OutputDevice::SetAntialiasing().
Referenced by vclcanvas::BackBuffer::BackBuffer(), vclcanvas::BitmapBackBuffer::createVDev(), and vclcanvas::SpriteDeviceHelper::init().
| 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.
| bool vclcanvas::tools::setupFontTransform | ( | ::Point & | o_rPoint, |
| vcl::Font & | io_rVCLFont, | ||
| const rendering::ViewState & | rViewState, | ||
| const rendering::RenderState & | rRenderState, | ||
| ::OutputDevice const & | rOutDev | ||
| ) |
Definition at line 87 of file impltools.cxx.
References basegfx::B2DHomMatrix::decompose(), vcl::Font::GetAverageFontWidth(), vcl::Font::GetFontHeight(), OutputDevice::GetFontMetric(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), canvas::tools::mergeViewAndRenderTransform(), vcl::Font::SetAverageFontWidth(), vcl::Font::SetFontHeight(), vcl::Font::SetOrientation(), Point::setX(), and Point::setY().
Referenced by vclcanvas::CanvasHelper::setupTextOutput().
| void vclcanvas::tools::setupFontWidth | ( | const css::geometry::Matrix2D & | rFontMatrix, |
| vcl::Font & | rFont, | ||
| OutputDevice & | rOutDev | ||
| ) |
Definition at line 138 of file impltools.cxx.
References OutputDevice::EnableMapMode(), vcl::Font::GetFontHeight(), OutputDevice::GetFontMetric(), vcl::Font::GetFontSize(), OutputDevice::IsMapModeEnabled(), vcl::Font::SetAverageFontWidth(), vcl::Font::SetFontSize(), and Size::Width().
| BitmapEx vclcanvas::tools::transformBitmap | ( | const BitmapEx & | rBitmap, |
| const ::basegfx::B2DHomMatrix & | rTransform | ||
| ) |
Definition at line 215 of file impltools.cxx.
References canvas::tools::calcRectToOriginTransform(), canvas::tools::calcTransformedRectBounds(), vcl::bitmap::CanvasTransformBitmap(), BitmapEx::GetSizePixel(), Size::Height(), SAL_INFO, and Size::Width().
Referenced by vclcanvas::CanvasHelper::implDrawBitmap().