Jürg Lehni
|
5209e97c8d
|
Merge GradientColor into Color.
Work in progress.
|
2013-04-09 01:21:36 -07:00 |
|
Jürg Lehni
|
380fce3946
|
Simplify GradientColor code before merge with Color.
|
2013-04-08 23:29:15 -07:00 |
|
Jürg Lehni
|
9cdc4b9372
|
Switch back to only one Gradient constructor for both linear and radial Gradients.
|
2013-04-08 20:52:21 -07:00 |
|
Jürg Lehni
|
ca1a395dbd
|
Invert Color#gray component.
|
2013-04-08 20:20:47 -07:00 |
|
Jürg Lehni
|
727db4c5f2
|
Further improve Color constructors.
|
2013-04-08 20:06:29 -07:00 |
|
Jürg Lehni
|
3ffb2e6a75
|
Refactor Color conversion code.
|
2013-04-08 19:42:17 -07:00 |
|
Jürg Lehni
|
062abab78b
|
More work on Color refactoring.
Improve backward compatible constructors.
|
2013-04-08 13:50:12 -07:00 |
|
Jürg Lehni
|
01673d675d
|
Fix issues with new Color serialization.
|
2013-04-08 13:10:49 -07:00 |
|
Jürg Lehni
|
cf21da75fc
|
Improve Color constructor and simplify serialization.
|
2013-04-08 07:27:48 -07:00 |
|
Jürg Lehni
|
3a893600ca
|
Handle overlapping HSB / HSL properties and make sure conversions are only performed when needed.
|
2013-04-08 07:12:50 -07:00 |
|
Jürg Lehni
|
8292112ecd
|
More work on Color and testing.
|
2013-04-08 07:07:41 -07:00 |
|
Jürg Lehni
|
a48e6e5bf9
|
More work on Color refactoring.
|
2013-04-08 00:11:43 -07:00 |
|
Jürg Lehni
|
09824e6b91
|
More work on Color refactoring.
|
2013-04-07 23:01:49 -07:00 |
|
Jürg Lehni
|
136c028d29
|
Increase performance of Style getters / setters.
|
2013-04-07 17:36:35 -07:00 |
|
Jürg Lehni
|
218732e320
|
Implement a row of simple optimizations to increase performance of Item constructors.
|
2013-04-07 17:36:09 -07:00 |
|
Jürg Lehni
|
232ea221b4
|
First batch of large Color refactoring and simplification.
Work in progress.
|
2013-04-07 10:03:51 -07:00 |
|
Jürg Lehni
|
fa143ad545
|
Fix typo.
|
2013-04-07 09:49:34 -07:00 |
|
Jürg Lehni
|
a0b903e49c
|
Simply call slice() instead of slice(0).
|
2013-04-06 18:39:17 +02:00 |
|
Jürg Lehni
|
4bc3882c82
|
Do not access internal _alpha property.
|
2013-04-06 18:14:45 +02:00 |
|
Jürg Lehni
|
18ed9010a6
|
Derive Item#type from Item#_class and use that instead in code that depends on Item types.
|
2013-04-06 18:07:30 +02:00 |
|
Jürg Lehni
|
f43b322d2a
|
Rename Base#_type property to #_class.
|
2013-04-06 09:16:08 +02:00 |
|
Jürg Lehni
|
cb62c6053a
|
Switch back to persistence of segments for good.
|
2013-04-05 17:34:09 +02:00 |
|
Jürg Lehni
|
9adfc01c8d
|
Handle both strings and objects in Base.importJson().
And keep returning strings from #exportJson().
|
2013-04-05 16:58:00 +02:00 |
|
Jürg Lehni
|
e63b3a0797
|
Use short-cut to Math.abs()
|
2013-03-23 17:05:48 -07:00 |
|
Jürg Lehni
|
d0c763f27d
|
Use CanvasContext#save() and #restore() in Item#rasterize().
|
2013-03-19 21:36:11 -07:00 |
|
Jürg Lehni
|
be8b46899d
|
Simplify Matrix#applyToContext()
|
2013-03-19 21:35:41 -07:00 |
|
Jürg Lehni
|
1392f87d85
|
Switch back to serializing segment lists for now, so we can fix other failing tests.
|
2013-03-19 18:48:59 -07:00 |
|
Jürg Lehni
|
606389238d
|
Have Color always serialize in non-compact mode.
|
2013-03-19 18:47:34 -07:00 |
|
Jürg Lehni
|
5ff911f68c
|
Have Path#closePath() handle merging of first and last segment, if doubled.
So we finally found a reason for #closePath() to stick around :)
|
2013-03-19 18:47:18 -07:00 |
|
Jürg Lehni
|
9c38a76525
|
Add support for Item#data serialization.
|
2013-03-19 17:52:46 -07:00 |
|
Jürg Lehni
|
16b60d1b9e
|
Allow all basic types to properly serialize themselves in non-compact form.
|
2013-03-19 17:52:17 -07:00 |
|
Jürg Lehni
|
a0066b61c3
|
Rearrange method sequence in basic types.
|
2013-03-19 17:51:50 -07:00 |
|
Jürg Lehni
|
3f634f6420
|
Use same precision in Path#getPathData() as everywhere else.
|
2013-03-19 16:23:36 -07:00 |
|
Jürg Lehni
|
e854254986
|
Insert linear segments when dividing linear curves.
|
2013-03-19 16:17:12 -07:00 |
|
Jonathan Puckey
|
e3760afecd
|
Fix handling of param.clip in CompoundPath#draw.
|
2013-03-17 22:27:20 +01:00 |
|
Jonathan Puckey
|
e5c32b9520
|
Actually fix handling of param.clip in Path#draw.
|
2013-03-17 21:59:07 +01:00 |
|
Jonathan Puckey
|
4c4258d2e1
|
Fix Raster#getAverageColor by having Path#draw clip the context, when param.clip is true.
|
2013-03-17 21:41:46 +01:00 |
|
Jonathan Puckey
|
58247ea232
|
Fix bug in Raster#getSubImage and add test.
|
2013-03-17 18:57:16 +01:00 |
|
Jonathan Puckey
|
0d3f746c10
|
Have Raster constructor set Raster#_size to [0, 0] if it was not set.
|
2013-03-17 17:04:56 +01:00 |
|
Jonathan Puckey
|
5777c7a772
|
Fix problem where calling new Raster().setSize(size) threw an error.
|
2013-03-17 16:55:57 +01:00 |
|
Jonathan Puckey
|
f4c1f6a3c1
|
Remove todo.
|
2013-03-17 16:40:59 +01:00 |
|
Jonathan Puckey
|
9f466bbc97
|
Fix mistake in Raster#setPixel.
|
2013-03-17 16:39:23 +01:00 |
|
Jonathan Puckey
|
1cfe34089a
|
Remove double space in docs.
|
2013-03-17 15:01:30 +01:00 |
|
Jonathan Puckey
|
4b87860b30
|
Add documentation of Path#getLocationOf
|
2013-03-16 18:39:53 +01:00 |
|
Jonathan Puckey
|
6f490d8b34
|
Add documentation for Path#split.
|
2013-03-16 17:59:31 +01:00 |
|
Jonathan Puckey
|
2b7f526c62
|
Fix hit-testing documentation: change options.guide to options.guides.
|
2013-03-16 14:16:02 +01:00 |
|
Jonathan Puckey
|
b76f69b517
|
Improve Layer documentation.
|
2013-03-16 14:03:13 +01:00 |
|
Jonathan Puckey
|
7ee7a26ef4
|
Improve item documentation.
|
2013-03-16 14:02:59 +01:00 |
|
Jonathan Puckey
|
b23a4ede56
|
Improve Group documentation.
|
2013-03-16 13:44:58 +01:00 |
|
Jonathan Puckey
|
1393825bc2
|
Add object literal constructor docs to Rectangle.
|
2013-03-16 13:15:21 +01:00 |
|