1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00
JUCE/modules/juce_graphics
reuk 4f67a18a3f
EdgeTable: Avoid integer truncation when rendering paths with large coordinates
Previously, if the PathFlatteningIterator returned a line segment with
very large x or y positions, the result of
    roundToInt (iter.y1 * 256.0f)
could be incorrect, if the result was too large to fit in an int.

Using int64_t to store intermediate results, converting to int when
updating the edge table itself produces accurate results for a wider
range of inputs.
2023-06-01 18:49:32 +01:00
..
colour Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
contexts Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
effects Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
fonts Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
geometry EdgeTable: Avoid integer truncation when rendering paths with large coordinates 2023-06-01 18:49:32 +01:00
image_formats Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
images ImageCache: Avoid assertion in destructor 2023-05-31 15:15:25 +01:00
native CoreGraphics: Fix issue where AlertWindow borders were not rendered correctly 2023-05-31 15:15:25 +01:00
placement Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
juce_graphics.cpp Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_graphics.h Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_graphics.mm Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00