Home
last modified time | relevance | path

Searched refs:borderCenterWidth_ (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Dborder_image_painter.cpp460 if (fmod(borderCenterWidth_, imageCenterWidth_) != 0) { in PaintBorderImageRound()
468 double roundImageWidth = borderCenterWidth_ / roundHorizontalCount; in PaintBorderImageRound()
521 if (fmod(borderCenterWidth_, imageCenterWidth_) != 0) { in PaintBorderImageRound()
529 double roundImageWidth = borderCenterWidth_ / roundHorizontalCount; in PaintBorderImageRound()
664 widthFactor = borderCenterWidth_ / imageCenterWidth_; in PaintBorderImageRepeat()
675 imageHeight_ - bottomSlice_, borderCenterWidth_, bottomSlice_); in PaintBorderImageRepeat()
826 widthFactor = borderCenterWidth_ / imageCenterWidth_; in PaintBorderImageRepeat()
830 borderCenterWidth_ + halfSurplusImageCenterWidth + leftSlice_, topSlice_); in PaintBorderImageRepeat()
832 borderCenterWidth_ + offsetLeftX + leftWidth_, topWidth_ + offsetTopY); in PaintBorderImageRepeat()
836 borderCenterWidth_ + halfSurplusImageCenterWidth + leftSlice_, imageHeight_); in PaintBorderImageRepeat()
[all …]
H A Dborder_image_painter.h92 double borderCenterWidth_ = 0.0; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Dborder_image_painter.cpp318 auto roundHorizontalCount = static_cast<int32_t>(borderCenterWidth_ / imageCenterWidth_); in PaintBorderImageRound()
322 if (fmod(borderCenterWidth_, imageCenterWidth_) != 0) { in PaintBorderImageRound()
330 double roundImageWidth = borderCenterWidth_ / roundHorizontalCount; in PaintBorderImageRound()
376 auto roundHorizontalCount = static_cast<int32_t>(borderCenterWidth_ / imageCenterWidth_); in PaintBorderImageSpace()
427 widthFactor = borderCenterWidth_ / imageCenterWidth_; in PaintBorderImageRepeat()
429 double halfSurplusImageCenterWidth = (imageCenterWidth_ - borderCenterWidth_) / 2; in PaintBorderImageRepeat()
431 halfSurplusImageCenterWidth + leftSlice_ + borderCenterWidth_, topSlice_); in PaintBorderImageRepeat()
433 offsetLeftX + leftWidth_ + borderCenterWidth_, offsetTopY + topWidth_); in PaintBorderImageRepeat()
437 halfSurplusImageCenterWidth + leftSlice_ + borderCenterWidth_, imageHeight_); in PaintBorderImageRepeat()
454 offsetLeftX + leftWidth_ + borderCenterWidth_, offsetTopY + topWidth_); in PaintBorderImageRepeat()
[all …]
H A Dborder_image_painter.h67 double borderCenterWidth_ = 0.0; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/render/
H A Dborder_image_painter_test_ng.cpp121 EXPECT_EQ(borderImagePainter.borderCenterWidth_, 100);
458 borderImagePainter.borderCenterWidth_ = FIVE;
470 …auto widthCount = fmod(borderImagePainter.borderCenterWidth_, borderImagePainter.imageCenterWidth_…
501 borderImagePainter.borderCenterWidth_ = TWO;
511 …auto widthCount = fmod(borderImagePainter.borderCenterWidth_, borderImagePainter.imageCenterWidth_…
543 borderImagePainter.borderCenterWidth_ = minus;
553 …auto widthCount = fmod(borderImagePainter.borderCenterWidth_, borderImagePainter.imageCenterWidth_…