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.
2 years ago
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
reuk
3bf635e004
Warnings: Always supply all field initialisers
This also fixes an issue where the requested font style could be
incorrectly overwritten.
3 years ago
Tom Poole
68514d626c
Graphics: Added a global GlyphArrangement cache
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
1d1d743b9f
Build: Add -Wdeprecated to recommended flags and fix new warnings
3 years ago
reuk
72abf72c79
GraphicsContext: Fix unused variable warning
3 years ago
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
4 years ago
ed
009d685179
Updated all license headers
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
jules
f58eacc135
Added more unique_ptr use, for functions that create LowLevelGraphicsContext or ImageType objects.
6 years ago
ed
06da4f2daf
Added a font 'leading' parameter for multiline text layouts
6 years ago
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
6 years ago
James Hurst
af35baccf5
Allowed different text justifications in drawMultiLineText
6 years ago
jules
f22317695b
Added a couple of casts to keep Visual Studio happy
7 years ago
jules
d9585241ad
Changed the parameters to Graphics::fillCheckerBoard() to be floats rather than ints, and improved its performance
7 years ago
jules
c3a218ab49
Added some methods ColourGradient::vertical and ColourGradient::horizontal, and also some missing move operators for that class
7 years ago
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
7 years ago
jules
3df7f8ff8b
Did a bit of minor modernising in Graphics + Path
7 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
38d49a5ee7
Modernised a few RectangleList iterators
8 years ago
jules
31f935cc60
Added a new Graphics::drawImage method that takes a Rectangle<float>
9 years ago
jules
5960afde1a
Cleaned up a few functions in Graphics, and optimised drawEllipse when used for circles
9 years ago
jules
edec7b34b2
Replaced some uses of AffineTransform::identity with a default-constructed object
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
39a1727223
Added some assertions in Graphics methods to catch negatively-sized rectangles.
10 years ago
jules
1a2a50f71d
Added a version of Path::addEllipse that takes a Rectangle
11 years ago
jules
6b43ebfafc
Added a version of Graphics::drawText that uses float coords.
11 years ago
jules
95610593a5
Fix for clipping of Graphics::drawSingleLineText with right-justification.
11 years ago
jules
6dda450ad6
Added a version of Graphics::drawEllipse that takes a rectangle.
11 years ago
jules
9e5e5c82da
Added an integer fillRectList method to Graphics.
11 years ago
jules
22139761dc
Couple of MSVC warning clean-ups.
11 years ago
jules
a2c95ce4fd
Cleaned out and optimised some graphics code.
11 years ago
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.
11 years ago
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.
11 years ago
jules
ca3bc70acd
Changes to improve scaling when using cached component images and component effects.
11 years ago
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.
11 years ago
jules
4fc8fbaef1
Added some more override decorators.
12 years ago
jules
2091e8dfc8
Replaced a few Justification references.
12 years ago
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.
12 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
c7506df13f
Changed some pass-by-references to pass-by-value to improve compiler optimisation.
12 years ago
jules
e75663b467
Improved some openGL texture creation functionality.
12 years ago
jules
b416ab6651
Added a couple of methods to Graphics.
12 years ago
jules
dc9e0cb9bb
Added some new versions of Graphics::drawText and drawFittedText that take Rectangle parameters.
13 years ago
jules
006e324114
Moved the Graphics::drawBevel() method into LookAndFeel. Fixed an introjucer caret colour bug.
13 years ago
jules
b1d73f2086
Minor internal refactoring and clean-ups.
13 years ago
jules
1e9e6cbf79
New methods for Graphics, CallOutBox.
13 years ago