1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
JUCE/modules/juce_graphics/geometry
reuk e11b8f5ccb
CoreGraphics: Slightly shrink excluded clip regions in order to draw transformed opaque components without border artefacts
Previously, drawing an opaque, scaled component with CoreGraphics could
lead to visible artefacts around the edge of the component.

When drawing the parent of an opaque component, the area covered by the
opaque component is excluded from the clip region. If the clip region is
non-integral when transformed into device space, anti-aliasing will be
applied on the edges of the clip region. Similarly, when drawing the
opaque component itself, anti-aliasing will be applied at the edges of
the component. When the two drawings are superimposed, the foreground
anti-aliased pixels will be blended with the background anti-aliased
pixels, leading to a noticeable border around the component. Ideally,
only the foreground anti-aliasing should be applied, and the background
should not be anti-aliased around its edges.
2024-05-20 12:49:55 +01:00
..
juce_AffineTransform.cpp AffineTransform: Add isOnlyTranslationOrScale() helper 2024-05-20 12:49:55 +01:00
juce_AffineTransform.h AffineTransform: Add isOnlyTranslationOrScale() helper 2024-05-20 12:49:55 +01:00
juce_BorderSize.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_EdgeTable.cpp EdgeTable: Avoid reinterpret_cast in multiplyLevels 2024-05-20 12:49:55 +01:00
juce_EdgeTable.h EdgeTable: Keep better track of buffer memory ranges 2024-05-20 12:49:55 +01:00
juce_Line.h Line: Avoid data loss warning in Line::findNearestPointTo 2024-05-08 17:53:52 +01:00
juce_Parallelogram.h Parallelogram: Fix implementations of isEmpty and operator-= 2024-05-08 17:53:51 +01:00
juce_Parallelogram_test.cpp Parallelogram: Fix implementations of isEmpty and operator-= 2024-05-08 17:53:51 +01:00
juce_Path.cpp Direct2D: Add initial support 2024-04-18 14:16:02 +01:00
juce_Path.h Direct2D: Add initial support 2024-04-18 14:16:02 +01:00
juce_PathIterator.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_PathIterator.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_PathStrokeType.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_PathStrokeType.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_Point.h Point: Disable rotatedAroundOrigin for non-floating-point types 2024-05-08 17:53:52 +01:00
juce_Rectangle.h CoreGraphics: Slightly shrink excluded clip regions in order to draw transformed opaque components without border artefacts 2024-05-20 12:49:55 +01:00
juce_Rectangle_test.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_RectangleList.h Update licensing information 2024-04-16 11:39:35 +01:00