Anthony Nicholls
68f7ed4ecc
Colour: Prevent an integer alpha value being processed as a float
2025-10-16 16:55:44 +01:00
Anthony Nicholls
36d07a6ce3
Docs: Replace doxygen preprocessor conditionals with @cond and @endconds
2025-07-21 18:11:43 +02:00
reuk
a889149cbd
PixelRGB: Fix pixel order issue when creating CGImages on iOS
2024-12-03 11:28:07 +00:00
reuk
c4652ef7bc
ColourGradient: Fix assertion in ColourGradient::remove
2024-05-08 17:53:52 +01:00
reuk
5ff13aa6b1
PixelFormats: Avoid data-loss warning when tweening PixelAlpha values
2024-05-08 17:53:52 +01:00
reuk
19061e6d17
Direct2D: Add initial support
2024-04-18 14:16:02 +01:00
Tom Poole
94d98a2b10
Update licensing information
2024-04-16 11:39:35 +01:00
Tom Poole
6bf9bb9a2e
Add final specifiers in implementation files
2023-10-10 16:12:38 +01:00
Anthony Nicholls
158220ddfa
Formatting: Use nested namespace definitions
2023-10-09 14:49:18 +01:00
Tom Poole
4153d59e39
Formatting
2023-10-02 15:42:20 +01:00
Anthony Nicholls
2bb530f636
approximatelyEqual: Add customisable tolerances for floating-point comparisons
2023-08-17 12:47:53 +00:00
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible
2023-04-04 19:55:11 +01:00
reuk
a59cba010b
ColourGradient: Create lookup tables using non-premultiplied colours
...
The OpenGL renderer uses ColourGradient::createLookupTable to generate
gradient textures. However, the tweening method used was different to
the tweening used by CoreGraphics gradients, and by the software
renderer.
Gradient tweening is now computed using non-premultiplied colours, to
ensure consistency between gradients rendered using OpenGL, and with
other renderers.
2023-02-09 17:54:19 +00:00
reuk
8b8ae10059
Build: Replace JUCE_NODISCARD with [[nodiscard]]
2022-09-12 16:14:57 +01:00
attila
9acfeece43
Colours: Support grey/gray spelling for HTML and SVG compatibility
2022-07-18 18:55:10 +02: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
Roland Rabien
9d692c13cf
Fix invalid usage of JUCE_NODISCARD
2022-01-29 13:49:36 -08:00
reuk
b80927fc91
Nodiscard: Add to builder-pattern functions
2022-01-27 18:43:21 +00:00
reuk
6244fc293f
CharacterFunctions: Avoid UB when parsing hex strings
2021-10-25 09:51:20 +01:00
reuk
dcd2ef93f9
Colour: Remove restrictions on argument to brighter() and darker()
2021-06-30 17:03:38 +01:00
reuk
0c56fa8fa0
Colour: Fix comparisons in HSL conversions
2021-06-23 12:09:34 +01:00
reuk
f0c02529ef
Colour: Avoid divisions by zero
2021-06-21 19:05:40 +01:00
ed
f9f83fe3fa
Correctly scale saturation value to 0-1 in HSL Colour constructor
2021-02-19 19:07:12 +00:00
Tom Poole
308757bc48
Tidied up the pixel format classes
2021-01-19 23:29:56 +00: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
00d8910cc5
Fixed hue wrap-around for negative values in HSV/HSL colours
2020-04-30 16:49:32 +01:00
ed
eeff1e6174
Fixed hue wrap-around in HSV/HSL colours, added some more unit tests and added methods to distinguish between HSV and HSL saturation
2020-04-29 12:45:02 +01:00
ed
7553b8dc1b
Added HSL support to Colour and use Colour::fromHSL() when parsing SVG HSL colours
2020-04-27 14:26:41 +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
4a5dda489f
Fixed some warnings with -Wconversion enabled
2020-03-17 09:02:57 +00:00
ed
6e51eb4a65
Documentation update
2020-03-09 17:42:08 +00:00
ed
d87ff510f2
Corrected the documentation for Colour::fromHSV()
2020-03-06 17:38:53 +00:00
ed
3d5c6b8a03
Fixed a typo
2019-11-19 10:48:14 +00:00
reuk
6a01077646
Colours: Fixed a static init order issue with predefined Colours
2019-10-28 13:13:23 +00:00
Tom Poole
bc25355b71
Fixed a documentation typo
2019-08-07 16:06:47 +01:00
Tom Poole
4e0adb2af8
GCC 9 compatibility fixes
2019-04-30 17:46:15 +01:00
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
2019-01-11 09:52:10 +00:00
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
2018-11-28 17:29:20 +00:00
Tom Poole
08d67c763f
Made some JUCE classes TriviallyCopyable
2018-07-11 09:17:31 +01:00
jules
f80df37183
Fixed a couple of typos in comments
2018-06-25 17:27:38 +01:00
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
2018-04-19 20:27:47 +01:00
ed
cdbc28c18b
Add documentation tags
2018-03-15 12:10:32 +00:00
jules
1a60fa9765
More ScopedPointer/unique_ptr compatibility work
2018-01-10 17:35:08 +00:00
jules
48a5fbd333
Another batch of ScopedPointer cleanups
2018-01-10 14:49:57 +00:00
jules
0fb1fde14e
Added a couple more ColourGradient methods
2017-11-09 09:37:16 +00:00
jules
c3a218ab49
Added some methods ColourGradient::vertical and ColourGradient::horizontal, and also some missing move operators for that class
2017-11-08 15:00:47 +00:00
jules
2dc9316420
Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility)
2017-11-01 17:41:06 +00:00