git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f93b622
)
added dash-length transforming
author
kramm
<kramm>
Thu, 8 May 2008 14:59:36 +0000
(14:59 +0000)
committer
kramm
<kramm>
Thu, 8 May 2008 14:59:36 +0000
(14:59 +0000)
lib/pdf/GFXOutputDev.cc
patch
|
blob
|
history
diff --git
a/lib/pdf/GFXOutputDev.cc
b/lib/pdf/GFXOutputDev.cc
index
fed1333
..
ae26f2b
100644
(file)
--- a/
lib/pdf/GFXOutputDev.cc
+++ b/
lib/pdf/GFXOutputDev.cc
@@
-1083,8
+1083,6
@@
void GFXOutputDev::strokeGfxline(GfxState *state, gfxline_t*line, int flags)
this->transformXY(state, 1, 1, &tx2, &ty2);
double f = sqrt(sqr(tx2-tx1)+sqr(ty2-ty1)) / SQRT2;
- f = 1.0; //disable dash length transform for now
-
msg("<trace> %d dashes", this->dashLength);
msg("<trace> | phase: %f", this->dashStart);
for(t=0;t<this->dashLength;t++) {