mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 01:28:06 +02:00
cleanup
This commit is contained in:
parent
6f74406a2c
commit
e95512e7cf
1 changed files with 0 additions and 4 deletions
4
pdf.js
4
pdf.js
|
@ -4176,9 +4176,6 @@ var CanvasGraphics = (function() {
|
|||
if (base) {
|
||||
var baseComps = base.numComps;
|
||||
|
||||
if (baseComps != length - 1)
|
||||
error("invalid base color for pattern colorspace");
|
||||
|
||||
var color = [];
|
||||
for (var i = 0; i < baseComps; ++i)
|
||||
color.push(args[i]);
|
||||
|
@ -4263,7 +4260,6 @@ var CanvasGraphics = (function() {
|
|||
var savedCtx = ctx;
|
||||
this.ctx = tmpCtx;
|
||||
|
||||
var fillColor, strokeColor;
|
||||
var paintType = dict.get('PaintType');
|
||||
switch (paintType) {
|
||||
case PAINT_TYPE_COLORED:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue