Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/harfbuzz/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.cc75 static void line (cff2_cs_interp_env_t &env, cff2_extents_param_t& param, const point_t &pt1) in line()
82 env.moveto (pt1); in line()
86 …static void curve (cff2_cs_interp_env_t &env, cff2_extents_param_t& param, const point_t &pt1, con… in curve()
94 param.update_bounds (pt1); in curve()
181 static void line (cff2_cs_interp_env_t &env, cff2_path_param_t& param, const point_t &pt1) in line()
183 param.line_to (pt1); in line()
184 env.moveto (pt1); in line()
187 …static void curve (cff2_cs_interp_env_t &env, cff2_path_param_t& param, const point_t &pt1, const … in curve()
189 param.cubic_to (pt1, pt2, pt3); in curve()
Dhb-ot-cff1-table.cc339 static void line (cff1_cs_interp_env_t &env, cff1_extents_param_t& param, const point_t &pt1) in line()
346 env.moveto (pt1); in line()
350 …static void curve (cff1_cs_interp_env_t &env, cff1_extents_param_t& param, const point_t &pt1, con… in curve()
358 param.bounds.update (pt1); in curve()
502 static void line (cff1_cs_interp_env_t &env, cff1_path_param_t &param, const point_t &pt1) in line()
504 param.line_to (pt1); in line()
505 env.moveto (pt1); in line()
508 …static void curve (cff1_cs_interp_env_t &env, cff1_path_param_t &param, const point_t &pt1, const … in curve()
510 param.cubic_to (pt1, pt2, pt3); in curve()
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/2.1/mapped_types/
Dmapped_types_2.ts34 let pt1: HumanTest = { variable
39 pt1.name = "caihua1";
40 Assert.notEqual(pt1.name, "caihua");
41 pt1.age = 15;
42 Assert.notEqual(pt1.age, 20);
43 pt1.destination = "Mars";
44 Assert.notEqual(pt1.destination, "earth");
/third_party/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);
DSkIntersections.cpp107 void SkIntersections::insertNear(double one, double two, const SkDPoint& pt1, const SkDPoint& pt2) { in insertNear() argument
110 SkASSERT(pt1 != pt2); in insertNear()
112 (void) insert(one, two, pt1); in insertNear()
DSkPathOpsPoint.h13 inline bool AlmostEqualUlps(const SkPoint& pt1, const SkPoint& pt2) { in AlmostEqualUlps() argument
14 return AlmostEqualUlps(pt1.fX, pt2.fX) && AlmostEqualUlps(pt1.fY, pt2.fY); in AlmostEqualUlps()
/third_party/skia/docs/examples/
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_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()
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()
/third_party/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);
/third_party/skia/src/pdf/
DSkPDFGradientShader.cpp620 SkPoint pt1 = info.fPoint[0]; in make_function_shader() local
622 FixUpRadius(pt1, r1, pt2, r2); in make_function_shader()
624 coords = SkPDFMakeArray(pt1.x(), in make_function_shader()
625 pt1.y(), in make_function_shader()
631 const SkPoint& pt1 = info.fPoint[0]; in make_function_shader() local
632 coords = SkPDFMakeArray(pt1.x(), in make_function_shader()
633 pt1.y(), in make_function_shader()
635 pt1.x(), in make_function_shader()
636 pt1.y(), in make_function_shader()
639 const SkPoint& pt1 = info.fPoint[0]; in make_function_shader() local
[all …]
/third_party/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/freetype/src/psaux/
Dpshints.c1396 &params.pt1, in cf2_glyphpath_pushPrevElem()
1404 &params.pt1, in cf2_glyphpath_pushPrevElem()
1410 if ( params.pt0.x != params.pt1.x || params.pt0.y != params.pt1.y ) in cf2_glyphpath_pushPrevElem()
1414 glyphpath->currentDS = params.pt1; in cf2_glyphpath_pushPrevElem()
1424 &params.pt1, in cf2_glyphpath_pushPrevElem()
1458 &params.pt1, in cf2_glyphpath_pushPrevElem()
1466 &params.pt1, in cf2_glyphpath_pushPrevElem()
1471 if ( params.pt1.x != glyphpath->currentDS.x || in cf2_glyphpath_pushPrevElem()
1472 params.pt1.y != glyphpath->currentDS.y ) in cf2_glyphpath_pushPrevElem()
1481 glyphpath->currentDS = params.pt1; in cf2_glyphpath_pushPrevElem()
[all …]
Dpsft.c185 params->pt1.x, in cf2_builder_lineTo()
186 params->pt1.y ); in cf2_builder_lineTo()
237 params->pt1.x, in cf2_builder_cubeTo()
238 params->pt1.y, 0 ); in cf2_builder_cubeTo()
/third_party/skia/tests/
DPathOpsAngleIdeas.cpp255 static bool equalPoints(const SkDPoint& pt1, const SkDPoint& pt2, double max) { in equalPoints() argument
256 return approximately_zero_when_compared_to(pt1.fX - pt2.fX, max) in equalPoints()
257 && approximately_zero_when_compared_to(pt1.fY - pt2.fY, max); in equalPoints()
302 SkDPoint pt1 = quad1.ptAtT(tRange.t1); in bruteMinT() local
303 if (equalPoints(pt1, best1, maxQuads)) { in bruteMinT()
306 best1 = pt1; in bruteMinT()
358 SkDPoint pt1 = quad1.ptAtT(tRange.t1); in bruteMinT() local
360 if (equalPoints(pt1, best1, maxQuads)) { in bruteMinT()
363 best1 = pt1; in bruteMinT()
368 if (equalPoints(pt1, pt2, maxQuads)) { in bruteMinT()
/third_party/skia/src/core/
DSkPathBuilder.cpp110 SkPathBuilder& SkPathBuilder::quadTo(SkPoint pt1, SkPoint pt2) { in quadTo() argument
114 p[0] = pt1; in quadTo()
122 SkPathBuilder& SkPathBuilder::conicTo(SkPoint pt1, SkPoint pt2, SkScalar w) { in conicTo() argument
126 p[0] = pt1; in conicTo()
135 SkPathBuilder& SkPathBuilder::cubicTo(SkPoint pt1, SkPoint pt2, SkPoint pt3) { in cubicTo() argument
139 p[0] = pt1; in cubicTo()

12