18 #ifndef QGSDXFPAINTENGINE_H
19 #define QGSDXFPAINTENGINE_H
21 #include <QPaintEngine>
36 QPaintEngine::Type
type()
const override;
41 void drawPolygon(
const QPointF * points,
int pointCount, PolygonDrawMode mode )
override;
65 double currentWidth()
const;
67 void moveTo(
double dx,
double dy );
68 void lineTo(
double dx,
double dy );
69 void curveTo(
double dx,
double dy );
77 static double bernsteinPoly(
int n,
int i,
double t );
78 static int lower(
int n,
int i );
79 static double power(
double a,
int b );
83 #endif // QGSDXFPAINTENGINE_H
virtual void drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr)=0
virtual void drawPath(const QPainterPath &path)
A paint device for drawing into dxf files.
virtual bool begin(QPaintDevice *pdev)=0
int ANALYSIS_EXPORT faculty(int n)
Faculty function.
virtual void drawLines(const QLine *lines, int lineCount)
virtual Type type() const =0
A class to represent a point.
double ANALYSIS_EXPORT power(double a, int b)
Power function for integer coefficients.
int ANALYSIS_EXPORT lower(int n, int i)
Lower function.
virtual void drawPolygon(const QPointF *points, int pointCount, PolygonDrawMode mode)
virtual void updateState(const QPaintEngineState &state)=0
void setShift(const QPointF &shift)
void setLayer(const QString &layer)