![]() |
Stellarium 0.15.2
|
Inheritance diagram for QCPPainter:
Collaboration diagram for QCPPainter:Public Types | |
| enum | PainterMode { pmDefault = 0x00, pmVectorized = 0x01, pmNoCaching = 0x02, pmNonCosmetic = 0x04 } |
Public Member Functions | |
| QCPPainter (QPaintDevice *device) | |
| bool | antialiasing () const |
| PainterModes | modes () const |
| void | setAntialiasing (bool enabled) |
| void | setMode (PainterMode mode, bool enabled=true) |
| void | setModes (PainterModes modes) |
| bool | begin (QPaintDevice *device) |
| void | setPen (const QPen &pen) |
| void | setPen (const QColor &color) |
| void | setPen (Qt::PenStyle penStyle) |
| void | drawLine (const QLineF &line) |
| void | drawLine (const QPointF &p1, const QPointF &p2) |
| void | save () |
| void | restore () |
| void | makeNonCosmetic () |
Protected Attributes | |
| PainterModes | mModes |
| bool | mIsAntialiasing |
| QStack< bool > | mAntialiasingStack |
Definition at line 312 of file qcustomplot.h.
Defines special modes the painter can operate in. They disable or enable certain subsets of features/fixes/workarounds, depending on whether they are wanted on the respective output device.
Definition at line 320 of file qcustomplot.h.
1.8.11