Searched refs:pt4 (Results 1 – 6 of 6) sorted by relevance
/external/fonttools/Lib/fontTools/misc/ |
D | bezierTools.py | 32 def calcCubicArcLength(pt1, pt2, pt3, pt4, tolerance=0.005): argument 34 … return calcCubicArcLengthC(complex(*pt1), complex(*pt2), complex(*pt3), complex(*pt4), tolerance) 52 def calcCubicArcLengthC(pt1, pt2, pt3, pt4, tolerance=0.005): argument 55 return _calcCubicArcLengthCRecurse(mult, pt1, pt2, pt3, pt4) 169 def approximateCubicArcLength(pt1, pt2, pt3, pt4): argument 186 return approximateCubicArcLengthC(complex(*pt1), complex(*pt2), complex(*pt3), complex(*pt4)) 189 def approximateCubicArcLengthC(pt1, pt2, pt3, pt4): argument 205 …abs(-0.558983582205757*pt1 + 0.325650248872424*pt2 + 0.208983582205757*pt3 + 0.024349751127576*pt4) 206 v2 = abs(pt4-pt1+pt3-pt2)*0.26666666666666666 207 …abs(-0.024349751127576*pt1 - 0.208983582205757*pt2 - 0.325650248872424*pt3 + 0.558983582205757*pt4) [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-cff-interp-cs-common.hh | 771 Point pt4 = pt3; in hflex() local 772 pt4.move_x (env.eval_arg (4)); in hflex() 773 Point pt5 = pt4; in hflex() 779 curve2 (env, param, pt1, pt2, pt3, pt4, pt5, pt6); in hflex() 795 Point pt4 = pt3; in flex() local 796 pt4.move (env.eval_arg (6), env.eval_arg (7)); in flex() 797 Point pt5 = pt4; in flex() 802 curve2 (env, param, pt1, pt2, pt3, pt4, pt5, pt6); in flex() 818 Point pt4 = pt3; in hflex1() local 819 pt4.move_x (env.eval_arg (5)); in hflex1() [all …]
|
/external/pdfium/xfa/fwl/theme/ |
D | cfwl_checkboxtp.cpp | 228 CFX_PointF pt4(fWidth * 14 / 15.0f, fBottom + fHeight * 15 / 16.0f); in InitCheckPath() local 253 p2 = ScaleBezierPoint(pt43 - pt4); in InitCheckPath() 254 m_pCheckPath->BezierTo(pt3 + p1, pt4 + p2, pt4); in InitCheckPath() 256 p1 = ScaleBezierPoint(pt45 - pt4); in InitCheckPath() 258 m_pCheckPath->BezierTo(pt4 + p1, pt5 + p2, pt5); in InitCheckPath()
|
/external/pdfium/fpdfsdk/pwl/ |
D | cpwl_appstream.cpp | 189 CFX_PointF pt4(crBBox.left + fWidth / 2, crBBox.bottom); in GetAP_Circle() local 207 px = pt3.x - pt4.x; in GetAP_Circle() 208 py = pt3.y - pt4.y; in GetAP_Circle() 211 << pt4.x + px * FX_BEZIER << " " << pt4.y << " " << pt4.x << " " << pt4.y in GetAP_Circle() 214 px = pt4.x - pt1.x; in GetAP_Circle() 215 py = pt1.y - pt4.y; in GetAP_Circle() 217 csAP << pt4.x - px * FX_BEZIER << " " << pt4.y << " " << pt1.x << " " in GetAP_Circle() 245 CFX_PointF pt4(crBBox.left + fWidth / 2, crBBox.bottom); in GetAP_Diamond() local 250 csAP << pt4.x << " " << pt4.y << " " << kLineToOperator << "\n"; in GetAP_Diamond()
|
/external/skqp/tests/ |
D | CanvasTest.cpp | 284 SkPoint pt4 = { SkIntToScalar(1), SK_ScalarNearlyZero/2 }; in TestNearlyZeroLengthPath() local 288 path.lineTo(pt4); in TestNearlyZeroLengthPath()
|
/external/skia/tests/ |
D | CanvasTest.cpp | 284 SkPoint pt4 = { SkIntToScalar(1), SK_ScalarNearlyZero/2 }; in TestNearlyZeroLengthPath() local 288 path.lineTo(pt4); in TestNearlyZeroLengthPath()
|