Lines Matching refs:dy
212 Region& Region::orSelf(const Region& rhs, int dx, int dy) { in orSelf() argument
213 return operationSelf(rhs, dx, dy, op_or); in orSelf()
215 Region& Region::xorSelf(const Region& rhs, int dx, int dy) { in xorSelf() argument
216 return operationSelf(rhs, dx, dy, op_xor); in xorSelf()
218 Region& Region::andSelf(const Region& rhs, int dx, int dy) { in andSelf() argument
219 return operationSelf(rhs, dx, dy, op_and); in andSelf()
221 Region& Region::subtractSelf(const Region& rhs, int dx, int dy) { in subtractSelf() argument
222 return operationSelf(rhs, dx, dy, op_nand); in subtractSelf()
224 Region& Region::operationSelf(const Region& rhs, int dx, int dy, int op) { in operationSelf() argument
226 boolean_operation(op, *this, lhs, rhs, dx, dy); in operationSelf()
232 const Region Region::merge(const Region& rhs, int dx, int dy) const { in merge()
233 return operation(rhs, dx, dy, op_or); in merge()
235 const Region Region::mergeExclusive(const Region& rhs, int dx, int dy) const { in mergeExclusive()
236 return operation(rhs, dx, dy, op_xor); in mergeExclusive()
238 const Region Region::intersect(const Region& rhs, int dx, int dy) const { in intersect()
239 return operation(rhs, dx, dy, op_and); in intersect()
241 const Region Region::subtract(const Region& rhs, int dx, int dy) const { in subtract()
242 return operation(rhs, dx, dy, op_nand); in subtract()
244 const Region Region::operation(const Region& rhs, int dx, int dy, int op) const { in operation() argument
246 boolean_operation(op, result, *this, rhs, dx, dy); in operation()
410 const Region& rhs, int dx, int dy) in boolean_operation() argument
425 region_operator<Rect>::region rhs_region(rhs_rects, rhs_count, dx, dy); in boolean_operation()
446 lhs_rects[i].top + dy, in boolean_operation()
448 lhs_rects[i].bottom + dy, in boolean_operation()
454 rhs_rects[i].top + dy, in boolean_operation()
456 rhs_rects[i].bottom + dy, in boolean_operation()
520 const Rect& rhs, int dx, int dy) in boolean_operation() argument
529 boolean_operation(op, dst, lhs, Region(rhs), dx, dy); in boolean_operation()
535 region_operator<Rect>::region rhs_region(&rhs, 1, dx, dy); in boolean_operation()
557 void Region::translate(Region& reg, int dx, int dy) in translate() argument
559 if ((dx || dy) && !reg.isEmpty()) { in translate()
566 rects->translate(dx, dy); in translate()
576 void Region::translate(Region& dst, const Region& reg, int dx, int dy) in translate() argument
579 translate(dst, dx, dy); in translate()