Lines Matching refs:dx
428 Region& Region::orSelf(const Region& rhs, int dx, int dy) { in orSelf() argument
429 return operationSelf(rhs, dx, dy, op_or); in orSelf()
431 Region& Region::xorSelf(const Region& rhs, int dx, int dy) { in xorSelf() argument
432 return operationSelf(rhs, dx, dy, op_xor); in xorSelf()
434 Region& Region::andSelf(const Region& rhs, int dx, int dy) { in andSelf() argument
435 return operationSelf(rhs, dx, dy, op_and); in andSelf()
437 Region& Region::subtractSelf(const Region& rhs, int dx, int dy) { in subtractSelf() argument
438 return operationSelf(rhs, dx, dy, op_nand); in subtractSelf()
440 Region& Region::operationSelf(const Region& rhs, int dx, int dy, uint32_t op) { in operationSelf() argument
442 boolean_operation(op, *this, lhs, rhs, dx, dy); in operationSelf()
448 const Region Region::merge(const Region& rhs, int dx, int dy) const { in merge() argument
449 return operation(rhs, dx, dy, op_or); in merge()
451 const Region Region::mergeExclusive(const Region& rhs, int dx, int dy) const { in mergeExclusive() argument
452 return operation(rhs, dx, dy, op_xor); in mergeExclusive()
454 const Region Region::intersect(const Region& rhs, int dx, int dy) const { in intersect() argument
455 return operation(rhs, dx, dy, op_and); in intersect()
457 const Region Region::subtract(const Region& rhs, int dx, int dy) const { in subtract() argument
458 return operation(rhs, dx, dy, op_nand); in subtract()
460 const Region Region::operation(const Region& rhs, int dx, int dy, uint32_t op) const { in operation() argument
462 boolean_operation(op, result, *this, rhs, dx, dy); in operation()
648 const Region& rhs, int dx, int dy) in boolean_operation() argument
663 region_operator<Rect>::region rhs_region(rhs_rects, rhs_count, dx, dy); in boolean_operation()
683 lhs_rects[i].left + dx, in boolean_operation()
685 lhs_rects[i].right + dx, in boolean_operation()
691 rhs_rects[i].left + dx, in boolean_operation()
693 rhs_rects[i].right + dx, in boolean_operation()
757 const Rect& rhs, int dx, int dy) in boolean_operation() argument
768 boolean_operation(op, dst, lhs, Region(rhs), dx, dy); in boolean_operation()
774 region_operator<Rect>::region rhs_region(&rhs, 1, dx, dy); in boolean_operation()
796 void Region::translate(Region& reg, int dx, int dy) in translate() argument
798 if ((dx || dy) && !reg.isEmpty()) { in translate()
805 rects->offsetBy(dx, dy); in translate()
815 void Region::translate(Region& dst, const Region& reg, int dx, int dy) in translate() argument
818 translate(dst, dx, dy); in translate()