Searched refs:pt3 (Results 1 - 25 of 44) sorted by relevance

12

/external/fonttools/Lib/fontTools/misc/
H A DbezierTools.py24 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 DbezierTools.py24 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 Dcreating_widgets.cpp45 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 DbasePen.py164 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 DbasePen.py164 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 Dcf2glue.h97 /* `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 Dcf2glue.h97 /* `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 Dcf2glue.h97 /* `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 DSkPathWriter.cpp56 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 DSkPathWriter.h17 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 DbtBU_Simplex1to4.java77 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 DbtTetrahedronShape.cpp49 btBU_Simplex1to4::btBU_Simplex1to4(const btVector3& pt0,const btVector3& pt1,const btVector3& pt2,const btVector3& pt3) : btPolyhedralConvexAabbCachingShape (), argument
56 addVertex(pt3);
H A DbtTetrahedronShape.h40 btBU_Simplex1to4(const btVector3& pt0,const btVector3& pt1,const btVector3& pt2,const btVector3& pt3);
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_renderer.c192 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 Dxorg_renderer.c145 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 DPWL_ScrollBar.cpp151 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 DPWL_ComboBox.cpp124 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 DPWL_Utils.cpp195 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 Dcvpgh.cpp236 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 DPathOpsConicIntersectionTest.cpp317 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 DPathOpsCubicIntersectionTest.cpp410 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 Dcheckboxtp.cpp468 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 Dfde_rdv.h52 const CFX_PointF& pt3,
/external/pdfium/xfa/src/fdp/src/fde/
H A Dfde_gdidevice.h58 const CFX_PointF& pt3,
H A Dfde_gedevice.h43 const CFX_PointF& pt3,

Completed in 1224 milliseconds

12