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:
58e9667
)
set spline maximum error to 0.05.
author
kramm
<kramm>
Sun, 13 Apr 2003 21:04:15 +0000
(21:04 +0000)
committer
kramm
<kramm>
Sun, 13 Apr 2003 21:04:15 +0000
(21:04 +0000)
pdf2swf/swfoutput.cc
patch
|
blob
|
history
diff --git
a/pdf2swf/swfoutput.cc
b/pdf2swf/swfoutput.cc
index
8a129bc
..
75f8bda
100644
(file)
--- a/
pdf2swf/swfoutput.cc
+++ b/
pdf2swf/swfoutput.cc
@@
-163,10
+163,10
@@
static void spline(TAG*tag,plotxy p0,plotxy p1,plotxy p2,plotxy p3,struct swfmat
if(storefont) {
/* fonts use a different approximation than shapes */
if(storefont) {
/* fonts use a different approximation than shapes */
- num = cspline_approximate(&c, q, 10.0, APPROXIMATE_RECURSIVE_BINARY);
+ num = cspline_approximate(&c, q, 0.05, APPROXIMATE_RECURSIVE_BINARY);
//num = cspline_approximate(&c, q, 10.0, APPROXIMATE_INFLECTION);
} else {
//num = cspline_approximate(&c, q, 10.0, APPROXIMATE_INFLECTION);
} else {
- num = cspline_approximate(&c, q, 1.0, APPROXIMATE_RECURSIVE_BINARY);
+ num = cspline_approximate(&c, q, 0.05, APPROXIMATE_RECURSIVE_BINARY);
}
for(t=0;t<num;t++) {
if(!t)
}
for(t=0;t<num;t++) {
if(!t)