} else {
p.append(PDFNumber.doubleOut(this.red) + " "
+ PDFNumber.doubleOut(this.green) + " "
- + PDFNumber.doubleOut(this.blue) + " "
- + " rg \n");
+ + PDFNumber.doubleOut(this.blue)
+ + " rg\n");
}
} else { // stroke/border
if (same) {
} else {
p.append(PDFNumber.doubleOut(this.red) + " "
+ PDFNumber.doubleOut(this.green) + " "
- + PDFNumber.doubleOut(this.blue) + " "
- + " RG \n");
+ + PDFNumber.doubleOut(this.blue)
+ + " RG\n");
}
}
} // end of output RGB
p.append(PDFNumber.doubleOut(this.cyan) + " "
+ PDFNumber.doubleOut(this.magenta) + " "
+ PDFNumber.doubleOut(this.yellow) + " "
- + PDFNumber.doubleOut(this.black) + " k \n");
+ + PDFNumber.doubleOut(this.black) + " k\n");
} else { // fill
p.append(PDFNumber.doubleOut(this.cyan) + " "
+ PDFNumber.doubleOut(this.magenta) + " "
+ PDFNumber.doubleOut(this.yellow) + " "
- + PDFNumber.doubleOut(this.black) + " K \n");
+ + PDFNumber.doubleOut(this.black) + " K\n");
}
} // end of if CMYK
// assume we're in DeviceGray, because otherwise we're screwed.
if (fillNotStroke) {
- p.append(PDFNumber.doubleOut(this.black) + " g \n");
+ p.append(PDFNumber.doubleOut(this.black) + " g\n");
} else {
- p.append(PDFNumber.doubleOut(this.black) + " G \n");
+ p.append(PDFNumber.doubleOut(this.black) + " G\n");
}
}