LibreOffice Module canvas (master) 1
Namespaces | Functions | Variables
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/math.hxx>
#include <comphelper/diagnose_ex.hxx>
#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

namespace  cairocanvas
 

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)
 

Variables

constexpr OUStringLiteral cairocanvas::PARAMETRICPOLYPOLYGON_IMPLEMENTATION_NAME = u"Canvas::ParametricPolyPolygon"
 

Variable Documentation

◆ maBitCounts

uno::Sequence< sal_Int32 > maBitCounts
private

Definition at line 1346 of file cairo_canvashelper.cxx.

◆ maComponentTags

uno::Sequence< sal_Int8 > maComponentTags
private

Definition at line 1345 of file cairo_canvashelper.cxx.