git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed quality setting for cubic spline conversion.
[swftools.git]
/
lib
/
drawer.c
diff --git
a/lib/drawer.c
b/lib/drawer.c
index
f6b77cb
..
cf19d98
100644
(file)
--- a/
lib/drawer.c
+++ b/
lib/drawer.c
@@
-330,8
+330,8
@@
void draw_cubicTo(drawer_t*draw, FPOINT* control1, FPOINT* control2, FPOINT* t
{
struct qspline q[128];
struct cspline c;
{
struct qspline q[128];
struct cspline c;
- double quality = 80;
- double maxerror = (500-(quality*5)>1?500-(quality*5):1)/20.0;
+ //double quality = 80;
+ double maxerror = 1;//(500-(quality*5)>1?500-(quality*5):1)/20.0;
int t,num;
c.start.x = draw->pos.x;
int t,num;
c.start.x = draw->pos.x;