LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | List of all members
AquaGraphicsBackend Class Referencefinal

#include <salgdi.h>

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

Public Member Functions

 AquaGraphicsBackend (AquaSharedAttributes &rShared)
 
 ~AquaGraphicsBackend () override
 
void Init () override
 
void freeResources () override
 
OUString getRenderBackendName () const override
 
void setClipRegion (vcl::Region const &rRegion) override
 
void ResetClipRegion () override
 
sal_uInt16 GetBitCount () const override
 
tools::Long GetGraphicsWidth () const override
 
void SetLineColor () override
 
void SetLineColor (Color nColor) override
 
void SetFillColor () override
 
void SetFillColor (Color nColor) override
 
void SetXORMode (bool bSet, bool bInvertOnly) override
 
void SetROPLineColor (SalROPColor nROPColor) override
 
void SetROPFillColor (SalROPColor nROPColor) override
 
void drawPixel (tools::Long nX, tools::Long nY) override
 
void drawPixel (tools::Long nX, tools::Long nY, Color nColor) override
 
void drawLine (tools::Long nX1, tools::Long nY1, tools::Long nX2, tools::Long nY2) override
 
void drawRect (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight) override
 
void drawPolyLine (sal_uInt32 nPoints, const Point *pPointArray) override
 
void drawPolygon (sal_uInt32 nPoints, const Point *pPointArray) override
 
void drawPolyPolygon (sal_uInt32 nPoly, const sal_uInt32 *pPoints, const Point **pPointArray) override
 
bool drawPolyPolygon (const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolyPolygon &, double fTransparency) override
 
bool drawPolyLine (const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolygon &, double fTransparency, double fLineWidth, const std::vector< double > *pStroke, basegfx::B2DLineJoin, css::drawing::LineCap, double fMiterMinimumAngle, bool bPixelSnapHairline) override
 
bool drawPolyLineBezier (sal_uInt32 nPoints, const Point *pPointArray, const PolyFlags *pFlagArray) override
 
bool drawPolygonBezier (sal_uInt32 nPoints, const Point *pPointArray, const PolyFlags *pFlagArray) override
 
bool drawPolyPolygonBezier (sal_uInt32 nPoly, const sal_uInt32 *pPoints, const Point *const *pPointArray, const PolyFlags *const *pFlagArray) override
 
void copyArea (tools::Long nDestX, tools::Long nDestY, tools::Long nSrcX, tools::Long nSrcY, tools::Long nSrcWidth, tools::Long nSrcHeight, bool bWindowInvalidate) override
 
void copyBits (const SalTwoRect &rPosAry, SalGraphics *pSrcGraphics) override
 
void drawBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap) override
 
void drawBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, const SalBitmap &rMaskBitmap) override
 
void drawMask (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, Color nMaskColor) override
 
std::shared_ptr< SalBitmapgetBitmap (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight) override
 
Color getPixel (tools::Long nX, tools::Long nY) override
 
void invert (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, SalInvert nFlags) override
 
void invert (sal_uInt32 nPoints, const Point *pPtAry, SalInvert nFlags) override
 
bool drawEPS (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, void *pPtr, sal_uInt32 nSize) override
 
bool blendBitmap (const SalTwoRect &, const SalBitmap &rBitmap) override
 
bool blendAlphaBitmap (const SalTwoRect &, const SalBitmap &rSrcBitmap, const SalBitmap &rMaskBitmap, const SalBitmap &rAlphaBitmap) override
 
bool drawAlphaBitmap (const SalTwoRect &, const SalBitmap &rSourceBitmap, const SalBitmap &rAlphaBitmap) override
 
bool drawTransformedBitmap (const basegfx::B2DPoint &rNull, const basegfx::B2DPoint &rX, const basegfx::B2DPoint &rY, const SalBitmap &rSourceBitmap, const SalBitmap *pAlphaBitmap, double fAlpha) override
 
bool hasFastDrawTransformedBitmap () const override
 
bool drawAlphaRect (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt8 nTransparency) override
 
bool drawGradient (const tools::PolyPolygon &rPolygon, const Gradient &rGradient) override
 
bool implDrawGradient (basegfx::B2DPolyPolygon const &rPolyPolygon, SalGradient const &rGradient) override
 
virtual bool drawNativeControl (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue) override
 
