(self)
| 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 |
no test coverage detected