mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
sw_engine: prevent warning
Remove unused version of SUBPIXELS().
This commit is contained in:
parent
defec5e43b
commit
acc614ab2f
1 changed files with 0 additions and 5 deletions
|
@ -277,11 +277,6 @@ static inline SwPoint SUBPIXELS(const SwPoint& pt)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static inline SwCoord SUBPIXELS(const SwCoord x)
|
|
||||||
{
|
|
||||||
return SwCoord(((unsigned long) x) << PIXEL_BITS);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Approximate sqrt(x*x+y*y) using the `alpha max plus beta min'
|
* Approximate sqrt(x*x+y*y) using the `alpha max plus beta min'
|
||||||
* algorithm. We use alpha = 1, beta = 3/8, giving us results with a
|
* algorithm. We use alpha = 1, beta = 3/8, giving us results with a
|
||||||
|
|
Loading…
Add table
Reference in a new issue