Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Despite what the comment says, this function rounds halfway cases towards positive infinity. _cairo_round ( 0.5) => floor ( 1.0) => 1.0 _cairo_round (-0.5) => floor ( 0.0) => 0.0 _cairo_round (-1.5) => floor (-1.0) => -1.0 Signed-off-by: Uli Schlachter <psychon@znc.in> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
- Loading branch information