Home
last modified time | relevance | path

Searched full:pt1 (Results 1 – 25 of 102) sorted by relevance

12345

/external/harfbuzz_ng/src/
Dhb-cff-interp-cs-common.hh242 static void line (ENV &env, PARAM& param, const point_t &pt1) {} in line()
243 …static void curve (ENV &env, PARAM& param, const point_t &pt1, const point_t &pt2, const point_t &… in curve()
467 point_t pt1 = env.get_pt (); in rmoveto() local
470 pt1.move (dx, dy); in rmoveto()
471 PATH::moveto (env, param, pt1); in rmoveto()
476 point_t pt1 = env.get_pt (); in hmoveto() local
477 pt1.move_x (env.pop_arg ()); in hmoveto()
478 PATH::moveto (env, param, pt1); in hmoveto()
483 point_t pt1 = env.get_pt (); in vmoveto() local
484 pt1.move_y (env.pop_arg ()); in vmoveto()
[all …]
Dhb-ot-cff2-table.cc74 static void line (cff2_cs_interp_env_t &env, cff2_extents_param_t& param, const point_t &pt1) in line()
81 env.moveto (pt1); in line()
85 …static void curve (cff2_cs_interp_env_t &env, cff2_extents_param_t& param, const point_t &pt1, con… in curve()
93 param.update_bounds (pt1); in curve()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DPointerUnion.h59 template <typename PT1, typename PT2> class PointerUnionUIntTraits {
65 PT1BitsAv = (int)(PointerLikeTypeTraits<PT1>::NumLowBitsAvailable),
87 template <typename PT1, typename PT2> class PointerUnion {
90 PointerIntPair<void *, 1, bool, PointerUnionUIntTraits<PT1, PT2>>;
105 PointerUnion(PT1 V)
107 PointerLikeTypeTraits<PT1>::getAsVoidPointer(V))) {}
117 return !PointerLikeTypeTraits<PT1>::getFromVoidPointer(Val.getPointer());
125 PT1, T, IsPT1,
150 PT1 const *getAddrOfPtr1() const {
156 PT1 *getAddrOfPtr1() {
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DPointerUnion.h59 template <typename PT1, typename PT2> class PointerUnionUIntTraits {
65 PT1BitsAv = (int)(PointerLikeTypeTraits<PT1>::NumLowBitsAvailable),
87 template <typename PT1, typename PT2> class PointerUnion {
89 typedef PointerIntPair<void *, 1, bool, PointerUnionUIntTraits<PT1, PT2>>
106 PointerUnion(PT1 V)
108 PointerLikeTypeTraits<PT1>::getAsVoidPointer(V))) {}
118 return !PointerLikeTypeTraits<PT1>::getFromVoidPointer(Val.getPointer());
125 PT1, T, IsPT1, ::llvm::PointerUnionTypeSelector<
150 PT1 const *getAddrOfPtr1() const {
156 PT1 *getAddrOfPtr1() {
[all …]
/external/llvm/include/llvm/ADT/
DPointerUnion.h56 template <typename PT1, typename PT2> class PointerUnionUIntTraits {
61 PT1BitsAv = (int)(PointerLikeTypeTraits<PT1>::NumLowBitsAvailable),
83 template <typename PT1, typename PT2> class PointerUnion {
85 typedef PointerIntPair<void *, 1, bool, PointerUnionUIntTraits<PT1, PT2>>
102 PointerUnion(PT1 V)
104 PointerLikeTypeTraits<PT1>::getAsVoidPointer(V))) {}
114 return !PointerLikeTypeTraits<PT1>::getFromVoidPointer(Val.getPointer());
121 PT1, T, IsPT1, ::llvm::PointerUnionTypeSelector<
146 PT1 const *getAddrOfPtr1() const {
152 PT1 *getAddrOfPtr1() {
[all …]
/external/fonttools/Lib/fontTools/misc/
DbezierTools.py32 def calcCubicArcLength(pt1, pt2, pt3, pt4, tolerance=0.005): argument
34 … return calcCubicArcLengthC(complex(*pt1), complex(*pt2), complex(*pt3), complex(*pt4), tolerance)
52 def calcCubicArcLengthC(pt1, pt2, pt3, pt4, tolerance=0.005): argument
55 return _calcCubicArcLengthCRecurse(mult, pt1, pt2, pt3, pt4)
72 def calcQuadraticArcLength(pt1, pt2, pt3): argument
74 pt1 and pt3 are the "anchor" points, pt2 is the "handle".
95 return calcQuadraticArcLengthC(complex(*pt1), complex(*pt2), complex(*pt3))
98 def calcQuadraticArcLengthC(pt1, pt2, pt3): argument
100 pt1 and pt3 are the "anchor" points, pt2 is the "handle"."""
104 d0 = pt2 - pt1
[all …]
/external/skqp/docs/
DSkIPoint_Reference.bmh32 SkIPoint pt1 = {45, 66};
34 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!');
36 pt1 == pt2
57 SkIPoint pt1 = {45, 66};
58 SkDebugf("pt1.fX %c= pt1.x()\n", pt1.fX == pt1.x() ? '=' : '!');
60 pt1.fX == pt1.x()
76 SkIPoint pt1 = {45, 66};
77 SkDebugf("pt1.fY %c= pt1.y()\n", pt1.fY == pt1.y() ? '=' : '!');
79 pt1.fY == pt1.y()
118 SkIPoint pt1, pt2 = { SK_MinS32, SK_MaxS32 };
[all …]
DSkPoint_Reference.bmh33 SkPoint pt1 = {45, 66};
37 SkDebugf("all %s" "equal\n", pt1 == pt2 && pt2 == v1 && v1 == v2 ? "" : "not ");
59 SkPoint pt1 = {45, 66};
60 SkDebugf("pt1.fX %c= pt1.x()\n", pt1.fX == pt1.x() ? '=' : '!');
62 pt1.fX == pt1.x()
78 SkPoint pt1 = {45, 66};
79 SkDebugf("pt1.fY %c= pt1.y()\n", pt1.fY == pt1.y() ? '=' : '!');
81 pt1.fY == pt1.y()
123 SkPoint pt1, pt2 = { SK_ScalarPI, SK_ScalarSqrt2 };
124 pt1.set(SK_ScalarPI, SK_ScalarSqrt2);
[all …]
/external/skia/docs/examples/
DIPoint_x.cpp7 SkIPoint pt1 = {45, 66}; in draw() local
8 SkDebugf("pt1.fX %c= pt1.x()\n", pt1.fX == pt1.x() ? '=' : '!'); in draw()
DPoint_x.cpp7 SkPoint pt1 = {45, 66}; in draw() local
8 SkDebugf("pt1.fX %c= pt1.x()\n", pt1.fX == pt1.x() ? '=' : '!'); in draw()
DIPoint_y.cpp7 SkIPoint pt1 = {45, 66}; in draw() local
8 SkDebugf("pt1.fY %c= pt1.y()\n", pt1.fY == pt1.y() ? '=' : '!'); in draw()
DPoint_y.cpp7 SkPoint pt1 = {45, 66}; in draw() local
8 SkDebugf("pt1.fY %c= pt1.y()\n", pt1.fY == pt1.y() ? '=' : '!'); in draw()
DPoint_set.cpp7 SkPoint pt1, pt2 = { SK_ScalarPI, SK_ScalarSqrt2 }; in draw() local
8 pt1.set(SK_ScalarPI, SK_ScalarSqrt2); in draw()
9 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); in draw()
DPoint_iset.cpp7 SkPoint pt1, pt2 = { SK_MinS16, SK_MaxS16 }; in draw() local
8 pt1.iset(SK_MinS16, SK_MaxS16); in draw()
9 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); in draw()
DIPoint_set.cpp7 SkIPoint pt1, pt2 = { SK_MinS32, SK_MaxS32 }; in draw() local
8 pt1.set(SK_MinS32, SK_MaxS32); in draw()
9 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); in draw()
DIPoint_Make.cpp7 SkIPoint pt1 = {45, 66}; in draw() local
9 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); in draw()
DPoint_Make.cpp7 SkPoint pt1 = {45, 66}; in draw() local
11 SkDebugf("all %s" "equal\n", pt1 == pt2 && pt2 == v1 && v1 == v2 ? "" : "not "); in draw()
/external/fonttools/Lib/fontTools/pens/
DbasePen.py208 def _curveToOne(self, pt1, pt2, pt3): argument
219 def _qCurveToOne(self, pt1, pt2): argument
225 pt1x, pt1y = pt1
276 for pt1, pt2, pt3 in decomposeSuperBezierSegment(points):
277 _curveToOne(pt1, pt2, pt3)
308 for pt1, pt2 in decomposeQuadraticSegment(points):
309 _qCurveToOne(pt1, pt2)
322 This function returns a list of (pt1, pt2, pt3) tuples, which each
328 pt1, pt2, pt3 = points[0], None, None
343 bezierSegments.append((pt1, pt2, pt3))
[all …]
DsvgPathPen.py119 def _curveToOne(self, pt1, pt2, pt3): argument
127 t += pointToString(pt1) + " "
134 def _qCurveToOne(self, pt1, pt2): argument
143 t += pointToString(pt1) + " "
/external/skqp/src/pathops/
DSkPathWriter.cpp34 void SkPathWriter::conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight) { in conicTo() argument
38 pt1.fX, pt1.fY, pt2pt.fX, pt2pt.fY, weight); in conicTo()
40 fCurrent.conicTo(pt1, pt2pt, weight); in conicTo()
43 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3) { in cubicTo() argument
47 pt1.fX, pt1.fY, pt2.fX, pt2.fY, pt3pt.fX, pt3pt.fY); in cubicTo()
49 fCurrent.cubicTo(pt1, pt2, pt3pt); in cubicTo()
146 void SkPathWriter::quadTo(const SkPoint& pt1, const SkOpPtT* pt2) { in quadTo() argument
150 pt1.fX, pt1.fY, pt2pt.fX, pt2pt.fY); in quadTo()
152 fCurrent.quadTo(pt1, pt2pt); in quadTo()
DSkPathWriter.h24 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);
/external/skia/src/pathops/
DSkPathWriter.cpp34 void SkPathWriter::conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight) { in conicTo() argument
38 pt1.fX, pt1.fY, pt2pt.fX, pt2pt.fY, weight); in conicTo()
40 fCurrent.conicTo(pt1, pt2pt, weight); in conicTo()
43 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3) { in cubicTo() argument
47 pt1.fX, pt1.fY, pt2.fX, pt2.fY, pt3pt.fX, pt3pt.fY); in cubicTo()
49 fCurrent.cubicTo(pt1, pt2, pt3pt); in cubicTo()
146 void SkPathWriter::quadTo(const SkPoint& pt1, const SkOpPtT* pt2) { in quadTo() argument
150 pt1.fX, pt1.fY, pt2pt.fX, pt2pt.fY); in quadTo()
152 fCurrent.quadTo(pt1, pt2pt); in quadTo()
DSkPathWriter.h24 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);
/external/pdfium/xfa/fwl/theme/
Dcfwl_checkboxtp.cpp168 CFX_PointF pt1(fWidth / 15.0f, fBottom + fHeight * 2 / 5.0f); in InitCheckPath() local
185 m_pCheckPath->MoveTo(pt1); in InitCheckPath()
187 CFX_PointF p1 = ScaleBezierPoint(pt12 - pt1); in InitCheckPath()
189 m_pCheckPath->BezierTo(pt1 + p1, pt2 + p2, pt2); in InitCheckPath()
204 p2 = ScaleBezierPoint(pt15 - pt1); in InitCheckPath()
205 m_pCheckPath->BezierTo(pt5 + p1, pt1 + p2, pt1); in InitCheckPath()
/external/pdfium/xfa/fxfa/
Dcxfa_textlayout.cpp1143 CFX_PointF pt1; in RenderPath() local
1149 pt1.x = (*pCharPos)[j].m_Origin.x; in RenderPath()
1150 pt2.x = pt1.x + in RenderPath()
1152 pt1.y = pt2.y = fEndY; in RenderPath()
1153 path.AppendLine(pt1, pt2); in RenderPath()
1158 pt1.x = (*pCharPos)[0].m_Origin.x; in RenderPath()
1163 pt1.y = pt2.y = fEndY; in RenderPath()
1164 path.AppendLine(pt1, pt2); in RenderPath()
1169 pt1.x = (*pCharPos)[0].m_Origin.x; in RenderPath()
1174 pt1.y = pt2.y = fEndY; in RenderPath()
[all …]

12345