LibreOffice Module canvas (master)  1
Namespaces | Macros | Functions
cairo_canvashelper.cxx File Reference
#include <sal/config.h>
#include <sal/log.hxx>
#include <algorithm>
#include <tuple>
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/utils/canvastools.hxx>
#include <basegfx/utils/keystoplerp.hxx>
#include <basegfx/utils/lerp.hxx>
#include <com/sun/star/rendering/ColorComponentTag.hpp>
#include <com/sun/star/rendering/ColorSpaceType.hpp>
#include <com/sun/star/rendering/CompositeOperation.hpp>
#include <com/sun/star/rendering/IntegerBitmapLayout.hpp>
#include <com/sun/star/rendering/PathCapType.hpp>
#include <com/sun/star/rendering/PathJoinType.hpp>
#include <com/sun/star/rendering/RenderingIntent.hpp>
#include <com/sun/star/rendering/TexturingMode.hpp>
#include <com/sun/star/rendering/XIntegerBitmapColorSpace.hpp>
#include <com/sun/star/util/Endianness.hpp>
#include <comphelper/sequence.hxx>
#include <cppuhelper/implbase.hxx>
#include <rtl/instance.hxx>
#include <rtl/math.hxx>
#include <tools/diagnose_ex.h>
#include <vcl/bitmapex.hxx>
#include <vcl/BitmapTools.hxx>
#include <vcl/canvastools.hxx>
#include <vcl/virdev.hxx>
#include <canvas/canvastools.hxx>
#include <parametricpolypolygon.hxx>
#include <cairo.h>
#include "cairo_cachedbitmap.hxx"
#include "cairo_canvasbitmap.hxx"
#include "cairo_canvashelper.hxx"
Include dependency graph for cairo_canvashelper.cxx:

Go to the source code of this file.

Namespaces

 cairocanvas
 

Macros

#define PARAMETRICPOLYPOLYGON_IMPLEMENTATION_NAME   "Canvas::ParametricPolyPolygon"
 

Functions

static void cairocanvas::setColor (cairo_t *pCairo, const uno::Sequence< double > &rColor)
 
static SurfaceSharedPtr cairocanvas::surfaceFromXBitmap (const uno::Reference< rendering::XBitmap > &xBitmap)
 surfaceFromXBitmap Create a surface from XBitmap More...
 
::BitmapEx cairocanvas::bitmapExFromXBitmap (const uno::Reference< rendering::XBitmap > &xBitmap)
 
static SurfaceSharedPtr cairocanvas::surfaceFromXBitmap (const uno::Reference< rendering::XBitmap > &xBitmap, const SurfaceProviderRef &rSurfaceProvider, unsigned char *&data, bool &bHasAlpha)
 surfaceFromXBitmap Create a surface from XBitmap More...
 
static void cairocanvas::addColorStops (cairo_pattern_t *pPattern, const uno::Sequence< uno::Sequence< double > > &rColors, const uno::Sequence< double > &rStops, bool bReverseStops)
 
static uno::Sequence< double > cairocanvas::lerp (const uno::Sequence< double > &rLeft, const uno::Sequence< double > &rRight, double fAlpha)
 
static cairo_pattern_t * cairocanvas::patternFromParametricPolyPolygon (::canvas::ParametricPolyPolygon const &rPolygon)
 
static void cairocanvas::doOperation (Operation aOperation, cairo_t *pCairo, const uno::Sequence< rendering::Texture > *pTextures, const SurfaceProviderRef &pDevice, const basegfx::B2DRange &rBounds)
 
static void cairocanvas::clipNULL (cairo_t *pCairo)
 
void cairocanvas::doPolyPolygonImplementation (const ::basegfx::B2DPolyPolygon &aPolyPolygon, Operation aOperation, cairo_t *pCairo, const uno::Sequence< rendering::Texture > *pTextures, const SurfaceProviderRef &pDevice, rendering::FillRule eFillrule)
 

Macro Definition Documentation

#define PARAMETRICPOLYPOLYGON_IMPLEMENTATION_NAME   "Canvas::ParametricPolyPolygon"

Definition at line 289 of file cairo_canvashelper.cxx.

Referenced by cairocanvas::doOperation().

Variable Documentation

uno::Sequence< sal_Int32 > maBitCounts

Definition at line 1343 of file cairo_canvashelper.cxx.

uno::Sequence< sal_Int8 > maComponentTags

Definition at line 1342 of file cairo_canvashelper.cxx.