Lines Matching refs:SkRect
11 #include "include/core/SkRect.h"
16 // Returns an irect that is very large, and can be safely round-trip with SkRect and still
17 // be considered non-empty (i.e. width/height > 0) even if we round-out the SkRect.
19 // SK_MaxS32 >> 1 seemed better, but it did not survive round-trip with SkRect and rounding.
29 static SkRect MakeLargeS32() {
30 SkRect r;
35 static SkRect MakeLargest() {
39 static constexpr SkRect MakeLargestInverted() {
43 static void GrowToInclude(SkRect* r, const SkPoint& pt) {
52 static bool FitsInFixed(const SkRect& r) {
63 static SkScalar HalfWidth(const SkRect& r) {
67 static SkScalar HalfHeight(const SkRect& r) {
74 static bool Subtract(const SkRect& a, const SkRect& b, SkRect* out);
79 static SkRect Subtract(const SkRect& a, const SkRect& b) {
80 SkRect diff;