virtual void drawTextLayout (const GenericSalLayout &layout) override
 
bool supportsOperation (OutDevSupportType eType) const override
 
- Public Member Functions inherited from SalGraphicsImpl
void setAntiAlias (bool bNew)
 
bool getAntiAlias () const
 
 SalGraphicsImpl ()
 
virtual ~SalGraphicsImpl ()
 
virtual void Init ()=0
 
virtual void DeInit ()
 
virtual void freeResources ()=0
 
virtual OUString getRenderBackendName () const =0
 
virtual void setClipRegion (const vcl::Region &)=0
 
virtual sal_uInt16 GetBitCount () const =0
 
virtual tools::Long GetGraphicsWidth () const =0
 
virtual void ResetClipRegion ()=0
 
virtual void SetLineColor ()=0
 
virtual void SetLineColor (Color nColor)=0
 
virtual void SetFillColor ()=0
 
virtual void SetFillColor (Color nColor)=0
 
virtual void SetXORMode (bool bSet, bool bInvertOnly)=0
 
virtual void SetROPLineColor (SalROPColor nROPColor)=0
 
virtual void SetROPFillColor (SalROPColor nROPColor)=0
 
virtual void drawPixel (tools::Long nX, tools::Long nY)=0
 
virtual void drawPixel (tools::Long nX, tools::Long nY, Color nColor)=0
 
virtual void drawLine (tools::Long nX1, tools::Long nY1, tools::Long nX2, tools::Long nY2)=0
 
virtual void drawRect (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight)=0
 
virtual void drawPolyLine (sal_uInt32 nPoints, const Point *pPtAry)=0
 
virtual void drawPolygon (sal_uInt32 nPoints, const Point *pPtAry)=0
 
virtual void drawPolyPolygon (sal_uInt32 nPoly, const sal_uInt32 *pPoints, const Point **pPtAry)=0
 
virtual bool drawPolyPolygon (const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolyPolygon &, double fTransparency)=0
 
virtual bool drawPolyLine (const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolygon &, double fTransparency, double fLineWidth, const std::vector< double > *pStroke, basegfx::B2DLineJoin, css::drawing::LineCap, double fMiterMinimumAngle, bool bPixelSnapHairline)=0
 
virtual bool drawPolyLineBezier (sal_uInt32 nPoints, const Point *pPtAry, const PolyFlags *pFlgAry)=0
 
virtual bool drawPolygonBezier (sal_uInt32 nPoints, const Point *pPtAry, const PolyFlags *pFlgAry)=0
 
virtual bool drawPolyPolygonBezier (sal_uInt32 nPoly, const sal_uInt32 *pPoints, const Point *const *pPtAry, const PolyFlags *const *pFlgAry)=0
 
virtual void copyArea (tools::Long nDestX, tools::Long nDestY, tools::Long nSrcX, tools::Long nSrcY, tools::Long nSrcWidth, tools::Long nSrcHeight, bool bWindowInvalidate)=0
 
virtual void copyBits (const SalTwoRect &rPosAry, SalGraphics *pSrcGraphics)=0
 
virtual void drawBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap)=0
 
virtual void drawBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, const SalBitmap &rMaskBitmap)=0
 
virtual void drawMask (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, Color nMaskColor)=0
 
virtual std::shared_ptr< SalBitmapgetBitmap (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight)=0
 
virtual Color getPixel (tools::Long nX, tools::Long nY)=0
 
virtual void invert (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, SalInvert nFlags)=0
 
virtual void invert (sal_uInt32 nPoints, const Point *pPtAry, SalInvert nFlags)=0
 
virtual bool drawEPS (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, void *pPtr, sal_uInt32 nSize)=0
 
virtual bool blendBitmap (const SalTwoRect &, const SalBitmap &rBitmap)=0
 
virtual bool blendAlphaBitmap (const SalTwoRect &, const SalBitmap &rSrcBitmap, const SalBitmap &rMaskBitmap, const SalBitmap &rAlphaBitmap)=0
 
virtual bool drawAlphaBitmap (const SalTwoRect &, const SalBitmap &rSourceBitmap, const SalBitmap &rAlphaBitmap)=0
 
virtual bool drawTransformedBitmap (const basegfx::B2DPoint &rNull, const basegfx::B2DPoint &rX, const basegfx::B2DPoint &rY, const SalBitmap &rSourceBitmap, const SalBitmap *pAlphaBitmap, double fAlpha)=0
 
