/third_party/skia/modules/sksg/src/ |
D | SkSGRect.cpp | 40 RRect::RRect(const SkRRect& rr) : fRRect(rr) {} in RRect() function in sksg::RRect 42 void RRect::onClip(SkCanvas* canvas, bool antiAlias) const { in onClip() 46 void RRect::onDraw(SkCanvas* canvas, const SkPaint& paint) const { in onDraw() 50 bool RRect::onContains(const SkPoint& p) const { in onContains() 66 SkRect RRect::onRevalidate(InvalidationController*, const SkMatrix&) { in onRevalidate() 72 SkPath RRect::onAsPath() const { in onAsPath() 73 return SkPath::RRect(fRRect, this->getDirection(), this->getInitialPointIndex()); in onAsPath()
|
/third_party/skia/modules/sksg/include/ |
D | SkSGRect.h | 71 class RRect final : public GeometryNode { 73 static sk_sp<RRect> Make() { return sk_sp<RRect>(new RRect(SkRRect())); } in Make() 74 static sk_sp<RRect> Make(const SkRRect& rr) { return sk_sp<RRect>(new RRect(rr)); } in Make() 76 SG_ATTRIBUTE(RRect, SkRRect, fRRect) 90 explicit RRect(const SkRRect&);
|
/third_party/flutter/skia/modules/sksg/include/ |
D | SkSGRect.h | 71 class RRect final : public GeometryNode { 73 static sk_sp<RRect> Make() { return sk_sp<RRect>(new RRect(SkRRect())); } in Make() 74 static sk_sp<RRect> Make(const SkRRect& rr) { return sk_sp<RRect>(new RRect(rr)); } in Make() 76 SG_ATTRIBUTE(RRect, SkRRect, fRRect) 90 explicit RRect(const SkRRect&);
|
/third_party/flutter/skia/modules/sksg/src/ |
D | SkSGRect.cpp | 42 RRect::RRect(const SkRRect& rr) : fRRect(rr) {} in RRect() function in sksg::RRect 44 void RRect::onClip(SkCanvas* canvas, bool antiAlias) const { in onClip() 48 void RRect::onDraw(SkCanvas* canvas, const SkPaint& paint) const { in onDraw() 52 bool RRect::onContains(const SkPoint& p) const { in onContains() 68 SkRect RRect::onRevalidate(InvalidationController*, const SkMatrix&) { in onRevalidate() 74 SkPath RRect::onAsPath() const { in onAsPath()
|
/third_party/flutter/engine/flutter/lib/ui/painting/ |
D | rrect.cc | 16 RRect DartConverter<flutter::RRect>::FromDart(Dart_Handle value) { in FromDart() 19 RRect result; in FromDart() 36 RRect DartConverter<flutter::RRect>::FromArguments(Dart_NativeArguments args, in FromArguments()
|
D | canvas.h | 61 void clipRRect(const RRect& rrect, bool doAntiAlias = true); 78 void drawRRect(const RRect& rrect, 81 void drawDRRect(const RRect& outer, 82 const RRect& inner,
|
/third_party/flutter/engine/flutter/testing/dart/ |
D | geometry_test.dart | 202 group('RRect', () { 203 test('RRect.fromRectXY', () { 205 final RRect r = RRect.fromRectXY(baseRect, 1.0, 1.0); 214 test('RRect.contains()', () { 215 final RRect rrect = RRect.fromRectAndCorners( 233 test('RRect.contains() large radii', () { 234 final RRect rrect = RRect.fromRectAndCorners( 252 test('RRect.scaleRadii() properly constrained radii should remain unchanged', () { 253 final RRect rrect = RRect.fromRectAndCorners( 278 test('RRect.scaleRadii() sum of radii that exceed side length should properly scale', () { [all …]
|
/third_party/flutter/flutter/dev/benchmarks/microbenchmarks/lib/geometry/ |
D | rrect_contains_bench.dart | 14 print('RRect contains benchmark...'); 17 final RRect outter = RRect.fromLTRBR(10, 10, 20, 20, const Radius.circular(2.0)); 24 description: 'RRect contains',
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ |
D | ohos_animation_windowAnimationManager.js | 19 const RRect = { variable 29 windowBounds: RRect, 72 RRect, property
|
/third_party/flutter/flutter/packages/flutter/test/painting/ |
D | border_radius_test.dart | 19 expect(borderRadius.toRRect(rect), RRect.fromRectXY(rect, 5.0, 7.0)); 27 expect(borderRadius.toRRect(rect), RRect.fromRectXY(rect, 3.0, 3.0)); 38 expect(borderRadius.toRRect(rect), RRect.fromRectAndCorners( 52 expect(borderRadius.toRRect(rect), RRect.fromRectAndCorners( 66 expect(borderRadius.toRRect(rect), RRect.fromRectAndCorners(rect)); 74 expect(borderRadius.toRRect(rect), RRect.fromRectAndCorners( 174 expect(borderRadius.resolve(TextDirection.ltr).toRRect(rect), RRect.fromRectXY(rect, 5.0, 7.0)); 175 expect(borderRadius.resolve(TextDirection.rtl).toRRect(rect), RRect.fromRectXY(rect, 5.0, 7.0)); 183 expect(borderRadius.resolve(TextDirection.ltr).toRRect(rect), RRect.fromRectXY(rect, 3.0, 3.0)); 184 expect(borderRadius.resolve(TextDirection.rtl).toRRect(rect), RRect.fromRectXY(rect, 3.0, 3.0)); [all …]
|
D | box_decoration_test.dart | 27 …..rrect(rrect: RRect.fromRectAndCorners(Offset.zero & size, topRight: const Radius.circular(100.0)… 40 …..rrect(rrect: RRect.fromRectAndCorners(Offset.zero & size, topLeft: const Radius.circular(100.0))…
|
/third_party/skia/gm/ |
D | complexclip2.cpp | 69 fPaths[0] = SkPath::RRect(fRects[0], 5, 5); in onOnceBeforeDraw() 74 fPaths[1] = SkPath::RRect(fRects[1], 5, 5); in onOnceBeforeDraw() 79 fPaths[2] = SkPath::RRect(fRects[2], 5, 5); in onOnceBeforeDraw() 84 fPaths[3] = SkPath::RRect(fRects[3], 5, 5); in onOnceBeforeDraw() 89 fPaths[4] = SkPath::RRect(fRects[4], 5, 5); in onOnceBeforeDraw()
|
D | pathcontourstart.cpp | 69 return SkPath::RRect(rrect, dir, startIndex); in onDraw() 75 return SkPath::RRect(rrect, dir, startIndex); in onDraw() 81 return SkPath::RRect(rrect, dir, startIndex); in onDraw()
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/ |
D | validators.dart | 18 bool rrectIsValid(ui.RRect rrect) { 19 assert(rrect != null, 'RRect argument was null.'); 25 'RRect argument contained a NaN value.');
|
D | dom_canvas.dart | 35 void clipRRect(ui.RRect rrect) { 129 void drawRRect(ui.RRect rrect, ui.PaintData paint) { 134 void drawDRRect(ui.RRect outer, ui.RRect inner, ui.PaintData paint) {
|
D | engine_canvas.dart | 37 void clipRRect(ui.RRect rrect); 49 void drawRRect(ui.RRect rrect, ui.PaintData paint); 51 void drawDRRect(ui.RRect outer, ui.RRect inner, ui.PaintData paint); 99 final ui.RRect rrect; 224 void clipRRect(ui.RRect rrect) {
|
/third_party/flutter/flutter/packages/flutter/lib/src/painting/ |
D | clip.dart | 5 import 'dart:ui' show Canvas, Clip, Path, Paint, Rect, RRect; 44 /// Clip [canvas] with [Path] according to [RRect] and then paint. [canvas] is 48 void clipRRectAndPaint(RRect rrect, Clip clipBehavior, Rect bounds, void painter()) {
|
D | stadium_border.dart | 88 ..addRRect(RRect.fromRectAndRadius(rect, radius).deflate(side.width)); 95 ..addRRect(RRect.fromRectAndRadius(rect, radius)); 106 RRect.fromRectAndRadius(rect, radius).deflate(side.width / 2.0), 250 final RRect outer = _adjustBorderRadius(rect).toRRect(_adjustRect(rect)); 251 final RRect inner = outer.deflate(width); 392 final RRect outer = _adjustBorderRadius(rect).toRRect(rect); 393 final RRect inner = outer.deflate(width);
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/compositor/ |
D | recording_canvas.dart | 64 void clipRRect(ui.RRect rrect) { 107 void drawDRRect(ui.RRect outer, ui.RRect inner, ui.Paint paint) { 147 void drawRRect(ui.RRect rrect, ui.Paint paint) {
|
/third_party/flutter/engine/flutter/lib/web_ui/test/ |
D | mock_engine_canvas.dart | 106 void clipRRect(RRect rrect) { 143 void drawRRect(RRect rrect, PaintData paint) { 151 void drawDRRect(RRect outer, RRect inner, PaintData paint) {
|
D | geometry_test.dart | 134 group('RRect', () { 135 test('RRect.fromRectXY', () { 137 final RRect r = RRect.fromRectXY(baseRect, 1.0, 1.0);
|
D | path_test.dart | 86 path.addRRect(RRect.fromRectAndRadius( 90 RRect.fromRectAndRadius( 109 path.addRRect(RRect.fromRectAndRadius( 111 path.addRRect(RRect.fromRectAndRadius(
|
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/ |
D | thumb_painter.dart | 42 final RRect rrect = RRect.fromRectAndRadius(
|
/third_party/flutter/flutter/packages/flutter/test/rendering/ |
D | annotated_region_test.dart | 53 … ClipRRectLayer(clipRRect: RRect.fromLTRBR(0.0, 0.0, 100.0, 100.0, const Radius.circular(4.0))), 54 … ClipRRectLayer(clipRRect: RRect.fromLTRBR(0.0, 100.0, 100.0, 200.0, const Radius.circular(4.0))), 55 … ClipRRectLayer(clipRRect: RRect.fromLTRBR(0.0, 200.0, 100.0, 300.0, const Radius.circular(4.0))), 182 … ClipRRectLayer(clipRRect: RRect.fromLTRBR(0.0, 0.0, 100.0, 100.0, const Radius.circular(4.0))), 183 … ClipRRectLayer(clipRRect: RRect.fromLTRBR(0.0, 100.0, 100.0, 200.0, const Radius.circular(4.0))), 184 … ClipRRectLayer(clipRRect: RRect.fromLTRBR(0.0, 200.0, 100.0, 300.0, const Radius.circular(4.0))),
|
/third_party/flutter/engine/flutter/lib/ui/ |
D | geometry.dart | 910 /// You can use [Radius.zero] with [RRect] to have right-angle corners. 1018 class RRect { 1021 const RRect.fromLTRBXY(double left, double top, double right, double bottom, 1039 RRect.fromLTRBR(double left, double top, double right, double bottom, 1058 RRect.fromRectXY(Rect rect, double radiusX, double radiusY) 1076 RRect.fromRectAndRadius(Rect rect, Radius radius) 1096 RRect.fromLTRBAndCorners( 1124 RRect.fromRectAndCorners( 1147 const RRect._raw({ 1237 static const RRect zero = RRect._raw(); [all …]
|