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.
1 year ago
Tom Poole
6bf9bb9a2e
Add final specifiers in implementation files
1 year ago
attila
aee5a3a45e
SVGParser: Add support for multiple coords per text element
1 year ago
attila
365d87ae11
Drawable: Fix transformations by recalculating them on bounds change
1 year ago
attila
6c3ba087f2
DrawableText: Fix applying transformation in getOutlineAsPath()
1 year ago
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible
2 years ago
reuk
9cfbccca8e
Accessibility: Make createAccessibilityHandler public to allow calls from derived classes
2 years ago
attila
9005e2fda8
Drawable: Fix clobbering Component transform when setDrawableTransform() isn't called
2 years ago
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.
2 years ago
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
ebac835673
Fix some deprecation warnings
3 years ago
ed
90eb878d16
Accessibility: Make createAccessibilityHandler() private in Component subclasses
3 years ago
ed
f6ceba3e5b
Accessibility: Disable accessibility for Drawable base class
3 years ago
Tom Poole
8ce68447bb
DrawableImage: Remove a message thread dependency
3 years ago
ed
ec990202b1
Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics
4 years ago
reuk
64b9366e8f
CharacterFunctions: Add new function to move pointer past whitespace
4 years ago
reuk
3baaad8b5b
XmlElement: Update loops to use new iterators
4 years ago
jules
0ded1ccc5f
Made the SVG parser catch "NaN" string values rather than passing them into the Path class
4 years ago
ed
009d685179
Updated all license headers
4 years ago
ed
48acdf58ef
Added HSL support to Colour and use Colour::fromHSL() when parsing SVG HSL colours
5 years ago
ed
7553b8dc1b
Added HSL support to Colour and use Colour::fromHSL() when parsing SVG HSL colours
5 years ago
ed
26901c6106
SVG: Added support for RGBA, HSL and HSLA colours
5 years ago
ed
49361b4775
SVG: Added support for RGBA, HSL and HSLA colours
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
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
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
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
5 years ago
reuk
5af01b9b16
Demos: Convey proper ownership semantics
5 years ago
ed
a54da0b832
Fixed some more typos
5 years ago
ed
d498575976
Fixed some SVG parsing bugs
5 years ago
Tom Poole
e88228a036
SVG: Fixed a couple of parsing bugs
5 years ago
ed
9b48d6d516
Added DrawableText::replaceColour()
5 years ago
jules
0fb8c8e82a
Added handy new function parseXMLIfTagMatches(), and refactored a lot of old code that was parsing XML in a more clunky way
6 years ago
jules
a97c4a9139
More std::unique_ptr modernisation - changed functions that used to return raw Drawable* pointers to use it
6 years ago
jules
da2b10ada6
Got rid of some methods which had inexplicably ended up marked both 'virtual' and 'override'.
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
6 years ago
ed
ba85dd7a05
Added some missing override keywords
6 years ago
ed
594e09b250
SVG: Rescale image before transforming to ensure that it is the correct size
6 years ago
ed
b8b77df0ed
SVG: Ensure that transformed images are positioned correctly
6 years ago
ed
4d4fd5ea3f
SVG: Avoid double transforming gradients
6 years ago
ed
121b42d507
SVG: Set the bounding box of images to ensure they are positioned correctly
6 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
ed
cdbc28c18b
Add documentation tags
7 years ago
jules
56a6bf06cd
Fixed Drawable clip-paths not being copied correctly
7 years ago
jules
8d09eaadb6
Removed some defunct code from the C++1 feature detection macros, and simplified code which no longer needs to test for feature availability
7 years ago
jules
1a60fa9765
More ScopedPointer/unique_ptr compatibility work
7 years ago
jules
48a5fbd333
Another batch of ScopedPointer cleanups
7 years ago