Home
last modified time | relevance | path

Searched refs:point2 (Results 1 – 24 of 24) sorted by relevance

/external/fonttools/Lib/fontTools/svgLib/path/
Darc.py77 point2 = _map_point(point_transform, self.target_point)
78 delta = point2 - point1
88 center_point = (point1 + point2) * 0.5
91 point2 -= center_point
94 theta2 = atan2(point2.imag, point2.real)
139 point2 = target_point
140 point2 += complex(t * sin_end_theta, -t * cos_end_theta)
143 point2 = _map_point(point_transform, point2)
146 yield point1, point2, target_point
149 for point1, point2, target_point in self._decompose_to_cubic_curves():
[all …]
/external/skia/docs/examples/
DRect_set_4.cpp8 SkPoint point2 = {3, 4}; in draw() local
10 rect.set(point1, point2); in draw()
12 rect.set(point2, point1); in draw()
/external/skia/src/utils/win/
DSkDWriteGeometrySink.cpp119 this->currentIsNot(beziers->point2) || in SK_STDMETHODIMP_()
124 { beziers->point2.x, beziers->point2.y }, in SK_STDMETHODIMP_()
133 beziers->point2.x, beziers->point2.y, in SK_STDMETHODIMP_()
/external/skqp/src/utils/win/
DSkDWriteGeometrySink.cpp121 { beziers->point2.x, beziers->point2.y }, in AddBeziers()
129 beziers->point2.x, beziers->point2.y, in AddBeziers()
/external/grpc-grpc/examples/node/static_codegen/route_guide/
Droute_guide_client.js60 var point2 = new messages.Point();
61 point2.setLatitude(0);
62 point2.setLongitude(0);
64 client.getFeature(point2, featureCallback);
/external/libchrome/ui/gfx/geometry/
Dbox_unittest.cc86 Point3F point2(-0.5f, -0.5f, -0.5f); in TEST() local
99 box1.ExpandTo(point2); in TEST()
104 box2.ExpandTo(point2); in TEST()
109 box3.ExpandTo(point2); in TEST()
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dgeom.h115 BoundingBox(const Point2f& point1, const Point2f& point2) in BoundingBox() argument
116 : left_(MIN(point1.x, point2.x)), in BoundingBox()
117 top_(MIN(point1.y, point2.y)), in BoundingBox()
118 right_(MAX(point1.x, point2.x)), in BoundingBox()
119 bottom_(MAX(point1.y, point2.y)) {} in BoundingBox()
Dobject_tracker.cc249 const Point2f& point2 = change.frame2_keypoints_[i].pos_; in GetKeypointsPacked() local
250 *curr_data++ = RealToFixed115(point2.x * scale); in GetKeypointsPacked()
251 *curr_data++ = RealToFixed115(point2.y * scale); in GetKeypointsPacked()
/external/pdfium/core/fpdfapi/page/
Dcpdf_clippath.cpp83 CFX_PointF point2 = old_path.GetPoint(2); in AppendPath() local
84 CFX_FloatRect old_rect(point0.x, point0.y, point2.x, point2.y); in AppendPath()
Dcpdf_contentparser.cpp225 CFX_PointF point2 = ClipPath.GetPoint(2); in CheckClip() local
226 CFX_FloatRect old_rect(point0.x, point0.y, point2.x, point2.y); in CheckClip()
/external/skqp/tests/
DCTest.cpp27 sk_point_t point2 = {30.0f, 40.0f}; in shader_test() local
48 &point, 10.0f, &point2, 50.0f, colors, nullptr, 2, tilemode, nullptr); in shader_test()
/external/skia/tests/
DCTest.cpp28 sk_point_t point2 = {30.0f, 40.0f}; in shader_test() local
49 &point, 10.0f, &point2, 50.0f, colors, nullptr, 2, tilemode, nullptr); in shader_test()
/external/clang/test/CodeGen/
Dstruct.c18 } point2; variable
21 point2.p1.a = 42; in fn2()
/external/llvm-project/clang/test/CodeGen/
Dstruct.c18 } point2; variable
21 point2.p1.a = 42; in fn2()
/external/grpc-grpc/examples/node/dynamic_codegen/route_guide/
Droute_guide_client.js69 var point2 = { variable
74 client.getFeature(point2, featureCallback);
/external/boringssl/src/crypto/fipsmodule/ec/
Dec_test.cc723 point2(EC_POINT_new(group())); in TEST_P() local
725 ASSERT_TRUE(point2); in TEST_P()
729 ASSERT_TRUE(EC_POINT_mul(group(), point2.get(), minus_one.get(), nullptr, in TEST_P()
731 EXPECT_EQ(0, EC_POINT_cmp(group(), point1.get(), point2.get(), nullptr)) in TEST_P()
736 ASSERT_TRUE(EC_POINT_mul(group(), point2.get(), ten_n_plus_seven.get(), in TEST_P()
738 EXPECT_EQ(0, EC_POINT_cmp(group(), point1.get(), point2.get(), nullptr)) in TEST_P()
779 bssl::UniquePtr<EC_POINT> point2(EC_POINT_new(group())); in TEST_P() local
780 ASSERT_TRUE(point2); in TEST_P()
781 ASSERT_TRUE(EC_POINT_mul(group(), point2.get(), forty_two.get(), nullptr, in TEST_P()
783 EXPECT_EQ(0, EC_POINT_cmp(group(), point.get(), point2.get(), nullptr)); in TEST_P()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/
Dec_test.cc723 point2(EC_POINT_new(group())); in TEST_P() local
725 ASSERT_TRUE(point2); in TEST_P()
729 ASSERT_TRUE(EC_POINT_mul(group(), point2.get(), minus_one.get(), nullptr, in TEST_P()
731 EXPECT_EQ(0, EC_POINT_cmp(group(), point1.get(), point2.get(), nullptr)) in TEST_P()
736 ASSERT_TRUE(EC_POINT_mul(group(), point2.get(), ten_n_plus_seven.get(), in TEST_P()
738 EXPECT_EQ(0, EC_POINT_cmp(group(), point1.get(), point2.get(), nullptr)) in TEST_P()
779 bssl::UniquePtr<EC_POINT> point2(EC_POINT_new(group())); in TEST_P() local
780 ASSERT_TRUE(point2); in TEST_P()
781 ASSERT_TRUE(EC_POINT_mul(group(), point2.get(), forty_two.get(), nullptr, in TEST_P()
783 EXPECT_EQ(0, EC_POINT_cmp(group(), point.get(), point2.get(), nullptr)); in TEST_P()
/external/tensorflow/tensorflow/python/distribute/
Ddistribute_utils_test.py241 point2 = Point(x=1, y=3)
243 wrapped2 = wrapt.ObjectProxy(point2)
/external/pdfium/core/fxge/win32/
Dcfx_psrenderer.cpp560 CFX_PointF point2 = TransformedPath.GetPoint(p + 2); in FindPSFontGlyph() local
562 << " " << point2.x << " " << point2.y << " c\n"; in FindPSFontGlyph()
/external/pdfium/core/fxcrt/
Dfx_coordinates.h148 const CFX_PTemplate<BaseType>& point2) in CFX_VTemplate() argument
149 : CFX_PTemplate<BaseType>(point2.x - point1.x, point2.y - point1.y) {} in CFX_VTemplate()
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/routeguide/
DRouteGuideClientTest.java247 Point point2 = Point.newBuilder().setLatitude(2).setLongitude(2).build(); in recordRoute() local
252 Feature.newBuilder().setLocation(point2).build(); in recordRoute()
/external/harfbuzz_ng/src/
Dhb-ot-glyf-table.hh266 void get_anchor_points (unsigned int &point1, unsigned int &point2) const in get_anchor_points()
272 point2 = ((const HBUINT16 *) p)[1]; in get_anchor_points()
277 point2 = p[1]; in get_anchor_points()
/external/skqp/docs/
DSkRect_Reference.bmh903 SkPoint point2 = {3, 4};
905 rect.set(point1, point2);
907 rect.set(point2, point1);
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp325 CFX_PointF point2 = pPoints[i + 1].m_Point; in BuildPath() local
327 skPath.cubicTo(point.x, point.y, point2.x, point2.y, point3.x, point3.y); in BuildPath()