Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/slider/
H A Drosen_render_circle_block.cpp70 SkRect shadowRect = rect; in SyncGeometryProperties() local
74 shadowRect.outset(1, 1); in SyncGeometryProperties()
107 RSRect shadowRect(rect); in SyncGeometryProperties() local
109 shadowRect.SetLeft(shadowRect.GetLeft() - ambientBlur); in SyncGeometryProperties()
110 shadowRect.SetTop(shadowRect.GetTop() - ambientBlur); in SyncGeometryProperties()
111 shadowRect.SetRight(shadowRect.GetRight() + ambientBlur); in SyncGeometryProperties()
112 shadowRect.SetBottom(shadowRect.GetBottom() + ambientBlur); in SyncGeometryProperties()
114 shadowRect.SetLeft(shadowRect.GetLeft() - 1); in SyncGeometryProperties()
115 shadowRect.SetTop(shadowRect.GetTop() - 1); in SyncGeometryProperties()
116 shadowRect.SetRight(shadowRect.GetRight() + 1); in SyncGeometryProperties()
[all …]
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_canvas.cpp133 Rect shadowRect = {int16_t(bbox.GetLeft()), int16_t(bbox.GetTop()), int16_t(bbox.GetRight()), in DoDrawShadow() local
135 shadowRect.Intersect(shadowRect, invalidatedArea); in DoDrawShadow()
136 …pixf2.Attach(pixFormat, shadowRect.GetLeft(), shadowRect.GetTop(), shadowRect.GetRight(), shadowRe… in DoDrawShadow()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_render_node_drawable_adapter.cpp419 auto shadowRect = params.GetShadowRect(); in DrawBackgroundWithoutFilterAndEffect() local
420 …PTIONAL_TRACE_NAME_FMT("ClipHoleForBlur shadowRect:[%.2f, %.2f, %.2f, %.2f]", shadowRect.GetLeft(), in DrawBackgroundWithoutFilterAndEffect()
421 shadowRect.GetTop(), shadowRect.GetWidth(), shadowRect.GetHeight()); in DrawBackgroundWithoutFilterAndEffect()
426 curCanvas->ClipRect(shadowRect); in DrawBackgroundWithoutFilterAndEffect()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_render_node.cpp1640 RectI shadowRect; in UpdateDirtyRegion() local
1665 if (!shadowRect.IsEmpty()) { in UpdateDirtyRegion()
1667 shadowRect = shadowRect.MakeOutset({1, 1, 1, 1}); in UpdateDirtyRegion()
2586 RectI shadowRect; in UpdateShadowRect() local
2798 RectI shadowRect; in NeedInitCacheSurface() local
2800 width = shadowRect.GetWidth(); in NeedInitCacheSurface()
2801 height = shadowRect.GetHeight(); in NeedInitCacheSurface()
2867 RectI shadowRect; in InitCacheSurface() local
2869 width = shadowRect.GetWidth(); in InitCacheSurface()
2870 height = shadowRect.GetHeight(); in InitCacheSurface()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties_painter.cpp240 Drawing::Rect shadowRect = path.GetBounds(); in GetShadowDirtyRect() local
259 shadowRect = ambientRect; in GetShadowDirtyRect()
261 shadowRect.MakeOutset(ambientBlur, ambientBlur); in GetShadowDirtyRect()
263 shadowRect.Join(spotRect); in GetShadowDirtyRect()
264 shadowRect.MakeOutset(1, 1); in GetShadowDirtyRect()
273 brush.ComputeFastBounds(shadowRect, &shadowRect); in GetShadowDirtyRect()
279 matrix.MapRect(shadowRect, shadowRect); in GetShadowDirtyRect()
281 dirtyShadow.left_ = shadowRect.GetLeft(); in GetShadowDirtyRect()
282 dirtyShadow.top_ = shadowRect.GetTop(); in GetShadowDirtyRect()
283 dirtyShadow.width_ = shadowRect.GetWidth(); in GetShadowDirtyRect()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Drender_node.cpp1543 Rect shadowRect = paintRect + (shadow_.GetOffset() - Offset(radius, radius)); in GetRectWithShadow() local
1544 shadowRect += Size(2.0 * radius, 2.0 * radius); in GetRectWithShadow()
1545 shadowRect = shadowRect.CombineRect(paintRect); in GetRectWithShadow()
1548 Offset shadowOffset = shadowRect.GetOffset(); in GetRectWithShadow()
1551 return Rect(offset, shadowRect.GetSize()); in GetRectWithShadow()