/dports/graphics/dia/dia-0.97.3/lib/ |
H A D | dia_svg.c | 102 int r = 0, g = 0, b = 0; in _parse_color() local 139 dia_svg_parse_style(xmlNodePtr node, DiaSvgStyle *s, real user_scale) in dia_svg_parse_style() 360 BezPoint bez; in _path_arc_segment() local 364 real t; in _path_arc_segment() local 528 BezPoint bez = { 0, }; in dia_svg_parse_path() local
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/2geom/src/2geom/ |
H A D | elliptical-arc.cpp | 195 double s = 2 * std::atan(-c/(2*b)); in roots() local 205 double s = 2 * std::atan(-b/a); in roots() local 296 Coord EllipticalArc::valueAt(Coord t, Dim2 d) const in valueAt() 385 Point r = p - center(); in allNearestTimes() local 455 double s = std::sqrt(sq); in allNearestTimes() local 499 double t = timeAtAngle(real_sol[mi1]); in allNearestTimes() local 572 Coord &t = is_first ? i->first : i->second; in _filterIntersections() local 602 BezierCurve const *bez = dynamic_cast<BezierCurve const *>(&other); in intersect() local 655 Point r = rays(); in _updateCenterAndAngles() local 737 void EllipticalArc::operator*=(Scale const &s) in operator *=() [all …]
|
/dports/math/lib2geom/lib2geom-1.1/src/2geom/ |
H A D | elliptical-arc.cpp | 195 double s = 2 * std::atan(-c/(2*b)); in roots() local 205 double s = 2 * std::atan(-b/a); in roots() local 296 Coord EllipticalArc::valueAt(Coord t, Dim2 d) const in valueAt() 385 Point r = p - center(); in allNearestTimes() local 455 double s = std::sqrt(sq); in allNearestTimes() local 499 double t = timeAtAngle(real_sol[mi1]); in allNearestTimes() local 572 Coord &t = is_first ? i->first : i->second; in _filterIntersections() local 602 BezierCurve const *bez = dynamic_cast<BezierCurve const *>(&other); in intersect() local 655 Point r = rays(); in _updateCenterAndAngles() local 737 void EllipticalArc::operator*=(Scale const &s) in operator *=() [all …]
|
/dports/graphics/ipe/ipe-7.2.23/src/ipelib/ |
H A D | ipegeo.cpp | 503 double t = determinant(); in inverse() local 533 double t = determinant(); in inverse() local 580 Vector r = tt * iV[2] + t * iV[3]; in tangent() local 625 Bezier l, r; in approximate() local 786 Vector r = thirdpoint(p1, p0); // [1, 2, 2] in closedSpline() local 826 std::vector<Bezier> &bez; member 869 BezierContext::BezierContext(const Vector &pos, std::vector<Bezier> &bez) : in BezierContext() 1009 Bezier l, r; in snap() local 1105 gsl_min_fminimizer *s = gsl_min_fminimizer_alloc(T); in nearbyBezierLineIntersection() local 1151 gsl_min_fminimizer *s = gsl_min_fminimizer_alloc(T); in nearbyBezierEllipseIntersection() local [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/painting/ |
H A D | qpainterpath.cpp | 119 qreal t = theta / 90; in qt_find_ellipse_coords() local 981 void QPainterPath::addRect(const QRectF &r) in addRect() 1315 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1355 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1385 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2348 QDataStream &operator<<(QDataStream &s, const QPainterPath &p) in operator <<() 2375 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 2964 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 2996 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3039 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/devel/qt5-testlib/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/databases/qt5-sqldrivers-ibase/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/databases/qt5-sqldrivers-odbc/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/databases/qt5-sqldrivers-mysql/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/databases/qt5-sqldrivers-pgsql/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/net/qt5-network/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/textproc/qt5-xml/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/x11-toolkits/qt5-widgets/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/x11-toolkits/qt5-gui/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/devel/qt5-qmake/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/devel/qt5-dbus/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/devel/qt5-concurrent/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/devel/qt5-buildtools/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/print/qt5-printsupport/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/graphics/qt5-opengl/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpainterpath.cpp | 87 static bool hasValidCoords(QRectF r) in hasValidCoords() 135 qreal t = theta / 90; in qt_find_ellipse_coords() local 1086 void QPainterPath::addRect(const QRectF &r) in addRect() 1412 #define QT_BEZIER_CHECK_T(bezier, t) \ argument 1452 qreal t = -cx / bx; in qt_painterpath_bezier_extrema() local 1482 qreal t = -cy / by; in qt_painterpath_bezier_extrema() local 2526 QDataStream &operator>>(QDataStream &s, QPainterPath &p) in operator >>() 3143 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in angleAtPercent() local 3172 QBezier bez = bezierAtT(*this, t, &curLen, &bezierLen); in slopeAtPercent() local 3214 QRectF r = rect.normalized(); in addRoundedRect() local [all …]
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/share/extensions/ |
H A D | gcodetools.py | 461 def csp_split(sp1, sp2, t=.5): argument 737 def csp_at_t(sp1, sp2, t): argument 876 def arc_from_s_r_n_l(s, r, n, l): argument 882 def arc_from_c_s_l(c, s, l): argument 1159 def csp_concat_subpaths(*s): 1312 def bez_bound(bez): argument 1325 def tpoint(xy1, xy2, t): argument 1331 def bez_split(a, t=0.5): argument 1640 def offset(self, r): argument 1716 def csp_offset(csp, r): argument [all …]
|