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/native
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_CoreGraphicsContext_mac.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_CoreGraphicsContext_mac.mm 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_CoreGraphicsHelpers_mac.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_Direct2DGraphicsContext_windows.cpp D2D: Move null checks 2024-04-29 16:08:24 +01:00
juce_Direct2DGraphicsContext_windows.h D2D: Update Direct2DGraphicsContext::getPhysicalPixelScaleFactor to include context transform for consistency with other renderer backends 2024-04-29 16:08:23 +01:00
juce_Direct2DHelpers_windows.cpp Direct2D: Add initial support 2024-04-18 14:16:02 +01:00
juce_Direct2DHwndContext_windows.cpp D2D: Fix typo which caused window to repaint continuously after resize 2024-04-29 16:08:23 +01:00
juce_Direct2DHwndContext_windows.h Direct2D: Add initial support 2024-04-18 14:16:02 +01:00
juce_Direct2DImage_windows.cpp D2D: Pass the clearImage flag to the BitmapData backup image 2024-05-10 11:55:28 +01:00
juce_Direct2DImage_windows.h D2D: Add faster two-pass blur implementation 2024-04-29 16:08:24 +01:00
juce_Direct2DImageContext_windows.cpp D2D: Avoid calling setPhysicalPixelScaleFactor 2024-04-29 16:08:23 +01:00
juce_Direct2DImageContext_windows.h Direct2D: Add initial support 2024-04-18 14:16:02 +01:00
juce_Direct2DMetrics_windows.cpp Direct2D: Add initial support 2024-04-18 14:16:02 +01:00
juce_Direct2DMetrics_windows.h Direct2D: Add initial support 2024-04-18 14:16:02 +01:00
juce_Direct2DResources_windows.cpp D2D: Avoid setting DPI when resizing context, as it is already set per-frame 2024-04-29 16:08:23 +01:00
juce_DirectWriteTypeface_windows.cpp D2D: Tidy up in typeface implementation 2024-04-29 16:08:22 +01:00
juce_DirectWriteTypeLayout_windows.cpp ComSmartPtr: Make ownership more explicit 2024-04-16 21:07:45 +01:00
juce_DirectX_windows.h D2D: Fix formatting 2024-04-29 16:08:24 +01:00
juce_EventTracing.h Direct2D: Add initial support 2024-04-18 14:16:02 +01:00
juce_Fonts_android.cpp Typeface: Add support for querying the default system UI typeface 2024-04-29 16:08:21 +01:00
juce_Fonts_freetype.cpp Typeface: Add support for querying the default system UI typeface 2024-04-29 16:08:21 +01:00
juce_Fonts_linux.cpp Typeface: Add support for querying the default system UI typeface 2024-04-29 16:08:21 +01:00
juce_Fonts_mac.mm Typeface: Add support for querying the default system UI typeface 2024-04-29 16:08:21 +01:00
juce_GraphicsContext_android.cpp Typeface: Switch to using harfbuzz for computing simple advances on all platforms 2024-04-17 14:41:01 +01:00
juce_IconHelpers_android.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_IconHelpers_linux.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_IconHelpers_mac.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_IconHelpers_windows.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_RenderingHelpers.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