Searched refs:halfSurplusImageCenterHeight (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | border_image_painter.cpp | 492 double halfSurplusImageCenterHeight = (imageCenterHeight_ - borderCenterHeight_) / 2; in PaintBorderImageRepeat() local 493 RSRect srcRectLeft = RSRect(0, topSlice_ + halfSurplusImageCenterHeight, leftSlice_, in PaintBorderImageRepeat() 494 topSlice_ + halfSurplusImageCenterHeight + borderCenterHeight_); in PaintBorderImageRepeat() 499 … RSRect srcRectRight = RSRect(imageWidth_ - rightSlice_, topSlice_ + halfSurplusImageCenterHeight, in PaintBorderImageRepeat() 500 imageWidth_, topSlice_ + halfSurplusImageCenterHeight + borderCenterHeight_); in PaintBorderImageRepeat()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/ |
H A D | border_image_painter.cpp | 744 double halfSurplusImageCenterHeight = (imageCenterHeight_ - borderCenterHeight_) / 2; in PaintBorderImageRepeat() local 746 … SkRect::MakeXYWH(0, topSlice_ + halfSurplusImageCenterHeight, leftSlice_, borderCenterHeight_); in PaintBorderImageRepeat() 753 …imageWidth_ - rightSlice_, topSlice_ + halfSurplusImageCenterHeight, rightSlice_, borderCenterHeig… in PaintBorderImageRepeat() 891 double halfSurplusImageCenterHeight = (imageCenterHeight_ - borderCenterHeight_) / 2; in PaintBorderImageRepeat() local 892 RSRect srcRectLeft = RSRect(0, topSlice_ + halfSurplusImageCenterHeight, leftSlice_, in PaintBorderImageRepeat() 893 borderCenterHeight_ + topSlice_ + halfSurplusImageCenterHeight); in PaintBorderImageRepeat() 898 … RSRect srcRectRight = RSRect(imageWidth_ - rightSlice_, topSlice_ + halfSurplusImageCenterHeight, in PaintBorderImageRepeat() 899 imageWidth_, borderCenterHeight_ + topSlice_ + halfSurplusImageCenterHeight); in PaintBorderImageRepeat()
|