LibreOffice Module vcl (master)  1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
SvpSalGraphics Class Reference

#include <svpgdi.hxx>

Inheritance diagram for SvpSalGraphics:
[legend]
Collaboration diagram for SvpSalGraphics:
[legend]

Public Member Functions

void setSurface (cairo_surface_t *pSurface, const basegfx::B2IVector &rSize)
 
cairo_surface_tgetSurface () const
 
void copySource (const SalTwoRect &rTR, cairo_surface_t *source)
 
void copyWithOperator (const SalTwoRect &rTR, cairo_surface_t *source, cairo_operator_t eOp=CAIRO_OPERATOR_SOURCE)
 
 SvpSalGraphics ()
 
virtual ~SvpSalGraphics () override
 
virtual SalGraphicsImplGetImpl () const override
 
virtual void GetResolution (sal_Int32 &rDPIX, sal_Int32 &rDPIY) override
 
virtual sal_uInt16 GetBitCount () const override
 
virtual long GetGraphicsWidth () const override
 
virtual void ResetClipRegion () override
 
virtual bool setClipRegion (const vcl::Region &) override
 
virtual void SetLineColor () override
 
virtual void SetLineColor (Color nColor) override
 
virtual void SetFillColor () override
 
virtual void SetFillColor (Color nColor) override
 
virtual void SetXORMode (bool bSet, bool) override
 
virtual void SetROPLineColor (SalROPColor nROPColor) override
 
virtual void SetROPFillColor (SalROPColor nROPColor) override
 
virtual void SetTextColor (Color nColor) override
 
virtual void SetFont (LogicalFontInstance *, int nFallbackLevel) override
 
virtual void GetFontMetric (ImplFontMetricDataRef &, int nFallbackLevel) override
 
virtual const FontCharMapRef GetFontCharMap () const override
 
virtual bool GetFontCapabilities (vcl::FontCapabilities &rFontCapabilities) const override
 
virtual void GetDevFontList (PhysicalFontCollection *) override
 
virtual void ClearDevFontCache () override
 
virtual bool AddTempDevFont (PhysicalFontCollection *, const OUString &rFileURL, const OUString &rFontName) override
 
virtual bool CreateFontSubset (const OUString &rToFile, const PhysicalFontFace *, const sal_GlyphId *pGlyphIds, const sal_uInt8 *pEncoding, sal_Int32 *pWidths, int nGlyphs, FontSubsetInfo &rInfo) override
 
virtual const voidGetEmbedFontData (const PhysicalFontFace *, long *pDataLen) override
 
virtual void FreeEmbedFontData (const void *pData, long nDataLen) override
 
virtual void GetGlyphWidths (const PhysicalFontFace *, bool bVertical, std::vector< sal_Int32 > &rWidths, Ucs2UIntMap &rUnicodeEnc) override
 
virtual std::unique_ptr< GenericSalLayoutGetTextLayout (int nFallbackLevel) override
 
virtual void DrawTextLayout (const GenericSalLayout &) override
 
virtual bool supportsOperation (OutDevSupportType) const override
 
virtual void drawPixel (long nX, long nY) override
 
virtual void drawPixel (long nX, long nY, Color nColor) override
 
virtual void drawLine (long nX1, long nY1, long nX2, long nY2) override
 
virtual void drawRect (long nX, long nY, long nWidth, long nHeight) override
 
virtual bool drawPolyPolygon (const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolyPolygon &, double fTransparency) override
 
virtual bool drawPolyLine (const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolygon &, double fTransparency, const basegfx::B2DVector &rLineWidths, basegfx::B2DLineJoin, css::drawing::LineCap, double fMiterMinimumAngle, bool bPixelSnapHairline) override
 
virtual void drawPolyLine (sal_uInt32 nPoints, const SalPoint *pPtAry) override
 
virtual void drawPolygon (sal_uInt32 nPoints, const SalPoint *pPtAry) override
 
virtual void drawPolyPolygon (sal_uInt32 nPoly, const sal_uInt32 *pPoints, PCONSTSALPOINT *pPtAry) override
 
virtual bool drawPolyLineBezier (sal_uInt32 nPoints, const SalPoint *pPtAry, const PolyFlags *pFlgAry) override
 
virtual bool drawPolygonBezier (sal_uInt32 nPoints, const SalPoint *pPtAry, const PolyFlags *pFlgAry) override
 
