MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / include_point

Method include_point

src/__init__.py:17296–17299  ·  view source on GitHub ↗

Extend rectangle to include point p.

(self, p)

Source from the content-addressed store, hash-verified

17294 return _rect_area(self.width, self.height, args)
17295
17296 def include_point(self, p):
17297 """Extend rectangle to include point p."""
17298 rect = self.rect.include_point(p)
17299 return rect.irect
17300
17301 def include_rect(self, r):
17302 """Extend rectangle to include rectangle r."""

Callers 1

test_irectFunction · 0.95

Calls 1

include_pointMethod · 0.45

Tested by 1

test_irectFunction · 0.76