Introduce paintSolidColorImageMask command to handle 1x1 solid image masks

See https://github.com/mozilla/pdf.js/issues/4436 for details
This commit is contained in:
Christian Krebs 2014-03-16 16:17:13 +01:00
parent 1a6e103c35
commit fc9edfcf76
3 changed files with 27 additions and 1 deletions

View file

@ -151,7 +151,8 @@ var OPS = PDFJS.OPS = {
paintInlineImageXObject: 86,
paintInlineImageXObjectGroup: 87,
paintImageXObjectRepeat: 88,
paintImageMaskXObjectRepeat: 89
paintImageMaskXObjectRepeat: 89,
paintSolidColorImageMask: 90,
};
// A notice for devs. These are good for things that are helpful to devs, such