Jürg Lehni
|
bf9acd4499
|
Correct Numerical.KAPPA value.
|
2013-04-19 18:57:31 -07:00 |
|
Jürg Lehni
|
9da392a99c
|
Commit initial support for Shape class.
Hit testing is still missing.
|
2013-04-19 17:25:50 -07:00 |
|
hkrish
|
cfe1bc0329
|
Added some complex test cases
|
2013-04-20 02:04:51 +02:00 |
|
Jürg Lehni
|
90f2614d52
|
Export Numerical object and move KAPPA constant there.
|
2013-04-19 17:03:41 -07:00 |
|
Jürg Lehni
|
9cc0822477
|
Move PlacedItem#_hitTest() to PlacedSymbol#_hitTest() since it was written for symbols, and remove PlacedItem as it's an empty class now.
|
2013-04-19 16:40:30 -07:00 |
|
Jürg Lehni
|
8fc2a69136
|
Improve comment.
|
2013-04-19 13:52:17 -07:00 |
|
hkrish
|
aa9f569931
|
Trying getParameterOf instead of getNearestLocation.parameter
|
2013-04-19 22:35:36 +02:00 |
|
Jürg Lehni
|
fad9d8649d
|
Update BouncingBalls.html example.
|
2013-04-19 13:16:22 -07:00 |
|
Jürg Lehni
|
67203e753c
|
Move #applyMatrix setting to PathItem.
|
2013-04-19 13:16:00 -07:00 |
|
Jürg Lehni
|
8d99aa5f95
|
Handle color transformation in Item#transform() rather than Path#_applyMatrix().
Fixes an issue with BoucingBalls.html, now that CompoundPath#applyMatrix is true.
|
2013-04-19 13:13:54 -07:00 |
|
Jürg Lehni
|
bb546decae
|
Various improvements to Color caching mechanisms.
|
2013-04-19 12:51:53 -07:00 |
|
Jürg Lehni
|
9efbc288a1
|
Merge Path.Rectangle and Path.RoundRectangle.
|
2013-04-19 12:36:49 -07:00 |
|
Jürg Lehni
|
922b9b5bd0
|
Rename _cloning parameter to _preserve.
|
2013-04-19 11:54:16 -07:00 |
|
Jürg Lehni
|
50287cde96
|
Update JSDoc.
|
2013-04-19 11:53:59 -07:00 |
|
hkrish
|
aabec49446
|
Boolean Subtraction added
|
2013-04-19 19:49:44 +02:00 |
|
hkrish
|
27eeb24c4f
|
Compound Paths working now. Also pulled in jLehni's changes on resolving transformations on compoundpaths
|
2013-04-19 14:46:27 +02:00 |
|
Jürg Lehni
|
2e265693ff
|
Make #drawSelected() protected.
|
2013-04-18 17:50:53 -07:00 |
|
Jürg Lehni
|
517b2ee27f
|
Inline Item.drawSelectedBounds() code.
|
2013-04-18 17:07:32 -07:00 |
|
Jürg Lehni
|
9ee8590a4d
|
Move Item.draw() to Item#draw().
Makes more sense this way.
|
2013-04-18 17:04:06 -07:00 |
|
Jürg Lehni
|
d23e21edd7
|
Make Item#draw() protected, so we know to not directly call it.
|
2013-04-18 16:58:35 -07:00 |
|
Jürg Lehni
|
d1c6b7134f
|
Fix Raster#getAverageColor() to work with new transforms history code.
|
2013-04-18 16:50:18 -07:00 |
|
Jürg Lehni
|
c50b940ff3
|
Fix Item#rasterize() to work with new matrices history code.
|
2013-04-18 16:23:27 -07:00 |
|
Jürg Lehni
|
1333f59d54
|
Have CompoundPath always apply transformations by default.
|
2013-04-18 16:22:21 -07:00 |
|
hkrish
|
7b6b94fc21
|
Boolean Union and Intersection working
|
2013-04-18 20:27:19 +02:00 |
|
Jürg Lehni
|
d2b43b043a
|
Fix comment.
|
2013-04-16 19:41:45 -07:00 |
|
Jürg Lehni
|
96b886ae8d
|
Avoid endless recursion when changing view from onFrame handler.
Closes #184.
|
2013-04-09 22:38:23 -07:00 |
|
Jürg Lehni
|
e546848bcc
|
Adjust SpiralRaster to work with inverted gray.
|
2013-04-09 20:40:57 -07:00 |
|
Jürg Lehni
|
9fe1ff951a
|
Clean up code.
|
2013-04-09 20:36:38 -07:00 |
|
Jürg Lehni
|
7f245974e6
|
Implement a faster method to filter out beginnings of intersected curves.
|
2013-04-09 20:35:31 -07:00 |
|
Jürg Lehni
|
a9a0857ba4
|
Find a better strategy to avoid duplicate solutions in PathItem#getIntersections().
Closes #197.
|
2013-04-09 20:27:55 -07:00 |
|
Jürg Lehni
|
2c3e8a32ab
|
Handle nested matrices correctly when drawing blend modes or transparency.
Closes #194.
|
2013-04-09 20:01:10 -07:00 |
|
Jürg Lehni
|
f79e561512
|
Handle bounds correctly for groups with only empty children.
|
2013-04-09 19:24:41 -07:00 |
|
Jürg Lehni
|
0f19e72733
|
Minor tweaks.
|
2013-04-09 19:12:47 -07:00 |
|
Jürg Lehni
|
b55d89acda
|
Move handling of clipping outside of draw function, so canvas context can correctly be saved and restored for clipping paths too.
|
2013-04-09 19:08:41 -07:00 |
|
Jürg Lehni
|
90cc10cc4b
|
Calculate _globalMatrix for all drawn items and use it for the drawing of selections.
|
2013-04-09 18:52:47 -07:00 |
|
Jürg Lehni
|
e9aad895ae
|
Import and export Item#data in SVG as well.
Closes #188.
|
2013-04-09 17:53:26 -07:00 |
|
Jürg Lehni
|
e2a118e43e
|
Make sure color components cannot be anything else than numbers.
|
2013-04-09 17:43:18 -07:00 |
|
Jürg Lehni
|
fbe8a558bd
|
Refactor Format literal to Formatter class that keeps precision stored.
|
2013-04-09 17:32:19 -07:00 |
|
Jürg Lehni
|
8da8f116d1
|
Restructure style related class organization.
|
2013-04-09 17:08:09 -07:00 |
|
Jürg Lehni
|
2d3f9c36eb
|
Update JSDoc and fix documentation issues.
|
2013-04-09 17:07:41 -07:00 |
|
Jürg Lehni
|
b3b0fa649b
|
Minor Style refactoring clean-ups.
|
2013-04-09 16:51:57 -07:00 |
|
Jürg Lehni
|
b4a99415d0
|
Merge PathStyle, CharacterStyle and ParagraphStyle into Style.
Closes #130.
|
2013-04-09 16:46:20 -07:00 |
|
Jürg Lehni
|
a4f36a59a6
|
Minor code simplification.
|
2013-04-09 14:04:25 -07:00 |
|
Jürg Lehni
|
7f3b9aa900
|
Convert Gradient creation to new notation.
|
2013-04-09 09:34:56 -07:00 |
|
Jürg Lehni
|
8feb510ea1
|
Make sure highlight remains an optional component.
|
2013-04-09 09:34:39 -07:00 |
|
Jürg Lehni
|
9d0b9dc4c6
|
Allow implicit Gradient declaration in Color object literals.
|
2013-04-09 09:27:46 -07:00 |
|
Jürg Lehni
|
0d125e1a12
|
Make sure Gradient#stops and #radial are alway set.
|
2013-04-09 09:23:08 -07:00 |
|
Jürg Lehni
|
26efbdb451
|
Implement argument reading for Gradient objects.
|
2013-04-09 09:20:32 -07:00 |
|
Jürg Lehni
|
b9532f6a1a
|
Rename Color#hilite -> Color#highlight.
|
2013-04-09 08:51:14 -07:00 |
|
Jürg Lehni
|
495eef2ee4
|
Fix issue with precision and PathItem#getAverageColor() tests.
|
2013-04-09 08:40:41 -07:00 |
|