Commit graph

950 commits

Author SHA1 Message Date
Jonathan Puckey
d2de9c29d7 RadialRainbows.html example: use onFrame instead of setInterval and fix a bug in the window resizing code. 2011-05-07 13:58:22 +01:00
Jonathan Puckey
ba6139cd48 Merge remote branch 'origin/master' 2011-05-07 13:56:03 +01:00
Jonathan Puckey
97b7dacfa2 Tool: check for event first, before checking for event.targetTouches. 2011-05-07 13:51:26 +01:00
Jürg Lehni
1e1a58e540 Correct case on example files. 2011-05-07 13:44:38 +01:00
Jürg Lehni
430a8fb290 Do not pass document as the item for Document#currentStyle. 2011-05-07 13:39:40 +01:00
Jürg Lehni
dabc2b97ed Implement change-notification in a proper way, using ChangeFlags that tell it what exactly has changed, and clearing caches accordingly. 2011-05-07 13:39:17 +01:00
Jürg Lehni
53cc1cd908 Apply #position optimisation through caching to all items, not just PlacedSymbol. 2011-05-07 13:13:19 +01:00
Jürg Lehni
1413094be2 Shorten PlacedSymbol#initialize(). 2011-05-07 13:12:46 +01:00
Jürg Lehni
15b7cfec0b Shorten Item#translate(). 2011-05-07 13:09:04 +01:00
Jürg Lehni
72976f4191 Use internal _position in PlacedItem and transform it along when a matrix is applied. 2011-05-07 11:36:16 +01:00
Jürg Lehni
34785534e0 Use getPosition() rather than getBounds().getCenter(). 2011-05-07 11:25:46 +01:00
Jürg Lehni
17b5354773 Include util files at the end of the library, not the beginning. 2011-05-07 11:24:01 +01:00
Jürg Lehni
6af787e475 Move access to Numerical.TOLERANCE out of the injection scope into getBounds(), so util files can be included at the end of the library again. 2011-05-07 11:23:46 +01:00
Jürg Lehni
3a5aa466de Add comments about things to change. 2011-05-07 10:07:21 +01:00
Jürg Lehni
53a4685248 Merge branch 'master' of github.com:scriptographer/paper.js 2011-05-07 09:56:46 +01:00
Jürg Lehni
6083faaf80 Use getter instead of beans property. 2011-05-07 09:56:27 +01:00
Jürg Lehni
5e4369d800 No need to call setter, we can set internal property directly here. 2011-05-07 09:55:56 +01:00
Jürg Lehni
b580016232 Change name of default build. 2011-05-06 19:19:23 +01:00
Jonathan Puckey
314619e0a3 Simplify Worm Farm example. 2011-05-06 17:38:01 +01:00
Jonathan Puckey
020ab4e8bb Some work on the Worm Farm example. 2011-05-06 17:11:46 +01:00
Jonathan Puckey
c05eb9bfde Rework the Clouds example a bit. 2011-05-06 15:54:36 +01:00
Jonathan Puckey
1587ac857d Simplify Circles example. 2011-05-06 15:51:26 +01:00
Jonathan Puckey
74dd89a68b Use Point#read in Point#min and Point#max. 2011-05-06 15:37:55 +01:00
Jonathan Puckey
29863b852a BouncingBalls example: use onFrame for animation and simplify some things. 2011-05-06 15:34:27 +01:00
Jonathan Puckey
3dbd6bc91b Some simplifications to the roundRectangle example. 2011-05-06 15:03:21 +01:00
Jürg Lehni
cca62beac3 lowercase Stats.js lib. 2011-05-06 13:47:17 +01:00
Jürg Lehni
91919987a6 We need the paper object before including utils. 2011-05-06 13:45:18 +01:00
Jürg Lehni
819c1c098c Clean up BlendMode code, and add comments about things not working yet. 2011-05-06 13:41:36 +01:00
Jürg Lehni
0fc7216f1c Fix typos introduced in recent commit. 2011-05-06 13:40:43 +01:00
Jürg Lehni
8a4fe7eb42 Tiny code simplification. 2011-05-06 13:29:21 +01:00
Jürg Lehni
1e7fab2cbc Rearrange file sequence to have utils first. 2011-05-06 13:29:05 +01:00
Jürg Lehni
c36db3a55c Introduce private faster Matrix#_transform* methods that lack arguments checks, and use them internally. 2011-05-06 13:28:35 +01:00
Jürg Lehni
aed1bb0878 Use Numerical.TOLERANCE instead of hardcoded one. 2011-05-06 12:06:05 +01:00
Jürg Lehni
218c7ce2fc Use Paperjs.org blue instead of that other blue. 2011-05-06 12:04:18 +01:00
Jürg Lehni
66602c9cec Remove comment about necessity to reverse coordinate system. 2011-05-06 01:27:47 +01:00
Jürg Lehni
0b082289a6 Simplify Path#arcTo() a lot (get rid of necessity to reverse coordinate system in y-direction, etc). 2011-05-06 01:26:23 +01:00
Jürg Lehni
18ef19649c Remove comment about unnecessary change. 2011-05-06 00:45:46 +01:00
Jürg Lehni
680ae49ec8 Clean up code a bit and add comment about possible further optimsiations. 2011-05-06 00:44:54 +01:00
Jürg Lehni
a3065a59d1 Simplify Path#arcTo(). 2011-05-06 00:42:10 +01:00
Jürg Lehni
a4b37a6278 Simplify addJoin(). 2011-05-06 00:39:44 +01:00
Jürg Lehni
8f7deef61c Simplify code. 2011-05-06 00:19:24 +01:00
Jürg Lehni
a3da96e8be Remove notify parameter again from _add(). 2011-05-06 00:18:56 +01:00
Jürg Lehni
20cf32d599 Resolve question about wether last segment should be included in join or not. 2011-05-06 00:14:09 +01:00
Jonathan Puckey
3e3e519bfe Add Stats.js to lib. 2011-05-05 20:29:10 +01:00
Jonathan Puckey
6fa993a2a5 Implement equals function for GradientColor, Gradient & GradientStop. 2011-05-05 20:28:28 +01:00
Jonathan Puckey
140f7dee44 Imlement Stats in the dev version of Paper. 2011-05-05 20:23:22 +01:00
Jonathan Puckey
7e24a9170f Document: subtract the offset of the canvas element from the size of the window when resizing. 2011-05-05 20:19:54 +01:00
Jonathan Puckey
c8f13b4ace Document#initialize: use canvas.attributes.resize instead of canvas.getAttribute('resize'). 2011-05-05 20:18:22 +01:00
Jonathan Puckey
59a776f58d Examples: resize='true' -> resize. 2011-05-05 20:08:13 +01:00
Jonathan Puckey
f5aa8d5925 Remove a few examples. 2011-05-05 18:54:38 +01:00