Jonathan Puckey
|
acf06937f5
|
BouncingBalls example: remove line which was committed by accident.
|
2011-03-03 02:30:55 +01:00 |
|
Jonathan Puckey
|
83df699975
|
Update dependencies of examples.
|
2011-03-03 02:27:46 +01:00 |
|
Jonathan Puckey
|
136fe67917
|
Small change to CanvasDraw.
|
2011-03-03 02:25:09 +01:00 |
|
Jonathan Puckey
|
8ff04b6614
|
Unify canvas drawing commands in CanvasDraw.js and rework compositing code.
|
2011-03-03 02:22:21 +01:00 |
|
Jürg Lehni
|
91ec37de9c
|
Add foundations for Path#strokeBounds support.
|
2011-03-02 17:27:20 +00:00 |
|
Jürg Lehni
|
620cb2c754
|
Various clean-ups in Path.
|
2011-03-02 17:23:45 +00:00 |
|
Jürg Lehni
|
311ae66a0f
|
Update added Path Bound tests with correct values from Scriptographer.
|
2011-03-02 16:38:14 +00:00 |
|
Jürg Lehni
|
42ffdec911
|
On master: "Curve"
|
2011-03-02 16:22:26 +00:00 |
|
Jürg Lehni
|
dbbefa9526
|
index on master: fd4b7b7 Include DocumentView.js in all examples and tests.
|
2011-03-02 16:22:26 +00:00 |
|
Jürg Lehni
|
fd4b7b76ae
|
Include DocumentView.js in all examples and tests.
|
2011-03-02 16:18:32 +00:00 |
|
Jürg Lehni
|
9f8bf39f1f
|
Break long line.
|
2011-03-02 16:17:40 +00:00 |
|
Jürg Lehni
|
ab9d07501e
|
Simplify code a bit, by chainging variable declarations.
|
2011-03-02 16:08:11 +00:00 |
|
Jürg Lehni
|
5d680b1987
|
Reformat code and add comment about clearRect dimensions.
|
2011-03-02 16:07:44 +00:00 |
|
Jürg Lehni
|
f9346a3b7a
|
Simplify code by merging setTransform() / transform() call to one.
|
2011-03-02 16:06:06 +00:00 |
|
Jürg Lehni
|
8cb3efb28e
|
Simplify calculation of total in getAverageColor().
|
2011-03-02 08:53:38 +01:00 |
|
Jürg Lehni
|
98de3cbb2a
|
Simplify getAverageColor() loop.
|
2011-03-02 08:52:39 +01:00 |
|
Jürg Lehni
|
8c96d91400
|
Fix errors introduced by bad merge.
|
2011-03-02 08:52:13 +01:00 |
|
Jürg Lehni
|
3f972be500
|
Merge remote-tracking branch 'origin/master'
Conflicts:
src/basic/Matrix.js
src/item/Raster.js
|
2011-02-28 23:27:03 +01:00 |
|
Jürg Lehni
|
a93156ec45
|
Break long lines at 80 chars.
|
2011-02-28 20:24:15 +01:00 |
|
Jürg Lehni
|
caa6e8f88e
|
Add comment about necessity to write more comments (nudge nudge, wink wink).
|
2011-02-28 20:23:03 +01:00 |
|
Jürg Lehni
|
aca79fc6a9
|
Simplify and optimise bounds calculations in Raster#transformContent().
|
2011-02-28 20:22:11 +01:00 |
|
Jürg Lehni
|
0305c91e8c
|
Change array format.
|
2011-02-28 20:21:21 +01:00 |
|
Jürg Lehni
|
d442ab1d71
|
Replace * 0.5 optimisations with more obvious / 2, as there is no need for such optimisation here.
|
2011-02-28 20:20:44 +01:00 |
|
Jürg Lehni
|
c3d02bbd16
|
Add explanatory comments to Raster#transformContent().
|
2011-02-28 20:17:59 +01:00 |
|
Jürg Lehni
|
763fc95776
|
Fix odd issue of Rasters rotating the wrong way, which seems to be caused by Canvas not using the same Matrix orientation as Paper.js (scaleX (m00) and scaleY (m11) need to be flipped).
|
2011-02-28 20:15:40 +01:00 |
|
Jürg Lehni
|
700f4aeb6a
|
Add #set() function to Point, Rectangle and Size (Matrix has it already).
|
2011-02-28 20:14:10 +01:00 |
|
Jonathan Puckey
|
14b8452bad
|
Fix mistakes in Tool.js
|
2011-02-28 19:29:32 +01:00 |
|
Jonathan Puckey
|
1261dc03df
|
Doc: point to the correct performance test url.
|
2011-02-28 18:41:46 +01:00 |
|
Jonathan Puckey
|
eee5e63a72
|
BlendMode: support DocumentView and return if an item's bounds is null.
|
2011-02-28 18:36:06 +01:00 |
|
Jonathan Puckey
|
0e011dee2a
|
Support DocumentView in Group#draw.
|
2011-02-28 18:35:12 +01:00 |
|
Jonathan Puckey
|
fe9853852a
|
Implement new Doc(size) constructor, Doc#views / Doc#activeView and support DocumentView in Doc#redraw.
|
2011-02-28 18:34:39 +01:00 |
|
Jonathan Puckey
|
285f81f363
|
Support PlacedSymbol opacity.
|
2011-02-28 18:31:51 +01:00 |
|
Jonathan Puckey
|
4fa293ec6d
|
Have Tool convert points from view coordinates to artwork coordinates.
|
2011-02-28 18:31:03 +01:00 |
|
Jonathan Puckey
|
74f797a9dd
|
Clean up whitespace.
|
2011-02-28 18:30:08 +01:00 |
|
Jonathan Puckey
|
84e31925b6
|
Implement DocumentView.
|
2011-02-28 18:28:16 +01:00 |
|
Jonathan Puckey
|
a7429205ed
|
Allow Matrix#applyToContext to optionally reset the matrix transformation.
|
2011-02-28 18:27:57 +01:00 |
|
Jonathan Puckey
|
12859d7a24
|
Item: pass on param object to Item#draw.
|
2011-02-28 16:41:24 +01:00 |
|
Jonathan Puckey
|
b03ad9b090
|
Some small changes BezierTool example.
|
2011-02-27 17:42:30 +01:00 |
|
Jonathan Puckey
|
196f89d9a7
|
Examples: Add simple BezierTool example.
|
2011-02-27 17:16:42 +01:00 |
|
Jonathan Puckey
|
c6d606db0a
|
Path: After calling Path#add(segment), return the added segment. Add todo to Path#insert.
|
2011-02-27 15:50:41 +01:00 |
|
Jonathan Puckey
|
9496ac70bd
|
Clean up Path.RegularPolygon constructor.
|
2011-02-26 19:21:52 +01:00 |
|
Jonathan Puckey
|
eebe7e2731
|
Implement Path.RegularPolygon constructor and add tests for it.
|
2011-02-26 19:19:02 +01:00 |
|
Jonathan Puckey
|
f9ccd1d1a5
|
Tests: add tests for group bounds after rotation.
|
2011-02-26 18:17:44 +01:00 |
|
Jürg Lehni
|
506e7c036c
|
Merge remote-tracking branch 'origin/master'
|
2011-02-26 17:27:12 +01:00 |
|
Jürg Lehni
|
b1b923ab27
|
Add comment about problems with Base.clone().
|
2011-02-26 17:27:07 +01:00 |
|
Jürg Lehni
|
6d25dbbd22
|
Add beginning of path length calculations, work in progress.
|
2011-02-26 17:26:54 +01:00 |
|
Jonathan Puckey
|
461aa87211
|
Group: add todo.
|
2011-02-26 15:55:58 +01:00 |
|
Jonathan Puckey
|
9e6fd5a7e7
|
Speed up CanvasProvider.
|
2011-02-26 15:29:51 +01:00 |
|
Jonathan Puckey
|
1a6c5c8c6f
|
Doc: Change comment about using canvas.width = canvas.width instead of context.clearRect.
|
2011-02-26 14:38:50 +01:00 |
|
Jonathan Puckey
|
8cf2f54d5f
|
Add test to Path_Bounds.js which tests bounds and segments after rotation.
|
2011-02-26 13:58:00 +01:00 |
|