Home
last modified time | relevance | path

Searched full:pt1 (Results 1 – 25 of 112) 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-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.py42 def calcCubicArcLength(pt1, pt2, pt3, pt4, tolerance=0.005): argument
50 pt1,pt2,pt3,pt4: Control points of the Bezier as 2D tuples.
57 complex(*pt1), complex(*pt2), complex(*pt3), complex(*pt4), tolerance
82 def calcCubicArcLengthC(pt1, pt2, pt3, pt4, tolerance=0.005): argument
86 pt1,pt2,pt3,pt4: Control points of the Bezier as complex numbers.
93 return _calcCubicArcLengthCRecurse(mult, pt1, pt2, pt3, pt4)
110 def calcQuadraticArcLength(pt1, pt2, pt3): argument
114 pt1: Start point of the Bezier as 2D tuple.
142 return calcQuadraticArcLengthC(complex(*pt1), complex(*pt2), complex(*pt3))
145 def calcQuadraticArcLengthC(pt1, pt2, pt3): argument
[all …]
/external/llvm-project/flang/test/Semantics/
Dstructconst04.f9025 real, pointer :: pt1 component
60 …!ERROR: Externally visible object 'usedfrom1' may not be associated with pointer component 'pt1' i…
62 … visible object 'modulevar1' may not be associated with pointer component 'pt1' in a pure procedure
64 …!ERROR: Externally visible object 'cblock' may not be associated with pointer component 'pt1' in a…
66 …!ERROR: Externally visible object 'dummy1' may not be associated with pointer component 'pt1' in a…
69 …!ERROR: Externally visible object 'dummy3' may not be associated with pointer component 'pt1' in a…
93 …y visible object 'usedfrom1' may not be associated with pointer component 'pt1' in a pure procedure
95 … visible object 'modulevar1' may not be associated with pointer component 'pt1' in a pure procedure
97 … visible object 'commonvar1' may not be associated with pointer component 'pt1' in a pure procedure
99 …!ERROR: Externally visible object 'dummy1' may not be associated with pointer component 'pt1' in a…
[all …]
Dstructconst03.f9027 real, pointer :: pt1 component
65 …!ERROR: Externally visible object 'usedfrom1' may not be associated with pointer component 'pt1' i…
67 … visible object 'modulevar1' may not be associated with pointer component 'pt1' in a pure procedure
69 …!ERROR: Externally visible object 'cblock' may not be associated with pointer component 'pt1' in a…
71 …!ERROR: Externally visible object 'dummy1' may not be associated with pointer component 'pt1' in a…
74 …!ERROR: Externally visible object 'dummy3' may not be associated with pointer component 'pt1' in a…
98 …y visible object 'usedfrom1' may not be associated with pointer component 'pt1' in a pure procedure
100 … visible object 'modulevar1' may not be associated with pointer component 'pt1' in a pure procedure
102 … visible object 'commonvar1' may not be associated with pointer component 'pt1' in a pure procedure
104 …!ERROR: Externally visible object 'dummy1' may not be associated with pointer component 'pt1' in a…
[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/
DPoint_x.cpp7 SkPoint pt1 = {45, 66}; in draw() local
8 SkDebugf("pt1.fX %c= pt1.x()\n", pt1.fX == pt1.x() ? '=' : '!'); 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()
DIPoint_x.cpp7 SkIPoint 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_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()
/external/fonttools/Lib/fontTools/pens/
DbasePen.py218 def _curveToOne(self, pt1, pt2, pt3): argument
229 def _qCurveToOne(self, pt1, pt2): argument
235 pt1x, pt1y = pt1
286 for pt1, pt2, pt3 in decomposeSuperBezierSegment(points):
287 _curveToOne(pt1, pt2, pt3)
318 for pt1, pt2 in decomposeQuadraticSegment(points):
319 _qCurveToOne(pt1, pt2)
332 This function returns a list of (pt1, pt2, pt3) tuples, which each
338 pt1, pt2, pt3 = points[0], None, None
353 bezierSegments.append((pt1, pt2, pt3))
[all …]
DsvgPathPen.py117 def _curveToOne(self, pt1, pt2, pt3): argument
125 t += pointToString(pt1) + " "
132 def _qCurveToOne(self, pt1, pt2): argument
141 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