/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/skia/experimental/Intersection/ |
D | CubicIntersection_Test.cpp | 230 int pt1, pt2, pt3; 250 for (pt3 = 0; pt3 < intersections3.used(); ++pt3) { 251 if (roughly_equal(tt1, intersections3.fT[0][pt3])) { 260 for (pt3 = 0; pt3 < intersections3.used(); ++pt3) { 262 double tt3 = intersections3.fT[0][pt3]; 272 tt1 = intersections3.fT[0][pt3]; 274 pt2 = intersections3.fFlip ? intersections3.used() - pt3 - 1 : pt3; 321 int pt2, pt3; in oneOff3() local 324 for (pt3 = 0; pt3 < intersections3.used(); ++pt3) { in oneOff3() 325 double tt3 = intersections3.fT[0][pt3]; in oneOff3() [all …]
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
D | CubicIntersection_Test.cpp | 230 int pt1, pt2, pt3; 250 for (pt3 = 0; pt3 < intersections3.used(); ++pt3) { 251 if (roughly_equal(tt1, intersections3.fT[0][pt3])) { 260 for (pt3 = 0; pt3 < intersections3.used(); ++pt3) { 262 double tt3 = intersections3.fT[0][pt3]; 272 tt1 = intersections3.fT[0][pt3]; 274 pt2 = intersections3.fFlip ? intersections3.used() - pt3 - 1 : pt3; 321 int pt2, pt3; in oneOff3() local 324 for (pt3 = 0; pt3 < intersections3.used(); ++pt3) { in oneOff3() 325 double tt3 = intersections3.fT[0][pt3]; in oneOff3() [all …]
|
/external/opencv/cv/src/ |
D | cvpgh.cpp | 236 CvPoint pt3, pt4; in icvCalcPGH() local 238 CV_READ_EDGE( pt3, pt4, reader2 ); in icvCalcPGH() 242 int d1 = (pt3.y - pt1.y) * dx - (pt3.x - pt1.x) * dy; in icvCalcPGH() 249 int dp = (pt4.x - pt3.x) * dx + (pt4.y - pt3.y) * dy; in icvCalcPGH()
|
/external/skia/src/pathops/ |
D | SkPathWriter.cpp | 38 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3) { in cubicTo() argument 41 && AlmostEqualUlps(pt2, pt3)) { in cubicTo() 42 deferredLine(pt3); in cubicTo() 46 fDefer[1] = pt3; in cubicTo()
|
D | SkPathWriter.h | 16 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3);
|
/external/chromium_org/third_party/skia/src/pathops/ |
D | SkPathWriter.cpp | 38 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3) { in cubicTo() argument 41 && AlmostEqualUlps(pt2, pt3)) { in cubicTo() 42 deferredLine(pt3); in cubicTo() 46 fDefer[1] = pt3; in cubicTo()
|
D | SkPathWriter.h | 16 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3);
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
D | PWL_ScrollBar.cpp | 186 CPDF_Point pt3(ptCenter.x + PWL_TRIANGLE_HALFLEN * 0.5f,ptCenter.y - PWL_TRIANGLE_HALFLEN); in GetThisAppearanceStream() local 194 sButton << pt3.x << " " << pt3.y << " l\n"; in GetThisAppearanceStream() 205 CPDF_Point pt3(ptCenter.x - PWL_TRIANGLE_HALFLEN * 0.5f,ptCenter.y - PWL_TRIANGLE_HALFLEN); in GetThisAppearanceStream() local 213 sButton << pt3.x << " " << pt3.y << " l\n"; in GetThisAppearanceStream() 231 CPDF_Point pt3(ptCenter.x,ptCenter.y + PWL_TRIANGLE_HALFLEN * 0.5f); in GetThisAppearanceStream() local 239 sButton << pt3.x << " " << pt3.y << " l\n"; in GetThisAppearanceStream() 250 CPDF_Point pt3(ptCenter.x,ptCenter.y - PWL_TRIANGLE_HALFLEN * 0.5f); in GetThisAppearanceStream() local 258 sButton << pt3.x << " " << pt3.y << " l\n"; in GetThisAppearanceStream() 296 CPDF_Point pt3(ptCenter.x + PWL_TRIANGLE_HALFLEN * 0.5f,ptCenter.y - PWL_TRIANGLE_HALFLEN); in DrawThisAppearance() local 306 path.SetPoint(2, pt3.x, pt3.y, FXPT_LINETO); in DrawThisAppearance() [all …]
|
D | PWL_ComboBox.cpp | 128 CPDF_Point pt3(ptCenter.x,ptCenter.y - PWL_CBBUTTON_TRIANGLE_HALFLEN * 0.5f); in GetThisAppearanceStream() local 138 sButton << pt3.x << " " << pt3.y << " l\n"; in GetThisAppearanceStream() 158 CPDF_Point pt3(ptCenter.x,ptCenter.y - PWL_CBBUTTON_TRIANGLE_HALFLEN * 0.5f); in DrawThisAppearance() local 170 path.SetPoint(2, pt3.x, pt3.y, FXPT_LINETO); in DrawThisAppearance()
|
D | PWL_Utils.cpp | 231 CPDF_Point pt3(crBBox.right,crBBox.bottom + fHeight / 2); in GetAP_Circle() local 243 px = pt3.x - pt2.x; in GetAP_Circle() 244 py = pt2.y - pt3.y; in GetAP_Circle() 247 << pt3.x << " " << pt3.y + py * PWL_BEZIER << " " in GetAP_Circle() 248 << pt3.x << " " << pt3.y << " c\n"; in GetAP_Circle() 250 px = pt3.x - pt4.x; in GetAP_Circle() 251 py = pt3.y - pt4.y; in GetAP_Circle() 253 csAP << pt3.x << " " << pt3.y - py * PWL_BEZIER << " " in GetAP_Circle() 288 CPDF_Point pt3(crBBox.right,crBBox.bottom + fHeight / 2); in GetAP_Diamond() local 293 csAP << pt3.x << " " << pt3.y << " l\n"; in GetAP_Diamond() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
D | xorg_renderer.c | 145 float pt0[2], pt1[2], pt2[2], pt3[2]; in add_vertex_data1() local 153 pt3[0] = srcX; in add_vertex_data1() 154 pt3[1] = (srcY + height); in add_vertex_data1() 160 map_point(src_matrix, pt3[0], pt3[1], &pt3[0], &pt3[1]); in add_vertex_data1() 166 s3 = pt3[0] / src->width0; in add_vertex_data1() 170 t3 = pt3[1] / src->height0; in add_vertex_data1()
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
D | xorg_renderer.c | 145 float pt0[2], pt1[2], pt2[2], pt3[2]; in add_vertex_data1() local 153 pt3[0] = srcX; in add_vertex_data1() 154 pt3[1] = (srcY + height); in add_vertex_data1() 160 map_point(src_matrix, pt3[0], pt3[1], &pt3[0], &pt3[1]); in add_vertex_data1() 166 s3 = pt3[0] / src->width0; in add_vertex_data1() 170 t3 = pt3[1] / src->height0; in add_vertex_data1()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
D | xa_renderer.c | 192 float pt0[2], pt1[2], pt2[2], pt3[2]; in add_vertex_data1() local 200 pt3[0] = srcX; in add_vertex_data1() 201 pt3[1] = (srcY + height); in add_vertex_data1() 207 map_point((float *)src_matrix, pt3[0], pt3[1], &pt3[0], &pt3[1]); in add_vertex_data1() 213 s3 = pt3[0] / src->width0; in add_vertex_data1() 217 t3 = pt3[1] / src->height0; in add_vertex_data1()
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_renderer.c | 192 float pt0[2], pt1[2], pt2[2], pt3[2]; in add_vertex_data1() local 200 pt3[0] = srcX; in add_vertex_data1() 201 pt3[1] = (srcY + height); in add_vertex_data1() 207 map_point((float *)src_matrix, pt3[0], pt3[1], &pt3[0], &pt3[1]); in add_vertex_data1() 213 s3 = pt3[0] / src->width0; in add_vertex_data1() 217 t3 = pt3[1] / src->height0; in add_vertex_data1()
|
/external/skia/tests/ |
D | PathOpsCubicIntersectionTest.cpp | 348 for (int pt3 = 0; pt3 < intersections.used(); ++pt3) { in oneOff() local 349 tt1 = intersections[0][pt3]; in oneOff() 351 tt2 = intersections[1][pt3]; in oneOff() 353 const SkDPoint& iPt = intersections.pt(pt3); in oneOff()
|
/external/chromium_org/third_party/skia/tests/ |
D | PathOpsCubicIntersectionTest.cpp | 348 for (int pt3 = 0; pt3 < intersections.used(); ++pt3) { in oneOff() local 349 tt1 = intersections[0][pt3]; in oneOff() 351 tt2 = intersections[1][pt3]; in oneOff() 353 const SkDPoint& iPt = intersections.pt(pt3); in oneOff()
|
/external/freetype/src/cff/ |
D | cf2glue.h | 107 FT_Vector pt3; member
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/ |
D | cf2glue.h | 107 FT_Vector pt3; member
|
/external/chromium_org/third_party/freetype/src/cff/ |
D | cf2glue.h | 107 FT_Vector pt3; member
|
/external/skia/src/core/ |
D | SkStroke.cpp | 422 const SkPoint& pt3) { in cubicTo() argument 425 bool degenerateCD = SkPath::IsLineDegenerate(pt2, pt3); in cubicTo() 428 this->lineTo(pt3); in cubicTo() 451 pts[3] = pt3; in cubicTo() 468 this->postJoinTo(pt3, normalCD, unitCD); in cubicTo()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkStroke.cpp | 422 const SkPoint& pt3) { in cubicTo() argument 425 bool degenerateCD = SkPath::IsLineDegenerate(pt2, pt3); in cubicTo() 429 this->lineTo(pt3); in cubicTo() 452 pts[3] = pt3; in cubicTo() 469 this->postJoinTo(pt3, normalCD, unitCD); in cubicTo()
|
/external/chromium_org/third_party/skia/experimental/StrokePathRenderer/ |
D | GrStrokePathRenderer.cpp | 180 const SkPoint pt2 = *pt0+v0, pt3 = *pt1+v1; in onDrawPath() local 181 if (intersection(*pt0, pt2, *pt1, pt3, miterPt[0]) != in onDrawPath()
|
/external/skia/experimental/StrokePathRenderer/ |
D | GrStrokePathRenderer.cpp | 180 const SkPoint pt2 = *pt0+v0, pt3 = *pt1+v1; in onDrawPath() local 181 if (intersection(*pt0, pt2, *pt1, pt3, miterPt[0]) != in onDrawPath()
|