Searched defs:SkRange (Results 1 – 2 of 2) sorted by relevance
76 template <typename T> struct SkRange { struct77 SkRange() : start(), end() {} in SkRange() function78 SkRange(T s, T e) : start(s), end(e) {} in SkRange() argument82 bool operator==(const SkRange<T>& other) const { argument93 bool contains(SkRange<size_t> other) const { in contains() argument97 bool intersects(SkRange<size_t> other) const { in intersects() argument106 const SkRange<size_t> EMPTY_RANGE = SkRange<size_t>(EMPTY_INDEX, EMPTY_INDEX); argument
91 template <typename T> struct SkRange { struct92 SkRange() : start(), end() {} in SkRange() argument93 SkRange(T s, T e) : start(s), end(e) {} in SkRange() function97 bool operator==(const SkRange<T>& other) const { argument108 bool contains(SkRange<size_t> other) const { in contains() argument112 bool intersects(SkRange<size_t> other) const { in intersects() argument116 SkRange<size_t> intersection(SkRange<size_t> other) const { in intersection() argument125 const SkRange<size_t> EMPTY_RANGE = SkRange<size_t>(EMPTY_INDEX, EMPTY_INDEX); argument