[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swftools-common] angle in degrees for filters
From: |
Jean-Michel Sarlat |
Subject: |
[Swftools-common] angle in degrees for filters |
Date: |
Sat, 24 May 2008 15:11:29 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.14 (X11/20080509) |
Hi Matthias,
In the last snapshot (05/14), for the filter dropshadow, in the
procedure c_dropshadow: it seems to me that angles must be in degrees
for the call to s_dropshadow...
I replaced
>>float angle = parseFloat(lu(args,"angle")) / 180 * M_PI;
by
>>float angle = parseFloat(lu(args,"angle"));
and everything is Ok for the positionning of the shadow...
It is, perhaps, the same thing for other filters, I have not tested.
Best regards,
Jean-Michel Sarlat
- [Swftools-common] angle in degrees for filters,
Jean-Michel Sarlat <=