/external/fonttools/Lib/fontTools/misc/ |
D | bezierTools.py | 24 def calcQuadraticBounds(pt1, pt2, pt3): argument 33 (ax, ay), (bx, by), (cx, cy) = calcQuadraticParameters(pt1, pt2, pt3) 41 points = [(ax*t*t + bx*t + cx, ay*t*t + by*t + cy) for t in roots if 0 <= t < 1] + [pt1, pt3] 45 def calcCubicBounds(pt1, pt2, pt3, pt4): argument 56 (ax, ay), (bx, by), (cx, cy), (dx, dy) = calcCubicParameters(pt1, pt2, pt3, pt4) 109 def splitQuadratic(pt1, pt2, pt3, where, isHorizontal): argument 132 a, b, c = calcQuadraticParameters(pt1, pt2, pt3) 137 return [(pt1, pt2, pt3)] 141 def splitCubic(pt1, pt2, pt3, pt4, where, isHorizontal): argument 156 a, b, c, d = calcCubicParameters(pt1, pt2, pt3, pt4) [all …]
|
/external/fonttools/Lib/fontTools/pens/ |
D | basePen.py | 164 def _curveToOne(self, pt1, pt2, pt3): argument 245 for pt1, pt2, pt3 in decomposeSuperBezierSegment(points): 246 _curveToOne(pt1, pt2, pt3) 247 self.__currentPoint = pt3 297 pt1, pt2, pt3 = points[0], None, None 310 pt3 = (0.5 * (pt2[0] + temp[0]), 312 bezierSegments.append((pt1, pt2, pt3)) 313 pt1, pt2, pt3 = temp, None, None
|
/external/pdfium/xfa/fwl/theme/ |
D | cfwl_checkboxtp.cpp | 227 CFX_PointF pt3(fWidth / 3.0f, fBottom); in InitCheckPath() local 249 p2 = ScaleBezierPoint(pt32 - pt3); in InitCheckPath() 250 m_pCheckPath->BezierTo(pt2 + p1, pt3 + p2, pt3); in InitCheckPath() 252 p1 = ScaleBezierPoint(pt34 - pt3); in InitCheckPath() 254 m_pCheckPath->BezierTo(pt3 + p1, pt4 + p2, pt4); in InitCheckPath()
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_renderer.c | 205 float pt0[2], pt1[2], pt2[2], pt3[2]; in add_vertex_data1() local 213 pt3[0] = srcX; in add_vertex_data1() 214 pt3[1] = (srcY + height); in add_vertex_data1() 220 map_point((float *)src_matrix, pt3[0], pt3[1], &pt3[0], &pt3[1]); in add_vertex_data1() 226 s3 = pt3[0] / src->width0; in add_vertex_data1() 230 t3 = pt3[1] / src->height0; in add_vertex_data1()
|
/external/skia/tests/ |
D | PathOpsConicIntersectionTest.cpp | 322 for (int pt3 = 0; pt3 < intersections.used(); ++pt3) { in oneOff() local 323 tt1 = intersections[0][pt3]; in oneOff() 325 tt2 = intersections[1][pt3]; in oneOff() 327 const SkDPoint& iPt = intersections.pt(pt3); in oneOff()
|
D | PathOpsCubicIntersectionTest.cpp | 420 for (int pt3 = 0; pt3 < intersections.used(); ++pt3) { in oneOff() local 421 tt1 = intersections[0][pt3]; in oneOff() 423 tt2 = intersections[1][pt3]; in oneOff() 425 const SkDPoint& iPt = intersections.pt(pt3); in oneOff()
|
D | CanvasTest.cpp | 258 SkPoint pt3 = { SkIntToScalar(1), 0 }; in TestNearlyZeroLengthPath() local 262 path.lineTo(pt3); in TestNearlyZeroLengthPath()
|
/external/skqp/tests/ |
D | PathOpsConicIntersectionTest.cpp | 322 for (int pt3 = 0; pt3 < intersections.used(); ++pt3) { in oneOff() local 323 tt1 = intersections[0][pt3]; in oneOff() 325 tt2 = intersections[1][pt3]; in oneOff() 327 const SkDPoint& iPt = intersections.pt(pt3); in oneOff()
|
D | PathOpsCubicIntersectionTest.cpp | 419 for (int pt3 = 0; pt3 < intersections.used(); ++pt3) { in oneOff() local 420 tt1 = intersections[0][pt3]; in oneOff() 422 tt2 = intersections[1][pt3]; in oneOff() 424 const SkDPoint& iPt = intersections.pt(pt3); in oneOff()
|
D | CanvasTest.cpp | 258 SkPoint pt3 = { SkIntToScalar(1), 0 }; in TestNearlyZeroLengthPath() local 262 path.lineTo(pt3); in TestNearlyZeroLengthPath()
|
/external/skia/src/pathops/ |
D | SkPathWriter.cpp | 42 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3) { in cubicTo() argument 43 this->update(pt3); in cubicTo() 46 pt1.fX, pt1.fY, pt2.fX, pt2.fY, pt3->fPt.fX, pt3->fPt.fY); in cubicTo() 48 fCurrent.cubicTo(pt1, pt2, pt3->fPt); in cubicTo()
|
D | SkPathWriter.h | 25 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3);
|
/external/skqp/src/pathops/ |
D | SkPathWriter.cpp | 42 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3) { in cubicTo() argument 43 this->update(pt3); in cubicTo() 46 pt1.fX, pt1.fY, pt2.fX, pt2.fY, pt3->fPt.fX, pt3->fPt.fY); in cubicTo() 48 fCurrent.cubicTo(pt1, pt2, pt3->fPt); in cubicTo()
|
D | SkPathWriter.h | 25 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3);
|
/external/pdfium/fpdfsdk/pwl/ |
D | cpwl_appstream.cpp | 188 CFX_PointF pt3(crBBox.right, crBBox.bottom + fHeight / 2); in GetAP_Circle() local 200 px = pt3.x - pt2.x; in GetAP_Circle() 201 py = pt2.y - pt3.y; in GetAP_Circle() 203 csAP << pt2.x + px * FX_BEZIER << " " << pt2.y << " " << pt3.x << " " in GetAP_Circle() 204 << pt3.y + py * FX_BEZIER << " " << pt3.x << " " << pt3.y << " " in GetAP_Circle() 207 px = pt3.x - pt4.x; in GetAP_Circle() 208 py = pt3.y - pt4.y; in GetAP_Circle() 210 csAP << pt3.x << " " << pt3.y - py * FX_BEZIER << " " in GetAP_Circle() 244 CFX_PointF pt3(crBBox.right, crBBox.bottom + fHeight / 2); in GetAP_Diamond() local 249 csAP << pt3.x << " " << pt3.y << " " << kLineToOperator << "\n"; in GetAP_Diamond() [all …]
|
D | cpwl_scroll_bar.cpp | 155 CFX_PointF pt3; in DrawThisAppearance() local 163 pt3 = CFX_PointF(ptCenter.x + kScrollBarTriangleQuarterLength, in DrawThisAppearance() 170 pt3 = CFX_PointF(ptCenter.x - kScrollBarTriangleQuarterLength, in DrawThisAppearance() 179 path.AppendPoint(pt3, FXPT_TYPE::LineTo, false); in DrawThisAppearance()
|
D | cpwl_combo_box.cpp | 114 CFX_PointF pt3(ptCenter.x, ptCenter.y - kComboBoxTriangleQuarterLength); in DrawThisAppearance() local 123 path.AppendPoint(pt3, FXPT_TYPE::LineTo, false); in DrawThisAppearance()
|
/external/freetype/src/psaux/ |
D | psglue.h | 107 FT_Vector pt3; member
|
D | psft.c | 243 params->pt3.x, in cf2_builder_cubeTo() 244 params->pt3.y, 1 ); in cf2_builder_cubeTo()
|
/external/skqp/src/core/ |
D | SkStroke.cpp | 1236 const SkPoint& pt3) { in cubicTo() argument 1237 const SkPoint cubic[4] = { fPrevPt, pt1, pt2, pt3 }; in cubicTo() 1245 this->lineTo(pt3); in cubicTo() 1249 this->lineTo(pt3); in cubicTo() 1262 this->lineTo(pt3); in cubicTo() 1269 this->lineTo(pt3); in cubicTo() 1288 this->postJoinTo(pt3, normalCD, unitCD); in cubicTo()
|
/external/skia/src/core/ |
D | SkStroke.cpp | 1237 const SkPoint& pt3) { in cubicTo() argument 1238 const SkPoint cubic[4] = { fPrevPt, pt1, pt2, pt3 }; in cubicTo() 1246 this->lineTo(pt3); in cubicTo() 1250 this->lineTo(pt3); in cubicTo() 1263 this->lineTo(pt3); in cubicTo() 1270 this->lineTo(pt3); in cubicTo() 1289 this->postJoinTo(pt3, normalCD, unitCD); in cubicTo()
|
/external/skqp/gm/ |
D | beziereffects.cpp | 275 SkPoint3 pt3 = {verts[v].fPosition.x(), verts[v].fPosition.y(), 1.f}; in onPrepareDraws() local 276 fKLM.mapHomogeneousPoints((SkPoint3* ) verts[v].fKLM, &pt3, 1); in onPrepareDraws()
|
/external/skia/gm/ |
D | beziereffects.cpp | 275 SkPoint3 pt3 = {verts[v].fPosition.x(), verts[v].fPosition.y(), 1.f}; in onPrepareDraws() local 276 fKLM.mapHomogeneousPoints((SkPoint3* ) verts[v].fKLM, &pt3, 1); in onPrepareDraws()
|
/external/skqp/src/gpu/ops/ |
D | GrAAHairLinePathRenderer.cpp | 605 const SkPoint3 pt3 = {verts[i].fPos.x(), verts[i].fPos.y(), 1.f}; in set_conic_coeffs() local 606 klm.mapHomogeneousPoints((SkPoint3* ) verts[i].fConic.fKLM, &pt3, 1); in set_conic_coeffs()
|
/external/deqp/modules/gles31/functional/ |
D | es31fMultisampleTests.cpp | 603 const Vec2 pt3 ( 1.0f, 1.0f); in iterate() local 619 renderQuad(pt0, pt1, pt2, pt3, quadColor); in iterate()
|