Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/slider/
H A Drosen_render_circle_block.cpp65 SkRect spotRect = SkRect::MakeLTRB(rect.left() * spotRatio, rect.top() * spotRatio, in SyncGeometryProperties() local
67 spotRect.offset(-transRatio * LIGHT_POSITION_X, -transRatio * LIGHT_POSITION_Y); in SyncGeometryProperties()
68 spotRect.outset(transRatio * LIGHT_RADIUS, transRatio * LIGHT_RADIUS); in SyncGeometryProperties()
73 shadowRect.join(spotRect); in SyncGeometryProperties()
99 auto spotRect = RSRect(rect.GetLeft() * spotRatio, rect.GetTop() * spotRatio, in SyncGeometryProperties() local
101 spotRect.Offset(-transRatio * LIGHT_POSITION_X, -transRatio * LIGHT_POSITION_Y); in SyncGeometryProperties()
102 spotRect.SetLeft(spotRect.GetLeft() - transRatio * LIGHT_RADIUS); in SyncGeometryProperties()
103 spotRect.SetTop(spotRect.GetTop() - transRatio * LIGHT_RADIUS); in SyncGeometryProperties()
104 spotRect.SetRight(spotRect.GetRight() + transRatio * LIGHT_RADIUS); in SyncGeometryProperties()
105 spotRect.SetBottom(spotRect.GetBottom() + transRatio * LIGHT_RADIUS); in SyncGeometryProperties()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties_painter.cpp254 …Drawing::Rect spotRect = Drawing::Rect(ambientRect.GetLeft() * spotRatio, ambientRect.GetTop() * s… in GetShadowDirtyRect() local
256spotRect.Offset(-transRatio * DEFAULT_LIGHT_POSITION_X, -transRatio * DEFAULT_LIGHT_POSITION_Y); in GetShadowDirtyRect()
257 spotRect.MakeOutset(transRatio * DEFAULT_LIGHT_RADIUS, transRatio * DEFAULT_LIGHT_RADIUS); in GetShadowDirtyRect()
263 shadowRect.Join(spotRect); in GetShadowDirtyRect()