-
-
Notifications
You must be signed in to change notification settings - Fork 41
Closed
Description
The function is not doing what you think! It is 'banker rounding' and only good in such a context.
Unfortunately you have to use floor (x + 0.5).
The problems for me occur when using text functions like TextRect or DrawShadow. There I noticed, that text is not correct centered or shadows are one pixel off, which looks terrible for my buttons:

(1st row floor, 2nd row round)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels