Lines Matching defs:reg
399 rasterizer(Region& reg)
400 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() {
474 bool Region::validate(const Region& reg, const char* name, bool silent)
477 const_iterator cur = reg.begin();
478 const_iterator const tail = reg.end();
523 if (b != reg.getBounds()) {
528 reg.getBounds().left, reg.getBounds().top,
529 reg.getBounds().right, reg.getBounds().bottom);
531 if (reg.mStorage.size() == 2) {
536 reg.dump(name);
691 void Region::translate(Region& reg, int dx, int dy)
693 if ((dx || dy) && !reg.isEmpty()) {
695 validate(reg, "translate (before)");
697 size_t count = reg.mStorage.size();
698 Rect* rects = reg.mStorage.editArray();
705 validate(reg, "translate (after)");
710 void Region::translate(Region& dst, const Region& reg, int dx, int dy)
712 dst = reg;