Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/core/components/slider/
H A Drosen_render_circle_block.cpp70 SkRect shadowRect = rect; in SyncGeometryProperties() local
72 shadowRect.outset(ambientBlur, ambientBlur); in SyncGeometryProperties()
73 shadowRect.join(spotRect); in SyncGeometryProperties()
74 shadowRect.outset(1, 1); in SyncGeometryProperties()
80 offsetX = hoverRadius > shadowRect.width() * HALF ? hoverRadius : shadowRect.width() * HALF; in SyncGeometryProperties()
81 offsetY = hoverRadius > shadowRect.height() * HALF ? hoverRadius : shadowRect.height() * HALF; in SyncGeometryProperties()
84 offsetX = pressRadius > shadowRect.width() * HALF ? pressRadius : shadowRect in SyncGeometryProperties()
[all...]
/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(), shadowRect.GetBottom()); in DoDrawShadow()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_render_node_drawable_adapter.cpp416 auto shadowRect = params.GetShadowRect(); in DrawBackgroundWithoutFilterAndEffect() local
417 RS_OPTIONAL_TRACE_NAME_FMT("ClipHoleForBlur shadowRect:[%.2f, %.2f, %.2f, %.2f]", shadowRect.GetLeft(), in DrawBackgroundWithoutFilterAndEffect()
418 shadowRect.GetTop(), shadowRect.GetWidth(), shadowRect.GetHeight()); in DrawBackgroundWithoutFilterAndEffect()
423 curCanvas->ClipRect(shadowRect); in DrawBackgroundWithoutFilterAndEffect()
462 // The shadow without shadowRect has drawn in Nodegroup's cache, so we can't draw it again in CheckShadowRectAndDrawBackground()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties_painter.cpp264 Drawing::Rect shadowRect = path.GetBounds(); in GetShadowDirtyRect() local
283 shadowRect = ambientRect; in GetShadowDirtyRect()
285 shadowRect.MakeOutset(ambientBlur, ambientBlur); in GetShadowDirtyRect()
287 shadowRect.Join(spotRect); in GetShadowDirtyRect()
288 shadowRect.MakeOutset(1, 1); in GetShadowDirtyRect()
297 brush.ComputeFastBounds(shadowRect, &shadowRect); in GetShadowDirtyRect()
303 matrix.MapRect(shadowRect, shadowRect); in GetShadowDirtyRect()
305 dirtyShadow.left_ = shadowRect in GetShadowDirtyRect()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_render_node.cpp1657 RectI shadowRect; in UpdateDirtyRegion() local
1678 RSPropertiesPainter::GetShadowDirtyRect(shadowRect, properties, &absClipRRect); in UpdateDirtyRegion()
1680 RSPropertiesPainter::GetShadowDirtyRect(shadowRect, properties); in UpdateDirtyRegion()
1682 if (!shadowRect.IsEmpty()) { in UpdateDirtyRegion()
1684 shadowRect = shadowRect.MakeOutset({1, 1, 1, 1}); in UpdateDirtyRegion()
1685 dirtyRect = dirtyRect.JoinRect(shadowRect); in UpdateDirtyRegion()
1735 GetId(), GetType(), DirtyRegionType::SHADOW_RECT, shadowRect); in UpdateDirtyRegion() local
2601 RectI shadowRect; in UpdateShadowRect() local
2603 RSPropertiesPainter::GetShadowDirtyRect(shadowRect, GetRenderPropertie in UpdateShadowRect()
2815 RectI shadowRect; NeedInitCacheSurface() local
2884 RectI shadowRect; InitCacheSurface() local
[all...]
/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()

Completed in 24 milliseconds