![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qpaintengine_mac_p.h>
Public Types | |
| enum | { CosmeticNone , CosmeticTransformPath , CosmeticSetPenWidth } |
| enum | { CGStroke =0x01 , CGEOFill =0x02 , CGFill =0x04 } |
Public Member Functions | |
| QCoreGraphicsPaintEnginePrivate () | |
| void | drawPath (uchar ops, CGMutablePathRef path=nullptr) |
| void | setClip (const QRegion *rgn=nullptr) |
| void | resetClip () |
| void | setFillBrush (const QPointF &origin=QPoint()) |
| void | setStrokePen (const QPen &pen) |
| void | saveGraphicsState () |
| void | restoreGraphicsState () |
| float | penOffset () |
| QPointF | devicePixelSize (CGContextRef context) |
| float | adjustPenWidth (float penWidth) |
| void | setTransform (const QTransform *matrix=nullptr) |
| Public Member Functions inherited from QPaintEnginePrivate | |
| QPaintEnginePrivate () | |
| virtual | ~QPaintEnginePrivate () |
| void | updateSystemClip () |
| void | setSystemTransform (const QTransform &xform) |
| void | setSystemViewport (const QRegion ®ion) |
| void | setSystemTransformAndViewport (const QTransform &xform, const QRegion ®ion) |
| virtual void | systemStateChanged () |
| void | drawBoxTextItem (const QPointF &p, const QTextItemInt &ti) |
| virtual QPaintEngine * | aggregateEngine () |
| virtual Qt::HANDLE | nativeHandle () |
Public Attributes | |
| struct { | |
| QPen pen | |
| QBrush brush | |
| uint clipEnabled: 1 | |
| QRegion clip | |
| QTransform transform | |
| } | current |
| CGAffineTransform | orig_xform |
| CGContextRef | hd |
| CGShadingRef | shading |
| int | stackCount |
| bool | complexXForm |
| bool | disabledSmoothFonts |
| enum QCoreGraphicsPaintEnginePrivate:: { ... } | cosmeticPen |
| QPointF | pixelSize |
| float | cosmeticPenSize |
| Public Attributes inherited from QPaintEnginePrivate | |
| QPaintDevice * | pdev |
| QPaintEngine * | q_ptr |
| QRegion | baseSystemClip |
| QRegion | systemClip |
| QRect | systemRect |
| QRegion | systemViewport |
| QTransform | systemTransform |
| QPaintDevice * | currentClipDevice |
| uint | hasSystemTransform: 1 |
| uint | hasSystemViewport: 1 |
Additional Inherited Members | |
| Static Public Member Functions inherited from QPaintEnginePrivate | |
| static QPaintEnginePrivate * | get (QPaintEngine *paintEngine) |
Definition at line 99 of file qpaintengine_mac_p.h.
| anonymous enum |
| Enumerator | |
|---|---|
| CosmeticNone | |
| CosmeticTransformPath | |
| CosmeticSetPenWidth | |
Definition at line 125 of file qpaintengine_mac_p.h.
| anonymous enum |
| Enumerator | |
|---|---|
| CGStroke | |
| CGEOFill | |
| CGFill | |
Definition at line 132 of file qpaintengine_mac_p.h.
|
inline |
Definition at line 103 of file qpaintengine_mac_p.h.
| float QCoreGraphicsPaintEnginePrivate::adjustPenWidth | ( | float | penWidth | ) |
Definition at line 1047 of file qpaintengine_mac.mm.
Referenced by setStrokePen().
| QPointF QCoreGraphicsPaintEnginePrivate::devicePixelSize | ( | CGContextRef | context | ) |
Definition at line 1036 of file qpaintengine_mac.mm.
Definition at line 1290 of file qpaintengine_mac.mm.
References CGEOFill, CGFill, CGStroke, CosmeticNone, cosmeticPenSize, CosmeticTransformPath, hd, restoreGraphicsState(), and saveGraphicsState().
| float QCoreGraphicsPaintEnginePrivate::penOffset | ( | ) |
| void QCoreGraphicsPaintEnginePrivate::resetClip | ( | ) |
Definition at line 143 of file qpaintengine_mac.mm.
References hd, restoreGraphicsState(), saveGraphicsState(), and stackCount.
Referenced by setClip().
|
inline |
Definition at line 162 of file qpaintengine_mac_p.h.
References hd, and stackCount.
Referenced by drawPath(), and resetClip().
|
inline |
Definition at line 156 of file qpaintengine_mac_p.h.
References hd, and stackCount.
Referenced by drawPath(), and resetClip().
Definition at line 1244 of file qpaintengine_mac.mm.
References hd, and resetClip().
Definition at line 1149 of file qpaintengine_mac.mm.
References QMacPattern::as_mask, hd, QMacPattern::height(), qt_mac_dispose_pattern(), qt_mac_draw_pattern(), and QMacPattern::width().
Definition at line 1063 of file qpaintengine_mac.mm.
References adjustPenWidth(), and hd.
|
inline |
Definition at line 143 of file qpaintengine_mac_p.h.
References hd.
| QBrush QCoreGraphicsPaintEnginePrivate::brush |
Definition at line 110 of file qpaintengine_mac_p.h.
| QRegion QCoreGraphicsPaintEnginePrivate::clip |
Definition at line 112 of file qpaintengine_mac_p.h.
| uint QCoreGraphicsPaintEnginePrivate::clipEnabled |
Definition at line 111 of file qpaintengine_mac_p.h.
| bool QCoreGraphicsPaintEnginePrivate::complexXForm |
Definition at line 123 of file qpaintengine_mac_p.h.
| enum { ... } QCoreGraphicsPaintEnginePrivate::cosmeticPen |
| float QCoreGraphicsPaintEnginePrivate::cosmeticPenSize |
Definition at line 129 of file qpaintengine_mac_p.h.
Referenced by drawPath().
| struct { ... } QCoreGraphicsPaintEnginePrivate::current |
| bool QCoreGraphicsPaintEnginePrivate::disabledSmoothFonts |
Definition at line 124 of file qpaintengine_mac_p.h.
| CGContextRef QCoreGraphicsPaintEnginePrivate::hd |
Definition at line 120 of file qpaintengine_mac_p.h.
Referenced by drawPath(), resetClip(), restoreGraphicsState(), saveGraphicsState(), setClip(), setFillBrush(), setStrokePen(), and setTransform().
| CGAffineTransform QCoreGraphicsPaintEnginePrivate::orig_xform |
Definition at line 117 of file qpaintengine_mac_p.h.
| QPen QCoreGraphicsPaintEnginePrivate::pen |
Definition at line 109 of file qpaintengine_mac_p.h.
| QPointF QCoreGraphicsPaintEnginePrivate::pixelSize |
Definition at line 128 of file qpaintengine_mac_p.h.
| CGShadingRef QCoreGraphicsPaintEnginePrivate::shading |
Definition at line 121 of file qpaintengine_mac_p.h.
| int QCoreGraphicsPaintEnginePrivate::stackCount |
Definition at line 122 of file qpaintengine_mac_p.h.
Referenced by resetClip(), restoreGraphicsState(), and saveGraphicsState().
| QTransform QCoreGraphicsPaintEnginePrivate::transform |
Definition at line 113 of file qpaintengine_mac_p.h.