Home
last modified time | relevance | path

Searched refs:vertices_ (Results 1 - 8 of 8) sorted by relevance

/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/
H A Dgeometry_path_storage.h236 UICanvasVertices() : vertices_(), iterator_(0) {} in UICanvasVertices()
246 vertices_.RemoveAll(); in RemoveAll()
256 vertices_.FreeAll(); in FreeAll()
269 vertices_.AddVertex(x, y, PATH_CMD_MOVE_TO); in MoveTo()
280 vertices_.AddVertex(x, y, PATH_CMD_LINE_TO); in LineTo()
287 vertices_.AddVertex(xCtrl1, yCtrl1, PATH_CMD_CURVE4); in CubicBezierCurve()
288 vertices_.AddVertex(xCtrl2, yCtrl2, PATH_CMD_CURVE4); in CubicBezierCurve()
289 vertices_.AddVertex(xEnd, yEnd, PATH_CMD_CURVE4); in CubicBezierCurve()
310 if (vertices_.GetTotalVertices() && IsVertex(vertices_ in ArcTo()
481 VertexBlockStorage vertices_; global() member in OHOS::UICanvasVertices
[all...]
/foundation/arkui/ui_lite/frameworks/draw/
H A Dclip_utils.h36 vertices_ = new UICanvasVertices(); in ClipPath()
40 if (vertices_ != nullptr) { in ~ClipPath()
41 vertices_->FreeAll(); in ~ClipPath()
42 delete vertices_; in ~ClipPath()
43 vertices_ = nullptr; in ~ClipPath()
55 return *vertices_; in GetVertices()
58 UICanvasVertices* vertices_; member in OHOS::ClipPath
H A Dclip_utils.cpp33 vertices_->MoveTo(point.x, point.y); in MoveTo()
39 if (vertices_->GetTotalVertices() != 0) { in LineTo()
40 vertices_->LineTo(point.x, point.y); in LineTo()
42 vertices_->MoveTo(point.x, point.y); in LineTo()
49 vertices_->CubicBezierCurve(control1.x, control1.y, control2.x, control2.y, end.x, end.y); in CurveTo()
60 if (vertices_->GetTotalVertices() != 0) { in Arc()
61 vertices_->LineTo(float(center.x + sinma), float(center.y - cosma)); in Arc()
63 vertices_->MoveTo(float(center.x + sinma), float(center.y - cosma)); in Arc()
78 vertices_->ArcTo(radius, radius, angle, largeArcFlag, 1, center.x + sinma, center.y - cosma); in Arc()
87 vertices_ in Circle()
[all...]
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_canvas.cpp48 if (vertices_ != nullptr && vertices_->GetTotalVertices() == 0) { in BeginPath()
49 delete vertices_; in BeginPath()
50 vertices_ = nullptr; in BeginPath()
53 vertices_ = new UICanvasVertices(); in BeginPath()
54 if (vertices_ == nullptr) { in BeginPath()
75 if (vertices_ == nullptr) { in MoveTo()
78 vertices_->MoveTo(point.x, point.y); in MoveTo()
98 if (vertices_ == nullptr) { in LineTo()
101 vertices_ in LineTo()
[all...]
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_canvas.h75 UICanvas() : startPoint_({0, 0}), vertices_(nullptr), path_(nullptr) {} in UICanvas()
546 UICanvasVertices* vertices_; member in OHOS::UICanvas
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_canvas_unit_test.cpp86 return vertices_; in GetPath()
94 vertices_->Rewind(0); in GetStartPos()
95 vertices_->GenerateVertex(&x, &y); in GetStartPos()
107 vertices_->LastVertex(&x, &y); in GetEndPos()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/
H A Ddraw_cmd.cpp950 vertices_ = CmdListHelper::GetVerticesFromCmdList(cmdList, handle->vertices); in DrawVerticesOpItem()
963 if (vertices_) { in Marshalling()
964 opDataHandle = CmdListHelper::AddVerticesToCmdList(cmdList, *vertices_); in Marshalling()
971 if (vertices_ == nullptr) { in Playback()
976 canvas->DrawVertices(*vertices_, mode_); in Playback()
984 stream << std::hex << vertices_.get(); in DumpItems()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/
H A Ddraw_cmd.h591 vertices_(std::make_shared<Vertices>(vertices)) {} in DrawVerticesOpItem()
600 std::shared_ptr<Vertices> vertices_; member in OHOS::Rosen::Drawing::DrawVerticesOpItem

Completed in 18 milliseconds