Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Dimage_painter.cpp213 …bool imageRepeatY = config.imageRepeat_ == ImageRepeat::REPEAT || config.imageRepeat_ == ImageRepe… in DrawImageWithRepeat() local
227 …atYTask = [this, &canvas, &config, &dirRepeatNum, &singleImageHeight, &imageRepeatY, &contentRect]( in DrawImageWithRepeat()
230 for (size_t j = 0; j < dirRepeatNum[dir] && imageRepeatY; j++) { in DrawImageWithRepeat()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/
H A Dimage_pattern.cpp358 bool imageRepeatY = repeat == ImageRepeat::REPEAT || repeat == ImageRepeat::REPEAT_Y; in CalcImageContentPaintSize() local
369 … paintSize.SetHeight(imageRepeatY ? geometryNode->GetContentSize().Height() : dstRect_.Height()); in CalcImageContentPaintSize()
371 … paintSize.SetTop((imageRepeatY ? 0 : dstRect_.GetY()) + geometryNode->GetContentOffset().GetY()); in CalcImageContentPaintSize()