Home
last modified time | relevance | path

Searched full:pt2 (Results 1 – 25 of 110) sorted by relevance

12345

/external/harfbuzz_ng/src/
Dhb-cff-interp-cs-common.hh243 …static void curve (ENV &env, PARAM& param, const point_t &pt1, const point_t &pt2, const point_t &… in curve()
544 point_t pt2 = pt1; in rrcurveto() local
545 pt2.move (env.eval_arg (i+2), env.eval_arg (i+3)); in rrcurveto()
546 point_t pt3 = pt2; in rrcurveto()
548 PATH::curve (env, param, pt1, pt2, pt3); in rrcurveto()
559 point_t pt2 = pt1; in rcurveline() local
560 pt2.move (env.eval_arg (i+2), env.eval_arg (i+3)); in rcurveline()
561 point_t pt3 = pt2; in rcurveline()
563 PATH::curve (env, param, pt1, pt2, pt3); in rcurveline()
587 point_t pt2 = pt1; in rlinecurve() local
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DPointerUnion.h59 template <typename PT1, typename PT2> class PointerUnionUIntTraits {
66 PT2BitsAv = (int)(PointerLikeTypeTraits<PT2>::NumLowBitsAvailable),
87 template <typename PT1, typename PT2> class PointerUnion {
89 typedef PointerIntPair<void *, 1, bool, PointerUnionUIntTraits<PT1, PT2>>
109 PointerUnion(PT2 V)
110 : Val(const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(V)),
126 PT2, T, IsPT2, UNION_DOESNT_CONTAIN_TYPE<T>>>::Return
177 const PointerUnion &operator=(const PT2 &RHS) {
179 const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(RHS)),
192 template <typename PT1, typename PT2>
[all …]
/external/llvm/include/llvm/ADT/
DPointerUnion.h56 template <typename PT1, typename PT2> class PointerUnionUIntTraits {
62 PT2BitsAv = (int)(PointerLikeTypeTraits<PT2>::NumLowBitsAvailable),
83 template <typename PT1, typename PT2> class PointerUnion {
85 typedef PointerIntPair<void *, 1, bool, PointerUnionUIntTraits<PT1, PT2>>
105 PointerUnion(PT2 V)
106 : Val(const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(V)),
122 PT2, T, IsPT2, UNION_DOESNT_CONTAIN_TYPE<T>>>::Return
173 const PointerUnion &operator=(const PT2 &RHS) {
175 const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(RHS)),
188 template <typename PT1, typename PT2>
[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
115 pt2: Handle 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/fonttools/Lib/fontTools/pens/
DbasePen.py218 def _curveToOne(self, pt1, pt2, pt3): argument
229 def _qCurveToOne(self, pt1, pt2): argument
236 pt2x, pt2y = pt2
241 self._curveToOne((mid1x, mid1y), (mid2x, mid2y), pt2)
286 for pt1, pt2, pt3 in decomposeSuperBezierSegment(points):
287 _curveToOne(pt1, pt2, pt3)
318 for pt1, pt2 in decomposeQuadraticSegment(points):
319 _qCurveToOne(pt1, pt2)
320 self.__currentPoint = pt2
332 This function returns a list of (pt1, pt2, pt3) tuples, which each
[all …]
DsvgPathPen.py117 def _curveToOne(self, pt1, pt2, pt3): argument
126 t += pointToString(pt2) + " "
132 def _qCurveToOne(self, pt1, pt2): argument
139 assert pt2 is not None
142 t += pointToString(pt2)
145 self._lastX, self._lastY = pt2
/external/skia/docs/examples/
DPoint_set.cpp7 SkPoint pt1, pt2 = { SK_ScalarPI, SK_ScalarSqrt2 }; in draw() local
9 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); in draw()
DIPoint_Make.cpp8 SkIPoint pt2 = SkIPoint::Make(45, 66); in draw() local
9 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); in draw()
DPoint_iset.cpp7 SkPoint pt1, pt2 = { SK_MinS16, SK_MaxS16 }; in draw() local
9 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); in draw()
DIPoint_set.cpp7 SkIPoint pt1, pt2 = { SK_MinS32, SK_MaxS32 }; in draw() local
9 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!'); in draw()
DPoint_Make.cpp8 SkPoint pt2 = SkPoint::Make(45, 66); in draw() local
11 SkDebugf("all %s" "equal\n", pt1 == pt2 && pt2 == v1 && v1 == v2 ? "" : "not "); in draw()
DPath_setLastPt_2.cpp13 SkPoint pt, pt2;
15 path2.getLastPt(&pt2);
16 path.setLastPt(pt2);
/external/pdfium/xfa/fwl/theme/
Dcfwl_checkboxtp.cpp169 CFX_PointF pt2(fWidth / 4.5f, fBottom + fHeight / 16.0f); in InitCheckPath() local
188 CFX_PointF p2 = ScaleBezierPoint(pt21 - pt2); in InitCheckPath()
189 m_pCheckPath->BezierTo(pt1 + p1, pt2 + p2, pt2); in InitCheckPath()
191 p1 = ScaleBezierPoint(pt23 - pt2); in InitCheckPath()
193 m_pCheckPath->BezierTo(pt2 + p1, pt3 + p2, pt3); in InitCheckPath()
/external/skqp/src/pathops/
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);
DSkPathWriter.cpp34 void SkPathWriter::conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight) { in conicTo() argument
35 SkPoint pt2pt = this->update(pt2); 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
147 SkPoint pt2pt = this->update(pt2); in quadTo()
/external/skia/src/pathops/
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);
DSkPathWriter.cpp34 void SkPathWriter::conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight) { in conicTo() argument
35 SkPoint pt2pt = this->update(pt2); 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
147 SkPoint pt2pt = this->update(pt2); in quadTo()
/external/llvm-project/clang/unittests/Format/
DUsingDeclarationsSorterTest.cpp253 EXPECT_EQ("struct pt3 : pt2 {\n" in TEST_F()
254 " using pt2::x;\n" in TEST_F()
255 " using pt2::y;\n" in TEST_F()
258 sortUsingDeclarations("struct pt3 : pt2 {\n" in TEST_F()
259 " using pt2::y;\n" in TEST_F()
260 " using pt2::x;\n" in TEST_F()
/external/llvm-project/polly/lib/External/isl/
Dbound.c30 isl_point *pt, *pt2; in ISL_ARGS_START() local
39 pt2 = isl_point_copy(pt); in ISL_ARGS_START()
43 pt2 = isl_point_sub_ui(pt2, isl_dim_param, i, r); in ISL_ARGS_START()
46 box = isl_set_box_from_points(pt, pt2); in ISL_ARGS_START()
/external/pdfium/fpdfsdk/
Dcpdfsdk_appstream.cpp191 CFX_PointF pt2(crBBox.left + fWidth / 2, crBBox.top); in GetAP_Circle() local
197 float px = pt2.x - pt1.x; in GetAP_Circle()
198 float py = pt2.y - pt1.y; in GetAP_Circle()
201 << pt2.x - px * FX_BEZIER << " " << pt2.y << " " << pt2.x << " " << pt2.y in GetAP_Circle()
204 px = pt3.x - pt2.x; in GetAP_Circle()
205 py = pt2.y - pt3.y; in GetAP_Circle()
207 csAP << pt2.x + px * FX_BEZIER << " " << pt2.y << " " << pt3.x << " " in GetAP_Circle()
247 CFX_PointF pt2(crBBox.left + fWidth / 2, crBBox.top); in GetAP_Diamond() local
252 csAP << pt2.x << " " << pt2.y << " " << kLineToOperator << "\n"; in GetAP_Diamond()
309 CFX_PointF pt2(0, fHeight / 2); in GetAP_HalfCircle() local
[all …]
/external/pdfium/xfa/fxfa/
Dcxfa_textlayout.cpp1144 CFX_PointF pt2; in RenderPath() local
1150 pt2.x = pt1.x + in RenderPath()
1152 pt1.y = pt2.y = fEndY; in RenderPath()
1153 path.AppendLine(pt1, pt2); in RenderPath()
1159 pt2.x = (*pCharPos)[szChars - 1].m_Origin.x + in RenderPath()
1163 pt1.y = pt2.y = fEndY; in RenderPath()
1164 path.AppendLine(pt1, pt2); in RenderPath()
1170 pt2.x = in RenderPath()
1174 pt1.y = pt2.y = fEndY; in RenderPath()
1175 path.AppendLine(pt1, pt2); in RenderPath()
[all …]
/external/skqp/docs/
DSkIPoint_Reference.bmh33 SkIPoint pt2 = SkIPoint::Make(45, 66);
34 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!');
36 pt1 == pt2
118 SkIPoint pt1, pt2 = { SK_MinS32, SK_MaxS32 };
120 SkDebugf("pt1 %c= pt2\n", pt1 == pt2 ? '=' : '!');
122 pt1 == pt2
/external/skqp/animations/
Dimages#1.xml23 <lineTo id="pt2" x="256" y="0" />
46 <animate target="pt2" field="x" from="256" to="192" dur="0.5" repeat="3" />
47 <animate target="pt2" field="y" from="0" to="-455" dur="0.5" repeat="3" />
/external/skia/animations/
Dimages#1.xml23 <lineTo id="pt2" x="256" y="0" />
46 <animate target="pt2" field="x" from="256" to="192" dur="0.5" repeat="3" />
47 <animate target="pt2" field="y" from="0" to="-455" dur="0.5" repeat="3" />
/external/skia/include/core/
DSkPathBuilder.h44 SkPathBuilder& quadTo(SkPoint pt1, SkPoint pt2);
50 SkPathBuilder& conicTo(SkPoint pt1, SkPoint pt2, SkScalar w);
58 SkPathBuilder& cubicTo(SkPoint pt1, SkPoint pt2, SkPoint pt3);
78 SkPathBuilder& rQuadTo(SkPoint pt1, SkPoint pt2);
86 SkPathBuilder& rCubicTo(SkPoint pt1, SkPoint pt2, SkPoint pt3);

12345