virtual bool drawPolyPolygonBezier (sal_uInt32 nPoly, const sal_uInt32 *pPoints, const SalPoint *const *pPtAry, const PolyFlags *const *pFlgAry) override
 
virtual bool drawGradient (const tools::PolyPolygon &, const Gradient &) override
 
virtual void copyArea (long nDestX, long nDestY, long nSrcX, long nSrcY, long nSrcWidth, long nSrcHeight, bool bWindowInvalidate) override
 
virtual void copyBits (const SalTwoRect &rPosAry, SalGraphics *pSrcGraphics) override
 
virtual void drawBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap) override
 
void drawBitmap (const SalTwoRect &rPosAry, const BitmapBuffer *pBuffer, cairo_operator_t eOp)
 
virtual void drawBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, const SalBitmap &rTransparentBitmap) override
 
virtual void drawMask (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, Color nMaskColor) override
 
virtual std::shared_ptr< SalBitmapgetBitmap (long nX, long nY, long nWidth, long nHeight) override
 
virtual Color getPixel (long nX, long nY) override
 
virtual void invert (long nX, long nY, long nWidth, long nHeight, SalInvert nFlags) override
 
virtual void invert (sal_uInt32 nPoints, const SalPoint *pPtAry, SalInvert nFlags) override
 
virtual bool drawEPS (long nX, long nY, long nWidth, long nHeight, void *pPtr, sal_uInt32 nSize) override
 
virtual SystemGraphicsData GetGraphicsData () const override
 
cairo_tgetCairoContext (bool bXorModeAllowed) const
 
void releaseCairoContext (cairo_t *cr, bool bXorModeAllowed, const basegfx::B2DRange &rExtents) const
 
void clipRegion (cairo_t *cr)
 
- Public Member Functions inherited from SalGraphics
 SalGraphics ()
 
 ~SalGraphics () override
 
rtl::Reference< OpenGLContextGetOpenGLContext () const
 Check that our mpImpl is OpenGL and return the context, otherwise NULL. More...
 
void setAntiAliasB2DDraw (bool bNew)
 
bool getAntiAliasB2DDraw () const
 
void ReleaseFonts ()
 
SalLayoutFlags GetLayout () const
 
void SetLayout (SalLayoutFlags aLayout)
 
void mirror (long &nX, const OutputDevice *pOutDev) const
 
long mirror2 (long nX, const OutputDevice *pOutDev) const
 
void mirror (long &nX, long nWidth, const OutputDevice *pOutDev, bool bBack=false) const
 
bool mirror (sal_uInt32 nPoints, const SalPoint *pPtAry, SalPoint *pPtAry2, const OutputDevice *pOutDev) const
 
void mirror (tools::Rectangle &rRect, const OutputDevice *, bool bBack=false) const
 
void mirror (vcl::Region &rRgn, const OutputDevice *pOutDev) const
 
void mirror (ImplControlValue &, const OutputDevice *) const
 
basegfx::B2DPoint mirror (const basegfx::B2DPoint &i_rPoint, const OutputDevice *pOutDev) const
 
basegfx::B2DPolyPolygon mirror (const basegfx::B2DPolyPolygon &i_rPoly, const OutputDevice *pOutDev) const
 
const basegfx::B2DHomMatrixgetMirror (const OutputDevice *pOutDev) const
 
basegfx::B2DHomMatrix mirror (const basegfx::B2DHomMatrix &i_rMatrix, const OutputDevice *pOutDev) const
 
bool SetClipRegion (const vcl::Region &, const OutputDevice *pOutDev)
 
void DrawPixel (long nX, long nY, const OutputDevice *pOutDev)
 
void DrawPixel (long nX, long nY, Color nColor, const OutputDevice *pOutDev)
 
void DrawLine (long nX1, long nY1, long nX2, long nY2, const OutputDevice *pOutDev)
 
void DrawRect (long nX, long nY, long nWidth, long nHeight, const OutputDevice *pOutDev)
 
void DrawPolyLine (sal_uInt32 nPoints, SalPoint const *pPtAry, const OutputDevice *pOutDev)
 
void DrawPolygon (sal_uInt32 nPoints, const SalPoint *pPtAry, const OutputDevice *pOutDev)
 
void DrawPolyPolygon (sal_uInt32 nPoly, const sal_uInt32 *pPoints, PCONSTSALPOINT *pPtAry, const OutputDevice *pOutDev)
 
