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

#include <salgdi.h>

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

Public Member Functions

 AquaSalGraphics ()
 
virtual ~AquaSalGraphics () override
 
bool IsPenVisible () const
 
bool IsBrushVisible () const
 
void SetWindowGraphics (AquaSalFrame *pFrame)
 
void SetPrinterGraphics (CGContextRef, long nRealDPIX, long nRealDPIY)
 
void SetVirDevGraphics (CGLayerHolder const &rLayer, CGContextRef, int nBitDepth=0)
 
void ImplDrawPixel (long nX, long nY, const RGBAColor &)
 
bool CheckContext ()
 
CGContextRef GetContext ()
 
void RefreshRect (const CGRect &)
 
void RefreshRect (float lX, float lY, float lWidth, float lHeight)
 
void SetState ()
 
void UnsetState ()
 
void InvalidateContext ()
 
virtual SalGraphicsImplGetImpl () const override
 
virtual bool setClipRegion (const vcl::Region &) 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 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 drawPolyPolygon (const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolyPolygon &, double fTransparency) 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 drawPolyLine (const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolygon &, double fTransparency, const basegfx::B2DVector &rLineWidths, basegfx::B2DLineJoin, css::drawing::LineCap eLineCap, double fMiterMinimumAngle, bool bPixelSnapHairline) 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
 
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 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...
 
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...
 
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 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 bInvertOnly) 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 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 *pFont, 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 SystemGraphicsData GetGraphicsData () const override
 
- Public Member Functions inherited from SalGraphics
 SalGraphics ()
 
 ~SalGraphics () COVERITY_NOEXCEPT_FALSE 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)
 
bool DrawGradient (basegfx::B2DPolyPolygon const &rPolyPolygon, SalGradient const &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)
 

Private Member Functions

bool IsFlipped () const
 
void ApplyXorContext ()
 
void Pattern50Fill ()
 
UInt32 getState (ControlState nState)
 
UInt32 getTrackState (ControlState nState)
 

Static Private Member Functions

static bool GetRawFontData (const PhysicalFontFace *pFontData, std::vector< unsigned char > &rBuffer, bool *pJustCFF)
 

Private Attributes

CGLayerHolder maLayer
 
CGContextHolder maContextHolder
 
XorEmulationmpXorEmulation
 
int mnXorMode
 
int mnWidth
 
int mnHeight
 
int mnBitmapDepth
 
long mnRealDPIX
 device resolution of this graphics More...
 
long mnRealDPIY
 
CGMutablePathRef mxClipPath
 path representing current clip region More...
 
RGBAColor maLineColor
 Drawing colors pen color RGBA. More...
 
RGBAColor maFillColor
 brush color RGBA More...
 
rtl::Reference< CoreTextStylempTextStyle [MAX_FALLBACK]
 
RGBAColor maTextColor
 
bool mbNonAntialiasedText
 allows text to be rendered without antialiasing More...
 
bool mbPrinter
 is this a printer graphics More...
 
bool mbVirDev
 is this a virtual device graphics More...
 
bool mbForeignContext
 

Additional Inherited Members

- Protected Member Functions inherited from SalGraphics
virtual bool implDrawGradient (basegfx::B2DPolyPolygon const &, SalGradient const &)
 
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 () COVERITY_NOEXCEPT_FALSE
 
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 inherited from SalGraphics
bool m_bAntiAliasB2DDraw: 1
 flags which hold the SetAntialiasing() value from OutputDevice More...
 
std::unique_ptr< vcl::WidgetDrawInterfacem_pWidgetDraw
 

Detailed Description

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

Constructor & Destructor Documentation

AquaSalGraphics::AquaSalGraphics ( )
virtual AquaSalGraphics::~AquaSalGraphics ( )
overridevirtual

Member Function Documentation

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

Implements SalGraphics.

void AquaSalGraphics::ApplyXorContext ( )
private
virtual bool AquaSalGraphics::blendAlphaBitmap ( const SalTwoRect ,
const SalBitmap rSrcBitmap,
const SalBitmap rMaskBitmap,
const SalBitmap rAlphaBitmap 
)
overridevirtual

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

Implements SalGraphics.

virtual bool AquaSalGraphics::blendBitmap ( const SalTwoRect ,
const SalBitmap rBitmap 
)
overridevirtual

