Jürg Lehni
|
ac5dca4fc0
|
Update various comments about TODOs.
|
2011-04-26 17:04:15 +01:00 |
|
Jürg Lehni
|
bdfe35d93a
|
Consistently name local context variables 'ctx', to save line size and acknowledge the fact that Canvas contexts have a funny API design.
|
2011-04-26 15:39:16 +01:00 |
|
Jürg Lehni
|
9d2459d799
|
Rename '// Todo' to '// TODO', which is the convention.
|
2011-04-26 12:39:48 +01:00 |
|
Jürg Lehni
|
f431dcab5c
|
Add test code for dirty rectangle performance, deactivated by a boolean switch.
|
2011-04-26 12:37:37 +01:00 |
|
Jonathan Puckey
|
f261da3279
|
Document#getSelectedItems: add todo.
|
2011-04-23 14:32:21 +02:00 |
|
Jonathan Puckey
|
538f360a6b
|
Fix Document#getSelectedItems & Path#setSegments.
|
2011-04-22 12:30:38 +02:00 |
|
Jonathan Puckey
|
dfb5cbc5eb
|
Fix two bugs in the selected items code.
|
2011-04-21 20:52:28 +02:00 |
|
Jonathan Puckey
|
be8ee90f75
|
Document: use a hash for Document#_selectedItems to speed up adding to and removing from it.
|
2011-04-21 20:43:42 +02:00 |
|
Jonathan Puckey
|
ff9976ab57
|
Implement Document#getSelectedItems.
|
2011-04-21 18:10:47 +02:00 |
|
Jonathan Puckey
|
732caec7bf
|
Speed up drawing of selected items.
|
2011-04-21 15:48:21 +02:00 |
|
Jonathan Puckey
|
517793c48a
|
Implement Item#get/setDocument and Document#selectedItems.
|
2011-04-21 15:47:00 +02:00 |
|
Jonathan Puckey
|
be9f312110
|
Implement a first version of drawing path selection.
|
2011-04-17 18:46:35 +02:00 |
|
Jürg Lehni
|
9d4af0ce9e
|
Clean up recently caused Base.read() mess by introducing _readNull property,m setting it to true on Color and reverting to previous behavior for Point, Size and Rectangle, where dimensions of 0 are read by default if nothing is provided.
|
2011-03-13 18:31:00 +01:00 |
|
Jürg Lehni
|
7a4e49c5d5
|
Clean up Document#draw a bit and define param outside of loop.
|
2011-03-08 12:55:52 +00:00 |
|
Jürg Lehni
|
6a67052090
|
Update copyright / licensing comments.
|
2011-03-08 01:41:50 +00:00 |
|
Jürg Lehni
|
e1a7aff2f0
|
Add copyright notice and license file.
|
2011-03-07 00:50:44 +00:00 |
|
Jürg Lehni
|
083a9864f0
|
Use Matrix#transformBounds() in DocumentView#getBounds().
|
2011-03-05 01:42:24 +00:00 |
|
Jürg Lehni
|
c313e702c9
|
Clean up a whole lot of beans access, and in the process of the refactoring improve canvas, context, size and bounds handling in Raster and PlacedSymbol.
|
2011-03-05 01:26:12 +00:00 |
|
Jürg Lehni
|
44ab8ed3a0
|
Refer to currentStyle through getters and setters, not through beans.
|
2011-03-05 00:03:28 +00:00 |
|
Jürg Lehni
|
92bf51a7cc
|
Simplify the way the paper namespace is created and populated.
|
2011-03-04 13:34:31 +00:00 |
|
Jürg Lehni
|
2b6dede883
|
Clean up white-spaces and line lengths.
|
2011-03-03 22:45:17 +00:00 |
|
Jürg Lehni
|
7e52355f93
|
Rename Doc -> Document since paper code is namespaced now and does not clash with global Document prototype.
|
2011-03-03 17:23:27 +00:00 |
|
Jürg Lehni
|
5ed30d7089
|
Make sure all files end on empty line.
|
2011-03-03 16:32:55 +00:00 |
|
Jürg Lehni
|
d088dc629e
|
Rename Paper to paper, implement it as an object literal and add paper.populate() and paper.install() methods that do the bootstraping.
|
2011-03-03 16:21:17 +00:00 |
|
Jürg Lehni
|
941c3c7346
|
Declare all classes as local variables, so they can be scoped.
|
2011-03-03 13:33:41 +00:00 |
|
Jürg Lehni
|
07fcc000cf
|
Move the new refactored CanvasDraw functionality to static Item.draw() and #draw() instance methods on each prototype.
|
2011-03-03 12:19:43 +00:00 |
|
Jonathan Puckey
|
8ff04b6614
|
Unify canvas drawing commands in CanvasDraw.js and rework compositing code.
|
2011-03-03 02:22:21 +01:00 |
|
Jonathan Puckey
|
1261dc03df
|
Doc: point to the correct performance test url.
|
2011-02-28 18:41:46 +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
|
84e31925b6
|
Implement DocumentView.
|
2011-02-28 18:28:16 +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
|
c9d04d33f8
|
Implement BlendMode class.
|
2011-02-25 12:47:52 +01:00 |
|
Jonathan Puckey
|
d0c2c5dd1d
|
Add todo about speeding up canvas clearing.
|
2011-02-21 03:52:28 +01:00 |
|
Jonathan Puckey
|
4c4b8246ee
|
Make sure the whole canvas is cleared.
|
2011-02-20 23:31:33 +01:00 |
|
Jonathan Puckey
|
cb40d3f6f4
|
Implement Symbol and PlacedSymbol. Add Document#symbols array.
|
2011-02-20 18:34:38 +01:00 |
|
Jonathan Puckey
|
4000853c2f
|
Implement PathStyle and Document#currentStyle.
|
2011-02-16 22:09:51 +01:00 |
|
Jürg Lehni
|
08d4826441
|
Reformating code to follow Scriptotgrapher coding conventions.
|
2011-02-13 16:26:24 +00:00 |
|
Jonathan Puckey
|
c0e2101c32
|
Clean up src directory and move Bootstrap.js into lib.
|
2011-02-12 17:59:39 +01:00 |
|