bool DrawPolyPolygon (const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolyPolygon &i_rPolyPolygon, double i_fTransparency, const OutputDevice *i_pOutDev)
 
bool DrawPolyLine (const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolygon &i_rPolygon, double i_fTransparency, const basegfx::B2DVector &i_rLineWidth, basegfx::B2DLineJoin i_eLineJoin, css::drawing::LineCap i_eLineCap, double i_fMiterMinimumAngle, bool bPixelSnapHairline, const OutputDevice *i_pOutDev)
 
bool DrawPolyLineBezier (sal_uInt32 nPoints, const SalPoint *pPtAry, const PolyFlags *pFlgAry, const OutputDevice *pOutDev)
 
bool DrawPolygonBezier (sal_uInt32 nPoints, const SalPoint *pPtAry, const PolyFlags *pFlgAry, const OutputDevice *pOutDev)
 
bool DrawPolyPolygonBezier (sal_uInt32 nPoly, const sal_uInt32 *pPoints, const SalPoint *const *pPtAry, const PolyFlags *const *pFlgAry, const OutputDevice *pOutDev)
 
bool DrawGradient (const tools::PolyPolygon &rPolyPoly, const Gradient &rGradient)
 
void CopyArea (long nDestX, long nDestY, long nSrcX, long nSrcY, long nSrcWidth, long nSrcHeight, const OutputDevice *pOutDev)
 
void CopyBits (const SalTwoRect &rPosAry, SalGraphics *pSrcGraphics, const OutputDevice *pOutDev, const OutputDevice *pSrcOutDev)
 
void DrawBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, const OutputDevice *pOutDev)
 
void DrawBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, const SalBitmap &rTransparentBitmap, const OutputDevice *pOutDev)
 
void DrawMask (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, Color nMaskColor, const OutputDevice *pOutDev)
 
std::shared_ptr< SalBitmapGetBitmap (long nX, long nY, long nWidth, long nHeight, const OutputDevice *pOutDev)
 
Color GetPixel (long nX, long nY, const OutputDevice *pOutDev)
 
void Invert (long nX, long nY, long nWidth, long nHeight, SalInvert nFlags, const OutputDevice *pOutDev)
 
void Invert (sal_uInt32 nPoints, const SalPoint *pPtAry, SalInvert nFlags, const OutputDevice *pOutDev)
 
bool DrawEPS (long nX, long nY, long nWidth, long nHeight, void *pPtr, sal_uInt32 nSize, const OutputDevice *pOutDev)
 
bool IsNativeControlSupported (ControlType, ControlPart)
 
bool HitTestNativeScrollbar (ControlPart nPart, const tools::Rectangle &rControlRegion, const Point &aPos, bool &rIsInside, const OutputDevice *pOutDev)
 
bool DrawNativeControl (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, const OUString &aCaption, const OutputDevice *pOutDev)
 
bool GetNativeControlRegion (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion, const OutputDevice *pOutDev)
 
bool UpdateSettings (AllSettings &)
 
bool BlendBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, const OutputDevice *pOutDev)
 
bool BlendAlphaBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalSrcBitmap, const SalBitmap &rSalMaskBitmap, const SalBitmap &rSalAlphaBitmap, const OutputDevice *pOutDev)
 
bool DrawAlphaBitmap (const SalTwoRect &, const SalBitmap &rSourceBitmap, const SalBitmap &rAlphaBitmap, const OutputDevice *pOutDev)
 
bool DrawTransformedBitmap (const basegfx::B2DPoint &rNull, const basegfx::B2DPoint &rX, const basegfx::B2DPoint &rY, const SalBitmap &rSourceBitmap, const SalBitmap *pAlphaBitmap, const OutputDevice *pOutDev)
 
bool DrawAlphaRect (long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency, const OutputDevice *pOutDev)
 

Static Public Member Functions

static GlyphCachegetPlatformGlyphCache ()
 
static cairo_user_data_key_tgetDamageKey ()
 
static void clipRegion (cairo_t *cr, const vcl::Region &rClipRegion)
 
static bool drawPolyLine (cairo_t *cr, basegfx::B2DRange *pExtents, const Color &rLineColor, bool bAntiAliasB2DDraw, const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolygon &rPolyLine, double fTransparency, const basegfx::B2DVector &rLineWidths, basegfx::B2DLineJoin eLineJoin, css::drawing::LineCap eLineCap, double fMiterMinimumAngle, bool bPixelSnapHairline)
 
