LibreOffice Module canvas (master) 1
Namespaces | Functions
dx_impltools.cxx File Reference
#include <sal/config.h>
#include <algorithm>
#include <memory>
#include <vector>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/range/b2drectangle.hxx>
#include <basegfx/range/b2irectangle.hxx>
#include <basegfx/utils/canvastools.hxx>
#include <com/sun/star/geometry/IntegerRectangle2D.hpp>
#include <com/sun/star/geometry/RealPoint2D.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <comphelper/diagnose_ex.hxx>
#include <canvas/canvastools.hxx>
#include <verifyinput.hxx>
#include "dx_canvas.hxx"
#include "dx_canvasbitmap.hxx"
#include "dx_canvasfont.hxx"
#include "dx_impltools.hxx"
#include "dx_linepolypolygon.hxx"
#include "dx_spritecanvas.hxx"
#include "dx_vcltools.hxx"
Include dependency graph for dx_impltools.cxx:

Go to the source code of this file.

Namespaces

namespace  dxcanvas
 
namespace  dxcanvas::tools
 

Functions

::basegfx::B2DPolyPolygon dxcanvas::tools::polyPolygonFromXPolyPolygon2D (const uno::Reference< rendering::XPolyPolygon2D > &xPoly)
 
void dxcanvas::tools::setupGraphics (Gdiplus::Graphics &rGraphics)
 
Gdiplus::Graphics * dxcanvas::tools::createGraphicsFromHDC (HDC aHDC)
 
GraphicsSharedPtr dxcanvas::tools::createGraphicsFromBitmap (const BitmapSharedPtr &rBitmap)
 
void dxcanvas::tools::gdiPlusMatrixFromB2DHomMatrix (Gdiplus::Matrix &rGdiplusMatrix, const ::basegfx::B2DHomMatrix &rMatrix)
 
void dxcanvas::tools::gdiPlusMatrixFromAffineMatrix2D (Gdiplus::Matrix &rGdiplusMatrix, const geometry::AffineMatrix2D &rMatrix)
 
Gdiplus::Rect dxcanvas::tools::gdiPlusRectFromIntegerRectangle2D (const geometry::IntegerRectangle2D &rRect)
 
Gdiplus::RectF dxcanvas::tools::gdiPlusRectFFromRectangle2D (const geometry::RealRectangle2D &rRect)
 
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 uno::Sequence< sal_Int8 > &rColor)
 
Gdiplus::ARGB dxcanvas::tools::sequenceToArgb (const uno::Sequence< double > &rColor)
 
GraphicsPathSharedPtr dxcanvas::tools::graphicsPathFromRealPoint2DSequence (const uno::Sequence< uno::Sequence< geometry::RealPoint2D > > &points)
 
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 uno::Reference< rendering::XPolyPolygon2D > &xPoly, bool bNoLineJoin)
 
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 uno::Reference< rendering::XBitmap > &xBitmap)
 
CanvasFont::ImplRef dxcanvas::tools::canvasFontFromXFont (const uno::Reference< rendering::XCanvasFont > &xFont)
 
void dxcanvas::tools::setModulateImageAttributes (Gdiplus::ImageAttributes &o_rAttr, double nRedModulation, double nGreenModulation, double nBlueModulation, double nAlphaModulation)