Lines Matching defs:SkIRect

16 /** \struct SkIRect
18 SkIRect holds four 32 bit integer coordinates for a rectangle
20 struct SK_API SkIRect {
23 static SkIRect SK_WARN_UNUSED_RESULT MakeEmpty() {
24 SkIRect r;
29 static SkIRect SK_WARN_UNUSED_RESULT MakeLargest() {
30 SkIRect r;
35 static SkIRect SK_WARN_UNUSED_RESULT MakeWH(int32_t w, int32_t h) {
36 SkIRect r;
41 static SkIRect SK_WARN_UNUSED_RESULT MakeSize(const SkISize& size) {
42 SkIRect r;
47 static SkIRect SK_WARN_UNUSED_RESULT MakeLTRB(int32_t l, int32_t t, int32_t r, int32_t b) {
48 SkIRect rect;
53 static SkIRect SK_WARN_UNUSED_RESULT MakeXYWH(int32_t x, int32_t y, int32_t w, int32_t h) {
54 SkIRect r;
108 friend bool operator==(const SkIRect& a, const SkIRect& b) {
112 friend bool operator!=(const SkIRect& a, const SkIRect& b) {
163 SkIRect makeOffset(int dx, int dy) const {
170 SkIRect makeInset(int dx, int dy) const {
241 bool contains(const SkIRect& r) const {
262 bool containsNoEmptyCheck(const SkIRect& r) const {
270 bool intersect(const SkIRect& r) {
279 bool intersect(const SkIRect& a, const SkIRect& b) {
300 bool intersectNoEmptyCheck(const SkIRect& a, const SkIRect& b) {
334 static bool Intersects(const SkIRect& a, const SkIRect& b) {
343 static bool IntersectsNoEmptyCheck(const SkIRect& a, const SkIRect& b) {
360 void join(const SkIRect& r) {
371 static const SkIRect& SK_WARN_UNUSED_RESULT EmptyIRect() {
372 static const SkIRect gEmpty = { 0, 0, 0, 0 };
419 static SkRect SK_WARN_UNUSED_RESULT MakeFromIRect(const SkIRect& irect) {
428 static SkRect SK_WARN_UNUSED_RESULT Make(const SkIRect& irect) {
495 void set(const SkIRect& src) {
756 void round(SkIRect* dst) const {
774 void dround(SkIRect* dst) const {
784 void roundOut(SkIRect* dst) const {
808 void roundIn(SkIRect* dst) const {
815 * Return a new SkIRect which is contains the rounded coordinates of this
818 SkIRect round() const {
819 SkIRect ir;