static cairo_surface_tcreateCairoSurface (const BitmapBuffer *pBuffer)
 

Protected Member Functions

virtual bool blendBitmap (const SalTwoRect &, const SalBitmap &rBitmap) override
 Blend the bitmap with the current buffer. More...
 
virtual bool blendAlphaBitmap (const SalTwoRect &, const SalBitmap &rSrcBitmap, const SalBitmap &rMaskBitmap, const SalBitmap &rAlphaBitmap) override
 Draw the bitmap by blending using the mask and alpha channel. More...
 
virtual bool drawAlphaBitmap (const SalTwoRect &, const SalBitmap &rSourceBitmap, const SalBitmap &rAlphaBitmap) override
 Render bitmap with alpha channel. More...
 
virtual bool drawTransformedBitmap (const basegfx::B2DPoint &rNull, const basegfx::B2DPoint &rX, const basegfx::B2DPoint &rY, const SalBitmap &rSourceBitmap, const SalBitmap *pAlphaBitmap) override
 draw transformed bitmap (maybe with alpha) where Null, X, Y define the coordinate system More...
 
virtual bool drawAlphaRect (long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency) override
 Render solid rectangle with given transparency. More...
 
cairo_tcreateTmpCompatibleCairoContext () const
 
- Protected Member Functions inherited from SalGraphics
long GetDeviceWidth (const OutputDevice *pOutDev) const
 
virtual void handleDamage (const tools::Rectangle &rDamagedRegion)
 Handle damage done by drawing with a widget draw override. More...
 
bool initWidgetDrawBackends (bool bForce=false)
 
vcl::WidgetDrawInterfaceforWidget ()
 
- Protected Member Functions inherited from vcl::WidgetDrawInterface
virtual ~WidgetDrawInterface ()
 
virtual bool isNativeControlSupported (ControlType eType, ControlPart ePart)
 Query the platform layer for native control support. More...
 
virtual bool hitTestNativeControl (ControlType eType, ControlPart ePart, const tools::Rectangle &rBoundingControlRegion, const Point &aPos, bool &rIsInside)
 Query if a position is inside the native widget part. More...
 
virtual bool drawNativeControl (ControlType eType, ControlPart ePart, const tools::Rectangle &rBoundingControlRegion, ControlState eState, const ImplControlValue &aValue, const OUString &aCaptions)
 Draw the requested control. More...
 
virtual bool getNativeControlRegion (ControlType eType, ControlPart ePart, const tools::Rectangle &rBoundingControlRegion, ControlState eState, const ImplControlValue &aValue, const OUString &aCaption, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion)
 Get the native control regions for the control part. More...
 
virtual bool updateSettings (AllSettings &rSettings)
 

Protected Attributes

vcl::Region m_aClipRegion
 
SvpCairoTextRender m_aTextRenderImpl
 
- Protected Attributes inherited from SalGraphics
bool m_bAntiAliasB2DDraw: 1
 flags which hold the SetAntialiasing() value from OutputDevice More...
 
std::unique_ptr< vcl::WidgetDrawInterfacem_pWidgetDraw
 

Private Member Functions

void invert (const basegfx::B2DPolygon &rPoly, SalInvert nFlags)
 
void applyColor (cairo_t *cr, Color rColor, double fTransparency=0.0)
 

Private Attributes

cairo_surface_tm_pSurface
 
basegfx::B2IVector m_aFrameSize
 
double m_fScale
 
Color m_aLineColor
 
Color m_aFillColor
 
PaintMode m_ePaintMode
 

Detailed Description

Definition at line 88 of file svpgdi.hxx.

Constructor & Destructor Documentation

SvpSalGraphics::SvpSalGraphics ( )
virtual SvpSalGraphics::~SvpSalGraphics ( )
overridevirtual

Member Function Documentation

virtual bool SvpSalGraphics::AddTempDevFont ( PhysicalFontCollection ,
const OUString &  rFileURL,
const OUString &  rFontName 
)
overridevirtual

Implements SalGraphics.

void SvpSalGraphics::applyColor ( cairo_t cr,
Color  rColor,
double  fTransparency = 0.0 
)
private
virtual bool SvpSalGraphics::blendAlphaBitmap ( const SalTwoRect ,
const SalBitmap rSrcBitmap,
const SalBitmap rMaskBitmap,
const SalBitmap rAlphaBitmap 
)
overrideprotectedvirtual

