LibreOffice Module vcl (master) 1
|
Implementation class for SalGraphics. More...
#include <salgdiimpl.hxx>
Public Member Functions | |
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< SalBitmap > | getBitmap (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 |
Private Attributes | |
bool | m_bAntiAlias |
Implementation class for SalGraphics.
This class allows having an implementation of drawing calls that is separate from SalGraphics, and SalGraphics can forward all such calls to SalGraphicsImpl. For example X11SalGraphics may internally use either Cairo-based X11CairoSalGraphicsImpl or Skia-based SkiaSalGraphicsImpl, and the latter may be used also by other SalGraphics implementations. All the functions here should be implementations of the relevant SalGraphics functions.
Definition at line 50 of file salgdiimpl.hxx.
|
inline |
Definition at line 65 of file salgdiimpl.hxx.
|
virtual |
Definition at line 22 of file salgdiimpl.cxx.
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::blendAlphaBitmap().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::blendBitmap().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::copyArea().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::copyBits().
|
inlinevirtual |
Reimplemented in SkiaSalGraphicsImpl.
Definition at line 77 of file salgdiimpl.hxx.
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::drawAlphaBitmap().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::drawAlphaRect().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::drawBitmap().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::drawEPS().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::drawGradient().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::drawLine().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::drawMask().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::drawPixel().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, GenPspGfxBackend, and SkiaSalGraphicsImpl.
Referenced by SalGraphicsAutoDelegateToImpl::drawPolygon().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, GenPspGfxBackend, and SkiaSalGraphicsImpl.
Referenced by SalGraphicsAutoDelegateToImpl::drawPolygonBezier().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, GenPspGfxBackend, and SkiaSalGraphicsImpl.
Referenced by SalGraphicsAutoDelegateToImpl::drawPolyLine().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, GenPspGfxBackend, and SkiaSalGraphicsImpl.
Referenced by SalGraphicsAutoDelegateToImpl::drawPolyLineBezier().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, GenPspGfxBackend, and SkiaSalGraphicsImpl.
Referenced by SalGraphicsAutoDelegateToImpl::drawPolyPolygon().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, GenPspGfxBackend, and SkiaSalGraphicsImpl.
Referenced by SalGraphicsAutoDelegateToImpl::drawPolyPolygonBezier().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::drawRect().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::drawTransformedBitmap().
|
pure virtual |
|
inline |
Definition at line 60 of file salgdiimpl.hxx.
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::GetBitCount().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::getBitmap().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::GetGraphicsWidth().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::getPixel().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphics::getRenderBackendName(), and SalGraphicsAutoDelegateToImpl::getRenderBackendName().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::hasFastDrawTransformedBitmap().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, GenPspGfxBackend, and SkiaSalGraphicsImpl.
Referenced by SalGraphicsAutoDelegateToImpl::implDrawGradient().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, X11SkiaSalGraphicsImpl, and GenPspGfxBackend.
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::invert().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::ResetClipRegion().
|
inline |
Definition at line 55 of file salgdiimpl.hxx.
|
pure virtual |
Implemented in SkiaSalGraphicsImpl, SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::setClipRegion().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::SetFillColor().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::SetLineColor().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::SetROPFillColor().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::SetROPLineColor().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::SetXORMode().
|
pure virtual |
Implemented in SvpGraphicsBackend, QtGraphicsBackend, AquaGraphicsBackend, SkiaSalGraphicsImpl, and GenPspGfxBackend.
Referenced by SalGraphicsAutoDelegateToImpl::supportsOperation().
|
private |
Definition at line 52 of file salgdiimpl.hxx.