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

Method do_SCN

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

Source from the content-addressed store, hash-verified

551
552 # setcolor
553 def do_SCN(self):
554 if self.scs:
555 n = self.scs.ncomponents
556 else:
557 if STRICT:
558 raise PDFInterpreterError('No colorspace specified!')
559 n = 1
560 self.pop(n)
561 return
562 def do_scn(self):
563 if self.ncs:
564 n = self.ncs.ncomponents

Callers 1

do_SCMethod · 0.95

Calls 2

popMethod · 0.95
PDFInterpreterErrorClass · 0.85

Tested by

no test coverage detected