Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clips/pattern
/ get_current_state
Method
get_current_state
pattern/web/pdf/pdfinterp.py:378–379 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
376
return
x
377
378
def
get_current_state(self):
379
return
(self.ctm, self.textstate.copy(), self.graphicstate.copy())
380
381
def
set_current_state(self, state):
382
(self.ctm, self.textstate, self.graphicstate) = state
Callers
1
do_q
Method · 0.95
Calls
1
copy
Method · 0.45
Tested by
no test coverage detected