Home
last modified time | relevance | path

Searched refs:pt4 (Results 1 – 12 of 12) sorted by relevance

/external/fonttools/Lib/fontTools/misc/
DbezierTools.py45 def calcCubicBounds(pt1, pt2, pt3, pt4): argument
56 (ax, ay), (bx, by), (cx, cy), (dx, dy) = calcCubicParameters(pt1, pt2, pt3, pt4)
66 … = [(ax*t*t*t + bx*t*t + cx * t + dx, ay*t*t*t + by*t*t + cy * t + dy) for t in roots] + [pt1, pt4]
141 def splitCubic(pt1, pt2, pt3, pt4, where, isHorizontal): argument
156 a, b, c, d = calcCubicParameters(pt1, pt2, pt3, pt4)
161 return [(pt1, pt2, pt3, pt4)]
181 def splitCubicAtT(pt1, pt2, pt3, pt4, *ts): argument
193 a, b, c, d = calcCubicParameters(pt1, pt2, pt3, pt4)
244 pt1, pt2, pt3, pt4 = calcCubicPoints((a1x, a1y), (b1x, b1y), (c1x, c1y), (d1x, d1y))
245 segments.append((pt1, pt2, pt3, pt4))
[all …]
/external/opencv/cv/src/
Dcvpgh.cpp236 CvPoint pt3, pt4; in icvCalcPGH() local
238 CV_READ_EDGE( pt3, pt4, reader2 ); in icvCalcPGH()
243 int d2 = (pt4.y - pt1.y) * dx - (pt2.x - pt1.x) * dy; in icvCalcPGH()
249 int dp = (pt4.x - pt3.x) * dx + (pt4.y - pt3.y) * dy; in icvCalcPGH()
/external/pdfium/xfa/src/fwl/src/theme/
Dcheckboxtp.cpp470 CFX_PointF pt4; in initCheckPath() local
471 pt4.Set(fWidth * 14 / 15.0f, fBottom + fHeight * 15 / 16.0f); in initCheckPath()
513 px2 = pt43.x - pt4.x; in initCheckPath()
514 py2 = pt43.y - pt4.y; in initCheckPath()
517 pt4.x + px2 * FWLTHEME_BEZIER, in initCheckPath()
518 pt4.y + py2 * FWLTHEME_BEZIER, pt4.x, pt4.y); in initCheckPath()
519 px1 = pt45.x - pt4.x; in initCheckPath()
520 py1 = pt45.y - pt4.y; in initCheckPath()
523 m_pCheckPath->BezierTo(pt4.x + px1 * FWLTHEME_BEZIER, in initCheckPath()
524 pt4.y + py1 * FWLTHEME_BEZIER, in initCheckPath()
/external/pdfium/xfa/src/fdp/include/
Dfde_rdv.h53 const CFX_PointF& pt4,
/external/pdfium/xfa/src/fdp/src/fde/
Dfde_gedevice.h44 const CFX_PointF& pt4,
Dfde_gdidevice.cpp245 const CFX_PointF& pt4, in DrawBezier() argument
253 pGdiPen, pt1.x, pt1.y, pt2.x, pt2.y, pt3.x, pt3.y, pt4.x, pt4.y); in DrawBezier()
Dfde_gdidevice.h59 const CFX_PointF& pt4,
Dfde_gedevice.cpp230 const CFX_PointF& pt4, in DrawBezier() argument
236 points.Add(pt4); in DrawBezier()
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_Utils.cpp196 CPDF_Point pt4(crBBox.left + fWidth / 2, crBBox.bottom); in GetAP_Circle() local
213 px = pt3.x - pt4.x; in GetAP_Circle()
214 py = pt3.y - pt4.y; in GetAP_Circle()
217 << pt4.x + px * PWL_BEZIER << " " << pt4.y << " " << pt4.x << " " in GetAP_Circle()
218 << pt4.y << " c\n"; in GetAP_Circle()
220 px = pt4.x - pt1.x; in GetAP_Circle()
221 py = pt1.y - pt4.y; in GetAP_Circle()
223 csAP << pt4.x - px * PWL_BEZIER << " " << pt4.y << " " << pt1.x << " " in GetAP_Circle()
249 CPDF_Point pt4(crBBox.left + fWidth / 2, crBBox.bottom); in GetAP_Diamond() local
254 csAP << pt4.x << " " << pt4.y << " l\n"; in GetAP_Diamond()
/external/mesa3d/src/gallium/state_trackers/vega/
Dbezier.c191 float *pt4) in bezier_init2v() argument
202 bez->x4 = pt4[0]; in bezier_init2v()
203 bez->y4 = pt4[1]; in bezier_init2v()
/external/skia/tests/
DCanvasTest.cpp151 SkPoint pt4 = { SkIntToScalar(1), SK_ScalarNearlyZero/2 }; in TestNearlyZeroLengthPath() local
155 path.lineTo(pt4); in TestNearlyZeroLengthPath()
/external/chromium-trace/catapult/tracing/test_data/
Dddms_calculator_start.trace69118 �T�pt4��i��
112637 ���pt4��x