[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdegraphics/kpdf/xpdf/xpdf
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2008-01-23 22:33:41
Message-ID: 1201127621.096361.5743.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 765387 by aacid:
Draw correctly underlined links
BUG: 151359
M +4 -4 Gfx.cc
--- branches/KDE/3.5/kdegraphics/kpdf/xpdf/xpdf/Gfx.cc #765386:765387
@@ -4153,11 +4153,11 @@
}
//~ this doesn't currently handle the beveled and engraved styles
state->clearPath();
- state->moveTo(annotX0, out->upsideDown() ? annotY1 : annotY0);
- state->lineTo(annotX1, out->upsideDown() ? annotY1 : annotY0);
+ state->moveTo(annotX0, out->upsideDown() ? annotY0 : annotY1);
+ state->lineTo(annotX1, out->upsideDown() ? annotY0 : annotY1);
if (borderStyle->getType() != annotBorderUnderlined) {
- state->lineTo(annotX1, out->upsideDown() ? annotY0 : annotY1);
- state->lineTo(annotX0, out->upsideDown() ? annotY0 : annotY1);
+ state->lineTo(annotX1, out->upsideDown() ? annotY1 : annotY0);
+ state->lineTo(annotX0, out->upsideDown() ? annotY1 : annotY0);
state->closePath();
}
out->stroke(state);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic