Aga Janowicz
195795047e
DrawableText: 0-initialise fontHeight and fontHScale variables
2025-12-08 17:19:57 +00:00
reuk
83e5264c86
Formatting: Remove double-dots from comments and other strings
2025-11-18 15:47:42 +00:00
attila
ebc15c877c
Fix drawing some SVG text elements that contain tspan elements
...
This commit mainly aims to fix some regressions caused by
20afcb5bf3 , but it also fixes cases that
were rendered incorrectly even before.
2025-09-18 10:26:57 +02:00
attila
b03a23503a
DrawableText: Add option to avoid trimming the start text
2025-09-18 10:26:57 +02:00
Anthony Nicholls
36d07a6ce3
Docs: Replace doxygen preprocessor conditionals with @cond and @endconds
2025-07-21 18:11:43 +02:00
Tom Poole
5737c42ccf
Use getSiblingFile in more places
2024-11-20 10:10:35 +00:00
reuk
29213e07a1
Font: Deprecate getStringWidth and getGlyphPositions
2024-09-18 19:13:09 +01:00
reuk
4533077b75
LookAndFeel: Allow specifying a default typeface metrics kind to use
2024-04-18 14:16:00 +01:00
reuk
4f2c287f9b
Font: Deprecate old Font constructors
2024-04-18 14:16:00 +01:00
Tom Poole
94d98a2b10
Update licensing information
2024-04-16 11:39:35 +01:00
Attila Szarvas
6be90eeeaa
Improve SVG text parsing capabilities
...
Prior to this change all <tspan> elements without x, and y attributes would
just inherit the parent elements such attributes and be placed in the same
location. This didn't respect whether these attributes were consumed already
by the parent.
Having multiple x and y elements, or having a different number of x and y
elements was also not handled in line with the rules for SVG.
2023-12-05 18:52:20 +00:00
Tom Poole
6bf9bb9a2e
Add final specifiers in implementation files
2023-10-10 16:12:38 +01:00
attila
aee5a3a45e
SVGParser: Add support for multiple coords per text element
2023-10-10 16:43:12 +02:00
attila
365d87ae11
Drawable: Fix transformations by recalculating them on bounds change
2023-10-10 16:43:12 +02:00
attila
6c3ba087f2
DrawableText: Fix applying transformation in getOutlineAsPath()
2023-10-09 17:32:35 +02:00
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible
2023-04-04 19:55:11 +01:00
reuk
9cfbccca8e
Accessibility: Make createAccessibilityHandler public to allow calls from derived classes
2023-02-09 17:54:18 +00:00
attila
9005e2fda8
Drawable: Fix clobbering Component transform when setDrawableTransform() isn't called
2022-07-22 15:21:59 +02:00
attila
a99422efee
Drawable: Add setDrawableTransform() and use it in SVGParser
...
Using this new function a previous bug is avoided where transforms
were applied differently to drawable paths and text elements.
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
reuk
ebac835673
Fix some deprecation warnings
2022-03-22 17:27:54 +00:00
ed
90eb878d16
Accessibility: Make createAccessibilityHandler() private in Component subclasses
2021-09-07 11:23:17 +01:00
ed
f6ceba3e5b
Accessibility: Disable accessibility for Drawable base class
2021-07-01 16:23:48 +01:00
Tom Poole
8ce68447bb
DrawableImage: Remove a message thread dependency
2021-06-21 15:57:25 +01:00
ed
ec990202b1
Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics
2021-05-10 10:53:14 +01:00
reuk
64b9366e8f
CharacterFunctions: Add new function to move pointer past whitespace
2021-02-18 10:54:29 +00:00
reuk
3baaad8b5b
XmlElement: Update loops to use new iterators
2021-01-28 20:14:11 +00:00
jules
0ded1ccc5f
Made the SVG parser catch "NaN" string values rather than passing them into the Path class
2020-09-21 10:19:38 +01:00
ed
009d685179
Updated all license headers
2020-06-29 08:30:22 +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
ed
49361b4775
SVG: Added support for RGBA, HSL and HSLA colours
2020-04-24 09:03:51 +01:00
Tom Poole
894e7d2bd2
Updated all license headers
2020-04-23 17:30:39 +01:00
ed
c2e3dcd8bf
Updated the documentation of some methods which now return std::unique_ptr instead of raw pointers to remove references to deleting the returned object
2020-04-23 17:08:29 +01:00
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
2020-04-09 15:22:56 +01:00
ed
26c9468dc5
Deprecated AffineTransform::getScaleFactor() as it was producing incorrect values for transforms containing rotations. Added getDeterminant() method for getting the determinant of the transform
2020-03-30 18:34:19 +01:00
reuk
5af01b9b16
Demos: Convey proper ownership semantics
2020-03-12 18:30:45 +00:00
ed
a54da0b832
Fixed some more typos
2020-01-07 08:53:23 +00:00
ed
d498575976
Fixed some SVG parsing bugs
2019-10-23 11:40:39 +01:00
Tom Poole
e88228a036
SVG: Fixed a couple of parsing bugs
2019-06-24 13:02:28 +01:00
ed
9b48d6d516
Added DrawableText::replaceColour()
2019-06-24 11:49:56 +01:00
jules
0fb8c8e82a
Added handy new function parseXMLIfTagMatches(), and refactored a lot of old code that was parsing XML in a more clunky way
2019-05-19 08:16:27 +01:00
jules
a97c4a9139
More std::unique_ptr modernisation - changed functions that used to return raw Drawable* pointers to use it
2019-05-16 15:37:47 +01:00
jules
da2b10ada6
Got rid of some methods which had inexplicably ended up marked both 'virtual' and 'override'.
2019-01-18 09:09:06 +00: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
ed
ba85dd7a05
Added some missing override keywords
2018-09-03 10:54:16 +01:00
ed
594e09b250
SVG: Rescale image before transforming to ensure that it is the correct size
2018-08-16 17:20:53 +01:00
ed
b8b77df0ed
SVG: Ensure that transformed images are positioned correctly
2018-08-16 09:42:57 +01:00
ed
4d4fd5ea3f
SVG: Avoid double transforming gradients
2018-08-15 12:54:59 +01:00