Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Dborder_image_painter.cpp683 double halfSurplusHorizontalLength = 0; in PaintBorderImageRepeat() local
686 …imageWidth_ - rightSlice_ - halfSurplusHorizontalLength, 0, halfSurplusHorizontalLength, topSlice_… in PaintBorderImageRepeat()
696 offsetTopY, halfSurplusHorizontalLength, topWidth_); in PaintBorderImageRepeat()
702 imageHeight_ - bottomSlice_, halfSurplusHorizontalLength, bottomSlice_); in PaintBorderImageRepeat()
713 offsetBottomY - bottomWidth_, halfSurplusHorizontalLength, bottomWidth_); in PaintBorderImageRepeat()
718 double repeatHorizontalStart = offsetLeftX + leftWidth_ + halfSurplusHorizontalLength; in PaintBorderImageRepeat()
842 double halfSurplusHorizontalLength = 0; in PaintBorderImageRepeat() local
847 halfSurplusHorizontalLength + offsetLeftX + leftWidth_, topWidth_ + offsetTopY); in PaintBorderImageRepeat()
859 halfSurplusHorizontalLength + offsetLeftX + leftWidth_, offsetBottomY); in PaintBorderImageRepeat()
865 RSRect(offsetLeftX + leftWidth_ + borderCenterWidth_ - halfSurplusHorizontalLength, in PaintBorderImageRepeat()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Dborder_image_painter.cpp443 double halfSurplusHorizontalLength = 0; in PaintBorderImageRepeat() local
444halfSurplusHorizontalLength = (borderCenterWidth_ - (int)(widthFactor)*imageCenterWidth_) / 2; in PaintBorderImageRepeat()
446 … imageWidth_ - rightSlice_ - halfSurplusHorizontalLength, 0, imageWidth_ - rightSlice_, topSlice_); in PaintBorderImageRepeat()
448 offsetLeftX + leftWidth_ + halfSurplusHorizontalLength, offsetTopY + topWidth_); in PaintBorderImageRepeat()
451 …RSRect srcRectTopRight = RSRect(leftSlice_, 0, leftSlice_ + halfSurplusHorizontalLength, topSlice_… in PaintBorderImageRepeat()
453 … RSRect(offsetLeftX + leftWidth_ + borderCenterWidth_ - halfSurplusHorizontalLength, offsetTopY, in PaintBorderImageRepeat()
457 … RSRect srcRectBottomLeft = RSRect(imageWidth_ - rightSlice_ - halfSurplusHorizontalLength, in PaintBorderImageRepeat()
460 offsetLeftX + leftWidth_ + halfSurplusHorizontalLength, offsetBottomY); in PaintBorderImageRepeat()
464 …RSRect(leftSlice_, imageHeight_ - bottomSlice_, leftSlice_ + halfSurplusHorizontalLength, imageHei… in PaintBorderImageRepeat()
466 RSRect(offsetLeftX + leftWidth_ + borderCenterWidth_ - halfSurplusHorizontalLength, in PaintBorderImageRepeat()
[all …]