/external/fonttools/Lib/fontTools/misc/ |
H A D | bezierTools.py | 24 def calcQuadraticBounds(pt1, pt2, pt3): 26 pt1 and pt3 are the "anchor" points, pt2 is the "handle". 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): 47 pt1 and pt4 are the "anchor" points, pt2 and pt3 are the "handles". 56 (ax, ay), (bx, by), (cx, cy), (dx, dy) = calcCubicParameters(pt1, pt2, pt3, pt4) 109 def splitQuadratic(pt1, pt2, pt3, where, isHorizontal): 110 """Split the quadratic curve between pt1, pt2 and pt3 at position 'where', 132 a, b, c = calcQuadraticParameters(pt1, pt2, pt3) [all...] |
/external/fonttools/Tools/fontTools/misc/ |
H A D | bezierTools.py | 24 def calcQuadraticBounds(pt1, pt2, pt3): 26 pt1 and pt3 are the "anchor" points, pt2 is the "handle". 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): 47 pt1 and pt4 are the "anchor" points, pt2 and pt3 are the "handles". 56 (ax, ay), (bx, by), (cx, cy), (dx, dy) = calcCubicParameters(pt1, pt2, pt3, pt4) 109 def splitQuadratic(pt1, pt2, pt3, where, isHorizontal): 110 """Split the quadratic curve between pt1, pt2 and pt3 at position 'where', 132 a, b, c = calcQuadraticParameters(pt1, pt2, pt3) [all...] |
/external/opencv3/samples/cpp/tutorial_code/viz/ |
H A D | creating_widgets.cpp | 45 WTriangle(const Point3f &pt1, const Point3f &pt2, const Point3f &pt3, const viz::Color & color = viz::Color::white()); 52 WTriangle::WTriangle(const Point3f &pt1, const Point3f &pt2, const Point3f &pt3, const viz::Color & color) argument 58 points->InsertNextPoint(pt3.x, pt3.y, pt3.z);
|
/external/fonttools/Lib/fontTools/pens/ |
H A D | basePen.py | 164 def _curveToOne(self, pt1, pt2, pt3): 245 for pt1, pt2, pt3 in decomposeSuperBezierSegment(points): 246 _curveToOne(pt1, pt2, pt3) 247 self.__currentPoint = pt3 291 This function returns a list of (pt1, pt2, pt3) tuples, which each 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/fonttools/Tools/fontTools/pens/ |
H A D | basePen.py | 164 def _curveToOne(self, pt1, pt2, pt3): 245 for pt1, pt2, pt3 in decomposeSuperBezierSegment(points): 246 _curveToOne(pt1, pt2, pt3) 247 self.__currentPoint = pt3 291 This function returns a list of (pt1, pt2, pt3) tuples, which each 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/freetype/src/cff/ |
H A D | cf2glue.h | 97 /* `moveTo' and `pt3' is not used for `quadTo'. The initial point `pt0' */ 107 FT_Vector pt3; member in struct:CF2_CallbackParamsRec_
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cff/ |
H A D | cf2glue.h | 97 /* `moveTo' and `pt3' is not used for `quadTo'. The initial point `pt0' */ 107 FT_Vector pt3; member in struct:CF2_CallbackParamsRec_
|
/external/pdfium/third_party/freetype/src/cff/ |
H A D | cf2glue.h | 97 /* `moveTo' and `pt3' is not used for `quadTo'. The initial point `pt0' */ 107 FT_Vector pt3; member in struct:CF2_CallbackParamsRec_
|
/external/skia/src/pathops/ |
H A D | SkPathWriter.cpp | 56 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3) { argument 59 && AlmostEqualUlps(pt2, pt3)) { 60 deferredLine(pt3); 64 fDefer[1] = pt3;
|
H A D | SkPathWriter.h | 17 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3);
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/ |
H A D | btBU_Simplex1to4.java | 77 public btBU_Simplex1to4(Vector3 pt0, Vector3 pt1, Vector3 pt2, Vector3 pt3) { argument 78 this(CollisionJNI.new_btBU_Simplex1to4__SWIG_4(pt0, pt1, pt2, pt3), true);
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/ |
H A D | btTetrahedronShape.cpp | 49 btBU_Simplex1to4::btBU_Simplex1to4(const btVector3& pt0,const btVector3& pt1,const btVector3& pt2,const btVector3& pt3) : btPolyhedralConvexAabbCachingShape (), argument 56 addVertex(pt3);
|
H A D | btTetrahedronShape.h | 40 btBU_Simplex1to4(const btVector3& pt0,const btVector3& pt1,const btVector3& pt2,const btVector3& pt3);
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
H A D | xa_renderer.c | 192 float pt0[2], pt1[2], pt2[2], pt3[2]; local 200 pt3[0] = srcX; 201 pt3[1] = (srcY + height); 207 map_point((float *)src_matrix, pt3[0], pt3[1], &pt3[0], &pt3[1]); 213 s3 = pt3[0] / src->width0; 217 t3 = pt3[1] / src->height0;
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
H A D | xorg_renderer.c | 145 float pt0[2], pt1[2], pt2[2], pt3[2]; local 153 pt3[0] = srcX; 154 pt3[1] = (srcY + height); 160 map_point(src_matrix, pt3[0], pt3[1], &pt3[0], &pt3[1]); 166 s3 = pt3[0] / src->width0; 170 t3 = pt3[1] / src->height0;
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
H A D | PWL_ScrollBar.cpp | 151 CPDF_Point pt3(ptCenter.x + PWL_TRIANGLE_HALFLEN * 0.5f, 159 sButton << pt3.x << " " << pt3.y << " l\n"; 169 CPDF_Point pt3(ptCenter.x - PWL_TRIANGLE_HALFLEN * 0.5f, 177 sButton << pt3.x << " " << pt3.y << " l\n"; 194 CPDF_Point pt3(ptCenter.x, ptCenter.y + PWL_TRIANGLE_HALFLEN * 0.5f); 201 sButton << pt3.x << " " << pt3.y << " l\n"; 212 CPDF_Point pt3(ptCente [all...] |
H A D | PWL_ComboBox.cpp | 124 CPDF_Point pt3(ptCenter.x, 134 sButton << pt3.x << " " << pt3.y << " l\n"; 155 CPDF_Point pt3(ptCenter.x, 167 path.SetPoint(2, pt3.x, pt3.y, FXPT_LINETO);
|
H A D | PWL_Utils.cpp | 195 CPDF_Point pt3(crBBox.right, crBBox.bottom + fHeight / 2); 207 px = pt3.x - pt2.x; 208 py = pt2.y - pt3.y; 210 csAP << pt2.x + px * PWL_BEZIER << " " << pt2.y << " " << pt3.x << " " 211 << pt3.y + py * PWL_BEZIER << " " << pt3.x << " " << pt3.y << " c\n"; 213 px = pt3.x - pt4.x; 214 py = pt3.y - pt4.y; 216 csAP << pt3 [all...] |
/external/opencv/cv/src/ |
H A D | cvpgh.cpp | 236 CvPoint pt3, pt4; local 238 CV_READ_EDGE( pt3, pt4, reader2 ); 242 int d1 = (pt3.y - pt1.y) * dx - (pt3.x - pt1.x) * dy; 249 int dp = (pt4.x - pt3.x) * dx + (pt4.y - pt3.y) * dy;
|
/external/skia/tests/ |
H A D | PathOpsConicIntersectionTest.cpp | 317 for (int pt3 = 0; pt3 < intersections.used(); ++pt3) { 318 tt1 = intersections[0][pt3]; 320 tt2 = intersections[1][pt3]; 322 const SkDPoint& iPt = intersections.pt(pt3);
|
H A D | PathOpsCubicIntersectionTest.cpp | 410 for (int pt3 = 0; pt3 < intersections.used(); ++pt3) { 411 tt1 = intersections[0][pt3]; 413 tt2 = intersections[1][pt3]; 415 const SkDPoint& iPt = intersections.pt(pt3);
|
/external/pdfium/xfa/src/fwl/src/theme/ |
H A D | checkboxtp.cpp | 468 CFX_PointF pt3;
local 469 pt3.Set(fWidth / 3.0f, fBottom);
505 px2 = pt32.x - pt3.x;
506 py2 = pt32.y - pt3.y;
509 pt3.x + px2 * FWLTHEME_BEZIER,
510 pt3.y + py2 * FWLTHEME_BEZIER, pt3.x, pt3.y);
511 px1 = pt34.x - pt3.x;
512 py1 = pt34.y - pt3 [all...] |
/external/pdfium/xfa/src/fdp/include/ |
H A D | fde_rdv.h | 52 const CFX_PointF& pt3,
|
/external/pdfium/xfa/src/fdp/src/fde/ |
H A D | fde_gdidevice.h | 58 const CFX_PointF& pt3,
|
H A D | fde_gedevice.h | 43 const CFX_PointF& pt3,
|