Nicolas Silva
7eadba0012
Bug 1294969 - Path flattening should not skip the first inflection point if it is at t=0.0. r=Bas
2016-08-16 15:42:57 +02:00
Nicolas Silva
16fd1cf5ef
Bug 1278512 - Fix bezier flattening when the inflection points are on the extremity of the curve. r=Bas
2016-06-07 16:51:44 +02:00
Nicolas Silva
90af12edd2
Bug 1276068 - Correct the path flatness estimation computation. r=Bas
2016-05-31 12:34:17 +02:00
Tom Klein
7b2edfae77
Bug 1134549 - Switch FlattenBezier from floats to doubles. r=bas
2016-04-12 11:44:23 -05:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Lee Salzman
a7374fd8b1
Bug 1167026 - Avoid division by zero when flattening a bezier curve segment with equal control points. r=bas
2015-06-02 10:47:15 -04:00
Jeff Muizelaar
7710685272
Bug 1166879. Avoid uninitialized read in FlattenBezier. r=mstange
...
We only want to read from t2 if count is equal to 2.
Reordering this condition makes that true.
--HG--
extra : rebase_source : f83b2a0f2c99f0b4061f877326fe54cdc31fa3f0
2015-05-20 16:01:23 -04:00
Daniel Holbert
04b749a33d
Bug 1068603: Extend FlattenBezier to handle case where full path can be approximated by a linear segment. r=Bas
2015-01-02 14:46:53 -08:00
Daniel Holbert
ec62208fdf
Bug 1073716: Use C++ std::abs() instead of C abs(), for non-'int'-typed values, to address clang warning. r=ehsan
2014-09-28 09:59:46 -07:00
Botond Ballo
a5db405d9f
Bug 1057642 - Revert [Int]::PointTyped::[x|y] to be of primitive type. r=kats
...
--HG--
extra : rebase_source : 55e56423f6c8f5278315a6dc9dfcb9fb983c9309
2014-08-28 12:45:48 -04:00
Botond Ballo
ffebd18f0b
Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
...
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
Bas Schouten
6420ff2da0
Bug 992731: Correctly treat a 'line' as a curve with a single inflection point stretching across the entire line. r=jwatt
2014-05-31 03:13:23 +02:00
Bas Schouten
8f3b724393
Bug 999943 - Followup: Add requested comment. r=jwatt
2014-05-27 17:35:35 +02:00
Bas Schouten
0eae897026
Bug 999943: Correctly use the absolute value to determine min and max of the inflection range. r=jwatt
2014-05-27 17:03:34 +02:00
Bas Schouten
38ba64bea6
Bug 987077: Correctly deal with a constant acceleration. r=jwatt
2014-04-02 21:16:57 +01:00
Bas Schouten
90a70f0ab4
Bug 984796: Fix some small errors in path flattening code. r=jwatt
2014-03-22 18:40:58 +01:00
Phil Ringnalda
8eb18b0e12
Back out 87e39d7d851a (bug 984796) for printfing like log size is infinite
...
CLOSED TREE
2014-03-21 19:49:15 -07:00
Bas Schouten
886ced8b00
Bug 984796: Fix some small errors in path flattening code. r=jwatt
2014-03-22 00:55:36 +01:00
Bas Schouten
c7e5c99255
Bug 960245: Deal with the final possibility for degeneracies in FindInflectionApproximationRange. r=jrmuizel
2014-01-16 21:39:19 +01:00
Bas Schouten
f83466661c
Bug 941585: Better dealing with degenerate beziers. r=jrmuizel
2014-01-09 17:04:17 +01:00
Bas Schouten
1da060fb89
Bug 946540: Deal with inflection points that all lie outside of (0, 1). r=jrmuizel
2013-12-13 15:22:37 +01:00
Jonathan Watt
f47e1b2989
Bug 944704, part 1 - Extend Moz2D's ArcToBezier helper so that it can draw ellipse arcs in addition to circle arcs. r=Bas
2013-12-13 12:14:36 +00:00
Bas Schouten
d81f6048b3
Bug 939049 - Part 2: Add generic ComputeLength code for backends with no such functionality. r=jrmuizel
2013-11-11 12:42:07 +13:00