![]() |
Qt 6.x
The Qt SDK
|
#include <qpaintengine_mac_p.h>
Inheritance diagram for QCoreGraphicsPaintEnginePrivate:
Collaboration diagram for QCoreGraphicsPaintEnginePrivate: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 98 of file qpaintengine_mac_p.h.
| anonymous enum |
| Enumerator | |
|---|---|
| CosmeticNone | |
| CosmeticTransformPath | |
| CosmeticSetPenWidth | |
Definition at line 124 of file qpaintengine_mac_p.h.
| anonymous enum |
| Enumerator | |
|---|---|
| CGStroke | |
| CGEOFill | |
| CGFill | |
Definition at line 131 of file qpaintengine_mac_p.h.
|
inline |
Definition at line 102 of file qpaintengine_mac_p.h.
| float QCoreGraphicsPaintEnginePrivate::adjustPenWidth | ( | float | penWidth | ) |
Definition at line 1053 of file qpaintengine_mac.mm.
References QPainter::Antialiasing, complexXForm, and ret.
Referenced by setStrokePen().
Here is the caller graph for this function:| QPointF QCoreGraphicsPaintEnginePrivate::devicePixelSize | ( | CGContextRef | context | ) |
Definition at line 1296 of file qpaintengine_mac.mm.
References QPainter::Antialiasing, CGEOFill, CGFill, CGStroke, CosmeticNone, cosmeticPen, cosmeticPenSize, CosmeticTransformPath, current, hd, Qt::NoBrush, Qt::NoPen, QGradient::ObjectBoundingMode, pixelSize, Q_ASSERT, qt_mac_cg_transform_path_apply(), qt_mac_convert_transform_to_cg(), restoreGraphicsState(), saveGraphicsState(), setTransform(), shading, Qt::SolidLine, QPointF::x(), and QPointF::y().
Here is the call graph for this function:| float QCoreGraphicsPaintEnginePrivate::penOffset | ( | ) |
| void QCoreGraphicsPaintEnginePrivate::resetClip | ( | ) |
Definition at line 142 of file qpaintengine_mac.mm.
References hd, restoreGraphicsState(), saveGraphicsState(), and stackCount.
Referenced by setClip().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 161 of file qpaintengine_mac_p.h.
References hd, Q_ASSERT, and stackCount.
Referenced by drawPath(), and resetClip().
Here is the caller graph for this function:
|
inline |
Definition at line 155 of file qpaintengine_mac_p.h.
References hd, and stackCount.
Referenced by drawPath(), and resetClip().
Here is the caller graph for this function:Definition at line 1250 of file qpaintengine_mac.mm.
References hd, QRegion::isEmpty(), orig_xform, qt_mac_clip_cg(), and resetClip().
Here is the call graph for this function:Definition at line 1155 of file qpaintengine_mac.mm.
References QMacPattern::as_mask, QColor::blue(), QMacPattern::bytes, callbacks, QRadialGradient::center(), cgColorForQColor(), Qt::ConicalGradientPattern, current, QMacPattern::data, QLinearGradient::finalStop(), QRadialGradient::focalPoint(), QRadialGradient::focalRadius(), QMacPattern::foreground, QColor::green(), hd, QMacPattern::height(), QPixmap::isQBitmap(), Qt::LinearGradientPattern, Qt::NoBrush, QGradient::PadSpread, QPaintEnginePrivate::pdev, QMacPattern::pdev, QMacPattern::pixmap, Q_ASSERT, qt_mac_convert_color_to_cg(), qt_mac_convert_transform_to_cg(), qt_mac_dispose_pattern(), qt_mac_draw_pattern(), qt_mac_patternForBrush(), Qt::RadialGradientPattern, QRadialGradient::radius(), QColor::red(), shading, Qt::SolidPattern, QGradient::spread(), QLinearGradient::start(), Qt::TexturePattern, QMacPattern::width(), QPointF::x(), xform, and QPointF::y().
Here is the call graph for this function:Definition at line 1069 of file qpaintengine_mac.mm.
References adjustPenWidth(), QList< T >::append(), QList< T >::at(), Qt::BevelJoin, QPen::capStyle(), cgColorForQColor(), QPen::color(), Qt::CustomDashLine, Qt::DashDotDotLine, Qt::DashDotLine, Qt::DashLine, QPen::dashOffset(), QPen::dashPattern(), QList< T >::data(), Qt::DotLine, hd, i, QPen::joinStyle(), pen, Qt::RoundCap, Qt::RoundJoin, QList< T >::size(), Qt::SquareCap, QPen::style(), and QPen::widthF().
Here is the call graph for this function:
|
inline |
Definition at line 142 of file qpaintengine_mac_p.h.
References hd, orig_xform, qt_mac_convert_transform_to_cg(), and xform.
Referenced by drawPath().
Here is the call graph for this function:
Here is the caller graph for this function:| QBrush QCoreGraphicsPaintEnginePrivate::brush |
Definition at line 109 of file qpaintengine_mac_p.h.
| QRegion QCoreGraphicsPaintEnginePrivate::clip |
Definition at line 111 of file qpaintengine_mac_p.h.
| uint QCoreGraphicsPaintEnginePrivate::clipEnabled |
Definition at line 110 of file qpaintengine_mac_p.h.
| bool QCoreGraphicsPaintEnginePrivate::complexXForm |
Definition at line 122 of file qpaintengine_mac_p.h.
Referenced by adjustPenWidth().
| enum { ... } QCoreGraphicsPaintEnginePrivate::cosmeticPen |
Referenced by drawPath().
| float QCoreGraphicsPaintEnginePrivate::cosmeticPenSize |
Definition at line 128 of file qpaintengine_mac_p.h.
Referenced by drawPath().
| struct { ... } QCoreGraphicsPaintEnginePrivate::current |
Referenced by devicePixelSize(), drawPath(), and setFillBrush().
| bool QCoreGraphicsPaintEnginePrivate::disabledSmoothFonts |
Definition at line 123 of file qpaintengine_mac_p.h.
| CGContextRef QCoreGraphicsPaintEnginePrivate::hd |
Definition at line 119 of file qpaintengine_mac_p.h.
Referenced by drawPath(), resetClip(), restoreGraphicsState(), saveGraphicsState(), setClip(), setFillBrush(), setStrokePen(), and setTransform().
| CGAffineTransform QCoreGraphicsPaintEnginePrivate::orig_xform |
Definition at line 116 of file qpaintengine_mac_p.h.
Referenced by setClip(), and setTransform().
| QPen QCoreGraphicsPaintEnginePrivate::pen |
Definition at line 108 of file qpaintengine_mac_p.h.
Referenced by setStrokePen().
| QPointF QCoreGraphicsPaintEnginePrivate::pixelSize |
Definition at line 127 of file qpaintengine_mac_p.h.
Referenced by drawPath().
| CGShadingRef QCoreGraphicsPaintEnginePrivate::shading |
Definition at line 120 of file qpaintengine_mac_p.h.
Referenced by drawPath(), and setFillBrush().
| int QCoreGraphicsPaintEnginePrivate::stackCount |
Definition at line 121 of file qpaintengine_mac_p.h.
Referenced by resetClip(), restoreGraphicsState(), and saveGraphicsState().
| QTransform QCoreGraphicsPaintEnginePrivate::transform |
Definition at line 112 of file qpaintengine_mac_p.h.