Lines Matching defs:reg
416 rasterizer(Region& reg)
417 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() {
491 bool Region::validate(const Region& reg, const char* name, bool silent)
494 const_iterator cur = reg.begin();
495 const_iterator const tail = reg.end();
540 if (b != reg.getBounds()) {
545 reg.getBounds().left, reg.getBounds().top,
546 reg.getBounds().right, reg.getBounds().bottom);
548 if (reg.mStorage.size() == 2) {
553 reg.dump(name);
708 void Region::translate(Region& reg, int dx, int dy)
710 if ((dx || dy) && !reg.isEmpty()) {
712 validate(reg, "translate (before)");
714 size_t count = reg.mStorage.size();
715 Rect* rects = reg.mStorage.editArray();
722 validate(reg, "translate (after)");
727 void Region::translate(Region& dst, const Region& reg, int dx, int dy)
729 dst = reg;