Domain order is x_min x_max y_min y_max and not x_min y_min x_max y_max

svn path=/branches/KDE/3.5/kdegraphics/kpdf/; revision=772886
remotes/origin/kpdf-3.5
Albert Astals Cid 18 years ago
parent 299075082a
commit ddae88ef84
  1. 4
      xpdf/xpdf/GfxState.cc

@ -1820,9 +1820,9 @@ GfxFunctionShading *GfxFunctionShading::parse(Dict *dict) {
obj1.arrayGetLength() == 4) {
x0A = obj1.arrayGet(0, &obj2)->getNum();
obj2.free();
y0A = obj1.arrayGet(1, &obj2)->getNum();
x1A = obj1.arrayGet(1, &obj2)->getNum();
obj2.free();
x1A = obj1.arrayGet(2, &obj2)->getNum();
y0A = obj1.arrayGet(2, &obj2)->getNum();
obj2.free();
y1A = obj1.arrayGet(3, &obj2)->getNum();
obj2.free();

Loading…
Cancel
Save