mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-12 15:34:22 +00:00
sw_engine: code refactoring.
removed unused macro.
This commit is contained in:
parent
855397be36
commit
c407d4d13d
1 changed files with 0 additions and 6 deletions
|
@ -99,12 +99,6 @@ static inline SwPoint UPSCALE(const SwPoint& pt)
|
|||
}
|
||||
|
||||
|
||||
static inline SwPoint DOWNSCALE(const SwPoint& pt)
|
||||
{
|
||||
return {pt.x >> (PIXEL_BITS - 6), pt.y >> (PIXEL_BITS - 6)};
|
||||
}
|
||||
|
||||
|
||||
static inline SwPoint TRUNC(const SwPoint& pt)
|
||||
{
|
||||
return {pt.x >> PIXEL_BITS, pt.y >> PIXEL_BITS};
|
||||
|
|
Loading…
Add table
Reference in a new issue