1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Add |fillRgb| method to LabCS

This commit is contained in:
Jonas Jenwald 2014-07-10 11:48:00 +02:00
parent a20c39083c
commit 1cb4de2227

View file

@ -926,6 +926,7 @@ var LabCS = (function LabCSClosure() {
return (inputLength * (3 + alpha01) / 3) | 0;
},
isPassthrough: ColorSpace.prototype.isPassthrough,
fillRgb: ColorSpace.prototype.fillRgb,
isDefaultDecode: function LabCS_isDefaultDecode(decodeMap) {
// XXX: Decoding is handled with the lab conversion because of the strange
// ranges that are used.