![]() |
Qt 6.x
The Qt SDK
|
#include "qpainterpath.h"#include "qpainterpath_p.h"#include <qbitmap.h>#include <qdebug.h>#include <qiodevice.h>#include <qlist.h>#include <qpen.h>#include <qpolygon.h>#include <qtextlayout.h>#include <qvarlengtharray.h>#include <qmath.h>#include <private/qbezier_p.h>#include <private/qfontengine_p.h>#include <private/qnumeric_p.h>#include <private/qobject_p.h>#include <private/qpathclipper_p.h>#include <private/qstroker_p.h>#include <private/qtextengine_p.h>#include <limits.h>
Include dependency graph for qpainterpath.cpp:Go to the source code of this file.
Macros | |
| #define | PM_INIT |
| #define | PM_MEASURE(x) |
| #define | PM_DISPLAY |
| #define | QT_BEZIER_A(bezier, coord) |
| #define | QT_BEZIER_B(bezier, coord) |
| #define | QT_BEZIER_C(bezier, coord) |
| #define | QT_BEZIER_CHECK_T(bezier, t) |
Enumerations | |
| enum | PainterDirections { Left , Right , Top , Bottom } |
| #define PM_DISPLAY |
Definition at line 32 of file qpainterpath.cpp.
| #define PM_INIT |
Definition at line 30 of file qpainterpath.cpp.
| #define PM_MEASURE | ( | x | ) |
Definition at line 31 of file qpainterpath.cpp.
| #define QT_BEZIER_A | ( | bezier, | |
| coord | |||
| ) |
Definition at line 1341 of file qpainterpath.cpp.
| #define QT_BEZIER_B | ( | bezier, | |
| coord | |||
| ) |
Definition at line 1346 of file qpainterpath.cpp.
| #define QT_BEZIER_C | ( | bezier, | |
| coord | |||
| ) |
Definition at line 1350 of file qpainterpath.cpp.
| #define QT_BEZIER_CHECK_T | ( | bezier, | |
| t | |||
| ) |
Definition at line 1353 of file qpainterpath.cpp.
| enum PainterDirections |
| Enumerator | |
|---|---|
| Left | |
| Right | |
| Top | |
| Bottom | |
Definition at line 1849 of file qpainterpath.cpp.
|
inlinestatic |
Definition at line 2937 of file qpainterpath.cpp.
References QPainterPath::CurveToElement, e, QBezier::fromPoints(), i, QString::length(), line, QPainterPath::LineToElement, and QPainterPath::MoveToElement.
Referenced by QPainterPath::angleAtPercent(), QPainterPath::pointAtPercent(), and QPainterPath::slopeAtPercent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 2244 of file qpainterpath.cpp.
References epsilon, and qAbs().
Referenced by QPainterPath::operator==().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 45 of file qpainterpath.cpp.
References isValidCoord().
Referenced by QPainterPath::addEllipse(), QPainterPath::addRect(), QPainterPath::arcTo(), QPainterPath::cubicTo(), QPainterPath::lineTo(), QPainterPath::moveTo(), and QPainterPath::quadTo().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 50 of file qpainterpath.cpp.
References isValidCoord().
Here is the call graph for this function:
|
inlinestatic |
Definition at line 37 of file qpainterpath.cpp.
References qIsFinite().
Referenced by QPainterPath::arcTo(), hasValidCoords(), and hasValidCoords().
Here is the call graph for this function:
Here is the caller graph for this function:
|
related |
Definition at line 2414 of file qpainterpath.cpp.
| QDebug operator<< | ( | QDebug | s, |
| const QPainterPath & | p | ||
| ) |
Definition at line 3369 of file qpainterpath.cpp.
References Qt::endl(), and i.
Here is the call graph for this function:
|
related |
Definition at line 2441 of file qpainterpath.cpp.
Definition at line 1966 of file qpainterpath.cpp.
References rect, QPointF::x(), and QPointF::y().
Referenced by qt_painterpath_check_crossing().
Here is the call graph for this function:
Here is the caller graph for this function:| void qt_find_ellipse_coords | ( | const QRectF & | r, |
| qreal | angle, | ||
| qreal | length, | ||
| QPointF * | startPoint, | ||
| QPointF * | endPoint | ||
| ) |
Definition at line 65 of file qpainterpath.cpp.
References QBezier::coefficients(), d, i, qFloor(), QT_PATH_KAPPA, and qt_t_for_arc_angle().
Referenced by QPainterPath::arcMoveTo(), and qt_curves_for_arc().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1930 of file qpainterpath.cpp.
References QRectF::bottom(), QBezier::bounds(), QRectF::height(), QRectF::left(), qt_isect_curve_horizontal(), QRectF::right(), QBezier::split(), QRectF::top(), and QRectF::width().
Referenced by qt_isect_curve_horizontal(), and qt_painterpath_check_crossing().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1948 of file qpainterpath.cpp.
References QRectF::bottom(), QBezier::bounds(), QRectF::height(), QRectF::left(), qt_isect_curve_vertical(), QRectF::right(), QBezier::split(), QRectF::top(), and QRectF::width().
Referenced by qt_isect_curve_vertical(), and qt_painterpath_check_crossing().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1363 of file qpainterpath.cpp.
References qFuzzyIsNull(), qSqrt(), QT_BEZIER_A, QT_BEZIER_B, QT_BEZIER_C, QT_BEZIER_CHECK_T, and t2.
Here is the call graph for this function:
|
static |
Definition at line 1980 of file qpainterpath.cpp.
References QPainterPath::CurveToElement, e, QBezier::fromPoints(), i, QPainterPath::LineToElement, QPainterPath::MoveToElement, pointOnEdge(), qFuzzyCompare(), qt_isect_curve_horizontal(), qt_isect_curve_vertical(), qt_painterpath_isect_line_rect(), rect, QPointF::x(), and QPointF::y().
Referenced by QPainterPath::contains(), and QPainterPath::intersects().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1756 of file qpainterpath.cpp.
References QBezier::bounds(), QRectF::height(), QBezier::pt1(), QBezier::pt4(), qt_painterpath_isect_curve(), QBezier::split(), QRectF::width(), QPointF::x(), QPointF::y(), and QRectF::y().
Referenced by QPainterPath::contains(), and qt_painterpath_isect_curve().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1724 of file qpainterpath.cpp.
References dir, p1, p2, pos, and qFuzzyCompare().
Referenced by QPainterPath::contains().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1851 of file qpainterpath.cpp.
References Bottom, Left, p1, p2, rect, Right, and Top.
Referenced by qt_painterpath_check_crossing().
Here is the caller graph for this function:| void qt_path_stroke_cubic_to | ( | qfixed | c1x, |
| qfixed | c1y, | ||
| qfixed | c2x, | ||
| qfixed | c2y, | ||
| qfixed | ex, | ||
| qfixed | ey, | ||
| void * | data | ||
| ) |
Definition at line 2500 of file qpainterpath.cpp.
References qt_fixed_to_real.
Referenced by QPainterPathStrokerPrivate::QPainterPathStrokerPrivate().
Here is the caller graph for this function:Definition at line 2495 of file qpainterpath.cpp.
References qt_fixed_to_real.
Referenced by QPainterPathStrokerPrivate::QPainterPathStrokerPrivate().
Here is the caller graph for this function:Definition at line 2490 of file qpainterpath.cpp.
References qt_fixed_to_real.
Referenced by QPainterPathStrokerPrivate::QPainterPathStrokerPrivate().
Here is the caller graph for this function:| QPainterPath qt_stroke_dash | ( | const QPainterPath & | path, |
| qreal * | dashes, | ||
| int | dashCount | ||
| ) |
Definition at line 2832 of file qpainterpath.cpp.
References d.
Referenced by QPainterPath::angleAtPercent(), and QPainterPath::slopeAtPercent().
Here is the caller graph for this function: