Home
last modified time | relevance | path

Searched refs:Polygon (Results 1 – 25 of 40) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/
H A Dgeometry2d.h135 class Polygon : public HeapBase {
142 Polygon() : vertexNum_(0) {} in Polygon() function
151 explicit Polygon(const Rect& rect) in Polygon() function
178 Polygon(const Vector2<int16_t>* vertexes, const uint8_t vertexNum);
185 ~Polygon() {} in ~Polygon()
231 Polygon& operator=(const Rect& rect)
286 void Clip(Polygon& poly, const Line& line);
296 Polygon SuthHodgClip(const Rect& clipRect, const Polygon& polygon);
307 void Clip(const Line& line, const Polygon& poly, Vector2<int16_t>* pOut, uint8_t* pNum);
H A Dtransform.h86 void SetPolygon(const Polygon& polygon) in SetPolygon()
97 Polygon GetPolygon() const in GetPolygon()
251Polygon polygon_ = Polygon(Rect(0, 0, 0, 0)); /* transformed from rect and 'rotate_' 'translate_' …
309 void Rotate(const Rect& origRect, int16_t angle, const Vector2<int16_t>& pivot, Polygon& out);
/ohos5.0/foundation/graphic/graphic_utils_lite/test/
H A Dgeometry2d_unit_test.cpp89 Polygon* polygon = new Polygon(vertexes, VECTOR2_SIZE);
114 Polygon* polygon = new Polygon(vertexes, VECTOR2_SIZE);
132 Polygon* polygon = new Polygon();
155 Polygon* polygon = new Polygon(vertexes, VECTOR2_SIZE);
175 Polygon* polygon = new Polygon(rect);
287 Polygon* polygon = new Polygon(vertexes, VECTOR2_SIZE);
H A Dtransform_unit_test.cpp59 Polygon poly;
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/
H A Dgeometry2d.cpp61 void Clip(Polygon& poly, const Line& line) in Clip()
64 Polygon newPoly; in Clip()
129 Polygon SuthHodgClip(const Rect& clipRect, const Polygon& polygon) in SuthHodgClip()
131 Polygon newPolygon(polygon); in SuthHodgClip()
141 void Clip(const Line& line, const Polygon& poly, Vector2<int16_t>* pOut, uint8_t *pNum) in Clip()
177 Polygon::Polygon(const Vector2<int16_t>* vertexes, const uint8_t vertexNum) in Polygon() function in OHOS::Polygon
187 Rect Polygon::MakeAABB() const in MakeAABB()
H A Dtransform.cpp175 Polygon polygonTemp = polygon_; in GetOrigPoint()
363 void Rotate(const Rect& origRect, int16_t angle, const Vector2<int16_t>& pivot, Polygon& out) in Rotate()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-drawing-components-polygon.md1 # Polygon chapter
17 Polygon(options?: PolygonOptions)
29 | options | [PolygonOptions](ts-drawing-components-polygon.md#polygonoptions14对象说明) | 否 | Polygon绘制…
32 用于描述Polygon绘制区域。
290 Polygon({ width: 100, height: 100 })
294 Polygon().width(100).height(100)
300 Polygon().width(100).height(100)
H A Dts-universal-attributes-draw-modifier.md21 …estination、Navigation、Navigator、NavRouter、NodeContainer、Path、PatternLock、Polygon、Polyline、Progress…
H A Dts-drawing-components-shape.md16 …ng-components-ellipse.md)、[Polyline](ts-drawing-components-polyline.md)、[Polygon](ts-drawing-compo…
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Dshape.h409 class Polygon : public BasicShape {
410 DECLARE_ACE_TYPE(Polygon, BasicShape);
413 Polygon() : BasicShape(BasicShapeType::POLYGON) {} in Polygon() function
414 ~Polygon() override = default;
431 bool operator==(const Polygon& other) const
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-drawing-components-polygon.md1 # Polygon chapter
3 The **Polygon** component is used to draw a polygon.
17 Polygon(value?: {width?: string | number, height?: string | number})
275 Polygon({ width: 100, height: 100 })
279 Polygon().width(100).height(100)
285 Polygon().width(100).height(100)
H A Dts-universal-attributes-draw-modifier.md21 …ion, Navigation, Navigator, NavRouter, NodeContainer, Path, PatternLock, Polygon, Polyline, Progre…
H A Dts-basic-svg.md21 | \<polygon\> | Polygon| **points**: vertex coordinates.| |
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkPolygon.ts68 globalThis.Polygon.attributeModifier = function (modifier: ArkComponent): void {
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dclip_path.h92 static RefPtr<Polygon> CreatePolygon(const std::string& value);
H A Dclip_path.cpp267 RefPtr<Polygon> ClipPath::CreatePolygon(const std::string& data) in CreatePolygon()
274 auto polygon = AceType::MakeRefPtr<Polygon>(); in CreatePolygon()
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-user-defined.md19 …ne](../reference/apis-arkui/arkui-ts/ts-drawing-components-polyline.md)、[Polygon](../reference/api…
H A Darkts-geometric-shape-drawing.md26 …../reference/apis-arkui/arkui-ts/ts-drawing-components-polyline.md)(折线)、[Polygon](../reference/api…
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/animation/
H A Dtransition_impl.cpp414 Polygon polygon(Rect(0, 0, 0, 0)); in RecoveryViewStatus()
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_view_unit_test.cpp1000 Polygon polygon = view_->GetTransformMap().GetPolygon();
1040 Polygon polygon = view_->GetTransformMap().GetPolygon();
/ohos5.0/docs/zh-cn/release-notes/
H A DOpenHarmony-v4.0-beta1.md32 - 绘制组件Rect/Circle/Ellipse/Line/Polyline/Polygon/Path/Rect/Shape支持偏移、裁剪、遮罩等通用属性,增强绘制组件基础功能。
H A DOpenHarmony-v4.0-release.md61 - 绘制组件Rect/Circle/Ellipse/Line/Polyline/Polygon/Path/Rect/Shape支持偏移、裁剪、遮罩等通用属性,增强绘制组件基础功能。
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-geometric-shape-drawing.md26 …e](../reference/apis-arkui/arkui-ts/ts-drawing-components-polyline.md), [Polygon](../reference/api…
H A Darkts-user-defined.md19 …./reference/apis-arkui/arkui-ts/ts-drawing-components-polyline.md), and [Polygon](../reference/api…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drosen_render_box.cpp1085 const auto& polygon = AceType::DynamicCast<Polygon>(basicShape);
1106 const auto& polygon = AceType::DynamicCast<Polygon>(basicShape);

12