21#ifndef JKQTPENHANCED_PAINTERS_H
22#define JKQTPENHANCED_PAINTERS_H
23#include "jkqtcommon/jkqtcommon_imexport.h"
37 VectorPainting = 0x01,
63 void drawPolylineFast(const QPointF *points,
int pointCount);
64 inline
void drawPolylineFast(const QPolygonF &polyline) {
65 drawPolylineFast(polyline.constData(),
int(polyline.size()));
69 drawPolylineFast(polyline.constData(),
int(polyline.size()));
73 void drawComplexRoundedRect(
const QRectF& r,
double rTopLeft,
double rTopRight,
double rBottomLeft,
double rBottomRight, Qt::SizeMode mode = Qt::AbsoluteSize);
this class extends the QPainter
Definition jkqtpenhancedpainter.h:33
void drawComplexRoundedRect(const QRectF &r, double rTopLeft, double rTopRight, double rBottomLeft, double rBottomRight, Qt::SizeMode mode=Qt::AbsoluteSize)
draw a rounded rect, where each corner has a separate radius
void drawRoundedRectOrRect(const QRectF &r, double radius, Qt::SizeMode mode=Qt::AbsoluteSize)
draw a rounded rect (radius >0 ), or a simple rect (radius <=0 )
PainterFlags m_flags
flags, specifying how the JKQTPEnhancedPainter works
Definition jkqtpenhancedpainter.h:82
void drawPolylineFast(const QPolygon &polyline)
Definition jkqtpenhancedpainter.h:68
void drawPolylineFast(const QPoint *points, int pointCount)
PainterFlag
flags that are used to configure a JKQTPEnhancedPainter
Definition jkqtpenhancedpainter.h:36
void initQEnhacedPainter()
QFlags< PainterFlag > PainterFlags
specifies the plot styles for the error information, e.g. error bars, boxes, lines ....
Definition jkqtpenhancedpainter.h:47