Extend to include point-like p.
(self, p)
| 14692 | return _rect_area(self.width, self.height, args) |
| 14693 | |
| 14694 | def include_point(self, p): |
| 14695 | """Extend to include point-like p.""" |
| 14696 | if len(p) != 2: |
| 14697 | raise ValueError("Point: bad seq len") |
| 14698 | self.x0, self.y0, self.x1, self.y1 = util_include_point_in_rect(self, p) |
| 14699 | return self |
| 14700 | |
| 14701 | def include_rect(self, r): |
| 14702 | """Extend to include rect-like r.""" |