Home
last modified time | relevance | path

Searched refs:halfSurplusImageCenterWidth (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Dborder_image_painter.cpp429 double halfSurplusImageCenterWidth = (imageCenterWidth_ - borderCenterWidth_) / 2; in PaintBorderImageRepeat() local
430 RSRect srcRectTop = RSRect(halfSurplusImageCenterWidth + leftSlice_, 0, in PaintBorderImageRepeat()
431 halfSurplusImageCenterWidth + leftSlice_ + borderCenterWidth_, topSlice_); in PaintBorderImageRepeat()
436 …RSRect srcRectBottom = RSRect(halfSurplusImageCenterWidth + leftSlice_, imageHeight_ - bottomSlice… in PaintBorderImageRepeat()
437 halfSurplusImageCenterWidth + leftSlice_ + borderCenterWidth_, imageHeight_); in PaintBorderImageRepeat()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Dborder_image_painter.cpp666 double halfSurplusImageCenterWidth = (imageCenterWidth_ - borderCenterWidth_) / 2; in PaintBorderImageRepeat() local
668 … SkRect::MakeXYWH(halfSurplusImageCenterWidth + leftSlice_, 0, borderCenterWidth_, topSlice_); in PaintBorderImageRepeat()
674 SkRect srcRectBottom = SkRect::MakeXYWH(halfSurplusImageCenterWidth + leftSlice_, in PaintBorderImageRepeat()
828 double halfSurplusImageCenterWidth = (imageCenterWidth_ - borderCenterWidth_) / 2; in PaintBorderImageRepeat() local
829 RSRect srcRectTop = RSRect(halfSurplusImageCenterWidth + leftSlice_, 0, in PaintBorderImageRepeat()
830 borderCenterWidth_ + halfSurplusImageCenterWidth + leftSlice_, topSlice_); in PaintBorderImageRepeat()
835 …RSRect srcRectBottom = RSRect(halfSurplusImageCenterWidth + leftSlice_, imageHeight_ - bottomSlice… in PaintBorderImageRepeat()
836 borderCenterWidth_ + halfSurplusImageCenterWidth + leftSlice_, imageHeight_); in PaintBorderImageRepeat()