21#ifndef JKQTPENHANCED_PAINTERS_H
22#define JKQTPENHANCED_PAINTERS_H
23#include "jkqtcommon/jkqtcommon_imexport.h"
73 void drawComplexRoundedRect(
const QRectF& r,
double rTopLeft,
double rTopRight,
double rBottomLeft,
double rBottomRight, Qt::SizeMode mode = Qt::AbsoluteSize);
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 setPainterFlag(PainterFlag flag, bool enabled=true)
flags, specifying how the JKQTPEnhancedPainter works
void drawRoundedRectOrRect(const QRectF &r, double radius, Qt::SizeMode mode=Qt::AbsoluteSize)
draw a rounded rect (radius >0 ), or a simple rect (radius <=0 )
JKQTPEnhancedPainter(QPaintDevice *device)
PainterFlags m_flags
flags, specifying how the JKQTPEnhancedPainter works
Definition jkqtpenhancedpainter.h:82
void drawPolylineFast(const QPolygon &polyline)
Definition jkqtpenhancedpainter.h:68
PainterFlags painterFlags() const
flags, specifying how the JKQTPEnhancedPainter works
void drawPolylineFast(const QPointF *points, int pointCount)
faster variant of QPainter::drawPolyline(),it turns out that drawing single lines is way faster than ...
void drawPolylineFast(const QPoint *points, int pointCount)
PainterFlag
flags that are used to configure a JKQTPEnhancedPainter
Definition jkqtpenhancedpainter.h:36
@ DefaultPaintMode
the default mode, the JKQTPEnhancedPainter draws on a pixel-device
Definition jkqtpenhancedpainter.h:36
@ VectorPainting
if set, the JKQTPEnhancedPainter draws onto a vector-device, like a printer, PDF or SVG-output
Definition jkqtpenhancedpainter.h:37
void initQEnhacedPainter()
QFlags< PainterFlag > PainterFlags
specifies the plot styles for the error information, e.g. error bars, boxes, lines ....
Definition jkqtpenhancedpainter.h:47