Draw the bitmap by blending using the mask and alpha channel.

Implements SalGraphics.

virtual bool SvpSalGraphics::blendBitmap ( const SalTwoRect ,
const SalBitmap rBitmap 
)
overrideprotectedvirtual

Blend the bitmap with the current buffer.

Implements SalGraphics.

virtual void SvpSalGraphics::ClearDevFontCache ( )
overridevirtual

Implements SalGraphics.

static void SvpSalGraphics::clipRegion ( cairo_t cr,
const vcl::Region rClipRegion 
)
static
void SvpSalGraphics::clipRegion ( cairo_t cr)
virtual void SvpSalGraphics::copyArea ( long  nDestX,
long  nDestY,
long  nSrcX,
long  nSrcY,
long  nSrcWidth,
long  nSrcHeight,
bool  bWindowInvalidate 
)
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::copyBits ( const SalTwoRect rPosAry,
SalGraphics pSrcGraphics 
)
overridevirtual

Implements SalGraphics.

void SvpSalGraphics::copySource ( const SalTwoRect rTR,
cairo_surface_t source 
)
void SvpSalGraphics::copyWithOperator ( const SalTwoRect rTR,
cairo_surface_t source,
cairo_operator_t  eOp = CAIRO_OPERATOR_SOURCE 
)
static cairo_surface_t* SvpSalGraphics::createCairoSurface ( const BitmapBuffer pBuffer)
static
virtual bool SvpSalGraphics::CreateFontSubset ( const OUString &  rToFile,
const PhysicalFontFace ,
const sal_GlyphId pGlyphIds,
const sal_uInt8 pEncoding,
sal_Int32 *  pWidths,
int  nGlyphs,
FontSubsetInfo rInfo 
)
overridevirtual

Implements SalGraphics.

cairo_t* SvpSalGraphics::createTmpCompatibleCairoContext ( ) const
protected
virtual bool SvpSalGraphics::drawAlphaBitmap ( const SalTwoRect ,
const SalBitmap rSourceBitmap,
const SalBitmap rAlphaBitmap 
)
overrideprotectedvirtual

Render bitmap with alpha channel.

Parameters
rSourceBitmapSource bitmap to blit
rAlphaBitmapAlpha channel to use for blitting
Returns
true, if the operation succeeded, and false otherwise. In this case, clients should try to emulate alpha compositing themselves

Implements SalGraphics.

virtual bool SvpSalGraphics::drawAlphaRect ( long  nX,
long  nY,
long  nWidth,
long  nHeight,
sal_uInt8  nTransparency 
)
overrideprotectedvirtual

Render solid rectangle with given transparency.

Parameters
nXTop left coordinate of rectangle
nYBottom right coordinate of rectangle
nWidthWidth of rectangle
nHeightHeight of rectangle
nTransparencyTransparency value (0-255) to use. 0 blits and opaque, 255 a fully transparent rectangle
Returns
true if successfully drawn, false if not able to draw rectangle

Implements SalGraphics.

virtual void SvpSalGraphics::drawBitmap ( const SalTwoRect rPosAry,
const SalBitmap rSalBitmap 
)
overridevirtual

Implements SalGraphics.

void SvpSalGraphics::drawBitmap ( const SalTwoRect rPosAry,
const BitmapBuffer pBuffer,
cairo_operator_t  eOp 
)
virtual void SvpSalGraphics::drawBitmap ( const SalTwoRect rPosAry,
const SalBitmap rSalBitmap,
const SalBitmap rTransparentBitmap 
)
overridevirtual

Implements SalGraphics.

virtual bool SvpSalGraphics::drawEPS ( long  nX,
long  nY,
long  nWidth,
long  nHeight,
void pPtr,
sal_uInt32  nSize 
)
overridevirtual

Implements SalGraphics.

virtual bool SvpSalGraphics::drawGradient ( const tools::PolyPolygon ,
const Gradient  
)
inlineoverridevirtual

Implements SalGraphics.

Definition at line 233 of file svpgdi.hxx.

