/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/common/ |
H A D | rs_rect_test.cpp | 68 auto p2 = std::pair<NodeId, RectI>(id, rect.MakeOutset(1)); 84 auto p2 = std::pair<NodeId, RectI>(id, rect.MakeOutset(1)); 334 EXPECT_NE(rect.MakeOutset(outset), rect1);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/rect_fuzzer/ |
H A D | rect_fuzzer.cpp | 71 rect1.MakeOutset(dx, dy); in RectFuzzTest001() 133 rectf.MakeOutset(dx, dy); in RectFuzzTest003()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | rect.h | 85 inline void MakeOutset(int32_t dx, int32_t dy); 206 inline void RectI::MakeOutset(int32_t dx, int32_t dy) in MakeOutset() function 288 inline void MakeOutset(scalar dx, scalar dy); 398 inline void RectF::MakeOutset(scalar dx, scalar dy) in MakeOutset() function
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/utils/ |
H A D | rect_test.cpp | 300 rectF->MakeOutset(1.0f, 2.0f); 317 rectF->MakeOutset(2.0f, 1.0f); 721 rectI->MakeOutset(1.0f, 2.0f); 738 rectI->MakeOutset(2.0f, 1.0f);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_test/ |
H A D | skia_txt_test.cpp | 40 rectTest = rectTest.MakeOutset(vecTest);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_property_drawable_bounds_geometry.cpp | 135 RectF rect = properties.GetBoundsRect().MakeOutset(properties.GetOutline()->GetWidthFour()); in OnBoundsChange() 159 rect_ = properties.GetBoundsRect().MakeOutset(properties.GetOutline()->GetWidthFour()); in OnBoundsChange() 189 RectF rect = properties.GetBoundsRect().MakeOutset(properties.GetOutline()->GetWidthFour()); in OnBoundsChange() 219 RectF rect = properties.GetBoundsRect().MakeOutset(properties.GetOutline()->GetWidthFour()); in OnBoundsChange()
|
H A D | rs_properties_painter.cpp | 257 spotRect.MakeOutset(transRatio * DEFAULT_LIGHT_RADIUS, transRatio * DEFAULT_LIGHT_RADIUS); in GetShadowDirtyRect() 261 shadowRect.MakeOutset(ambientBlur, ambientBlur); in GetShadowDirtyRect() 264 shadowRect.MakeOutset(1, 1); in GetShadowDirtyRect() 892 auto scaledBounds = boundsRect.MakeOutset(dirtyExtension); in GetForegroundEffectDirtyRect() 1133 … RRect(properties.GetRRect().rect_.MakeOutset(border->GetWidthFour()), border->GetRadiusFour()) : in GetRRectForDrawingBorder() 1333 … properties.GetBoundsRect().MakeOutset(border->GetWidthFour()) : properties.GetBoundsRect(); in DrawBorderBase()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_rect.h | 206 RectT<T> MakeOutset(Vector4<T> outset) const in MakeOutset() function
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_property_drawable_foreground.cpp | 411 …isOutline ? properties.GetBoundsRect().MakeOutset(border->GetWidthFour()) : properties.GetBoundsRe… in DrawBorder()
|
H A D | rs_property_drawable_utils.cpp | 70 …return isOutline ? RRect(properties.GetRRect().rect_.MakeOutset(border->GetWidthFour()), border->G… in GetRRectForDrawingBorder()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_image.cpp | 528 dst_.MakeOutset(1, 1); in DrawImageOnCanvas()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_render_node.cpp | 1667 shadowRect = shadowRect.MakeOutset({1, 1, 1, 1}); in UpdateDirtyRegion() 1698 dirtyRect = dirtyRect.MakeOutset(Vector4<int>(dirtyExtension)); in UpdateDirtyRegion() 2991 dst.MakeOutset(1, 1); in DrawCacheSurface()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/ |
H A D | draw_cmd.cpp | 1390 bounds->MakeOutset(TEXT_BLOB_CACHE_MARGIN, TEXT_BLOB_CACHE_MARGIN); in GenerateCachedOpItem()
|