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

Method copy

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

Source from the content-addressed store, hash-verified

103 return
104
105 def copy(self):
106 obj = PDFGraphicState()
107 obj.linewidth = self.linewidth
108 obj.linecap = self.linecap
109 obj.linejoin = self.linejoin
110 obj.miterlimit = self.miterlimit
111 obj.dash = self.dash
112 obj.intent = self.intent
113 obj.flatness = self.flatness
114 return obj
115
116 def __repr__(self):
117 return ('<PDFGraphicState: linewidth=%r, linecap=%r, linejoin=%r, '

Callers

nothing calls this directly

Calls 1

PDFGraphicStateClass · 0.85

Tested by

no test coverage detected