Home
last modified time | relevance | path

Searched refs:pt1 (Results 1 – 25 of 70) sorted by relevance

123

/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/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
95 return calcQuadraticArcLengthC(complex(*pt1), complex(*pt2), complex(*pt3))
98 def calcQuadraticArcLengthC(pt1, pt2, pt3): argument
104 d0 = pt2 - pt1
110 return abs(pt3-pt1)
114 return abs(pt3-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/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)
328 pt1, pt2, pt3 = points[0], None, None
343 bezierSegments.append((pt1, pt2, pt3))
344 pt1, pt2, pt3 = temp, None, None
[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/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_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()
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()
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/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 …]
/external/ltp/testcases/kernel/syscalls/rt_tgsigqueueinfo/
Drt_tgsigqueueinfo01.c146 pthread_t pt1, pt2; in verify_signal_inter_thread() local
148 SAFE_PTHREAD_CREATE(&pt1, NULL, receiver_func, &tid); in verify_signal_inter_thread()
156 SAFE_PTHREAD_JOIN(pt1, NULL); in verify_signal_inter_thread()
/external/pdfium/third_party/lcms/src/
Dcmsopt.c174 cmsStage** pt1; in _Remove2Op() local
178 pt1 = &Lut ->Elements; in _Remove2Op()
179 if (*pt1 == NULL) return AnyOpt; in _Remove2Op()
181 while (*pt1 != NULL) { in _Remove2Op()
183 pt2 = &((*pt1) -> Next); in _Remove2Op()
186 if ((*pt1) ->Implements == Op1 && (*pt2) ->Implements == Op2) { in _Remove2Op()
188 _RemoveElement(pt1); in _Remove2Op()
192 pt1 = &((*pt1) -> Next); in _Remove2Op()
223 cmsStage** pt1; in _MultiplyMatrix() local
228 pt1 = &Lut->Elements; in _MultiplyMatrix()
[all …]
/external/dng_sdk/source/
Ddng_rect.h242 dng_rect_real64 (const dng_point_real64 &pt1, in dng_rect_real64() argument
244 : t (Min_real64 (pt1.v, pt2.v)) in dng_rect_real64()
245 , l (Min_real64 (pt1.h, pt2.h)) in dng_rect_real64()
246 , b (Max_real64 (pt1.v, pt2.v)) in dng_rect_real64()
247 , r (Max_real64 (pt1.h, pt2.h)) in dng_rect_real64()

123