20 #ifndef INCLUDED_VCL_INC_SALGDIIMPL_HXX
21 #define INCLUDED_VCL_INC_SALGDIIMPL_HXX
32 #include <com/sun/star/drawing/LineCap.hpp>
62 virtual void Init() = 0;
66 virtual void freeResources() = 0;
68 virtual OUString getRenderBackendName()
const = 0;
70 virtual bool setClipRegion(
const vcl::Region& ) = 0;
73 virtual sal_uInt16 GetBitCount()
const = 0;
79 virtual void ResetClipRegion() = 0;
89 virtual void SetFillColor() = 0;
93 virtual void SetFillColor(
Color nColor ) = 0;
96 virtual void SetXORMode(
bool bSet,
bool bInvertOnly ) = 0;
99 virtual void SetROPLineColor(
SalROPColor nROPColor ) = 0;
102 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,
151 virtual void copyArea(
155 bool bWindowInvalidate ) = 0;
163 virtual void drawBitmap(
168 virtual void drawMask(
171 Color nMaskColor ) = 0;
183 virtual void invert( sal_uInt32 nPoints,
const Point* pPtAry,
SalInvert nFlags ) = 0;
185 virtual bool drawEPS(
189 sal_uInt32 nSize ) = 0;
191 virtual bool blendBitmap(
195 virtual bool blendAlphaBitmap(
201 virtual bool drawAlphaBitmap(
207 virtual bool drawTransformedBitmap(
217 virtual bool hasFastDrawTransformedBitmap()
const = 0;
219 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)
bool getAntiAlias() const