Searched refs:vertices_ (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/ |
H A D | geometry_path_storage.h | 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() 310 if (vertices_.GetTotalVertices() && IsVertex(vertices_.LastCommand())) { in ArcTo() 314 vertices_.LastVertex(&x0, &y0); in ArcTo() 342 if (IsVertex(vertices_.LastCommand())) { 363 return vertices_.GetTotalVertices(); in GetTotalVertices() 376 return vertices_.LastVertex(x, y); in LastVertex() 430 vertices_.AddVertex(x, y, cmd); [all …]
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | clip_utils.h | 36 vertices_ = new UICanvasVertices(); in ClipPath() 40 if (vertices_ != nullptr) { in ~ClipPath() 41 vertices_->FreeAll(); in ~ClipPath() 42 delete vertices_; in ~ClipPath() local 43 vertices_ = nullptr; in ~ClipPath() 55 return *vertices_; in GetVertices() 58 UICanvasVertices* vertices_;
|
H A D | clip_utils.cpp | 33 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_->RemoveAll(); in Circle() [all …]
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_canvas.cpp | 48 if (vertices_ != nullptr && vertices_->GetTotalVertices() == 0) { in BeginPath() 49 delete vertices_; in BeginPath() 50 vertices_ = nullptr; in BeginPath() 54 if (vertices_ == nullptr) { in BeginPath() 75 if (vertices_ == nullptr) { in MoveTo() 98 if (vertices_ == nullptr) { in LineTo() 235 vertices_->ClosePolygon(); in ClosePath() 261 delete vertices_; in ~UICanvas() 262 vertices_ = nullptr; in ~UICanvas() 282 delete vertices_; in Clear() [all …]
|
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_canvas.h | 75 UICanvas() : startPoint_({0, 0}), vertices_(nullptr), path_(nullptr) {} in UICanvas() 546 UICanvasVertices* vertices_; variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/ |
H A D | draw_cmd.cpp | 808 vertices_ = CmdListHelper::GetVerticesFromCmdList(cmdList, handle->vertices); in DrawVerticesOpItem() 821 if (vertices_) { in Marshalling() 822 opDataHandle = CmdListHelper::AddVerticesToCmdList(cmdList, *vertices_); in Marshalling() 829 if (vertices_ == nullptr) { in Playback() 834 canvas->DrawVertices(*vertices_, mode_); in Playback()
|
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_canvas_unit_test.cpp | 86 return vertices_; in GetPath() 94 vertices_->Rewind(0); in GetStartPos() 95 vertices_->GenerateVertex(&x, &y); in GetStartPos() 107 vertices_->LastVertex(&x, &y); in GetEndPos()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/ |
H A D | draw_cmd.h | 576 vertices_(std::make_shared<Vertices>(vertices)) {} in DrawVerticesOpItem() 584 std::shared_ptr<Vertices> vertices_; variable
|