Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clips/pattern
/ add
Method
add
pattern/web/pdf/layout.py:300–304 ·
view source on GitHub ↗
(self, obj)
Source
from the content-addressed store, hash-verified
298
return
299
300
def
add(self, obj):
301
LTContainer.add(self, obj)
302
self.set_bbox((min(self.x0, obj.x0), min(self.y0, obj.y0),
303
max(self.x1, obj.x1), max(self.y1, obj.y1)))
304
return
305
306
307
## LTTextContainer
Callers
nothing calls this directly
Calls
2
set_bbox
Method · 0.80
add
Method · 0.45
Tested by
no test coverage detected