MCPcopy Index your code
hub / github.com/clips/pattern / copy

Method copy

pattern/web/pdf/pdfinterp.py:71–83  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

69 self.matrix, self.linematrix))
70
71 def copy(self):
72 obj = PDFTextState()
73 obj.font = self.font
74 obj.fontsize = self.fontsize
75 obj.charspace = self.charspace
76 obj.wordspace = self.wordspace
77 obj.scaling = self.scaling
78 obj.leading = self.leading
79 obj.render = self.render
80 obj.rise = self.rise
81 obj.matrix = self.matrix
82 obj.linematrix = self.linematrix
83 return obj
84
85 def reset(self):
86 self.matrix = MATRIX_IDENTITY

Callers 4

get_fontMethod · 0.45
init_resourcesMethod · 0.45
get_current_stateMethod · 0.45
do_DoMethod · 0.45

Calls 1

PDFTextStateClass · 0.85

Tested by

no test coverage detected