reuk
080ac6e7e7
LruCache: Factor out of GlyphArrangementCache
2024-04-17 14:41:00 +01:00
Tom Poole
94d98a2b10
Update licensing information
2024-04-16 11:39:35 +01:00
Tom Poole
9b041f3d74
Add a base clang-tidy configuration
2023-09-18 11:24:19 +01:00
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible
2023-04-04 19:55:11 +01:00
attila
c0f31aa12a
CoreGraphics: fillAll() fills a larger area to avoid alpha blended edges
...
Alternatively we could disable antialiasing before the fill operation
but this could cause neighbouring Components to overlap on the screen
even if their coordinates don't.
2022-09-12 15:39:05 +02:00
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
2022-05-16 17:55:48 +01:00
reuk
3bf635e004
Warnings: Always supply all field initialisers
...
This also fixes an issue where the requested font style could be
incorrectly overwritten.
2022-04-22 14:18:48 +01:00
Tom Poole
68514d626c
Graphics: Added a global GlyphArrangement cache
2022-04-04 12:36:33 +01:00
Tom Poole
dea3fe60e4
Update copyright banners
2022-04-04 12:36:32 +01:00
reuk
1d1d743b9f
Build: Add -Wdeprecated to recommended flags and fix new warnings
2022-02-23 10:56:10 +00:00
reuk
72abf72c79
GraphicsContext: Fix unused variable warning
2021-12-01 15:44:07 +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
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
jules
f58eacc135
Added more unique_ptr use, for functions that create LowLevelGraphicsContext or ImageType objects.
2019-05-15 12:08:38 +01:00
ed
06da4f2daf
Added a font 'leading' parameter for multiline text layouts
2019-03-11 16:43:21 +00:00
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
2018-11-28 17:29:20 +00:00
James Hurst
af35baccf5
Allowed different text justifications in drawMultiLineText
2018-08-22 11:24:29 +01:00
jules
f22317695b
Added a couple of casts to keep Visual Studio happy
2017-12-06 17:48:41 +00:00
jules
d9585241ad
Changed the parameters to Graphics::fillCheckerBoard() to be floats rather than ints, and improved its performance
2017-12-06 17:33:26 +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
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
3df7f8ff8b
Did a bit of minor modernising in Graphics + Path
2017-08-09 10:41:08 +01:00
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
2017-04-27 14:43:04 +01:00
jules
38d49a5ee7
Modernised a few RectangleList iterators
2017-04-03 16:08:07 +01:00
jules
31f935cc60
Added a new Graphics::drawImage method that takes a Rectangle<float>
2016-07-01 15:35:04 +01:00
jules
5960afde1a
Cleaned up a few functions in Graphics, and optimised drawEllipse when used for circles
2016-06-30 15:44:25 +01:00
jules
edec7b34b2
Replaced some uses of AffineTransform::identity with a default-constructed object
2015-12-22 17:46:31 +00:00
hogliux
c7b8e77031
Update copyright notice
2015-07-22 15:59:34 +01:00
jules
39a1727223
Added some assertions in Graphics methods to catch negatively-sized rectangles.
2015-06-01 12:07:27 +01:00
jules
1a2a50f71d
Added a version of Path::addEllipse that takes a Rectangle
2014-05-16 17:41:43 +01:00
jules
6b43ebfafc
Added a version of Graphics::drawText that uses float coords.
2014-02-07 19:27:27 +00:00
jules
95610593a5
Fix for clipping of Graphics::drawSingleLineText with right-justification.
2013-11-26 10:08:16 +00:00
jules
6dda450ad6
Added a version of Graphics::drawEllipse that takes a rectangle.
2013-10-29 21:36:38 +00:00
jules
9e5e5c82da
Added an integer fillRectList method to Graphics.
2013-09-24 17:25:48 +01:00
jules
22139761dc
Couple of MSVC warning clean-ups.
2013-09-04 16:50:50 +01:00
jules
a2c95ce4fd
Cleaned out and optimised some graphics code.
2013-09-04 13:38:54 +01:00
jules
a2280fc25d
Simplified a lot of the image drawing calls internally. Added the new juce logo to the demo app as a more challenging example of path rendering.
2013-08-30 21:42:23 +01:00
jules
dbf7053861
New method Graphics::fillRectList(), which performs better (and looks better when scaled) than multiple calls to fillRect or drawVerticalLine. Also fixed DPI detection in Windows.
2013-08-30 18:20:51 +01:00
jules
ca3bc70acd
Changes to improve scaling when using cached component images and component effects.
2013-08-19 19:17:59 +01:00
jules
1b9a60e52c
Added a templated type to the RectangleList class. If you've used this class and these changes cause syntax errors, all you need to do to your code is to replace "RectangleList" with "RectangleList<int>" and everything will work as it did before.
2013-07-28 18:08:28 +01:00
jules
4fc8fbaef1
Added some more override decorators.
2013-07-10 10:22:33 +01:00
jules
2091e8dfc8
Replaced a few Justification references.
2013-07-01 22:07:39 +01:00
jules
49fd486c23
Removed Graphics::drawTextAsPath, which is obsolete, since the same job can be done using Graphics::addTransform and any of the other drawText methods.
2013-06-15 16:53:47 +01:00
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
2013-06-13 13:17:12 +01:00
jules
c7506df13f
Changed some pass-by-references to pass-by-value to improve compiler optimisation.
2013-05-22 23:05:53 -06:00
jules
e75663b467
Improved some openGL texture creation functionality.
2013-02-28 20:45:40 +00:00
jules
b416ab6651
Added a couple of methods to Graphics.
2012-10-13 11:17:21 +01:00
jules
dc9e0cb9bb
Added some new versions of Graphics::drawText and drawFittedText that take Rectangle parameters.
2012-07-14 11:54:29 +01:00