Blend the bitmap with the current buffer.

Implements SalGraphics.

bool AquaSalGraphics::CheckContext ( )
virtual void AquaSalGraphics::ClearDevFontCache ( )
overridevirtual

Implements SalGraphics.

virtual void AquaSalGraphics::copyArea ( long  nDestX,
long  nDestY,
long  nSrcX,
long  nSrcY,
long  nSrcWidth,
long  nSrcHeight,
bool  bWindowInvalidate 
)
overridevirtual

Implements SalGraphics.

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

Implements SalGraphics.

virtual bool AquaSalGraphics::CreateFontSubset ( const OUString &  rToFile,
const PhysicalFontFace pFont,
const sal_GlyphId pGlyphIds,
const sal_uInt8 pEncoding,
sal_Int32 *  pWidths,
int  nGlyphs,
FontSubsetInfo rInfo 
)
overridevirtual

Implements SalGraphics.

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

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 AquaSalGraphics::drawAlphaRect ( long  nX,
long  nY,
long  nWidth,
long  nHeight,
sal_uInt8  nTransparency 
)
overridevirtual

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 AquaSalGraphics::drawBitmap ( const SalTwoRect rPosAry,
const SalBitmap rSalBitmap 
)
overridevirtual

Implements SalGraphics.

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

Implements SalGraphics.

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

Implements SalGraphics.

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

Implements SalGraphics.

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

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

Implements SalGraphics.

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

Implements SalGraphics.

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

Implements SalGraphics.

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

Implements SalGraphics.

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

Implements SalGraphics.

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

Implements SalGraphics.

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

Implements SalGraphics.

virtual bool AquaSalGraphics::drawPolyLine ( const basegfx::B2DHomMatrix rObjectToDevice,
const basegfx::B2DPolygon ,
double  fTransparency,
const basegfx::B2DVector rLineWidths,
basegfx::B2DLineJoin  ,
css::drawing::LineCap  eLineCap,
double  fMiterMinimumAngle,
bool  bPixelSnapHairline 
)
overridevirtual

Implements SalGraphics.

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

Implements SalGraphics.

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

Implements SalGraphics.

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

Implements SalGraphics.

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

Implements SalGraphics.

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

Implements SalGraphics.

virtual void AquaSalGraphics::DrawTextLayout ( const GenericSalLayout )
overridevirtual

Implements SalGraphics.

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

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

Implements SalGraphics.

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

Implements SalGraphics.

virtual sal_uInt16 AquaSalGraphics::GetBitCount ( ) const
overridevirtual

Implements SalGraphics.

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

Implements SalGraphics.

CGContextRef AquaSalGraphics::GetContext ( )
virtual void AquaSalGraphics::GetDevFontList ( PhysicalFontCollection )
overridevirtual

Implements SalGraphics.

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

Implements SalGraphics.

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

Implements SalGraphics.

virtual FontCharMapRef AquaSalGraphics::GetFontCharMap ( ) const
overridevirtual

Implements SalGraphics.

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

Implements SalGraphics.

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

Implements SalGraphics.

virtual SystemGraphicsData AquaSalGraphics::GetGraphicsData ( ) const
overridevirtual

Implements SalGraphics.

virtual long AquaSalGraphics::GetGraphicsWidth ( ) const
overridevirtual

Implements SalGraphics.

virtual SalGraphicsImpl* AquaSalGraphics::GetImpl ( ) const
overridevirtual

Implements SalGraphics.

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

Implements SalGraphics.

static bool AquaSalGraphics::GetRawFontData ( const PhysicalFontFace pFontData,
std::vector< unsigned char > &  rBuffer,
bool *  pJustCFF 
)
staticprivate
virtual void AquaSalGraphics::GetResolution ( sal_Int32 &  rDPIX,
sal_Int32 &  rDPIY 
)
overridevirtual

Implements SalGraphics.

UInt32 AquaSalGraphics::getState ( ControlState  nState)
private
virtual std::unique_ptr<GenericSalLayout> AquaSalGraphics::GetTextLayout ( int  nFallbackLevel)
overridevirtual

Implements SalGraphics.

