Home
last modified time | relevance | path

Searched refs:SkRect (Results 1 – 25 of 2255) sorted by relevance

12345678910>>...91

/external/skia/tests/
DQuickRejectTest.cpp47 SkRect r = SkRect::MakeWH(10, 10); in test_layers()
54 SkRect bounds = SkRect::MakeLTRB(50, 50, 70, 70); in test_layers()
56 REPORTER_ASSERT(reporter, true == canvas.quickReject(SkRect::MakeWH(10, 10))); in test_layers()
57 REPORTER_ASSERT(reporter, false == canvas.quickReject(SkRect::MakeWH(60, 60))); in test_layers()
62 SkRect r0 = SkRect::MakeLTRB(-50.0f, -50.0f, 50.0f, 50.0f); in test_quick_reject()
63 SkRect r1 = SkRect::MakeLTRB(-50.0f, 110.0f, 50.0f, 120.0f); in test_quick_reject()
64 SkRect r2 = SkRect::MakeLTRB(110.0f, -50.0f, 120.0f, 50.0f); in test_quick_reject()
65 SkRect r3 = SkRect::MakeLTRB(-120.0f, -50.0f, 120.0f, 50.0f); in test_quick_reject()
66 SkRect r4 = SkRect::MakeLTRB(-50.0f, -120.0f, 50.0f, 120.0f); in test_quick_reject()
67 SkRect r5 = SkRect::MakeLTRB(-120.0f, -120.0f, 120.0f, 120.0f); in test_quick_reject()
[all …]
DRecordDrawTest.cpp63 recorder.drawRect(SkRect::MakeWH(200, 300), SkPaint()); in DEF_TEST()
64 recorder.clipRect(SkRect::MakeWH(100, 200)); in DEF_TEST()
126 static bool sloppy_rect_eq(SkRect a, SkRect b) { in sloppy_rect_eq()
127 SkRect inset(a), outset(a); in sloppy_rect_eq()
139 recorder.clipRect(SkRect::MakeWH(400, 500));
141 recorder.drawRect(SkRect::MakeWH(320, 240), SkPaint());
144 SkAutoTMalloc<SkRect> bounds(record.count());
145 SkRecordFillBounds(SkRect::MakeWH(SkIntToScalar(W), SkIntToScalar(H)), record, bounds);
148 REPORTER_ASSERT(r, sloppy_rect_eq(SkRect::MakeWH(400, 480), bounds[i]));
157 SkRect r1 = { 0, 0, kWidth, kHeight }; in DEF_TEST()
[all …]
/external/skia/modules/sksg/tests/
DSGTest.cpp28 const SkRect& expected_bounds, in check_inval()
29 const SkRect& expected_inval_bounds, in check_inval()
30 const std::vector<SkRect>* expected_damage) { in check_inval()
78 auto r1 = sksg::Rect::Make(SkRect::MakeWH(100, 100)), in inval_test1()
79 r2 = sksg::Rect::Make(SkRect::MakeWH(100, 100)); in inval_test1()
92 SkRect::MakeWH(100, 100), in inval_test1()
109 std::vector<SkRect> damage = { {0, 0, 100, 100}, { 200, 100, 300, 200} }; in inval_test1()
111 SkRect::MakeWH(300, 200), in inval_test1()
112 SkRect::MakeWH(300, 200), in inval_test1()
135 std::vector<SkRect> damage = { {0, 0, 100, 100}, { 200, 100, 300, 200} }; in inval_test1()
[all …]
/external/skqp/tests/
DQuickRejectTest.cpp95 SkRect r = SkRect::MakeWH(10, 10); in test_layers()
102 SkRect bounds = SkRect::MakeLTRB(50, 50, 70, 70); in test_layers()
104 REPORTER_ASSERT(reporter, true == canvas.quickReject(SkRect::MakeWH(10, 10))); in test_layers()
105 REPORTER_ASSERT(reporter, false == canvas.quickReject(SkRect::MakeWH(60, 60))); in test_layers()
110 SkRect r0 = SkRect::MakeLTRB(-50.0f, -50.0f, 50.0f, 50.0f); in test_quick_reject()
111 SkRect r1 = SkRect::MakeLTRB(-50.0f, 110.0f, 50.0f, 120.0f); in test_quick_reject()
112 SkRect r2 = SkRect::MakeLTRB(110.0f, -50.0f, 120.0f, 50.0f); in test_quick_reject()
113 SkRect r3 = SkRect::MakeLTRB(-120.0f, -50.0f, 120.0f, 50.0f); in test_quick_reject()
114 SkRect r4 = SkRect::MakeLTRB(-50.0f, -120.0f, 50.0f, 120.0f); in test_quick_reject()
115 SkRect r5 = SkRect::MakeLTRB(-120.0f, -120.0f, 120.0f, 120.0f); in test_quick_reject()
[all …]
DRecordDrawTest.cpp63 recorder.drawRect(SkRect::MakeWH(200, 300), SkPaint()); in DEF_TEST()
64 recorder.clipRect(SkRect::MakeWH(100, 200)); in DEF_TEST()
126 static bool sloppy_rect_eq(SkRect a, SkRect b) { in sloppy_rect_eq()
127 SkRect inset(a), outset(a); in sloppy_rect_eq()
139 recorder.clipRect(SkRect::MakeWH(400, 500));
141 recorder.drawRect(SkRect::MakeWH(320, 240), SkPaint());
144 SkAutoTMalloc<SkRect> bounds(record.count());
145 SkRecordFillBounds(SkRect::MakeWH(SkIntToScalar(W), SkIntToScalar(H)), record, bounds);
148 REPORTER_ASSERT(r, sloppy_rect_eq(SkRect::MakeWH(400, 480), bounds[i]));
157 SkRect r1 = { 0, 0, kWidth, kHeight }; in DEF_TEST()
[all …]
/external/skqp/modules/sksg/tests/
DSGTest.cpp27 const SkRect& expected_bounds, in check_inval()
28 const SkRect& expected_inval_bounds, in check_inval()
29 const std::vector<SkRect>* expected_damage) { in check_inval()
60 auto r1 = sksg::Rect::Make(SkRect::MakeWH(100, 100)), in inval_test1()
61 r2 = sksg::Rect::Make(SkRect::MakeWH(100, 100)); in inval_test1()
72 SkRect::MakeWH(100, 100), in inval_test1()
80 std::vector<SkRect> damage = { {0, 0, 100, 100}, { 200, 100, 300, 200} }; in inval_test1()
82 SkRect::MakeWH(300, 200), in inval_test1()
83 SkRect::MakeWH(300, 200), in inval_test1()
90 std::vector<SkRect> damage = { {0, 0, 100, 100}, { 200, 100, 300, 200} }; in inval_test1()
[all …]
/external/skia/gm/
Dbigrect.cpp35 SkRect horiz = SkRect::MakeLTRB(-big, 5, big, 10); in draw_big_rect()
38 SkRect vert = SkRect::MakeLTRB(5, -big, 10, big); in draw_big_rect()
41 SkRect fromLeft = SkRect::MakeLTRB(-big, 20, 17, 25); in draw_big_rect()
44 SkRect fromTop = SkRect::MakeLTRB(20, -big, 25, 17); in draw_big_rect()
47 SkRect fromRight = SkRect::MakeLTRB(28, 20, big, 25); in draw_big_rect()
50 SkRect fromBottom = SkRect::MakeLTRB(20, 28, 25, big); in draw_big_rect()
53 SkRect leftBorder = SkRect::MakeLTRB(-2, -1, 0, 35); in draw_big_rect()
56 SkRect topBorder = SkRect::MakeLTRB(-1, -2, 35, 0); in draw_big_rect()
59 SkRect rightBorder = SkRect::MakeLTRB(34, -1, 36, 35); in draw_big_rect()
62 SkRect bottomBorder = SkRect::MakeLTRB(-1, 34, 35, 36); in draw_big_rect()
[all …]
/external/skqp/gm/
Dbigrect.cpp30 SkRect horiz = SkRect::MakeLTRB(-big, 5, big, 10); in draw_big_rect()
33 SkRect vert = SkRect::MakeLTRB(5, -big, 10, big); in draw_big_rect()
36 SkRect fromLeft = SkRect::MakeLTRB(-big, 20, 17, 25); in draw_big_rect()
39 SkRect fromTop = SkRect::MakeLTRB(20, -big, 25, 17); in draw_big_rect()
42 SkRect fromRight = SkRect::MakeLTRB(28, 20, big, 25); in draw_big_rect()
45 SkRect fromBottom = SkRect::MakeLTRB(20, 28, 25, big); in draw_big_rect()
48 SkRect leftBorder = SkRect::MakeLTRB(-2, -1, 0, 35); in draw_big_rect()
51 SkRect topBorder = SkRect::MakeLTRB(-1, -2, 35, 0); in draw_big_rect()
54 SkRect rightBorder = SkRect::MakeLTRB(34, -1, 36, 35); in draw_big_rect()
57 SkRect bottomBorder = SkRect::MakeLTRB(-1, 34, 35, 36); in draw_big_rect()
[all …]
/external/skia/include/core/
DSkCanvas.h572 int saveLayer(const SkRect* bounds, const SkPaint* paint);
593 int saveLayer(const SkRect& bounds, const SkPaint* paint) { in saveLayer()
619 int saveLayerAlpha(const SkRect* bounds, U8CPU alpha);
659 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, SaveLayerFlags saveLayerFlags = 0)
677 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop, in SaveLayerRec()
703 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop, in SaveLayerRec()
715 const SkRect* fBounds = nullptr;
920 void clipRect(const SkRect& rect, SkClipOp op, bool doAntiAlias);
929 void clipRect(const SkRect& rect, SkClipOp op) { in clipRect()
941 void clipRect(const SkRect& rect, bool doAntiAlias = false) {
[all …]
DSkOverdrawCanvas.h29 void onDrawRect(const SkRect&, const SkPaint&) override;
31 void onDrawOval(const SkRect&, const SkPaint&) override;
32 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override;
38 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const SkColor[],
39 int, SkBlendMode, const SkRect*, const SkPaint*) override;
42 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*,
44 void onDrawImageNine(const SkImage*, const SkIRect&, const SkRect&, const SkPaint*) override;
45 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, const SkPaint*) override;
47 void onDrawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, const SkPaint*,
49 void onDrawBitmapNine(const SkBitmap&, const SkIRect&, const SkRect&, const SkPaint*) override;
[all …]
/external/skqp/include/core/
DSkCanvas.h530 int saveLayer(const SkRect* bounds, const SkPaint* paint);
551 int saveLayer(const SkRect& bounds, const SkPaint* paint) { in saveLayer()
575 int saveLayerAlpha(const SkRect* bounds, U8CPU alpha);
614 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, SaveLayerFlags saveLayerFlags = 0)
629 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop, in SaveLayerRec()
655 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop, in SaveLayerRec()
667 const SkRect* fBounds = nullptr;
825 void clipRect(const SkRect& rect, SkClipOp op, bool doAntiAlias);
834 void clipRect(const SkRect& rect, SkClipOp op) { in clipRect()
846 void clipRect(const SkRect& rect, bool doAntiAlias = false) {
[all …]
DSkOverdrawCanvas.h28 void onDrawRect(const SkRect&, const SkPaint&) override;
29 void onDrawEdgeAARect(const SkRect&, SkCanvas::QuadAAFlags, SkColor, SkBlendMode) override;
31 void onDrawOval(const SkRect&, const SkPaint&) override;
32 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override;
38 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const SkColor[],
39 int, SkBlendMode, const SkRect*, const SkPaint*) override;
42 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*,
44 void onDrawImageNine(const SkImage*, const SkIRect&, const SkRect&, const SkPaint*) override;
45 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, const SkPaint*) override;
48 void onDrawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, const SkPaint*,
[all …]
/external/skqp/include/utils/
DSkNoDrawCanvas.h41 bool onDoSaveBehind(const SkRect*) override;
44 void onDrawAnnotation(const SkRect&, const char[], SkData*) override {} in onDrawAnnotation() argument
53 void onDrawRect(const SkRect&, const SkPaint&) override {} in onDrawRect() argument
54 void onDrawEdgeAARect(const SkRect&, SkCanvas::QuadAAFlags, SkColor, SkBlendMode) override {} in onDrawEdgeAARect() argument
56 void onDrawOval(const SkRect&, const SkPaint&) override {} in onDrawOval() argument
57 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override {} in onDrawArc() argument
61 void onDrawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, const SkPaint*, in onDrawBitmapRect() argument
64 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*, in onDrawImageRect() argument
66 void onDrawImageNine(const SkImage*, const SkIRect&, const SkRect&, const SkPaint*) override {} in onDrawImageNine() argument
67 void onDrawBitmapNine(const SkBitmap&, const SkIRect&, const SkRect&, in onDrawBitmapNine() argument
[all …]
DSkNWayCanvas.h30 bool onDoSaveBehind(const SkRect*) override;
45 void onDrawRect(const SkRect&, const SkPaint&) override;
46 void onDrawEdgeAARect(const SkRect&, SkCanvas::QuadAAFlags, SkColor, SkBlendMode) override;
48 void onDrawOval(const SkRect&, const SkPaint&) override;
49 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override;
53 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*,
56 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
58 void onDrawBitmapLattice(const SkBitmap&, const Lattice&, const SkRect&,
60 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, const SkPaint*) override;
61 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& dst,
[all …]
/external/skqp/src/core/
DSkLiteRecorder.h25 bool onDoSaveBehind(const SkRect*) override;
34 void onClipRect (const SkRect&, SkClipOp, ClipEdgeStyle) override;
41 void onDrawRect (const SkRect&, const SkPaint&) override;
42 void onDrawEdgeAARect(const SkRect&, SkCanvas::QuadAAFlags, SkColor, SkBlendMode) override;
44 void onDrawOval (const SkRect&, const SkPaint&) override;
45 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override;
51 void onDrawAnnotation(const SkRect&, const char[], SkData*) override;
56 void onDrawBitmapLattice(const SkBitmap&, const Lattice&, const SkRect&,
58 void onDrawBitmapNine(const SkBitmap&, const SkIRect&, const SkRect&, const SkPaint*) override;
59 void onDrawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, const SkPaint*,
[all …]
DSkRecorder.h44 SkRecorder(SkRecord*, const SkRect& bounds, SkMiniRecorder* = nullptr);
47 void reset(SkRecord*, const SkRect& bounds, DrawPictureMode, SkMiniRecorder* = nullptr);
61 bool onDoSaveBehind(const SkRect*) override;
81 void onDrawRect(const SkRect&, const SkPaint&) override;
82 void onDrawEdgeAARect(const SkRect&, SkCanvas::QuadAAFlags, SkColor, SkBlendMode) override;
84 void onDrawOval(const SkRect&, const SkPaint&) override;
85 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override;
89 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*,
92 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
94 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& dst,
[all …]
DSkLiteDL.h31 void saveLayer(const SkRect*, const SkPaint*, const SkImageFilter*, const SkImage*,
33 void saveBehind(const SkRect*);
42 void clipRect (const SkRect&, SkClipOp, bool aa);
48 void drawRect (const SkRect&, const SkPaint&);
49 void drawEdgeAARect(const SkRect&, SkCanvas::QuadAAFlags, SkColor, SkBlendMode);
51 void drawOval (const SkRect&, const SkPaint&);
52 void drawArc (const SkRect&, SkScalar, SkScalar, bool, const SkPaint&);
56 void drawAnnotation (const SkRect&, const char*, SkData*);
63 void drawImageNine(sk_sp<const SkImage>, const SkIRect&, const SkRect&, const SkPaint*);
64 void drawImageRect(sk_sp<const SkImage>, const SkRect*, const SkRect&, const SkPaint*,
[all …]
/external/skia/include/utils/
DSkNoDrawCanvas.h38 bool onDoSaveBehind(const SkRect*) override;
41 void onDrawAnnotation(const SkRect&, const char[], SkData*) override {} in onDrawAnnotation() argument
51 void onDrawRect(const SkRect&, const SkPaint&) override {} in onDrawRect() argument
53 void onDrawOval(const SkRect&, const SkPaint&) override {} in onDrawOval() argument
54 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override {} in onDrawArc() argument
58 void onDrawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, const SkPaint*, in onDrawBitmapRect() argument
61 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*, in onDrawImageRect() argument
63 void onDrawImageNine(const SkImage*, const SkIRect&, const SkRect&, const SkPaint*) override {} in onDrawImageNine() argument
64 void onDrawBitmapNine(const SkBitmap&, const SkIRect&, const SkRect&, in onDrawBitmapNine() argument
66 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, in onDrawImageLattice() argument
[all …]
DSkNWayCanvas.h30 bool onDoSaveBehind(const SkRect*) override;
49 void onDrawRect(const SkRect&, const SkPaint&) override;
51 void onDrawOval(const SkRect&, const SkPaint&) override;
52 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override;
56 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*,
59 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
61 void onDrawBitmapLattice(const SkBitmap&, const Lattice&, const SkRect&,
63 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, const SkPaint*) override;
64 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& dst,
66 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst,
[all …]
/external/skia/bench/
DBlurRectsBench.cpp18 BlurRectsBench(SkRect outer, SkRect inner, SkScalar radius) { in BlurRectsBench()
47 SkRect fOuter;
48 SkRect fInner;
56 BlurRectsNinePatchBench(SkRect outer, SkRect inner, SkScalar radius) in BlurRectsNinePatchBench()
66 BlurRectsNonNinePatchBench(SkRect outer, SkRect inner, SkScalar radius) in BlurRectsNonNinePatchBench()
75 DEF_BENCH(return new BlurRectsNinePatchBench(SkRect::MakeXYWH(10, 10, 100, 100),
76 SkRect::MakeXYWH(20, 20, 60, 60),
78 DEF_BENCH(return new BlurRectsNonNinePatchBench(SkRect::MakeXYWH(10, 10, 100, 100),
79 SkRect::MakeXYWH(50, 50, 10, 10),
/external/skqp/bench/
DBlurRectsBench.cpp18 BlurRectsBench(SkRect outer, SkRect inner, SkScalar radius) { in BlurRectsBench()
47 SkRect fOuter;
48 SkRect fInner;
56 BlurRectsNinePatchBench(SkRect outer, SkRect inner, SkScalar radius) in BlurRectsNinePatchBench()
66 BlurRectsNonNinePatchBench(SkRect outer, SkRect inner, SkScalar radius) in BlurRectsNonNinePatchBench()
75 DEF_BENCH(return new BlurRectsNinePatchBench(SkRect::MakeXYWH(10, 10, 100, 100),
76 SkRect::MakeXYWH(20, 20, 60, 60),
78 DEF_BENCH(return new BlurRectsNonNinePatchBench(SkRect::MakeXYWH(10, 10, 100, 100),
79 SkRect::MakeXYWH(50, 50, 10, 10),
/external/skqp/src/gpu/
DSkGpuDevice.h74 void drawRect(const SkRect& r, const SkPaint& paint) override;
75 void drawEdgeAARect(const SkRect& r, SkCanvas::QuadAAFlags edgeAA, SkColor color,
80 void drawOval(const SkRect& oval, const SkPaint& paint) override;
81 void drawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle,
85 void drawBitmapRect(const SkBitmap&, const SkRect* srcOrNull, const SkRect& dst,
93 void drawAtlas(const SkImage* atlas, const SkRSXform[], const SkRect[],
98 void drawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
102 const SkRect& dst, const SkPaint& paint) override;
104 const SkRect& dst, const SkPaint& paint) override;
107 const SkRect& dst, const SkPaint&) override;
[all …]
/external/skia/tools/debugger/
DDebugCanvas.h131 bool onDoSaveBehind(const SkRect*) override;
140 void onDrawAnnotation(const SkRect&, const char[], SkData*) override;
155 void onDrawRect(const SkRect&, const SkPaint&) override;
156 void onDrawOval(const SkRect&, const SkPaint&) override;
157 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override;
170 const SkRect&,
173 const SkRect* src,
174 const SkRect& dst,
180 const SkRect& dst,
183 const SkRect* src,
[all …]
/external/skia/src/core/
DSkRecorder.h44 SkRecorder(SkRecord*, const SkRect& bounds, SkMiniRecorder* = nullptr);
52 void reset(SkRecord*, const SkRect& bounds, DrawPictureMode, SkMiniRecorder* = nullptr);
66 bool onDoSaveBehind(const SkRect*) override;
89 void onDrawRect(const SkRect&, const SkPaint&) override;
91 void onDrawOval(const SkRect&, const SkPaint&) override;
92 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override;
96 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*,
99 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
101 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& dst,
103 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst,
[all …]
/external/skqp/docs/
DSkRect_Reference.bmh5 #Struct SkRect
11 SkRect holds four SkScalar coordinates describing the upper and
12 lower bounds of a rectangle. SkRect may be created from outer bounds or
13 from position, width, and height. SkRect describes an area; if its right
18 SkRect can be constructed from int values to avoid compiler warnings that
47 #Method static constexpr SkRect MakeEmpty()
54 SkRect rect = SkRect::MakeEmpty();
76 #Method static constexpr SkRect MakeWH(SkScalar w, SkScalar h)
83 SkRect rect1 = SkRect::MakeWH(25, 35);
84 SkRect rect2 = SkRect::MakeIWH(25, 35);
[all …]

12345678910>>...91