1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-15 00:24:19 +00:00
JUCE/modules/juce_graphics/geometry
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
..
juce_AffineTransform.cpp Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
juce_AffineTransform.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_BorderSize.h Linux: Adjust natively reported border size by the current scale factor 2022-05-19 12:06:38 +02:00
juce_EdgeTable.cpp EdgeTable: Avoid integer truncation when rendering paths with large coordinates 2023-06-01 18:49:32 +01:00
juce_EdgeTable.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_Line.h Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
juce_Parallelogram.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_Path.cpp Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
juce_Path.h Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
juce_PathIterator.cpp Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
juce_PathIterator.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_PathStrokeType.cpp Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
juce_PathStrokeType.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_Point.h Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
juce_Rectangle.h Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
juce_Rectangle_test.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_RectangleList.h RectangleList: Avoid entering a death spiral when subtracting very close rectangles 2022-12-14 11:12:31 +00:00