virtual void SvpSalGraphics::drawLine ( long  nX1,
long  nY1,
long  nX2,
long  nY2 
)
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::drawMask ( const SalTwoRect rPosAry,
const SalBitmap rSalBitmap,
Color  nMaskColor 
)
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::drawPixel ( long  nX,
long  nY 
)
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::drawPixel ( long  nX,
long  nY,
Color  nColor 
)
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::drawPolygon ( sal_uInt32  nPoints,
const SalPoint pPtAry 
)
overridevirtual

Implements SalGraphics.

virtual bool SvpSalGraphics::drawPolygonBezier ( sal_uInt32  nPoints,
const SalPoint pPtAry,
const PolyFlags pFlgAry 
)
overridevirtual

Implements SalGraphics.

static bool SvpSalGraphics::drawPolyLine ( cairo_t cr,
basegfx::B2DRange pExtents,
const Color rLineColor,
bool  bAntiAliasB2DDraw,
const basegfx::B2DHomMatrix rObjectToDevice,
const basegfx::B2DPolygon rPolyLine,
double  fTransparency,
const basegfx::B2DVector rLineWidths,
basegfx::B2DLineJoin  eLineJoin,
css::drawing::LineCap  eLineCap,
double  fMiterMinimumAngle,
bool  bPixelSnapHairline 
)
static
virtual bool SvpSalGraphics::drawPolyLine ( const basegfx::B2DHomMatrix rObjectToDevice,
const basegfx::B2DPolygon ,
double  fTransparency,
const basegfx::B2DVector rLineWidths,
basegfx::B2DLineJoin  ,
css::drawing::LineCap  ,
double  fMiterMinimumAngle,
bool  bPixelSnapHairline 
)
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::drawPolyLine ( sal_uInt32  nPoints,
const SalPoint pPtAry 
)
overridevirtual

Implements SalGraphics.

virtual bool SvpSalGraphics::drawPolyLineBezier ( sal_uInt32  nPoints,
const SalPoint pPtAry,
const PolyFlags pFlgAry 
)
overridevirtual

Implements SalGraphics.

virtual bool SvpSalGraphics::drawPolyPolygon ( const basegfx::B2DHomMatrix rObjectToDevice,
const basegfx::B2DPolyPolygon ,
double  fTransparency 
)
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::drawPolyPolygon ( sal_uInt32  nPoly,
const sal_uInt32 *  pPoints,
PCONSTSALPOINT pPtAry 
)
overridevirtual

Implements SalGraphics.

virtual bool SvpSalGraphics::drawPolyPolygonBezier ( sal_uInt32  nPoly,
const sal_uInt32 *  pPoints,
const SalPoint *const *  pPtAry,
const PolyFlags *const *  pFlgAry 
)
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::drawRect ( long  nX,
long  nY,
long  nWidth,
long  nHeight 
)
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::DrawTextLayout ( const GenericSalLayout )
overridevirtual

Implements SalGraphics.

virtual bool SvpSalGraphics::drawTransformedBitmap ( const basegfx::B2DPoint rNull,
const basegfx::B2DPoint rX,
const basegfx::B2DPoint rY,
const SalBitmap rSourceBitmap,
const SalBitmap pAlphaBitmap 
)
overrideprotectedvirtual

draw transformed bitmap (maybe with alpha) where Null, X, Y define the coordinate system

Implements SalGraphics.

virtual void SvpSalGraphics::FreeEmbedFontData ( const void pData,
long  nDataLen 
)
overridevirtual

Implements SalGraphics.

virtual sal_uInt16 SvpSalGraphics::GetBitCount ( ) const
overridevirtual

Implements SalGraphics.

virtual std::shared_ptr<SalBitmap> SvpSalGraphics::getBitmap ( long  nX,
long  nY,
long  nWidth,
long  nHeight 
)
overridevirtual

Implements SalGraphics.

cairo_t* SvpSalGraphics::getCairoContext ( bool  bXorModeAllowed) const
static cairo_user_data_key_t* SvpSalGraphics::getDamageKey ( )
static
virtual void SvpSalGraphics::GetDevFontList ( PhysicalFontCollection )
overridevirtual

Implements SalGraphics.

virtual const void* SvpSalGraphics::GetEmbedFontData ( const PhysicalFontFace ,
long *  pDataLen 
)
overridevirtual

Implements SalGraphics.

virtual bool SvpSalGraphics::GetFontCapabilities ( vcl::FontCapabilities rFontCapabilities) const
overridevirtual

Implements SalGraphics.

