Lines Matching defs:const
50 SkRegion(const SkRegion& region);
59 explicit SkRegion(const SkIRect& rect);
81 SkRegion& operator=(const SkRegion& region);
91 bool operator==(const SkRegion& other) const;
98 bool operator!=(const SkRegion& other) const {
114 bool set(const SkRegion& src) {
122 swap() usage has largely been replaced by operator=(const SkRegion& region).
126 @param other operator=(const SkRegion& region) set
139 bool isEmpty() const { return fRunHead == emptyRunHeadPtr(); }
145 bool isRect() const { return fRunHead == kRectRunHeadPtr; }
151 bool isComplex() const { return !this->isEmpty() && !this->isRect(); }
158 const SkIRect& getBounds() const { return fBounds; }
171 int computeRegionComplexity() const;
182 bool getBoundaryPath(SkPath* path) const;
201 bool setRect(const SkIRect& rect);
214 bool setRects(const SkIRect rects[], int count);
230 bool setRegion(const SkRegion& region);
244 bool setPath(const SkPath& path, const SkRegion& clip);
254 bool intersects(const SkIRect& rect) const;
264 bool intersects(const SkRegion& other) const;
275 bool contains(int32_t x, int32_t y) const;
285 bool contains(const SkIRect& other) const;
295 bool contains(const SkRegion& other) const;
303 bool quickContains(const SkIRect& r) const {
320 bool quickReject(const SkIRect& rect) const {
332 bool quickReject(const SkRegion& rgn) const {
354 void translate(int dx, int dy, SkRegion* dst) const;
369 static const int kOpCnt = kLastOp + 1;
377 bool op(const SkIRect& rect, Op op) {
393 bool op(const SkRegion& rgn, Op op) { return this->op(*this, rgn, op); }
404 bool op(const SkIRect& rect, const SkRegion& rgn, Op op);
415 bool op(const SkRegion& rgn, const SkIRect& rect, Op op);
426 bool op(const SkRegion& rgna, const SkRegion& rgnb, Op op);
458 Iterator(const SkRegion& region);
475 void reset(const SkRegion& region);
481 bool done() const { return fDone; }
494 const SkIRect& rect() const { return fRect; }
500 const SkRegion* rgn() const { return fRgn; }
503 const SkRegion* fRgn;
504 const SkRegion::RunType* fRuns;
524 Cliperator(const SkRegion& region, const SkIRect& clip);
544 const SkIRect& rect() const { return fRect; }
569 Spanerator(const SkRegion& region, int y, int left, int right);
583 const SkRegion::RunType* fRuns;
596 size_t writeToMemory(void* buffer) const;
607 size_t readFromMemory(const void* buffer, size_t length);
614 void dump(std::string& desc, int depth) const;
632 void allocateRuns(const RunHead& src);
634 SkDEBUGCODE(void dump() const;)
646 const RunType* getRuns(RunType tmpStorage[], int* intervals) const;
653 int count_runtype_values(int* itop, int* ibot) const;
655 bool isValid() const;
657 static void BuildRectRuns(const SkIRect& bounds,
662 static bool RunsAreARect(const SkRegion::RunType runs[], int count,
669 static bool Oper(const SkRegion&, const SkRegion&, SkRegion::Op, SkRegion*);