mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 19:44:28 +00:00
sw_engine: fix loss of data when it's converting.
if SwCoord type is determined to 4byte, it could lose remarkable value that occur stroking jiggling. This fixes the issue. Change-Id: Ib2fed2a3bfc9188a30522f35837439364d446a73
This commit is contained in:
parent
06d8d06993
commit
9d58643a6c
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
|||
/* Internal Class Implementation */
|
||||
/************************************************************************/
|
||||
|
||||
constexpr SwCoord CORDIC_FACTOR = 0xDBD95B16UL; //the Cordic shrink factor 0.858785336480436 * 2^32
|
||||
constexpr SwFixed CORDIC_FACTOR = 0xDBD95B16UL; //the Cordic shrink factor 0.858785336480436 * 2^32
|
||||
|
||||
//this table was generated for SW_FT_PI = 180L << 16, i.e. degrees
|
||||
constexpr static auto ATAN_MAX = 23;
|
||||
|
|
Loading…
Add table
Reference in a new issue