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
 
bool 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
 draw transformed bitmap (maybe with alpha) where Null, X, Y define the coordinate system More...
 
bool hasFastDrawTransformedBitmap () const override
 Used e.g. More...
 
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 DeInit ()
 
virtual bool setClipRegion (const vcl::Region &)=0
 
- Public Member Functions inherited from AquaGraphicsBackendBase
 AquaGraphicsBackendBase (AquaSharedAttributes &rShared)
 
virtual ~AquaGraphicsBackendBase ()=0
 
AquaSharedAttributesGetShared ()
 
SalGraphicsImplGetImpl ()
 
virtual void UpdateGeometryProvider (SalGeometryProvider *)
 
virtual void Flush ()
 
virtual void Flush (const tools::Rectangle &)
 

Private Member Functions

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

Additional Inherited Members

- 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 318 of file quartz/salgdi.h.

Constructor & Destructor Documentation

AquaGraphicsBackend::AquaGraphicsBackend ( AquaSharedAttributes rShared)
AquaGraphicsBackend::~AquaGraphicsBackend ( )
override

Member Function Documentation

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

void AquaGraphicsBackend::drawPixelImpl ( tools::Long  nX,
tools::Long  nY,
const RGBAColor rColor 
)
private
void AquaGraphicsBackend::drawPolygon ( sal_uInt32  nPoints,
const Point pPointArray 
)
overridevirtual

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

virtual void AquaGraphicsBackend::drawTextLayout ( const GenericSalLayout layout)
overridevirtual
bool AquaGraphicsBackend::drawTransformedBitmap ( const basegfx::B2DPoint rNull,
const basegfx::B2DPoint rX,
const basegfx::B2DPoint rY,
const SalBitmap rSourceBitmap,
const SalBitmap pAlphaBitmap,
double  fAlpha 
)
overridevirtual

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

Implements SalGraphicsImpl.

void AquaGraphicsBackend::freeResources ( )
overridevirtual

Implements SalGraphicsImpl.

sal_uInt16 AquaGraphicsBackend::GetBitCount ( ) const
overridevirtual

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

OUString AquaGraphicsBackend::getRenderBackendName ( ) const
inlineoverridevirtual

Implements SalGraphicsImpl.

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

bool AquaGraphicsBackend::hasFastDrawTransformedBitmap ( ) const
overridevirtual

Used e.g.

by canvas to know whether to cache the drawing. See also tdf#138068.

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

void AquaGraphicsBackend::Init ( )
overridevirtual

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

void AquaGraphicsBackend::pattern50Fill ( )
private
void AquaGraphicsBackend::refreshRect ( const CGRect &  )
inlineprivate

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

void AquaGraphicsBackend::ResetClipRegion ( )
overridevirtual

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

void AquaGraphicsBackend::SetFillColor ( Color  nColor)
overridevirtual

Implements SalGraphicsImpl.

void AquaGraphicsBackend::SetLineColor ( )
overridevirtual

Implements SalGraphicsImpl.

void AquaGraphicsBackend::SetLineColor ( Color  nColor)
overridevirtual

Implements SalGraphicsImpl.

void AquaGraphicsBackend::SetROPFillColor ( SalROPColor  nROPColor)
overridevirtual

Implements SalGraphicsImpl.

void AquaGraphicsBackend::SetROPLineColor ( SalROPColor  nROPColor)
overridevirtual

Implements SalGraphicsImpl.

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

Implements SalGraphicsImpl.

bool AquaGraphicsBackend::supportsOperation ( OutDevSupportType  eType) const
overridevirtual

Implements SalGraphicsImpl.


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