changed name from TintCS to SeparationCS
This commit is contained in:
parent
9db8a38adc
commit
54ae4fc6cb
10
pdf.js
10
pdf.js
@ -4620,7 +4620,7 @@ var ColorSpace = (function() {
|
|||||||
var name = cs[1];
|
var name = cs[1];
|
||||||
var alt = ColorSpace.parse(cs[2], xref, res);
|
var alt = ColorSpace.parse(cs[2], xref, res);
|
||||||
var tintFn = new PDFFunction(xref, xref.fetchIfRef(cs[3]));
|
var tintFn = new PDFFunction(xref, xref.fetchIfRef(cs[3]));
|
||||||
return new TintCS("Separation", alt, tintFn);
|
return new SeparationCS(alt, tintFn);
|
||||||
break;
|
break;
|
||||||
case 'Lab':
|
case 'Lab':
|
||||||
case 'DeviceN':
|
case 'DeviceN':
|
||||||
@ -4635,11 +4635,11 @@ var ColorSpace = (function() {
|
|||||||
return constructor;
|
return constructor;
|
||||||
})();
|
})();
|
||||||
|
|
||||||
var TintCS = (function() {
|
var SeparationCS = (function() {
|
||||||
function constructor(name, base, tintFn) {
|
function constructor(base, tintFn) {
|
||||||
this.name = name;
|
this.name = "Separation";
|
||||||
this.numComps = 1;
|
this.numComps = 1;
|
||||||
this.defaultColor = [0];
|
this.defaultColor = [1];
|
||||||
|
|
||||||
this.base = base;
|
this.base = base;
|
||||||
this.tintFn = tintFn;
|
this.tintFn = tintFn;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user