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 MakeWH(int32_t w, int32_t h) {
30 SkIRect r;
35 static SkIRect SK_WARN_UNUSED_RESULT MakeSize(const SkISize& size) {
36 SkIRect r;
41 static SkIRect SK_WARN_UNUSED_RESULT MakeLTRB(int32_t l, int32_t t, int32_t r, int32_t b) {
42 SkIRect rect;
47 static SkIRect SK_WARN_UNUSED_RESULT MakeXYWH(int32_t x, int32_t y, int32_t w, int32_t h) {
48 SkIRect r;
97 friend bool operator==(const SkIRect& a, const SkIRect& b) {
101 friend bool operator!=(const SkIRect& a, const SkIRect& b) {
216 bool contains(const SkIRect& r) const {
237 bool containsNoEmptyCheck(const SkIRect& r) const {
245 bool intersect(const SkIRect& r) {
254 bool intersect(const SkIRect& a, const SkIRect& b) {
275 bool intersectNoEmptyCheck(const SkIRect& a, const SkIRect& b) {
309 static bool Intersects(const SkIRect& a, const SkIRect& b) {
318 static bool IntersectsNoEmptyCheck(const SkIRect& a, const SkIRect& b) {
335 void join(const SkIRect& r) {
346 static const SkIRect& SK_WARN_UNUSED_RESULT EmptyIRect() {
347 static const SkIRect gEmpty = { 0, 0, 0, 0 };
388 static SkRect SK_WARN_UNUSED_RESULT MakeFromIRect(const SkIRect& irect) {
397 static SkRect SK_WARN_UNUSED_RESULT Make(const SkIRect& irect) {
466 void set(const SkIRect& src) {
724 void round(SkIRect* dst) const {
734 void roundOut(SkIRect* dst) const {
758 void roundIn(SkIRect* dst) const {