1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00
Commit graph

96 commits

Author SHA1 Message Date
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
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
attila
aee5a3a45e SVGParser: Add support for multiple coords per text element 2023-10-10 16:43:12 +02:00
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01: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
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
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
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
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
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
ed
121b42d507 SVG: Set the bounding box of images to ensure they are positioned correctly 2018-08-15 12:54:23 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
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 2018-01-11 09:08:51 +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
3300e71e17 Removal of RelativeCoordinate classes from the Drawables 2018-01-03 11:13:14 +00:00
jules
65ba5128c7 Small fix to the SVG parser 2017-12-19 17:57:50 +00:00
jules
d727f2a35a Added MathConstants::halfPi to improve readability 2017-12-06 12:56:00 +00:00
jules
d0111a4f96 Began phasing out double_Pi and float_Pi in favour of MathConstants::pi. Also added MathConstants::twoPi 2017-12-06 11:16:22 +00:00
jules
f0ef700e46 Modernised a bunch of code mainly relating to character/string iteration 2017-10-19 16:52:20 +01: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
5e4fd94b8f SVG parser: if font-size is unspecified for text, a non-zero default size is used 2017-08-10 15:09:23 +01:00
jules
39cb22cf5e Fixed a problem with the SVG parser 2017-08-03 09:03:18 +01:00
jules
a1b55a4025 Fixed a problem with the SVG parser handling group element transforms 2017-06-21 16:36:17 +01:00
jules
cb7ecfd77b Added method Drawable::getOutlineAsPath(), and used this for parsing SVG clip regions 2017-06-20 14:16:17 +01:00
jules
e281bc3fed SVG parser: changed font heights to work in points rather than pixels, to match behaviour of other parsers 2017-05-31 11:55:13 +01:00
jules
f5b92421f9 Fixed an SVG parser problem with elements marked display:none 2017-05-30 12:09:25 +01:00
jules
4397cc3701 Made SVG parser cope with quoted font names 2017-05-30 11:46:06 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
jules
bf94ab0e4c Made a few minor tweaks to reduce the number of pedantic -Wfloat-equals warnings 2017-04-21 15:09:35 +01:00
tpoole
37e21e9cb1 Fixed VS2013 compiler warning in SVGParser 2017-04-20 11:59:04 +01:00
jules
5b6c82b59c Improved some SVG CSS parsing, and did some minor internal cleanup on the parser. 2017-04-10 10:30:36 +01:00