20 #ifndef INCLUDED_VCL_INC_SALGDIIMPL_HXX
21 #define INCLUDED_VCL_INC_SALGDIIMPL_HXX
32 #include <com/sun/star/drawing/LineCap.hpp>
75 virtual void Init() = 0;
79 virtual void freeResources() = 0;
81 virtual OUString getRenderBackendName()
const = 0;
83 virtual bool setClipRegion(
const vcl::Region& ) = 0;
85 virtual sal_uInt16 GetBitCount()
const = 0;
89 virtual void ResetClipRegion() = 0;
95 virtual void SetFillColor() = 0;
97 virtual void SetFillColor(
Color nColor ) = 0;
99 virtual void SetXORMode(
bool bSet,
bool bInvertOnly ) = 0;
101 virtual void SetROPLineColor(
SalROPColor nROPColor ) = 0;
103 virtual void SetROPFillColor(
SalROPColor nROPColor ) = 0;
112 virtual void drawPolyLine( sal_uInt32 nPoints,
const Point* pPtAry ) = 0;
114 virtual void drawPolygon( sal_uInt32 nPoints,
const Point* pPtAry ) = 0;
116 virtual void drawPolyPolygon( sal_uInt32 nPoly,
const sal_uInt32* pPoints,
const Point** pPtAry ) = 0;
118 virtual bool drawPolyPolygon(
121 double fTransparency) = 0;
123 virtual bool drawPolyLine(
126 double fTransparency,
128 const std::vector< double >* pStroke,
130 css::drawing::LineCap,
131 double fMiterMinimumAngle,
132 bool bPixelSnapHairline) = 0;
134 virtual bool drawPolyLineBezier(
139 virtual bool drawPolygonBezier(
144 virtual bool drawPolyPolygonBezier(
146 const sal_uInt32* pPoints,
147 const Point*
const* pPtAry,
150 virtual void copyArea(
154 bool bWindowInvalidate ) = 0;
160 virtual void drawBitmap(
165 virtual void drawMask(
168 Color nMaskColor ) = 0;
179 virtual void invert( sal_uInt32 nPoints,
const Point* pPtAry,
SalInvert nFlags ) = 0;
181 virtual bool drawEPS(
185 sal_uInt32 nSize ) = 0;
187 virtual bool blendBitmap(
191 virtual bool blendAlphaBitmap(
197 virtual bool drawAlphaBitmap(
202 virtual bool drawTransformedBitmap(
210 virtual bool hasFastDrawTransformedBitmap()
const = 0;
212 virtual bool drawAlphaRect(
void setAntiAlias(bool bNew)
void drawPolygon(VirtualDevice *dev, bool drawFrame, tools::Polygon const &orig, Size const &pSize)
draws a polygon knowing penSize
void drawLine(VirtualDevice *dev, Point const &orig, Point const &dest, Size const &pSize)
draws a line from orig to dest knowing penSize
#define VCL_PLUGIN_PUBLIC
A SalFrame is a system window (e.g. an X11 window).
A non-visible drawable/buffer (e.g. an X11 Pixmap).
void SetLineColor(const css::uno::Reference< css::beans::XPropertySet > &xGridProperties, sal_Int32 nColor)
Implementation class for SalGraphics.
bool getAntiAlias() const
bool m_bDetectedRangeSegmentation false