Home | History | Annotate | Download | only in core

Lines Matching refs:SkRegion

13 #include "SkRegion.h"
17 SkASSERT(((value) == SkRegion::kRunTypeSentinel) == isSentinel)
25 static int compute_intervalcount(const SkRegion::RunType runs[]) {
26 const SkRegion::RunType* curr = runs;
27 while (*curr < SkRegion::kRunTypeSentinel) {
29 SkASSERT(curr[1] < SkRegion::kRunTypeSentinel);
36 struct SkRegion::RunHead {
66 SkASSERT(count >= SkRegion::kRectRegionRuns);
87 SkRegion::RunType* writable_runs() {
89 return (SkRegion::RunType*)(this + 1);
92 const SkRegion::RunType* readonly_runs() const {
93 return (const SkRegion::RunType*)(this + 1);
120 static SkRegion::RunType* SkipEntireScanline(const SkRegion::RunType runs[]) {
122 SkASSERT(runs[0] < SkRegion::kRunTypeSentinel);
125 SkASSERT(runs[2 + intervals * 2] == SkRegion::kRunTypeSentinel);
135 return const_cast<SkRegion::RunType*>(runs);
146 SkRegion::RunType* findScanline(int y) const {
157 SkASSERT(bottom < SkRegion::kRunTypeSentinel);
163 return const_cast<SkRegion::RunType*>(runs);
179 SkASSERT(bot < SkRegion::kRunTypeSentinel);
184 SkASSERT(intervals < SkRegion::kRunTypeSentinel);
194 SkASSERT(L < SkRegion::kRunTypeSentinel);
201 SkASSERT(R < SkRegion::kRunTypeSentinel);
208 SkASSERT(SkRegion::kRunTypeSentinel == *runs);
212 } while (SkRegion::kRunTypeSentinel > *runs);