Home
last modified time | relevance | path

Searched refs:rrect (Results 51 - 75 of 105) sorted by relevance

12345

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties_painter.cpp244 const RRect* rrect, bool isAbsCoordinate, bool radiusInclude) in GetShadowDirtyRect()
256 if (rrect != nullptr) { in GetShadowDirtyRect()
257 path.AddRoundRect(RRect2DrawingRRect(*rrect)); in GetShadowDirtyRect()
311 void RSPropertiesPainter::DrawShadow(const RSProperties& properties, RSPaintFilterCanvas& canvas, const RRect* rrect) in DrawShadow() argument
336 if (rrect != nullptr) { in DrawShadow()
337 path.AddRoundRect(RRect2DrawingRRect(*rrect)); in DrawShadow()
339 canvas.ClipRoundRect(RRect2DrawingRRect(*rrect), Drawing::ClipOp::DIFFERENCE, true); in DrawShadow()
1409 RRect rrect = GetRRectForDrawingBorder(properties, border, isOutline); in DrawBorderIfNoFill() local
1410 rrect.rect_.width_ -= borderWidth; in DrawBorderIfNoFill()
1411 rrect in DrawBorderIfNoFill()
243 GetShadowDirtyRect(RectI& dirtyShadow, const RSProperties& properties, const RRect* rrect, bool isAbsCoordinate, bool radiusInclude) GetShadowDirtyRect() argument
[all...]
H A Drs_property_drawable_bounds_geometry.cpp182 RRect rrect; in OnBoundsChange() local
185 rrect = properties.GetRRect(); in OnBoundsChange()
189 rrect = RRect(rect, properties.GetOutline()->GetRadiusFour()); in OnBoundsChange()
191 rrect.rect_.width_ -= borderWidth; in OnBoundsChange()
192 rrect.rect_.height_ -= borderWidth; in OnBoundsChange()
193 rrect.rect_.Move(borderWidth / PARAM_DOUBLE, borderWidth / PARAM_DOUBLE); in OnBoundsChange()
195 borderPath_.AddRoundRect(RSPropertiesPainter::RRect2DrawingRRect(rrect)); in OnBoundsChange()
228 borderGeo.rrect = rrect_; in Draw()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/
H A Drs_canvas_drawing_render_node_drawable_test.cpp406 auto rrect = std::make_shared<Drawing::Rect>(0.f, 0.f, 1.f, 1.f); in HWTEST_F() local
410 res = drawable->GetPixelmap(pixelmap, rrect.get(), tid, drawCmdList); in HWTEST_F()
412 res = drawable->GetPixelmap(pixelmap, rrect.get(), tid, drawCmdList); in HWTEST_F()
417 res = drawable->GetPixelmap(pixelmap, rrect.get(), tid, drawCmdList); in HWTEST_F()
421 res = drawable->GetPixelmap(pixelmap, rrect.get(), tid, drawCmdList); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Drosen_decoration_painter.h187 void PaintAllEqualBorder(const SkRRect& rrect, const Border& border, SkCanvas* canvas, SkPaint& paint);
204 void PaintAllEqualBorder(const RSRoundRect& rrect, const Border& border,
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscommand_fuzzer/
H A Drscommand_fuzzer.cpp78 RRect rrect = GetData<RRect>(); in RSSurfaceNodeCommandFuzzTest() local
96 SurfaceNodeCommandHelper::SetContainerWindow(context, static_cast<NodeId>(id), hasContainerWindow, rrect); in RSSurfaceNodeCommandFuzzTest()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/ui/rsnode_fuzzer/
H A Drsnode_fuzzer.cpp76 RRect rrect = GetData<RRect>(); in RSSurfaceNodeFuzzTest() local
92 surfaceNode->SetContainerWindow(hasContainerWindow, rrect); in RSSurfaceNodeFuzzTest()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/
H A Drs_properties_painter.h45 const RRect* rrect = nullptr, bool isAbsCoordinate = true, bool radiusInclude = true);
50 static void DrawShadow(const RSProperties& properties, RSPaintFilterCanvas& canvas, const RRect* rrect = nullptr);
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_ui_director.h51 void SetContainerWindow(bool hasContainerWindow, RRect rrect);
H A Drs_ui_director.cpp224 void RSUIDirector::SetContainerWindow(bool hasContainerWindow, RRect rrect) in SetContainerWindow() argument
231 node->SetContainerWindow(hasContainerWindow, rrect); in SetContainerWindow()
H A Drs_surface_node.h131 void SetContainerWindow(bool hasContainerWindow, RRect rrect);
/foundation/arkui/ace_engine/frameworks/core/pipeline/
H A Dpipeline_context.h316 const RRect& rrect, const Color& color, const Offset& offset, bool isIndented = false) const;
318 void ShowFocusAnimation(const RRect& rrect, const Color& color, const Offset& offset, const Rect& clipRect) const;
320 void ShowShadow(const RRect& rrect, const Offset& offset) const;
322 void ShowShadow(const RRect& rrect, const Offset& offset, const Rect& clipRect) const;
/foundation/arkui/ace_engine/frameworks/core/components/focus_animation/
H A Drosen_render_focus_animation.cpp201 RSRoundRect rrect; in PaintClipRect() local
202 rrect.SetRect(RSRect(clipRect_.GetOffset().GetX() - offset / DOUBLE_FACTOR, in PaintClipRect()
206 canvas->ClipRoundRect(rrect, RSClipOp::INTERSECT, true); in PaintClipRect()
/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Drender_list_item.cpp653 auto rrect = RRect(Rect(childNode->GetGlobalOffset() + margin.GetOffset(), in ResetFocusEffect() local
657 rrect.SetCorner({ border.TopLeftRadius(), border.TopRightRadius(), in ResetFocusEffect()
660 return rrect; in ResetFocusEffect()
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/cmd/
H A Drs_surface_node_cmd_test.cpp32 RRect rrect = RRect({0, 0, 0, 0}, outerRadius, outerRadius); member in OHOS::Rosen::RSSurfaceNodeCmdTest
244 SurfaceNodeCommandHelper::SetContainerWindow(context, id, hasContainerWindow, rrect); in HWTEST_F()
248 SurfaceNodeCommandHelper::SetContainerWindow(*context2, id2, hasContainerWindow, rrect); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_canvas_autocache.cpp348 void SkiaCanvasAutoCache::onDrawRRect(const SkRRect& rrect, const SkPaint& paint) in onDrawRRect() argument
351 const SkRect& bounds = rrect.getBounds(); in onDrawRRect()
356 this->SkNWayCanvas::onDrawRRect(rrect, paint); in onDrawRRect()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/
H A Ddraw_cmd.h331 ConstructorHandle(const RoundRect& rrect, const PaintHandle& paintHandle) in ConstructorHandle()
332 : OpItem(DrawOpItem::ROUND_RECT_OPITEM), rrect(rrect), paintHandle(paintHandle) {} in ConstructorHandle()
334 RoundRect rrect; member
338 explicit DrawRoundRectOpItem(const RoundRect& rrect, const Paint& paint) in DrawRoundRectOpItem() argument
339 : DrawWithPaintOpItem(paint, DrawOpItem::ROUND_RECT_OPITEM), rrect_(rrect) {} in DrawRoundRectOpItem()
1001 ConstructorHandle(const RoundRect& rrect, ClipOp op, bool doAntiAlias) in ConstructorHandle()
1002 : OpItem(DrawOpItem::CLIP_ROUND_RECT_OPITEM), rrect(rrect), clipOp(op), doAntiAlias(doAntiAlias) {} in ConstructorHandle()
1004 RoundRect rrect; member
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Drosen_render_checkbox.cpp238 RSRoundRect rrect( in DrawBorder()
241 canvas->DrawRoundRect(rrect); in DrawBorder()
/foundation/arkui/ace_engine/frameworks/core/components/page_transition/
H A Dpage_transition_element.cpp339 DeviceType deviceType, TransitionEvent event, TransitionDirection direction, const RRect& rrect) in SetTransition()
342 TransitionTweenOptionFactory::CreateTransitionTweenOption(deviceType, event, isRightToLeft_, rrect, context_); in SetTransition()
338 SetTransition( DeviceType deviceType, TransitionEvent event, TransitionDirection direction, const RRect& rrect) SetTransition() argument
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/ui/rsuidirector_fuzzer/
H A Drsuidirector_fuzzer.cpp233 RRect rrect = GetData<RRect>(); in DoSetContainerWindow() local
234 director->SetContainerWindow(hasContainerWindow, rrect); in DoSetContainerWindow()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/command/
H A Drs_surface_node_command.cpp194 RSContext& context, NodeId nodeId, bool hasContainerWindow, RRect rrect) in SetContainerWindow()
197 node->SetContainerWindow(hasContainerWindow, rrect); in SetContainerWindow()
193 SetContainerWindow( RSContext& context, NodeId nodeId, bool hasContainerWindow, RRect rrect) SetContainerWindow() argument
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/
H A Dpath.cpp178 void Path::AddRoundRect(const RoundRect& rrect, PathDirection dir) in AddRoundRect() argument
180 impl_->AddRoundRect(rrect, dir); in AddRoundRect()
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/
H A Ddrawing_painter_impl.cpp216 void RSCanvasParagraphPainter::drawRRect(const SkRRect& rrect, const SkColor color) in drawRRect() argument
218 Drawing::RoundRect rsRRect = ToDrawingRoundRect(rrect); in drawRRect()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/
H A Dconvex_paths.cpp123 OH_Drawing_Rect* rrect = OH_Drawing_RectCreate(r.left, r.top, r.right, r.bottom); in MakePath2() local
126 OH_Drawing_RoundRect* round_rect = OH_Drawing_RoundRectCreate(rrect, xRad, yRad); in MakePath2()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkboxgroup/
H A Dcheckboxgroup_modifier.h106 void DrawRectOrCircle(RSCanvas& canvas, const RSRoundRect& rrect) const;
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/drawable/
H A Drs_property_drawable_utils.h63 const std::shared_ptr<RSPath>& clipBounds, const RRect& rrect);

Completed in 25 milliseconds

12345