virtual bool hasFastDrawTransformedBitmap () const =0
 
virtual bool drawAlphaRect (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt8 nTransparency)=0
 
virtual bool drawGradient (const tools::PolyPolygon &rPolygon, const Gradient &rGradient)=0
 
virtual bool implDrawGradient (basegfx::B2DPolyPolygon const &rPolyPolygon, SalGradient const &rGradient)=0
 
virtual bool supportsOperation (OutDevSupportType eType) const =0
 
- Public Member Functions inherited from AquaGraphicsBackendBase
virtual ~AquaGraphicsBackendBase ()=0
 
AquaSharedAttributesGetShared ()
 
SalGraphicsImplGetImpl ()
 
virtual void UpdateGeometryProvider (SalGeometryProvider *)
 
virtual bool drawNativeControl (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue)=0
 
virtual void drawTextLayout (const GenericSalLayout &layout)=0
 
virtual void Flush ()
 
virtual void Flush (const tools::Rectangle &)
 
virtual void WindowBackingPropertiesChanged ()
 

Private Member Functions

void drawPixelImpl (tools::Long nX, tools::Long nY, const RGBAColor &rColor)
 
void refreshRect (const CGRect &)
 
void pattern50Fill ()
 

Additional Inherited Members

- Protected Member Functions inherited from AquaGraphicsBackendBase
 AquaGraphicsBackendBase (AquaSharedAttributes &rShared, SalGraphicsImpl *impl)
 
- Static Protected Member Functions inherited from AquaGraphicsBackendBase
static bool performDrawNativeControl (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, CGContextRef context, AquaSalFrame *mpFrame)
 
- Protected Attributes inherited from AquaGraphicsBackendBase
AquaSharedAttributesmrShared
 

Detailed Description

Definition at line 317 of file quartz/salgdi.h.

Constructor & Destructor Documentation

◆ AquaGraphicsBackend()

AquaGraphicsBackend::AquaGraphicsBackend ( AquaSharedAttributes rShared)

◆ ~AquaGraphicsBackend()

AquaGraphicsBackend::~AquaGraphicsBackend ( )
override

Member Function Documentation

◆ blendAlphaBitmap()

bool AquaGraphicsBackend::blendAlphaBitmap ( const SalTwoRect ,
const SalBitmap rSrcBitmap,
const SalBitmap rMaskBitmap,
const SalBitmap rAlphaBitmap 
)
overridevirtual

Implements SalGraphicsImpl.

◆ blendBitmap()

bool AquaGraphicsBackend::blendBitmap ( const SalTwoRect ,
const SalBitmap rBitmap 
)
overridevirtual

Implements SalGraphicsImpl.

◆ copyArea()

void AquaGraphicsBackend::copyArea ( tools::Long  nDestX,
tools::Long  nDestY,
tools::Long  nSrcX,
tools::Long  nSrcY,
tools::Long  nSrcWidth,
tools::Long  nSrcHeight,
bool  bWindowInvalidate 
)
overridevirtual

Implements SalGraphicsImpl.

◆ copyBits()

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

Implements SalGraphicsImpl.

◆ drawAlphaBitmap()

bool AquaGraphicsBackend::drawAlphaBitmap ( const SalTwoRect ,
const SalBitmap rSourceBitmap,
const SalBitmap rAlphaBitmap 
)
overridevirtual

Implements SalGraphicsImpl.

◆ drawAlphaRect()

bool AquaGraphicsBackend::drawAlphaRect ( tools::Long  nX,
tools::Long  nY,
tools::Long  nWidth,
tools::Long  nHeight,
sal_uInt8  nTransparency 
)
overridevirtual

Implements SalGraphicsImpl.

◆ drawBitmap() [1/2]

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

Implements SalGraphicsImpl.

◆ drawBitmap() [2/2]

void AquaGraphicsBackend::drawBitmap ( const SalTwoRect rPosAry,
const SalBitmap rSalBitmap,
const SalBitmap rMaskBitmap 
)
overridevirtual

Implements SalGraphicsImpl.

◆ drawEPS()

bool AquaGraphicsBackend::drawEPS ( tools::Long  nX,
tools::Long  nY,
tools::Long  nWidth,
tools::Long  nHeight,
void *  pPtr,
sal_uInt32  nSize 
)
overridevirtual

