1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-01 03:10:06 +00:00
JUCE/modules/juce_graphics/native
reuk 2a264390e8
Direct2D: Update assertion to check for alignment against screen rather than current transform
This assertion is intended to mirror the behaviour of an
informational/performance diagnostic message raised by the D2D debugging
layer.

It seems the D2D diagnostic is raised when the proposed clip region is
aligned to the screen, not to the current transform.

Before this change, the assertion could incorrectly fire when clipping
to transformed rectangles. This could be seen when clicking the
star-shaped buttons in the ComponentTransformsDemo.

With this change in place, the assertion will still fire when e.g.
calling Graphics::reduceClipRegion on a screen-aligned rectangular path,
but will not fire when this path is skewed/rotated etc.
2024-06-11 11:34:04 +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 GraphicsContext: Avoid attempting to paint empty rectangles in all renderers 2024-05-20 12:49:56 +01:00
juce_CoreGraphicsHelpers_mac.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_Direct2DGraphicsContext_windows.cpp Direct2D: Update assertion to check for alignment against screen rather than current transform 2024-06-11 11:34:04 +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: Skip invalid path elements when converting a Path to a Geometry 2024-05-28 16:08:55 +01:00
juce_Direct2DHwndContext_windows.cpp Direct2D: Fix flickery resizing when using an internal resizer 2024-05-31 11:43:30 +01:00
juce_Direct2DHwndContext_windows.h Direct2D: Fix flickery resizing when using an internal resizer 2024-05-31 11:43:30 +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 DirectWrite: Rework custom font collection loader 2024-05-31 11:43:29 +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 Remove TextLayout::createNativeLayout() 2024-05-30 12:21:35 +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 Remove TextLayout::createNativeLayout() 2024-05-30 12:21:35 +01:00
juce_Fonts_mac.mm Remove TextLayout::createNativeLayout() 2024-05-30 12:21:35 +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 GraphicsContext: Avoid attempting to paint empty rectangles in all renderers 2024-05-20 12:49:56 +01:00