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
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
..
colour ColourGradient: Fix assertion in ColourGradient::remove 2024-05-08 17:53:52 +01:00
contexts Direct2D: Add initial support 2024-04-18 14:16:02 +01:00
detail Add new Range related types that help working with attributed text 2024-04-18 14:16:01 +01:00
effects D2D: Add faster two-pass blur implementation 2024-04-29 16:08:24 +01:00
fonts FontOptions: Add some assertions to warn about misuse 2024-06-11 11:34:04 +01:00
geometry CoreGraphics: Slightly shrink excluded clip regions in order to draw transformed opaque components without border artefacts 2024-05-20 12:49:55 +01:00
image_formats Update licensing information 2024-04-16 11:39:35 +01:00
images D2D: Add faster two-pass blur implementation 2024-04-29 16:08:24 +01:00
native Direct2D: Update assertion to check for alignment against screen rather than current transform 2024-06-11 11:34:04 +01:00
placement Update licensing information 2024-04-16 11:39:35 +01:00
unicode Unicode: Ignore punctuation when resolving implicit characters 2024-05-23 12:54:13 +01:00
juce_graphics.cpp Unicode: Perform major refactor 2024-05-23 12:54:13 +01:00
juce_graphics.h Direct2D: Add initial support 2024-04-18 14:16:02 +01:00
juce_graphics.mm Update licensing information 2024-04-16 11:39:35 +01:00
juce_graphics_Harfbuzz.cpp Add Harfbuzz dependency 2024-04-17 14:41:00 +01:00