/external/fonttools/Lib/fontTools/misc/ |
D | bezierTools.py | 45 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/ |
D | cvpgh.cpp | 236 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/ |
D | checkboxtp.cpp | 470 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/ |
D | fde_rdv.h | 53 const CFX_PointF& pt4,
|
/external/pdfium/xfa/src/fdp/src/fde/ |
D | fde_gedevice.h | 44 const CFX_PointF& pt4,
|
D | fde_gdidevice.h | 59 const CFX_PointF& pt4,
|
D | fde_gdidevice.cpp | 245 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()
|
D | fde_gedevice.cpp | 230 const CFX_PointF& pt4, in DrawBezier() argument 236 points.Add(pt4); in DrawBezier()
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
D | PWL_Utils.cpp | 196 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/ |
D | bezier.c | 191 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/ |
D | CanvasTest.cpp | 151 SkPoint pt4 = { SkIntToScalar(1), SK_ScalarNearlyZero/2 }; in TestNearlyZeroLengthPath() local 155 path.lineTo(pt4); in TestNearlyZeroLengthPath()
|
/external/chromium-trace/catapult/tracing/test_data/ |
D | ddms_calculator_start.trace | 69118 �T�pt4�i� 112637 ���pt4�x
|