cleanup
This commit is contained in:
parent
6f74406a2c
commit
e95512e7cf
4
pdf.js
4
pdf.js
@ -4176,9 +4176,6 @@ var CanvasGraphics = (function() {
|
|||||||
if (base) {
|
if (base) {
|
||||||
var baseComps = base.numComps;
|
var baseComps = base.numComps;
|
||||||
|
|
||||||
if (baseComps != length - 1)
|
|
||||||
error("invalid base color for pattern colorspace");
|
|
||||||
|
|
||||||
var color = [];
|
var color = [];
|
||||||
for (var i = 0; i < baseComps; ++i)
|
for (var i = 0; i < baseComps; ++i)
|
||||||
color.push(args[i]);
|
color.push(args[i]);
|
||||||
@ -4263,7 +4260,6 @@ var CanvasGraphics = (function() {
|
|||||||
var savedCtx = ctx;
|
var savedCtx = ctx;
|
||||||
this.ctx = tmpCtx;
|
this.ctx = tmpCtx;
|
||||||
|
|
||||||
var fillColor, strokeColor;
|
|
||||||
var paintType = dict.get('PaintType');
|
var paintType = dict.get('PaintType');
|
||||||
switch (paintType) {
|
switch (paintType) {
|
||||||
case PAINT_TYPE_COLORED:
|
case PAINT_TYPE_COLORED:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user