Home | History | Annotate | Download | only in core

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) {
227 bool contains(const SkIRect& r) const {
248 bool containsNoEmptyCheck(const SkIRect& r) const {
256 bool intersect(const SkIRect& r) {
265 bool intersect(const SkIRect& a, const SkIRect& b) {
286 bool intersectNoEmptyCheck(const SkIRect& a, const SkIRect& b) {
320 static bool Intersects(const SkIRect& a, const SkIRect& b) {
329 static bool IntersectsNoEmptyCheck(const SkIRect& a, const SkIRect& b) {
346 void join(const SkIRect& r) {
357 static const SkIRect& SK_WARN_UNUSED_RESULT EmptyIRect() {
358 static const SkIRect gEmpty = { 0, 0, 0, 0 };
399 static SkRect SK_WARN_UNUSED_RESULT MakeFromIRect(const SkIRect& irect) {
408 static SkRect SK_WARN_UNUSED_RESULT Make(const SkIRect& irect) {
477 void set(const SkIRect& src) {
735 void round(SkIRect* dst) const {
745 void roundOut(SkIRect* dst) const {
769 void roundIn(SkIRect* dst) const {