Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_node.cpp1143 … auto diameMax = particleParams[i].emitterConfig_.radius_ * 2 * scaleMax; // diameter = 2 * radius in SetParticleDrawRegion() local
1144 left[i] = std::min(bounds.x_ - diameMax, bounds.x_ + position.x_ - diameMax); in SetParticleDrawRegion()
1145 top[i] = std::min(bounds.y_ - diameMax, bounds.y_ + position.y_ - diameMax); in SetParticleDrawRegion()
1146 …right[i] = std::max(boundsRight + diameMax + diameMax, position.x_ + emitSize.x_ + diameMax + diam… in SetParticleDrawRegion()
1147 …bottom[i] = std::max(boundsBottom + diameMax + diameMax, position.y_ + emitSize.y_ + diameMax + di… in SetParticleDrawRegion()