/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/ |
H A D | drawing_painter_impl.cpp | 202 Drawing::Rect rsRect = ToDrawingRect(rect); in drawRect() local 206 canvas_->DrawRect(rsRect); in drawRect() 211 canvas_->DrawRect(rsRect); in drawRect() 230 Drawing::Rect rsRect = ToDrawingRect(rect); in drawFilledRect() local 233 canvas_->DrawRect(rsRect); in drawFilledRect() 260 Drawing::Rect rsRect = ToDrawingRect(rect); in clipRect() local 261 canvas_->ClipRect(rsRect); in clipRect()
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/ |
H A D | texgine_rect.cpp | 53 RSRect rsRect = { x, y, x + w, y + h }; in MakeRRect() local 59 rect->SetRRect(RSRoundRect { rsRect, radiusXY }); in MakeRRect()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/ |
H A D | rating_modifier.cpp | 82 const RSRect rsRect(offset.GetX() + singleStarWidth * static_cast<float>(touchStar), offset.GetY(), in PaintBoard() 84 const RSRoundRect rsRoundRect(rsRect, static_cast<float>(pressBorderRadius.ConvertToPx()), in PaintBoard()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/ |
H A D | slider_content_modifier.cpp | 776 RSRect rsRect; in DrawBlockShapeRect() local 777 rsRect.SetLeft(blockCenter.GetX() - shapeWidth * HALF + blockBorderWidthUnscale * HALF); in DrawBlockShapeRect() 778 rsRect.SetRight(blockCenter.GetX() + shapeWidth * HALF - blockBorderWidthUnscale); in DrawBlockShapeRect() 779 rsRect.SetTop(blockCenter.GetY() - shapeHeight * HALF + blockBorderWidthUnscale * HALF); in DrawBlockShapeRect() 780 rsRect.SetBottom(blockCenter.GetY() + shapeHeight * HALF - blockBorderWidthUnscale); in DrawBlockShapeRect() 781 roundRect.SetRect(rsRect); in DrawBlockShapeRect()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | custom_paint_paint_method.cpp | 515 RSRect rsRect = RSRect( in DrawImageInternal() local 518 path.AddRect(rsRect); in DrawImageInternal() 599 RSRect rsRect(rect.Left(), rect.Top(), rect.Right(), +rect.Bottom()); in FillRect() 603 path.AddRect(rsRect); in FillRect() 607 rsCanvas_->DrawRect(rsRect); in FillRect() 615 path.AddRect(rsRect); in FillRect() 620 rsCanvas_->DrawRect(rsRect); in FillRect() 632 RSRect rsRect(rect.Left(), rect.Top(), rect.Right(), +rect.Bottom()); in StrokeRect() 636 path.AddRect(rsRect); in StrokeRect() 640 rsCanvas_->DrawRect(rsRect); in StrokeRect() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/rosen/ |
H A D | rosen_render_context_test_new.cpp | 147 RSRect rsRect(rect.Left(), rect.Top(), rect.Right(), rect.Bottom()); in HWTEST_F() 149 path.AddOval(rsRect); in HWTEST_F() 183 RSRect rsRect(roundRect.GetRect().Left(), roundRect.GetRect().Top(), roundRect.GetRect().Right(), in HWTEST_F() 185 rsRoundRect.SetRect(rsRect); in HWTEST_F()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ui_content_impl.cpp | 156 Rosen::Rect rsRect; in ConvertToRSRect() local 157 rsRect.posX_ = floor(rect.GetX()); in ConvertToRSRect() 158 rsRect.posY_ = floor(rect.GetY()); in ConvertToRSRect() 159 rsRect.width_ = ceil(rect.Width()); in ConvertToRSRect() 160 rsRect.height_ = ceil(rect.Height()); in ConvertToRSRect() 161 return rsRect; in ConvertToRSRect()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_decoration_painter.cpp | 885 RSRect rsRect = RSRect(left, top, left + width, top + height); in DrawingCreateRect() local 905 RSRoundRect roundRect(rsRect, fRadii); in DrawingCreateRect()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_render_context.cpp | 4680 RSRect rsRect(roundRect.GetRect().Left(), roundRect.GetRect().Top(), roundRect.GetRect().Right(), 4682 rsRoundRect.SetRect(rsRect); 6315 RSRect rsRect(roundRect.GetRect().Left(), roundRect.GetRect().Top(), roundRect.GetRect().Right(), 6317 rsRoundRect.SetRect(rsRect); 6341 RSRect rsRect(rect.Left(), rect.Top(), rect.Right(), rect.Bottom()); 6343 path.AddOval(rsRect);
|