virtual const FontCharMapRef SvpSalGraphics::GetFontCharMap ( ) const
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::GetFontMetric ( ImplFontMetricDataRef ,
int  nFallbackLevel 
)
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::GetGlyphWidths ( const PhysicalFontFace ,
bool  bVertical,
std::vector< sal_Int32 > &  rWidths,
Ucs2UIntMap rUnicodeEnc 
)
overridevirtual

Implements SalGraphics.

virtual SystemGraphicsData SvpSalGraphics::GetGraphicsData ( ) const
overridevirtual

Implements SalGraphics.

virtual long SvpSalGraphics::GetGraphicsWidth ( ) const
overridevirtual

Implements SalGraphics.

virtual SalGraphicsImpl* SvpSalGraphics::GetImpl ( ) const
inlineoverridevirtual

Implements SalGraphics.

Definition at line 155 of file svpgdi.hxx.

virtual Color SvpSalGraphics::getPixel ( long  nX,
long  nY 
)
overridevirtual

Implements SalGraphics.

static GlyphCache& SvpSalGraphics::getPlatformGlyphCache ( )
static
virtual void SvpSalGraphics::GetResolution ( sal_Int32 &  rDPIX,
sal_Int32 &  rDPIY 
)
overridevirtual

Implements SalGraphics.

Reimplemented in Qt5SvpGraphics.

cairo_surface_t* SvpSalGraphics::getSurface ( ) const
inline

Definition at line 100 of file svpgdi.hxx.

virtual std::unique_ptr<GenericSalLayout> SvpSalGraphics::GetTextLayout ( int  nFallbackLevel)
overridevirtual

Implements SalGraphics.

void SvpSalGraphics::invert ( const basegfx::B2DPolygon rPoly,
SalInvert  nFlags 
)
private
virtual void SvpSalGraphics::invert ( long  nX,
long  nY,
long  nWidth,
long  nHeight,
SalInvert  nFlags 
)
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::invert ( sal_uInt32  nPoints,
const SalPoint pPtAry,
SalInvert  nFlags 
)
overridevirtual

Implements SalGraphics.

void SvpSalGraphics::releaseCairoContext ( cairo_t cr,
bool  bXorModeAllowed,
const basegfx::B2DRange rExtents 
) const
virtual void SvpSalGraphics::ResetClipRegion ( )
overridevirtual

Implements SalGraphics.

virtual bool SvpSalGraphics::setClipRegion ( const vcl::Region )
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::SetFillColor ( )
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::SetFillColor ( Color  nColor)
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::SetFont ( LogicalFontInstance ,
int  nFallbackLevel 
)
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::SetLineColor ( )
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::SetLineColor ( Color  nColor)
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::SetROPFillColor ( SalROPColor  nROPColor)
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::SetROPLineColor ( SalROPColor  nROPColor)
overridevirtual

Implements SalGraphics.

void SvpSalGraphics::setSurface ( cairo_surface_t pSurface,
const basegfx::B2IVector rSize 
)
virtual void SvpSalGraphics::SetTextColor ( Color  nColor)
overridevirtual

Implements SalGraphics.

virtual void SvpSalGraphics::SetXORMode ( bool  bSet,
bool   
)
overridevirtual

Implements SalGraphics.

virtual bool SvpSalGraphics::supportsOperation ( OutDevSupportType  ) const
overridevirtual

Implements SalGraphics.

Member Data Documentation

vcl::Region SvpSalGraphics::m_aClipRegion
protected

Definition at line 131 of file svpgdi.hxx.

Color SvpSalGraphics::m_aFillColor
private

Definition at line 94 of file svpgdi.hxx.

basegfx::B2IVector SvpSalGraphics::m_aFrameSize
private

Definition at line 91 of file svpgdi.hxx.

Color SvpSalGraphics::m_aLineColor
private

Definition at line 93 of file svpgdi.hxx.

SvpCairoTextRender SvpSalGraphics::m_aTextRenderImpl
protected

Definition at line 132 of file svpgdi.hxx.

PaintMode SvpSalGraphics::m_ePaintMode
private

Definition at line 95 of file svpgdi.hxx.

double SvpSalGraphics::m_fScale
private

Definition at line 92 of file svpgdi.hxx.

cairo_surface_t* SvpSalGraphics::m_pSurface
private

Definition at line 90 of file svpgdi.hxx.


The documentation for this class was generated from the following file: