/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) 45 def calcCubicBounds(pt1, pt2, pt3, pt4): argument 56 (ax, ay), (bx, by), (cx, cy), (dx, dy) = calcCubicParameters(pt1, pt2, pt3, pt4) 70 def splitLine(pt1, pt2, where, isHorizontal): argument 90 pt2x, pt2y = pt2 99 return [(pt1, pt2)] 104 return [(pt1, midPt), (midPt, pt2)] 106 return [(pt1, pt2)] 109 def splitQuadratic(pt1, pt2, pt3, where, isHorizontal): argument [all …]
|
/external/fonttools/Lib/fontTools/pens/ |
D | basePen.py | 164 def _curveToOne(self, pt1, pt2, pt3): argument 175 def _qCurveToOne(self, pt1, pt2): argument 182 pt2x, pt2y = pt2 187 self._curveToOne((mid1x, mid1y), (mid2x, mid2y), pt2) 245 for pt1, pt2, pt3 in decomposeSuperBezierSegment(points): 246 _curveToOne(pt1, pt2, pt3) 277 for pt1, pt2 in decomposeQuadraticSegment(points): 278 _qCurveToOne(pt1, pt2) 279 self.__currentPoint = pt2 297 pt1, pt2, pt3 = points[0], None, None [all …]
|
/external/skia/docs/ |
D | SkIPoint16_Reference.bmh | 57 SkIPoint16 pt2 = SkIPoint16::Make(45, 66); 58 SkDebugf("pt1.fX %c= pt2.fX\n", pt1.fX == pt2.fX ? '=' : '!'); 59 SkDebugf("pt1.fY %c= pt2.fY\n", pt1.fY == pt2.fY ? '=' : '!'); 61 pt1.fX == pt2.fX 62 pt1.fY == pt2.fY 134 SkIPoint16 pt1, pt2 = { SK_MinS16, SK_MaxS16 }; 136 SkDebugf("pt1.fX %c= pt2.fX\n", pt1.fX == pt2.fX ? '=' : '!'); 137 SkDebugf("pt1.fY %c= pt2.fY\n", pt1.fY == pt2.fY ? '=' : '!'); 139 pt1.fX == pt2.fX 140 pt1.fY == pt2.fY
|
D | SkIPoint_Reference.bmh | 57 SkIPoint pt2 = SkIPoint::Make(45, 66); 58 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); 60 pt1 == pt2 152 SkIPoint pt1, pt2 = { SK_MinS32, SK_MaxS32 }; 154 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); 156 pt1 == pt2
|
/external/skqp/docs/ |
D | SkIPoint16_Reference.bmh | 52 SkIPoint16 pt2 = SkIPoint16::Make(45, 66); 53 SkDebugf("pt1.fX %c= pt2.fX\n", pt1.fX == pt2.fX ? '=' : '!'); 54 SkDebugf("pt1.fY %c= pt2.fY\n", pt1.fY == pt2.fY ? '=' : '!'); 56 pt1.fX == pt2.fX 57 pt1.fY == pt2.fY 118 SkIPoint16 pt1, pt2 = { SK_MinS16, SK_MaxS16 }; 120 SkDebugf("pt1.fX %c= pt2.fX\n", pt1.fX == pt2.fX ? '=' : '!'); 121 SkDebugf("pt1.fY %c= pt2.fY\n", pt1.fY == pt2.fY ? '=' : '!'); 123 pt1.fX == pt2.fX 124 pt1.fY == pt2.fY
|
D | SkIPoint_Reference.bmh | 56 SkIPoint pt2 = SkIPoint::Make(45, 66); 57 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); 59 pt1 == pt2 141 SkIPoint pt1, pt2 = { SK_MinS32, SK_MaxS32 }; 143 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); 145 pt1 == pt2
|
/external/skia/src/pathops/ |
D | SkPathWriter.cpp | 33 void SkPathWriter::conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight) { in conicTo() argument 34 this->update(pt2); in conicTo() 37 pt1.fX, pt1.fY, pt2->fPt.fX, pt2->fPt.fY, weight); in conicTo() 39 fCurrent.conicTo(pt1, pt2->fPt, weight); in conicTo() 42 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3) { in cubicTo() argument 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() 145 void SkPathWriter::quadTo(const SkPoint& pt1, const SkOpPtT* pt2) { in quadTo() argument 146 this->update(pt2); in quadTo() 149 pt1.fX, pt1.fY, pt2->fPt.fX, pt2->fPt.fY); in quadTo() [all …]
|
D | SkPathWriter.h | 24 void conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight); 25 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3); 33 void quadTo(const SkPoint& pt1, const SkOpPtT* pt2);
|
D | SkIntersections.cpp | 98 void SkIntersections::insertNear(double one, double two, const SkDPoint& pt1, const SkDPoint& pt2) { in insertNear() argument 101 SkASSERT(pt1 != pt2); in insertNear() 104 fPt2[one ? 1 : 0] = pt2; in insertNear()
|
/external/skqp/src/pathops/ |
D | SkPathWriter.cpp | 33 void SkPathWriter::conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight) { in conicTo() argument 34 this->update(pt2); in conicTo() 37 pt1.fX, pt1.fY, pt2->fPt.fX, pt2->fPt.fY, weight); in conicTo() 39 fCurrent.conicTo(pt1, pt2->fPt, weight); in conicTo() 42 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3) { in cubicTo() argument 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() 145 void SkPathWriter::quadTo(const SkPoint& pt1, const SkOpPtT* pt2) { in quadTo() argument 146 this->update(pt2); in quadTo() 149 pt1.fX, pt1.fY, pt2->fPt.fX, pt2->fPt.fY); in quadTo() [all …]
|
D | SkPathWriter.h | 24 void conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight); 25 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3); 33 void quadTo(const SkPoint& pt1, const SkOpPtT* pt2);
|
D | SkIntersections.cpp | 98 void SkIntersections::insertNear(double one, double two, const SkDPoint& pt1, const SkDPoint& pt2) { in insertNear() argument 101 SkASSERT(pt1 != pt2); in insertNear() 104 fPt2[one ? 1 : 0] = pt2; in insertNear()
|
/external/valgrind/drd/tests/ |
D | pth_cleanup_handler.c | 39 pthread_t pt1, pt2; in main() local 54 if (pthread_create(&pt2, NULL, f, NULL) != 0) in main() 61 pthread_join(pt2, 0); in main()
|
/external/pdfium/xfa/fwl/theme/ |
D | cfwl_checkboxtp.cpp | 226 CFX_PointF pt2(fWidth / 4.5f, fBottom + fHeight / 16.0f); in InitCheckPath() local 245 CFX_PointF p2 = ScaleBezierPoint(pt21 - pt2); in InitCheckPath() 246 m_pCheckPath->BezierTo(pt1 + p1, pt2 + p2, pt2); in InitCheckPath() 248 p1 = ScaleBezierPoint(pt23 - pt2); in InitCheckPath() 250 m_pCheckPath->BezierTo(pt2 + p1, pt3 + p2, pt3); 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 211 pt2[0] = (srcX + width); in add_vertex_data1() 212 pt2[1] = (srcY + height); in add_vertex_data1() 219 map_point((float *)src_matrix, pt2[0], pt2[1], &pt2[0], &pt2[1]); in add_vertex_data1() 225 s2 = pt2[0] / src->width0; in add_vertex_data1() 229 t2 = pt2[1] / src->height0; in add_vertex_data1()
|
/external/pdfium/fpdfsdk/pwl/ |
D | cpwl_appstream.cpp | 187 CFX_PointF pt2(crBBox.left + fWidth / 2, crBBox.top); in GetAP_Circle() local 193 float px = pt2.x - pt1.x; in GetAP_Circle() 194 float py = pt2.y - pt1.y; in GetAP_Circle() 197 << pt2.x - px * FX_BEZIER << " " << pt2.y << " " << pt2.x << " " << pt2.y in GetAP_Circle() 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() 243 CFX_PointF pt2(crBBox.left + fWidth / 2, crBBox.top); in GetAP_Diamond() local 248 csAP << pt2.x << " " << pt2.y << " " << kLineToOperator << "\n"; in GetAP_Diamond() 305 CFX_PointF pt2(0, fHeight / 2); in GetAP_HalfCircle() local [all …]
|
/external/dng_sdk/source/ |
D | dng_rect.h | 243 const dng_point_real64 &pt2) in dng_rect_real64() argument 244 : t (Min_real64 (pt1.v, pt2.v)) in dng_rect_real64() 245 , l (Min_real64 (pt1.h, pt2.h)) in dng_rect_real64() 246 , b (Max_real64 (pt1.v, pt2.v)) in dng_rect_real64() 247 , r (Max_real64 (pt1.h, pt2.h)) in dng_rect_real64()
|
D | dng_bad_pixels.cpp | 395 const dng_point &pt2 = Point (j); in IsPointIsolated() local 397 if (pt2.v < pt.v - (int32) radius) in IsPointIsolated() 402 if (Abs_int32 (pt2.h - pt.h) <= radius) in IsPointIsolated() 414 const dng_point &pt2 = Point (k); in IsPointIsolated() local 416 if (pt2.v > pt.v + (int32) radius) in IsPointIsolated() 421 if (Abs_int32 (pt2.h - pt.h) <= radius) in IsPointIsolated() 510 const dng_point &pt2 = Point (j); in IsPointValid() local 512 if (pt2.v < pt.v) in IsPointValid() 517 if (pt2 == pt) in IsPointValid() 529 const dng_point &pt2 = Point (k); in IsPointValid() local [all …]
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_textlayout.cpp | 1165 CFX_PointF pt1, pt2; in RenderPath() local 1171 pt2.x = in RenderPath() 1173 pt1.y = pt2.y = fEndY; in RenderPath() 1174 path.AppendLine(pt1, pt2); in RenderPath() 1180 pt2.x = in RenderPath() 1184 pt1.y = pt2.y = fEndY; in RenderPath() 1185 path.AppendLine(pt1, pt2); in RenderPath() 1191 pt2.x = pCharPos[iChars - 1].m_Origin.x + in RenderPath() 1194 pt1.y = pt2.y = fEndY; in RenderPath() 1195 path.AppendLine(pt1, pt2); in RenderPath() [all …]
|
/external/skqp/site/user/api/ |
D | SkIPoint16_Reference.md | 79 pt1.fX == pt2.fX 80 pt1.fY == pt2.fY 178 pt1.fX == pt2.fX 179 pt1.fY == pt2.fY
|
/external/skqp/src/core/ |
D | SkStroke.cpp | 683 void SkPathStroker::conicTo(const SkPoint& pt1, const SkPoint& pt2, SkScalar weight) { in conicTo() argument 684 const SkConic conic(fPrevPt, pt1, pt2, weight); in conicTo() 691 this->lineTo(pt2); in conicTo() 695 this->lineTo(pt2); in conicTo() 702 this->lineTo(pt2); in conicTo() 709 this->lineTo(pt2); in conicTo() 718 this->postJoinTo(pt2, normalBC, unitBC); in conicTo() 721 void SkPathStroker::quadTo(const SkPoint& pt1, const SkPoint& pt2) { in quadTo() argument 722 const SkPoint quad[3] = { fPrevPt, pt1, pt2 }; in quadTo() 729 this->lineTo(pt2); in quadTo() [all …]
|
/external/skia/src/core/ |
D | SkStroke.cpp | 684 void SkPathStroker::conicTo(const SkPoint& pt1, const SkPoint& pt2, SkScalar weight) { in conicTo() argument 685 const SkConic conic(fPrevPt, pt1, pt2, weight); in conicTo() 692 this->lineTo(pt2); in conicTo() 696 this->lineTo(pt2); in conicTo() 703 this->lineTo(pt2); in conicTo() 710 this->lineTo(pt2); in conicTo() 719 this->postJoinTo(pt2, normalBC, unitBC); in conicTo() 722 void SkPathStroker::quadTo(const SkPoint& pt1, const SkPoint& pt2) { in quadTo() argument 723 const SkPoint quad[3] = { fPrevPt, pt1, pt2 }; in quadTo() 730 this->lineTo(pt2); in quadTo() [all …]
|
/external/skqp/tests/ |
D | PathOpsAngleIdeas.cpp | 255 static bool equalPoints(const SkDPoint& pt1, const SkDPoint& pt2, double max) { in equalPoints() argument 256 return approximately_zero_when_compared_to(pt1.fX - pt2.fX, max) in equalPoints() 257 && approximately_zero_when_compared_to(pt1.fY - pt2.fY, max); in equalPoints() 307 SkDPoint pt2 = quad2.ptAtT(tRange.t2); in bruteMinT() local 308 if (equalPoints(pt2, best2, maxQuads)) { in bruteMinT() 311 best2 = pt2; in bruteMinT() 362 SkDPoint pt2 = quad2.ptAtT(tRange.t2); in bruteMinT() local 367 if (equalPoints(pt2, best2, maxQuads)) { in bruteMinT() 370 best2 = pt2; in bruteMinT() 371 if (equalPoints(pt1, pt2, maxQuads)) { in bruteMinT()
|
/external/skia/tests/ |
D | PathOpsAngleIdeas.cpp | 255 static bool equalPoints(const SkDPoint& pt1, const SkDPoint& pt2, double max) { in equalPoints() argument 256 return approximately_zero_when_compared_to(pt1.fX - pt2.fX, max) in equalPoints() 257 && approximately_zero_when_compared_to(pt1.fY - pt2.fY, max); in equalPoints() 307 SkDPoint pt2 = quad2.ptAtT(tRange.t2); in bruteMinT() local 308 if (equalPoints(pt2, best2, maxQuads)) { in bruteMinT() 311 best2 = pt2; in bruteMinT() 362 SkDPoint pt2 = quad2.ptAtT(tRange.t2); in bruteMinT() local 367 if (equalPoints(pt2, best2, maxQuads)) { in bruteMinT() 370 best2 = pt2; in bruteMinT() 371 if (equalPoints(pt1, pt2, maxQuads)) { in bruteMinT()
|
/external/skia/site/user/api/ |
D | SkIPoint16_Reference.md | 87 pt1.fX == pt2.fX 88 pt1.fY == pt2.fY 199 pt1.fX == pt2.fX 200 pt1.fY == pt2.fY
|