1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00
Commit graph

80 commits

Author SHA1 Message Date
reuk
50b51f512a
juce_audio_processors_headless: Remove juce_graphics dependency 2025-09-17 12:50:08 +01:00
Anthony Nicholls
36d07a6ce3 Docs: Replace doxygen preprocessor conditionals with @cond and @endconds 2025-07-21 18:11:43 +02:00
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
Tom Poole
94d98a2b10 Update licensing information 2024-04-16 11:39:35 +01:00
attila
c9c2ca0aab Fix float equality warning in Rectangle::enlargeIfAdjacent()
Co-authored-by: Tobias Hienzsch <post@tobias-hienzsch.de>
2023-10-24 18:19:36 +02:00
Tom Poole
0dfaa98e86 Rectangle: Add nodiscard to some methods 2023-09-15 16:30:10 +01:00
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
reuk
7c14c1fcd7
Use more concise stdlib type aliases 2022-09-26 18:03:47 +01:00
reuk
8b8ae10059
Build: Replace JUCE_NODISCARD with [[nodiscard]] 2022-09-12 16:14:57 +01:00
Tom Poole
2ec861d99e Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
Tom Poole
dea3fe60e4 Update copyright banners 2022-04-04 12:36:32 +01:00
reuk
b80927fc91
Nodiscard: Add to builder-pattern functions 2022-01-27 18:43:21 +00:00
reuk
44b34be183
Rectangle: Add string conversion functions for floats and doubles 2021-11-24 16:20:37 +00:00
ed
b9542ccc4c Update code to use C++14 [[deprecated]] attribute
This commit removes the various compiler-specific JUCE_DEPRECATED macros and replaces them with C++14's deprecated attribute. It also removes the JUCE_CATCH_DEPRECATED_CODE_MISUSE flag as we can rely on the override specifier catching usage of these old virtual methods, and tidies up the DOXYGEN preprocessor checks as they were inconsistent across the codebase.
2021-09-29 16:14:00 +01:00
reuk
394c4fd475 Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +01:00
ed
b77b14c6c3 Fixed some incorrect documentation examples for the Rectangle::removeFromRight() and ::removeFromBottom() methods 2020-05-22 11:22:43 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
reuk
327f817b9b Copyrights: Update commercial/gpl headers to be gpl-only 2020-04-09 15:22:56 +01:00
ed
59a058fdc6 Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough 2020-03-09 17:39:28 +00:00
Tom Poole
a93ce46534 Fixed a bug in the previous commit 2019-09-25 09:54:20 +01:00
Tom Poole
ae0b8cf406 Fixed a Rectangle intersection issue 2019-09-24 14:48:24 +01:00
jules
485feb47ed Tweaked a couple of Rectangle methods to avoid some spurious assertions triggered by rounding errors 2019-06-21 12:15:51 +01:00
Tom Poole
08d67c763f Made some JUCE classes TriviallyCopyable 2018-07-11 09:17:31 +01:00
jules
121719be69 Added new method Rectangle::toNearestIntEdges(), and used this to improve the Grid layout snapping 2018-04-04 16:43:17 +01:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00
jules
eda613c6db Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools 2017-09-08 08:59:55 +01:00
jules
b12d4c3378 (Fixed a warning in the last commit) 2017-05-11 16:35:53 +01:00
jules
a82c11402c Made Rectangle::getSmallestIntegerContainer() handle Inf floating point values. Also did some quick modernisation of the Rectangle class. 2017-05-11 15:12:44 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
hogliux
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00
jules
a15d79d4fe Added new methods Rectangle::withRightX() and withBottomY() 2017-01-01 11:56:23 +00:00
hogliux
4b6458438f Fix small typo 2016-07-21 15:29:52 +01:00
jules
97e058bbd2 Added a couple of proportional Rectangle methods 2016-07-14 09:34:29 +01:00
jules
fb864a5cb1 Corrected some spelling mistakes in comments 2016-04-11 11:13:44 +01:00
Timur Doumler
2d134d9380 Rectangle::toNearestInt(): improved documentation. 2016-02-03 09:59:59 +00:00
Timur Doumler
26759d5f64 Added helper method Rectangle::toNearestInt(). 2016-02-02 14:39:52 +00:00
jules
9906788e9b Avoided a Visual Studio compiler warning in Rectangle 2015-12-22 11:43:28 +00:00
jules
02492b36b9 Lots of small whitespace tweaks. 2015-12-13 19:32:05 +00:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
jules
43283b3d03 Added a couple of methods to Rectangle to return its limits as Range objects. 2015-06-11 09:13:13 -07:00
jules
769c2f4b46 Added isFinite() methods to Point and Rectangle. 2015-04-01 11:58:05 +01:00
jules
8968df0402 Added some centering methods to Rectangle. 2014-02-21 12:51:06 +00:00
jules
fc24a63ed1 Added a method Rectangle::withSizeKeepingCentre() 2013-12-07 14:31:52 +00:00
jules
2edec00b55 Removed a few more uses of String::empty. 2013-12-01 23:28:31 +00:00
jules
41545be958 Added methods for line/rectangle intersection. 2013-11-13 10:26:35 +00:00
jules
740cea768c Added some trimming functions to Rectangle. 2013-10-20 20:38:45 +01:00
jules
9b4566a2f0 Added some Rectangle and Point scaling methods. 2013-09-17 09:38:32 +01:00
jules
fecba9c31c New class StringRef, to improve performance in function calls that can take either a String or a raw string literal. Modified a few other classes to take advantage of this. 2013-09-09 20:07:17 +01:00
jules
d28ebfdb36 Stripped out some unnecessary boilerplate includes from juce_graphics. 2013-08-24 10:49:25 +01:00