Jelle Raaijmakers
ab19b092ed
LibGfx: Implement Rect::to_rounded<U>()
...
This replaces the usage of `rounded_int_rect`, whose name did not
accurately reflect the rounding operation happening. For example, the
position of the rect was not rounded but floored, and the size was
pulled through `roundf` before casting to `int` which could result in
inadvertent flooring if the resulting floating point could not exactly
represent the rounded value.
2022-03-23 11:53:34 +01:00
..
2022-03-19 00:20:46 +00:00
2022-02-24 18:09:22 +01:00
2022-03-18 18:51:42 +01:00
2022-03-18 18:51:42 +01:00
2022-03-19 22:32:38 +01:00
2022-03-18 11:31:33 +01:00
2022-03-04 23:40:21 +01:00
2022-03-04 23:40:21 +01:00
2022-02-01 10:06:26 +01:00
2022-03-18 01:12:26 +01:00
2022-03-17 17:23:49 +00:00
2022-01-24 22:36:09 +01:00
2022-03-04 17:41:08 +01:00
2022-03-18 11:31:33 +01:00
2022-01-26 23:19:54 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-04 17:41:08 +01:00
2022-03-04 23:40:21 +01:00
2022-03-22 15:47:36 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-02-23 21:53:30 +00:00
2022-02-23 21:53:30 +00:00
2022-02-25 19:38:31 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-02-06 03:15:00 +00:00
2022-03-18 19:58:57 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-15 11:39:42 +01:00
2022-03-23 11:53:34 +01:00
2022-03-18 11:31:33 +01:00
2022-02-09 00:51:31 +01:00
2022-03-05 10:25:14 +01:00
2022-03-12 15:38:55 +01:00
2022-03-17 17:23:49 +00:00
2022-03-13 22:35:20 +01:00
2022-03-13 22:35:20 +01:00
2022-03-13 22:35:20 +01:00
2022-03-13 22:35:20 +01:00
2022-03-18 19:58:57 +01:00
2022-01-24 22:36:09 +01:00
2022-03-17 17:23:49 +00:00
2022-03-13 22:35:20 +01:00
2022-03-13 22:35:20 +01:00
2022-03-13 22:35:20 +01:00
2022-03-13 22:35:20 +01:00
2022-03-08 22:09:52 +01:00
2022-03-23 11:53:34 +01:00
2022-03-04 23:40:21 +01:00
2022-03-17 17:23:49 +00:00
2022-03-04 17:41:08 +01:00
2022-01-26 23:19:54 +01:00
2022-03-17 17:23:49 +00:00
2022-02-16 19:49:41 -05:00
2022-03-05 10:25:14 +01:00
2022-03-08 22:09:52 +01:00
2022-02-25 19:38:31 +01:00
2022-03-16 18:06:45 +01:00
2022-03-04 12:56:05 +01:00
2022-03-04 12:56:05 +01:00
2022-03-04 12:56:05 +01:00
2022-03-11 12:30:43 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00