• Home
  • Raw
  • Download

Lines Matching refs:SkRegion

91 bool SkRegion::RunsAreARect(const SkRegion::RunType runs[], int count,  in RunsAreARect()
115 SkRegion::SkRegion() { in SkRegion() function in SkRegion
120 SkRegion::SkRegion(const SkRegion& src) { in SkRegion() function in SkRegion
125 SkRegion::SkRegion(const SkIRect& rect) { in SkRegion() function in SkRegion
130 SkRegion::~SkRegion() { in ~SkRegion()
134 void SkRegion::freeRuns() { in freeRuns()
143 void SkRegion::allocateRuns(int count, int ySpanCount, int intervalCount) { in allocateRuns()
147 void SkRegion::allocateRuns(int count) { in allocateRuns()
151 void SkRegion::allocateRuns(const RunHead& head) { in allocateRuns()
157 SkRegion& SkRegion::operator=(const SkRegion& src) { in operator =()
162 void SkRegion::swap(SkRegion& other) { in swap()
168 int SkRegion::computeRegionComplexity() const { in computeRegionComplexity()
177 bool SkRegion::setEmpty() { in setEmpty()
184 bool SkRegion::setRect(const SkIRect& r) { in setRect()
196 bool SkRegion::setRegion(const SkRegion& src) { in setRegion()
209 bool SkRegion::op(const SkIRect& rect, const SkRegion& rgn, Op op) { in op()
210 SkRegion tmp(rect); in op()
215 bool SkRegion::op(const SkRegion& rgn, const SkIRect& rect, Op op) { in op()
216 SkRegion tmp(rect); in op()
225 char* SkRegion::toString() { in toString()
253 int SkRegion::count_runtype_values(int* itop, int* ibot) const { in count_runtype_values()
271 bool SkRegion::setRuns(RunType runs[], int count) { in setRuns()
317 if (SkRegion::RunsAreARect(runs, count, &fBounds)) { in setRuns()
345 void SkRegion::BuildRectRuns(const SkIRect& bounds, in BuildRectRuns()
356 bool SkRegion::contains(int32_t x, int32_t y) const { in contains()
414 bool SkRegion::contains(const SkIRect& r) const { in contains()
438 bool SkRegion::contains(const SkRegion& rgn) const { in contains()
459 const SkRegion::RunType* SkRegion::getRuns(RunType tmpStorage[], in getRuns()
494 bool SkRegion::intersects(const SkIRect& r) const { in intersects()
523 bool SkRegion::intersects(const SkRegion& rgn) const { in intersects()
551 bool SkRegion::operator==(const SkRegion& b) const { in operator ==()
562 const SkRegion::RunHead* ah = fRunHead; in operator ==()
563 const SkRegion::RunHead* bh = b.fRunHead; in operator ==()
575 ah->fRunCount * sizeof(SkRegion::RunType)); in operator ==()
588 void SkRegion::translate(int dx, int dy, SkRegion* dst) const { in translate()
608 SkRegion tmp; in translate()
620 *druns++ = (SkRegion::RunType)(*sruns++ + dy); // top in translate()
626 *druns++ = (SkRegion::RunType)(bottom + dy); // bottom; in translate()
633 *druns++ = (SkRegion::RunType)(x + dx); in translate()
634 *druns++ = (SkRegion::RunType)(*sruns++ + dx); in translate()
649 bool SkRegion::setRects(const SkIRect rects[], int count) { in setRects()
826 static_assert(0 == SkRegion::kDifference_Op, "");
827 static_assert(1 == SkRegion::kIntersect_Op, "");
828 static_assert(2 == SkRegion::kUnion_Op, "");
829 static_assert(3 == SkRegion::kXOR_Op, "");
833 RgnOper(int top, RunArray* array, SkRegion::Op op) in RgnOper()
896 SkRegion::Op op, in operate()
1020 static bool setEmptyCheck(SkRegion* result) { in setEmptyCheck()
1024 static bool setRectCheck(SkRegion* result, const SkIRect& rect) { in setRectCheck()
1028 static bool setRegionCheck(SkRegion* result, const SkRegion& rgn) { in setRegionCheck()
1032 bool SkRegion::Oper(const SkRegion& rgnaOrig, const SkRegion& rgnbOrig, Op op, in Oper()
1033 SkRegion* result) { in Oper()
1041 const SkRegion* rgna = &rgnaOrig; in Oper()
1042 const SkRegion* rgnb = &rgnbOrig; in Oper()
1134 bool SkRegion::op(const SkRegion& rgna, const SkRegion& rgnb, Op op) { in op()
1136 return SkRegion::Oper(rgna, rgnb, op, this); in op()
1143 size_t SkRegion::writeToMemory(void* storage) const { in writeToMemory()
1270 size_t SkRegion::readFromMemory(const void* storage, size_t length) { in readFromMemory()
1272 SkRegion tmp; in readFromMemory()
1315 bool SkRegion::isValid() const { in isValid()
1331 void SkRegionPriv::Validate(const SkRegion& rgn) { SkASSERT(rgn.isValid()); } in Validate()
1333 void SkRegion::dump() const { in dump()
1351 SkRegion::Iterator::Iterator(const SkRegion& rgn) { in Iterator()
1355 bool SkRegion::Iterator::rewind() { in rewind()
1363 void SkRegion::Iterator::reset(const SkRegion& rgn) { in reset()
1381 void SkRegion::Iterator::next() { in next()
1421 SkRegion::Cliperator::Cliperator(const SkRegion& rgn, const SkIRect& clip) in Cliperator()
1437 void SkRegion::Cliperator::next() { in next()
1460 SkRegion::Spanerator::Spanerator(const SkRegion& rgn, int y, int left, in Spanerator()
1481 const SkRegion::RunType* runs = rgn.fRunHead->findScanline(y); in Spanerator()
1504 bool SkRegion::Spanerator::next(int* left, int* right) { in next()
1520 const SkRegion::RunType* runs = fRuns; in next()
1549 void SkRegionPriv::VisitSpans(const SkRegion& rgn, in VisitSpans()