Searched refs:borderGeo (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_border_test.cpp | 653 …borderGeo.center = { (borderGeo.innerRRect.rect_.GetLeft() + borderGeo.innerRRect.rect_.GetRight()… 716 …borderGeo.center = { (borderGeo.innerRRect.rect_.GetLeft() + borderGeo.innerRRect.rect_.GetRight()… 779 …borderGeo.center = { (borderGeo.innerRRect.rect_.GetLeft() + borderGeo.innerRRect.rect_.GetRight()… 846 …borderGeo.center = { (borderGeo.innerRRect.rect_.GetLeft() + borderGeo.innerRRect.rect_.GetRight()… 897 …borderGeo.center = { (borderGeo.innerRRect.rect_.GetLeft() + borderGeo.innerRRect.rect_.GetRight()… 954 …borderGeo.center = { (borderGeo.innerRRect.rect_.GetLeft() + borderGeo.innerRRect.rect_.GetRight()… 1018 …borderGeo.center = { (borderGeo.innerRRect.rect_.GetLeft() + borderGeo.innerRRect.rect_.GetRight()… 1066 …borderGeo.center = { (borderGeo.innerRRect.rect_.GetLeft() + borderGeo.innerRRect.rect_.GetRight()… 1116 …borderGeo.center = { (borderGeo.innerRRect.rect_.GetLeft() + borderGeo.innerRRect.rect_.GetRight()… 1166 …borderGeo.center = { (borderGeo.innerRRect.rect_.GetLeft() + borderGeo.innerRRect.rect_.GetRight()… [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_border.cpp | 409 CalcBorderPath(borderGeo); in DrawBorders() 529 clipPath.Op(borderGeo.pathVec[idx1], borderGeo.pathVec[idx2], Drawing::PathOp::UNION); in DrawBorderImpl() 539 clipPath.Op(borderGeo.pathVec[idx1], borderGeo.pathVec[idx2], Drawing::PathOp::UNION); in DrawBorderImpl() 565 Drawing::Point tlip = GetTLIP(borderGeo.rrect, borderGeo.center); in CalcBorderPath() 566 Drawing::Point trip = GetTRIP(borderGeo.rrect, borderGeo.center); in CalcBorderPath() 567 Drawing::Point brip = GetBRIP(borderGeo.rrect, borderGeo.center); in CalcBorderPath() 568 Drawing::Point blip = GetBLIP(borderGeo.rrect, borderGeo.center); in CalcBorderPath() 575 borderGeo.pathVec[RSBorder::TOP].Close(); in CalcBorderPath() 587 …borderGeo.pathVec[RSBorder::BOTTOM].MoveTo(offsetX, offsetY + borderGeo.rrect.GetRect().GetHeight(… in CalcBorderPath() 590 …borderGeo.pathVec[RSBorder::BOTTOM].LineTo(offsetX + width, offsetY + borderGeo.rrect.GetRect().Ge… in CalcBorderPath() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_border.h | 105 void DrawBorders(Drawing::Canvas& canvas, Drawing::Pen& pen, RSBorderGeo& borderGeo) const; 108 …void DrawBorderImpl(Drawing::Canvas& canvas, Drawing::Pen& pen, RSBorderGeo& borderGeo, int idx) c… 109 …void DrawBorderImpl(Drawing::Canvas& canvas, Drawing::Pen& pen, RSBorderGeo& borderGeo, int idx1, … 111 …Drawing::Canvas& canvas, Drawing::Pen& pen, RSBorderGeo& borderGeo, int idx1, int idx2, int idx3) … 112 …void DrawNestedRoundRect(Drawing::Canvas& canvas, const RSBorderGeo& borderGeo, uint32_t color) co… 113 void CalcBorderPath(RSBorderGeo& borderGeo) const; 121 …void DrawLeftBorder(Drawing::Canvas& canvas, Drawing::Pen& pen, const RSBorderGeo& borderGeo) cons… 122 …void DrawTopBorder(Drawing::Canvas& canvas, Drawing::Pen& pen, const RSBorderGeo& borderGeo) const; 123 …void DrawRightBorder(Drawing::Canvas& canvas, Drawing::Pen& pen, const RSBorderGeo& borderGeo) con… 124 …void DrawBottomBorder(Drawing::Canvas& canvas, Drawing::Pen& pen, const RSBorderGeo& borderGeo) co…
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_property_drawable_foreground.cpp | 429 RSBorderGeo borderGeo; in DrawBorder() local 430 borderGeo.rrect = RSPropertyDrawableUtils::RRect2DrawingRRect( in DrawBorder() 432 borderGeo.innerRRect = RSPropertyDrawableUtils::RRect2DrawingRRect( in DrawBorder() 434 …auto centerX = borderGeo.innerRRect.GetRect().GetLeft() + borderGeo.innerRRect.GetRect().GetWidth(… in DrawBorder() 435 …auto centerY = borderGeo.innerRRect.GetRect().GetTop() + borderGeo.innerRRect.GetRect().GetHeight(… in DrawBorder() 436 borderGeo.center = { centerX, centerY }; in DrawBorder() 437 auto rect = borderGeo.rrect.GetRect(); in DrawBorder() 441 border->DrawBorders(canvas, pen, borderGeo); in DrawBorder()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_property_drawable_bounds_geometry.cpp | 228 RSBorderGeo borderGeo; in Draw() local 229 borderGeo.rrect = rrect_; in Draw() 230 borderGeo.innerRRect = innerRrect_; in Draw() 233 borderGeo.center = { centerX, centerY }; in Draw() 238 properties.GetBorder()->DrawBorders(canvas, pen, borderGeo); in Draw() 240 properties.GetOutline()->DrawBorders(canvas, pen, borderGeo); in Draw()
|
H A D | rs_properties_painter.cpp | 1347 RSBorderGeo borderGeo; in DrawBorderBase() local 1348 … borderGeo.rrect = RRect2DrawingRRect(GetRRectForDrawingBorder(properties, border, isOutline)); in DrawBorderBase() 1349 …borderGeo.innerRRect = RRect2DrawingRRect(GetInnerRRectForDrawingBorder(properties, border, isOutl… in DrawBorderBase() 1350 …auto centerX = borderGeo.innerRRect.GetRect().GetLeft() + borderGeo.innerRRect.GetRect().GetWidth(… in DrawBorderBase() 1351 …auto centerY = borderGeo.innerRRect.GetRect().GetTop() + borderGeo.innerRRect.GetRect().GetHeight(… in DrawBorderBase() 1352 borderGeo.center = { centerX, centerY }; in DrawBorderBase() 1353 auto rect = borderGeo.rrect.GetRect(); in DrawBorderBase() 1357 border->DrawBorders(canvas, pen, borderGeo); in DrawBorderBase()
|