Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_image.cpp41 constexpr float CENTER_ALIGNED_FACTOR = 2.f; variable
205 … tempRectF.SetAll((imageParameter.dstW - imageParameter.srcW) / CENTER_ALIGNED_FACTOR, 0.f, in ApplyImageFitSwitch()
212 … tempRectF.SetAll(0.f, (imageParameter.dstH - imageParameter.srcH) / CENTER_ALIGNED_FACTOR, in ApplyImageFitSwitch()
216 tempRectF.SetAll((imageParameter.dstW - imageParameter.srcW) / CENTER_ALIGNED_FACTOR, in ApplyImageFitSwitch()
217 (imageParameter.dstH - imageParameter.srcH) / CENTER_ALIGNED_FACTOR, in ApplyImageFitSwitch()
222 (imageParameter.dstH - imageParameter.srcH) / CENTER_ALIGNED_FACTOR, in ApplyImageFitSwitch()
229 tempRectF.SetAll((imageParameter.dstW - imageParameter.srcW) / CENTER_ALIGNED_FACTOR, in ApplyImageFitSwitch()