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

164 commits

Author SHA1 Message Date
jules
85f74ca7d3 Clarified comments around the JUCE_ALLOW_STATIC_NULL_VARIABLES items to make clear that they're deprecated 2017-12-31 10:49:33 +00:00
jules
a9eafbc90f Some tidying up in AffineTransform, and added a new fromTargetPoints method 2017-12-20 12:58:20 +00:00
jules
8d2150f239 Added a parallelogram class 2017-12-20 11:42:29 +00:00
jules
430948ad91 Fixed an undefined behaviour warning in the demo app, and tidied up a couple of path functions 2017-12-19 15:01:41 +00:00
jules
b028f299b8 Fixed some subtle (but benign) undefined behaviour with negative bit-shifts 2017-12-19 14:22:39 +00:00
jules
5e9267e5d8 Simplified the Path class by making it use an Array for starage. 2017-12-18 12:22:02 +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
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
9d56e2990d Optimised the GL renderer to avoid splitting large rectangles into horizontal strips unnecessarily 2017-11-03 13:51:37 +00:00
jules
24f023bb23 Added some heuristics to EdgeTable to try to improve the table size prediction 2017-10-11 15:28:32 +01:00
jules
15871dd890 Added some more JUCE_CONSTEXPR flags to Point 2017-10-10 10:45:32 +01:00
jules
93a22599d1 Tweaked the rate at which EdgeTable grows its internal storage, to improve performance rendering large and complex paths 2017-10-09 14:53:56 +01:00
jules
970eda679e Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting! 2017-10-09 12:38:06 +01:00
jules
27a6903cac Changed the way isPositiveAndBelow is written to avoid needing to cast the second parameter to an int 2017-09-27 12:24:02 +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
7c6f3d40b6 Tidied up some method calls involving HeapBlock 2017-09-05 16:06:57 +01:00
hogliux
4a2a5294a7 Added macros JUCE_CONSTEXPR and JUCE_HAS_CONSTEXPR to support constexpr 2017-08-14 10:09:15 +01:00
jules
3df7f8ff8b Did a bit of minor modernising in Graphics + Path 2017-08-09 10:41:08 +01:00
jules
61044c8bda Fix to Line::getDistanceFromPoint to make it work for integer types 2017-06-30 10:11:45 +01:00
jules
b12d4c3378 (Fixed a warning in the last commit) 2017-05-11 16:35:53 +01:00
jules
a82c11402c Made Rectangle::getSmallestIntegerContainer() handle Inf floating point values. Also did some quick modernisation of the Rectangle class. 2017-05-11 15:12:44 +01:00
jules
5c1e707824 Modernised RectangleList 2017-05-11 11:14:23 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
jules
e0698daaca Tidied up a couple of comments, warnings and did a bit of code modernisation 2017-04-24 10:49:41 +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
jules
38d49a5ee7 Modernised a few RectangleList iterators 2017-04-03 16:08:07 +01:00
hogliux
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00
hogliux
9f3fb1c0a6 Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated 2017-02-01 17:18:06 +00:00
jules
a15d79d4fe Added new methods Rectangle::withRightX() and withBottomY() 2017-01-01 11:56:23 +00:00
hogliux
a7ee1a7c2e Added missing initialiser in Path::Iterator constructor 2016-12-21 09:38:22 +00:00
ed
18c896f45b Changed Line::getPointAlongLineProportionally method to work properly with integers 2016-12-02 11:27:04 +00:00
hogliux
8263d70adb Continue drawing if a negative dashLen was hit 2016-10-05 18:31:29 +01:00
jules
9fa0d49be7 Added an option JUCE_ALLOW_STATIC_NULL_VARIABLES that can be used to turn off dangerous statics like String::empty, var::null, etc. 2016-09-16 12:03:02 +01:00
hogliux
4b6458438f Fix small typo 2016-07-21 15:29:52 +01:00
jules
97e058bbd2 Added a couple of proportional Rectangle methods 2016-07-14 09:34:29 +01:00
jules
6b8c7208b3 Tidied up a few things in the Line class, and added a Line::fromStartAndAngle method 2016-07-12 09:50:52 +01:00
hogliux
3461b12f7e Draw custom line ends if arrow width is zero 2016-07-04 11:25:41 +01:00
jules
9abd4eeace Added some extra tolerance settings to some Path methods 2016-04-11 16:00:15 +01:00
jules
fb864a5cb1 Corrected some spelling mistakes in comments 2016-04-11 11:13:44 +01:00
jules
5d23645ca2 Workaround for some OSX10.11 repaint region coalescing problems 2016-02-23 10:01:57 +00:00
jules
df33097ddf Added a function to multiply a point by a scalar, and improved the comments for Point::getAngleToPoint() 2016-02-08 14:15:50 +00:00
jules
dd576a5192 Fixed a mathematical edge-case in line-intersection calculations 2016-02-08 12:07:49 +00:00
Timur Doumler
2d134d9380 Rectangle::toNearestInt(): improved documentation. 2016-02-03 09:59:59 +00:00
Timur Doumler
26759d5f64 Added helper method Rectangle::toNearestInt(). 2016-02-02 14:39:52 +00:00
jules
d48167a0b7 Added some length-squared methods to Line and Point 2016-02-01 11:22:04 +00:00
jules
606e7be12f Added dashed-line support to the SVG parser and DrawablePath 2016-01-11 13:11:12 +00:00
jules
edec7b34b2 Replaced some uses of AffineTransform::identity with a default-constructed object 2015-12-22 17:46:31 +00:00
jules
9906788e9b Avoided a Visual Studio compiler warning in Rectangle 2015-12-22 11:43:28 +00:00
jules
02492b36b9 Lots of small whitespace tweaks. 2015-12-13 19:32:05 +00:00