Implements SalGraphicsImpl.

◆ drawGradient()

bool AquaGraphicsBackend::drawGradient ( const tools::PolyPolygon rPolygon,
const Gradient rGradient 
)
overridevirtual

Implements SalGraphicsImpl.

◆ drawLine()

void AquaGraphicsBackend::drawLine ( tools::Long  nX1,
tools::Long  nY1,
tools::Long  nX2,
tools::Long  nY2 
)
overridevirtual

Implements SalGraphicsImpl.

◆ drawMask()

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

Implements SalGraphicsImpl.

◆ drawNativeControl()

virtual bool AquaGraphicsBackend::drawNativeControl ( ControlType  nType,
ControlPart  nPart,
const tools::Rectangle rControlRegion,
ControlState  nState,
const ImplControlValue aValue 
)
overridevirtual

◆ drawPixel() [1/2]

void AquaGraphicsBackend::drawPixel ( tools::Long  nX,
tools::Long  nY 
)
overridevirtual

Implements SalGraphicsImpl.

◆ drawPixel() [2/2]

void AquaGraphicsBackend::drawPixel ( tools::Long  nX,
tools::Long  nY,
Color  nColor 
)
overridevirtual

Implements SalGraphicsImpl.

◆ drawPixelImpl()

void AquaGraphicsBackend::drawPixelImpl ( tools::Long  nX,
tools::Long  nY,
const RGBAColor rColor 
)
private

◆ drawPolygon()

void AquaGraphicsBackend::drawPolygon ( sal_uInt32  nPoints,
const Point pPointArray 
)
overridevirtual

Implements SalGraphicsImpl.

◆ drawPolygonBezier()

bool AquaGraphicsBackend::drawPolygonBezier ( sal_uInt32  nPoints,
const Point pPointArray,
const PolyFlags pFlagArray 
)
overridevirtual

Implements SalGraphicsImpl.

◆ drawPolyLine() [1/2]

bool AquaGraphicsBackend::drawPolyLine ( const basegfx::B2DHomMatrix rObjectToDevice,
const basegfx::B2DPolygon ,
double  fTransparency,
double  fLineWidth,
const std::vector< double > *  pStroke,
basegfx::B2DLineJoin  ,
css::drawing::LineCap  ,
double  fMiterMinimumAngle,
bool  bPixelSnapHairline 
)
overridevirtual

Implements SalGraphicsImpl.

◆ drawPolyLine() [2/2]

void AquaGraphicsBackend::drawPolyLine ( sal_uInt32  nPoints,
const Point pPointArray 
)
overridevirtual

Implements SalGraphicsImpl.

◆ drawPolyLineBezier()

bool AquaGraphicsBackend::drawPolyLineBezier ( sal_uInt32  nPoints,
const Point pPointArray,
const PolyFlags pFlagArray 
)
overridevirtual

Implements SalGraphicsImpl.

◆ drawPolyPolygon() [1/2]

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

Implements SalGraphicsImpl.

◆ drawPolyPolygon() [2/2]

void AquaGraphicsBackend::drawPolyPolygon ( sal_uInt32  nPoly,
const sal_uInt32 *  pPoints,
const Point **  pPointArray 
)
overridevirtual

Implements SalGraphicsImpl.

◆ drawPolyPolygonBezier()

bool AquaGraphicsBackend::drawPolyPolygonBezier ( sal_uInt32  nPoly,
const sal_uInt32 *  pPoints,
const Point *const *  pPointArray,
const PolyFlags *const *  pFlagArray 
)
overridevirtual

Implements SalGraphicsImpl.

◆ drawRect()

void AquaGraphicsBackend::drawRect ( tools::Long  nX,
tools::Long  nY,
tools::Long  nWidth,
tools::Long  nHeight 
)
overridevirtual

Implements SalGraphicsImpl.

◆ drawTextLayout()

virtual void AquaGraphicsBackend::drawTextLayout ( const GenericSalLayout layout)
overridevirtual

◆ drawTransformedBitmap()

bool AquaGraphicsBackend::drawTransformedBitmap ( const basegfx::B2DPoint rNull,
const basegfx::B2DPoint rX,
const basegfx::B2DPoint rY,
const SalBitmap rSourceBitmap,
const SalBitmap pAlphaBitmap,
double  fAlpha 
)
overridevirtual

