LibreOffice Module canvas (master)  1
Namespaces | Functions
dx_impltools.hxx File Reference
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/util/TriState.hpp>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/numeric/ftools.hxx>
#include <memory>
#include "dx_canvasfont.hxx"
Include dependency graph for dx_impltools.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 basegfx
 
 com
 
 com::sun
 
 com::sun::star
 
 com::sun::star::geometry
 
 com::sun::star::rendering
 
 dxcanvas
 
 dxcanvas::tools
 

Functions

::basegfx::B2DPolyPolygon dxcanvas::tools::polyPolygonFromXPolyPolygon2D (const css::uno::Reference< css::rendering::XPolyPolygon2D > &)
 
Gdiplus::Graphics * dxcanvas::tools::createGraphicsFromHDC (HDC aHDC)
 
Gdiplus::Graphics * dxcanvas::tools::createGraphicsFromBitmap (const BitmapSharedPtr &rBitmap)
 
void dxcanvas::tools::setupGraphics (Gdiplus::Graphics &rGraphics)
 
void dxcanvas::tools::gdiPlusMatrixFromB2DHomMatrix (Gdiplus::Matrix &rGdiplusMatrix, const ::basegfx::B2DHomMatrix &rMatrix)
 
void dxcanvas::tools::gdiPlusMatrixFromAffineMatrix2D (Gdiplus::Matrix &rGdiplusMatrix, const css::geometry::AffineMatrix2D &rMatrix)
 
Gdiplus::PointF dxcanvas::tools::gdiPlusPointFFromRealPoint2D (const css::geometry::RealPoint2D &)
 
Gdiplus::RectF dxcanvas::tools::gdiPlusRectFFromRectangle2D (const css::geometry::RealRectangle2D &)
 
Gdiplus::Rect dxcanvas::tools::gdiPlusRectFromIntegerRectangle2D (const css::geometry::IntegerRectangle2D &)
 
RECT dxcanvas::tools::gdiRectFromB2IRect (const ::basegfx::B2IRange &rRect)
 
geometry::RealPoint2D dxcanvas::tools::realPoint2DFromGdiPlusPointF (const Gdiplus::PointF &rPoint)
 
geometry::RealRectangle2D dxcanvas::tools::realRectangle2DFromGdiPlusRectF (const Gdiplus::RectF &rRect)
 
::basegfx::B2DPoint dxcanvas::tools::b2dPointFromGdiPlusPointF (const Gdiplus::PointF &rPoint)
 
::basegfx::B2DRange dxcanvas::tools::b2dRangeFromGdiPlusRectF (const Gdiplus::RectF &rRect)
 
uno::Sequence< sal_Int8dxcanvas::tools::argbToIntSequence (Gdiplus::ARGB rColor)
 
Gdiplus::ARGB dxcanvas::tools::sequenceToArgb (const css::uno::Sequence< sal_Int8 > &rColor)
 
Gdiplus::ARGB dxcanvas::tools::sequenceToArgb (const css::uno::Sequence< double > &rColor)
 
GraphicsPathSharedPtr dxcanvas::tools::graphicsPathFromRealPoint2DSequence (const css::uno::Sequence< css::uno::Sequence< css::geometry::RealPoint2D > > &)
 
GraphicsPathSharedPtr dxcanvas::tools::graphicsPathFromB2DPolygon (const ::basegfx::B2DPolygon &rPoly, bool bNoLineJoin)
 
GraphicsPathSharedPtr dxcanvas::tools::graphicsPathFromB2DPolyPolygon (const ::basegfx::B2DPolyPolygon &rPoly, bool bNoLineJoin)
 
GraphicsPathSharedPtr dxcanvas::tools::graphicsPathFromXPolyPolygon2D (const css::uno::Reference< css::rendering::XPolyPolygon2D > &, bool bNoLineJoin=false)
 
bool dxcanvas::tools::drawGdiPlusBitmap (const GraphicsSharedPtr &rGraphics, const BitmapSharedPtr &rBitmap)
 
bool dxcanvas::tools::drawDIBits (const std::shared_ptr< Gdiplus::Graphics > &rGraphics, const BITMAPINFO &rBI, const void *pBits)
 
bool dxcanvas::tools::drawRGBABits (const std::shared_ptr< Gdiplus::Graphics > &rGraphics, const RawRGBABitmap &rRawRGBAData)
 
BitmapSharedPtr dxcanvas::tools::bitmapFromXBitmap (const css::uno::Reference< css::rendering::XBitmap > &xBitmap)
 
CanvasFont::ImplRef dxcanvas::tools::canvasFontFromXFont (const css::uno::Reference< css::rendering::XCanvasFont > &xFont)
 
void dxcanvas::tools::setModulateImageAttributes (Gdiplus::ImageAttributes &o_rAttr, double nRedModulation, double nGreenModulation, double nBlueModulation, double nAlphaModulation)