/external/fonttools/Lib/fontTools/misc/ |
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/Lib/fontTools/pens/ |
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/ |
cf2glue.h | 97 /* `moveTo' and `pt3' is not used for `quadTo'. The initial point `pt0' */ 107 FT_Vector pt3; member in struct:CF2_CallbackParamsRec_
|
cf2ft.c | 233 params->pt3.x, 234 params->pt3.y, 1 );
|
/external/pdfium/third_party/freetype/src/cff/ |
cf2glue.h | 97 /* `moveTo' and `pt3' is not used for `quadTo'. The initial point `pt0' */ 107 FT_Vector pt3; member in struct:CF2_CallbackParamsRec_
|
cf2ft.c | 232 params->pt3.x, 233 params->pt3.y, 1 );
|
/external/skia/src/pathops/ |
SkPathWriter.h | 25 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3);
|
SkPathWriter.cpp | 42 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3) { 43 this->update(pt3); 46 pt1.fX, pt1.fY, pt2.fX, pt2.fY, pt3->fPt.fX, pt3->fPt.fY); 48 fCurrent.cubicTo(pt1, pt2, pt3->fPt);
|
/external/pdfium/xfa/fwl/theme/ |
cfwl_checkboxtp.cpp | 228 CFX_PointF pt3(fWidth / 3.0f, fBottom); 250 p2 = CFX_PointF(pt32.x - pt3.x, pt32.y - pt3.y) * FX_BEZIER; 251 m_pCheckPath->BezierTo(pt2 + p1, pt3 + p2, pt3); 253 p1 = CFX_PointF(pt34.x - pt3.x, pt34.y - pt3.y) * FX_BEZIER; 255 m_pCheckPath->BezierTo(pt3 + p1, pt4 + p2, pt4);
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_renderer.c | 205 float pt0[2], pt1[2], pt2[2], pt3[2]; local 213 pt3[0] = srcX; 214 pt3[1] = (srcY + height); 220 map_point((float *)src_matrix, pt3[0], pt3[1], &pt3[0], &pt3[1]); 226 s3 = pt3[0] / src->width0; 230 t3 = pt3[1] / src->height0;
|
/external/opencv/cv/src/ |
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/ |
PathOpsConicIntersectionTest.cpp | 322 for (int pt3 = 0; pt3 < intersections.used(); ++pt3) { 323 tt1 = intersections[0][pt3]; 325 tt2 = intersections[1][pt3]; 327 const SkDPoint& iPt = intersections.pt(pt3);
|
PathOpsCubicIntersectionTest.cpp | 419 for (int pt3 = 0; pt3 < intersections.used(); ++pt3) { 420 tt1 = intersections[0][pt3]; 422 tt2 = intersections[1][pt3]; 424 const SkDPoint& iPt = intersections.pt(pt3);
|
CanvasTest.cpp | 259 SkPoint pt3 = { SkIntToScalar(1), 0 }; local 263 path.lineTo(pt3);
|
/external/pdfium/fpdfsdk/pdfwindow/ |
PWL_ScrollBar.cpp | 149 CFX_PointF pt3(ptCenter.x + PWL_TRIANGLE_HALFLEN * 0.5f, 157 sButton << pt3.x << " " << pt3.y << " l\n"; 167 CFX_PointF pt3(ptCenter.x - PWL_TRIANGLE_HALFLEN * 0.5f, 175 sButton << pt3.x << " " << pt3.y << " l\n"; 192 CFX_PointF pt3(ptCenter.x, ptCenter.y + PWL_TRIANGLE_HALFLEN * 0.5f); 199 sButton << pt3.x << " " << pt3.y << " l\n"; 210 CFX_PointF pt3(ptCenter.x, ptCenter.y - PWL_TRIANGLE_HALFLEN * 0.5f) [all...] |
PWL_Utils.cpp | 110 CFX_PointF pt3(crBBox.right, crBBox.bottom + fHeight / 2); 122 px = pt3.x - pt2.x; 123 py = pt2.y - pt3.y; 125 csAP << pt2.x + px * FX_BEZIER << " " << pt2.y << " " << pt3.x << " " 126 << pt3.y + py * FX_BEZIER << " " << pt3.x << " " << pt3.y << " c\n"; 128 px = pt3.x - pt4.x; 129 py = pt3.y - pt4.y; 131 csAP << pt3.x << " " << pt3.y - py * FX_BEZIER << " [all...] |
PWL_ComboBox.cpp | 111 CFX_PointF pt3(ptCenter.x, 121 sButton << pt3.x << " " << pt3.y << " l\n"; 142 CFX_PointF pt3(ptCenter.x, 152 path.AppendPoint(pt3, FXPT_TYPE::LineTo, false);
|
/external/pdfium/xfa/fde/ |
fde_gedevice.h | 52 const CFX_PointF& pt3,
|
fde_gedevice.cpp | 211 const CFX_PointF& pt3, 217 points.push_back(pt3);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdipluspath.h | 122 const PointF& pt3, const PointF& pt4) 126 pt3.X, pt3.Y, pt4.X, pt4.Y)); 129 const Point& pt3, const Point& pt4) 133 pt3.X, pt3.Y, pt4.X, pt4.Y));
|
gdiplusgraphics.h | 179 const PointF& pt3, const PointF& pt4) 184 pt3.X, pt3.Y, pt4.X, pt4.Y)); 188 const Point& pt3, const Point& pt4) 193 pt3.X, pt3.Y, pt4.X, pt4.Y)); [all...] |
/external/skia/src/core/ |
SkStroke.cpp | [all...] |
/external/skia/gm/ |
beziereffects.cpp | 268 SkScalar pt3[3] = {verts[v].fPosition.x(), verts[v].fPosition.y(), 1.f}; variable 269 fKLM.mapHomogeneousPoints(verts[v].fKLM, pt3, 1);
|
/external/deqp/modules/gles31/functional/ |
es31fMultisampleTests.cpp | 603 const Vec2 pt3 ( 1.0f, 1.0f); 619 renderQuad(pt0, pt1, pt2, pt3, quadColor); [all...] |
/external/skia/src/gpu/ops/ |
GrAAHairLinePathRenderer.cpp | 600 const SkScalar pt3[3] = {verts[i].fPos.x(), verts[i].fPos.y(), 1.f}; local 601 klm.mapHomogeneousPoints(verts[i].fConic.fKLM, pt3, 1); [all...] |