Implements SalGraphicsImpl.

◆ freeResources()

void AquaGraphicsBackend::freeResources ( )
overridevirtual

Implements SalGraphicsImpl.

◆ GetBitCount()

sal_uInt16 AquaGraphicsBackend::GetBitCount ( ) const
overridevirtual

Implements SalGraphicsImpl.

◆ getBitmap()

std::shared_ptr< SalBitmap > AquaGraphicsBackend::getBitmap ( tools::Long  nX,
tools::Long  nY,
tools::Long  nWidth,
tools::Long  nHeight 
)
overridevirtual

Implements SalGraphicsImpl.

◆ GetGraphicsWidth()

tools::Long AquaGraphicsBackend::GetGraphicsWidth ( ) const
overridevirtual

Implements SalGraphicsImpl.

◆ getPixel()

Color AquaGraphicsBackend::getPixel ( tools::Long  nX,
tools::Long  nY 
)
overridevirtual

Implements SalGraphicsImpl.

◆ getRenderBackendName()

OUString AquaGraphicsBackend::getRenderBackendName ( ) const
inlineoverridevirtual

Implements SalGraphicsImpl.

Definition at line 347 of file quartz/salgdi.h.

◆ hasFastDrawTransformedBitmap()

bool AquaGraphicsBackend::hasFastDrawTransformedBitmap ( ) const
overridevirtual

Implements SalGraphicsImpl.

◆ implDrawGradient()

bool AquaGraphicsBackend::implDrawGradient ( basegfx::B2DPolyPolygon const &  rPolyPolygon,
SalGradient const &  rGradient 
)
overridevirtual

Implements SalGraphicsImpl.

◆ Init()

void AquaGraphicsBackend::Init ( )
overridevirtual

Implements SalGraphicsImpl.

◆ invert() [1/2]

void AquaGraphicsBackend::invert ( sal_uInt32  nPoints,
const Point pPtAry,
SalInvert  nFlags 
)
overridevirtual

Implements SalGraphicsImpl.

◆ invert() [2/2]

void AquaGraphicsBackend::invert ( tools::Long  nX,
tools::Long  nY,
tools::Long  nWidth,
tools::Long  nHeight,
SalInvert  nFlags 
)
overridevirtual

Implements SalGraphicsImpl.

◆ pattern50Fill()

void AquaGraphicsBackend::pattern50Fill ( )
private

◆ refreshRect()

void AquaGraphicsBackend::refreshRect ( const CGRect &  )
inlineprivate

Definition at line 328 of file quartz/salgdi.h.

◆ ResetClipRegion()

void AquaGraphicsBackend::ResetClipRegion ( )
overridevirtual

Implements SalGraphicsImpl.

◆ setClipRegion()

void AquaGraphicsBackend::setClipRegion ( vcl::Region const &  rRegion)
overridevirtual

Implements SalGraphicsImpl.

◆ SetFillColor() [1/2]

void AquaGraphicsBackend::SetFillColor ( )
overridevirtual

Implements SalGraphicsImpl.

◆ SetFillColor() [2/2]

void AquaGraphicsBackend::SetFillColor ( Color  nColor)
overridevirtual

Implements SalGraphicsImpl.

◆ SetLineColor() [1/2]

void AquaGraphicsBackend::SetLineColor ( )
overridevirtual

Implements SalGraphicsImpl.

◆ SetLineColor() [2/2]

void AquaGraphicsBackend::SetLineColor ( Color  nColor)
overridevirtual

Implements SalGraphicsImpl.

◆ SetROPFillColor()

void AquaGraphicsBackend::SetROPFillColor ( SalROPColor  nROPColor)
overridevirtual

Implements SalGraphicsImpl.

◆ SetROPLineColor()

void AquaGraphicsBackend::SetROPLineColor ( SalROPColor  nROPColor)
overridevirtual

Implements SalGraphicsImpl.

◆ SetXORMode()

void AquaGraphicsBackend::SetXORMode ( bool  bSet,
bool  bInvertOnly 
)
overridevirtual

Implements SalGraphicsImpl.

◆ supportsOperation()

bool AquaGraphicsBackend::supportsOperation ( OutDevSupportType  eType) const
overridevirtual

Implements SalGraphicsImpl.


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