UInt32 AquaSalGraphics::getTrackState ( ControlState  nState)
private
void AquaSalGraphics::ImplDrawPixel ( long  nX,
long  nY,
const RGBAColor  
)
void AquaSalGraphics::InvalidateContext ( )
virtual void AquaSalGraphics::invert ( long  nX,
long  nY,
long  nWidth,
long  nHeight,
SalInvert  nFlags 
)
overridevirtual

Implements SalGraphics.

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

Implements SalGraphics.

bool AquaSalGraphics::IsBrushVisible ( ) const
inline

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

References RGBAColor::IsVisible().

bool AquaSalGraphics::IsFlipped ( ) const
private
bool AquaSalGraphics::IsPenVisible ( ) const
inline

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

References RGBAColor::IsVisible().

void AquaSalGraphics::Pattern50Fill ( )
private
void AquaSalGraphics::RefreshRect ( const CGRect &  )
inline

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

void AquaSalGraphics::RefreshRect ( float  lX,
float  lY,
float  lWidth,
float  lHeight 
)
virtual void AquaSalGraphics::ResetClipRegion ( )
overridevirtual

Implements SalGraphics.

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

Implements SalGraphics.

virtual void AquaSalGraphics::SetFillColor ( )
overridevirtual

Implements SalGraphics.

virtual void AquaSalGraphics::SetFillColor ( Color  nColor)
overridevirtual

Implements SalGraphics.

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

Implements SalGraphics.

virtual void AquaSalGraphics::SetLineColor ( )
overridevirtual

Implements SalGraphics.

virtual void AquaSalGraphics::SetLineColor ( Color  nColor)
overridevirtual

Implements SalGraphics.

void AquaSalGraphics::SetPrinterGraphics ( CGContextRef  ,
long  nRealDPIX,
long  nRealDPIY 
)
virtual void AquaSalGraphics::SetROPFillColor ( SalROPColor  nROPColor)
overridevirtual

Implements SalGraphics.

virtual void AquaSalGraphics::SetROPLineColor ( SalROPColor  nROPColor)
overridevirtual

Implements SalGraphics.

void AquaSalGraphics::SetState ( )
virtual void AquaSalGraphics::SetTextColor ( Color  nColor)
overridevirtual

Implements SalGraphics.

void AquaSalGraphics::SetVirDevGraphics ( CGLayerHolder const &  rLayer,
CGContextRef  ,
int  nBitDepth = 0 
)
void AquaSalGraphics::SetWindowGraphics ( AquaSalFrame pFrame)
virtual void AquaSalGraphics::SetXORMode ( bool  bSet,
bool  bInvertOnly 
)
overridevirtual

Implements SalGraphics.

virtual bool AquaSalGraphics::supportsOperation ( OutDevSupportType  ) const
overridevirtual

Implements SalGraphics.

void AquaSalGraphics::UnsetState ( )

Member Data Documentation

CGContextHolder AquaSalGraphics::maContextHolder
private

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

RGBAColor AquaSalGraphics::maFillColor
private

brush color RGBA

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

CGLayerHolder AquaSalGraphics::maLayer
private

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

RGBAColor AquaSalGraphics::maLineColor
private

Drawing colors pen color RGBA.

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

RGBAColor AquaSalGraphics::maTextColor
private

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

bool AquaSalGraphics::mbForeignContext
private

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

bool AquaSalGraphics::mbNonAntialiasedText
private

allows text to be rendered without antialiasing

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

bool AquaSalGraphics::mbPrinter
private

is this a printer graphics

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

bool AquaSalGraphics::mbVirDev
private

is this a virtual device graphics

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

int AquaSalGraphics::mnBitmapDepth
private

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

int AquaSalGraphics::mnHeight
private

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

long AquaSalGraphics::mnRealDPIX
private

device resolution of this graphics

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

long AquaSalGraphics::mnRealDPIY
private

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

int AquaSalGraphics::mnWidth
private

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

int AquaSalGraphics::mnXorMode
private

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

rtl::Reference<CoreTextStyle> AquaSalGraphics::mpTextStyle[MAX_FALLBACK]
private

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

XorEmulation* AquaSalGraphics::mpXorEmulation
private

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

CGMutablePathRef AquaSalGraphics::mxClipPath
private

path representing current clip region

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


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