29#include <QtGui/QPainter>
30#include <QtGui/QPainterPath>
31#include <QtGui/QRegion>
37class PhysicalFontCollection;
95 const Point** pPointArray)
override;
101 double fTransparency,
double fLineWidth,
const std::vector<double>* pStroke,
103 bool bPixelSnapHairline)
override;
112 const Point*
const* pPointArray,
113 const PolyFlags*
const* pFlagArray)
override;
126 Color nMaskColor)
override;
139 void* pPtr, sal_uInt32 nSize)
override;
151 const SalBitmap* pAlphaBitmap,
double fAlpha)
override;
207#if ENABLE_CAIRO_CANVAS
208 virtual bool SupportsCairo()
const override;
212 int width,
int height)
const override;
215 const Size& rSize)
const override;
234 const OUString& rFontName)
override;
236 virtual std::unique_ptr<GenericSalLayout>
GetTextLayout(
int nFallbackLevel)
override;
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
void drawPixel(tools::Long nX, tools::Long nY) override
bool drawAlphaRect(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt8 nTransparency) override
QtGraphicsBackend(QtFrame *pFrame, QImage *pQImage)
void copyBits(const SalTwoRect &rPosAry, SalGraphics *pSrcGraphics) override
void SetLineColor(Color nColor) override
void drawPolyLine(sal_uInt32 nPoints, const Point *pPointArray) 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
tools::Long GetGraphicsWidth() const 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 drawGradient(const tools::PolyPolygon &rPolygon, const Gradient &rGradient) override
std::shared_ptr< SalBitmap > getBitmap(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight) override
std::optional< Color > m_oLineColor
bool supportsOperation(OutDevSupportType eType) const override
void drawPolyPolygon(sal_uInt32 nPoly, const sal_uInt32 *pPoints, const Point **pPointArray) override
void SetXORMode(bool bSet, bool bInvertOnly) override
std::optional< Color > m_oFillColor
bool hasFastDrawTransformedBitmap() const override
void invert(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, SalInvert nFlags) override
void ResetClipRegion() override
bool drawEPS(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, void *pPtr, sal_uInt32 nSize) override
Color getPixel(tools::Long nX, tools::Long nY) override
void drawPolygon(sal_uInt32 nPoints, const Point *pPointArray) override
void drawScaledImage(const SalTwoRect &rPosAry, const QImage &rImage)
void drawLine(tools::Long nX1, tools::Long nY1, tools::Long nX2, tools::Long nY2) override
void drawMask(const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, Color nMaskColor) override
void drawRect(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight) override
OUString getRenderBackendName() const override
void SetROPLineColor(SalROPColor nROPColor) override
~QtGraphicsBackend() override
bool implDrawGradient(basegfx::B2DPolyPolygon const &rPolyPolygon, SalGradient const &rGradient) override
void freeResources() override
void SetLineColor() override
bool blendBitmap(const SalTwoRect &, const SalBitmap &rBitmap) override
void setClipRegion(vcl::Region const &rRegion) override
void SetFillColor() override
bool drawAlphaBitmap(const SalTwoRect &, const SalBitmap &rSourceBitmap, const SalBitmap &rAlphaBitmap) override
void copyArea(tools::Long nDestX, tools::Long nDestY, tools::Long nSrcX, tools::Long nSrcY, tools::Long nSrcWidth, tools::Long nSrcHeight, bool bWindowInvalidate) override
bool drawPolygonBezier(sal_uInt32 nPoints, const Point *pPointArray, const PolyFlags *pFlagArray) override
void setQImage(QImage *pQImage)
void SetFillColor(Color nColor) override
void invert(sal_uInt32 nPoints, const Point *pPtAry, SalInvert nFlags) override
bool drawPolyPolygonBezier(sal_uInt32 nPoly, const sal_uInt32 *pPoints, const Point *const *pPointArray, const PolyFlags *const *pFlagArray) override
bool blendAlphaBitmap(const SalTwoRect &, const SalBitmap &rSrcBitmap, const SalBitmap &rMaskBitmap, const SalBitmap &rAlphaBitmap) override
void SetROPFillColor(SalROPColor nROPColor) override
bool drawPolyPolygon(const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolyPolygon &, double fTransparency) override
void drawBitmap(const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap) override
void drawPixel(tools::Long nX, tools::Long nY, Color nColor) override
sal_uInt16 GetBitCount() const override
QPainter::CompositionMode m_eCompositionMode
void drawBitmap(const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, const SalBitmap &rMaskBitmap) override
virtual OUString getRenderBackendName() const override
virtual SystemGraphicsData GetGraphicsData() const override
virtual void SetTextColor(Color nColor) override
void ChangeQImage(QImage *pImage)
virtual bool AddTempDevFont(vcl::font::PhysicalFontCollection *, const OUString &rFileURL, const OUString &rFontName) override
rtl::Reference< QtFont > m_pTextStyle[MAX_FALLBACK]
virtual void ClearDevFontCache() override
std::unique_ptr< QtGraphicsBackend > m_pBackend
QtGraphics(QtFrame *pFrame)
void drawScaledImage(const SalTwoRect &rPosAry, const QImage &rImage)
virtual ~QtGraphics() override
void handleDamage(const tools::Rectangle &) override
Handle damage done by drawing with a widget draw override.
QtGraphics(QtFrame *pFrame, QImage *pQImage)
virtual void GetResolution(sal_Int32 &rDPIX, sal_Int32 &rDPIY) override
virtual bool GetFontCapabilities(vcl::FontCapabilities &rFontCapabilities) const override
virtual void SetFont(LogicalFontInstance *, int nFallbackLevel) override
virtual void GetFontMetric(FontMetricDataRef &, int nFallbackLevel) override
virtual void DrawTextLayout(const GenericSalLayout &) override
QtGraphics(QImage *pQImage)
virtual SalGraphicsImpl * GetImpl() const override
virtual std::unique_ptr< GenericSalLayout > GetTextLayout(int nFallbackLevel) override
virtual void GetDevFontList(vcl::font::PhysicalFontCollection *) override
virtual FontCharMapRef GetFontCharMap() const override
Implementation class for SalGraphics.
std::shared_ptr< Surface > SurfaceSharedPtr
std::shared_ptr< cairo_surface_t > CairoSurfaceSharedPtr
A PhysicalFontFaceCollection is created by a PhysicalFontCollection and becomes invalid when original...