Jürg Lehni
|
ee23877fd1
|
Move view redrawing from resize handler to #setViewSize().
|
2011-07-01 12:50:11 +02:00 |
|
Jürg Lehni
|
ce9700dc4d
|
Have views redrawn after resize if they do not define a onFrame handler.
|
2011-07-01 12:49:27 +02:00 |
|
Jürg Lehni
|
84bce71b1c
|
Remove unnecessary Segment#getHandleIn/OutIfSet.
|
2011-07-01 12:30:10 +02:00 |
|
Jürg Lehni
|
79c0ad8cc5
|
Update copyright notices.
|
2011-07-01 12:17:45 +02:00 |
|
Jürg Lehni
|
d95480bc22
|
Remove trailing white spaces.
|
2011-07-01 12:01:32 +02:00 |
|
Jürg Lehni
|
609f23c64d
|
Make PlacedItem#matrix private and add getter / setter for it.
|
2011-07-01 11:32:09 +02:00 |
|
Jürg Lehni
|
1cd7165ea2
|
Define PlacedItem as base class for Raster and PlacedSymbol.
|
2011-07-01 11:26:51 +02:00 |
|
Jürg Lehni
|
7211e68245
|
Add documentation to PathItem class.
|
2011-07-01 11:22:33 +02:00 |
|
Jürg Lehni
|
bb467462c3
|
Merge pull request #10 from rdworth/text_content_string
TextItem content: Added coersion to string in content setter since 0 numb
|
2011-07-01 02:00:26 -07:00 |
|
Richard D. Worth
|
a518b3fd19
|
Remove non-whitespace change
|
2011-06-30 11:02:49 -04:00 |
|
Richard D. Worth
|
fdd62ed929
|
TextItem content: Added coersion to string in content setter since 0 number is falsy but '0' string is not. Removed coersion from PathStructure example (introduced in 5637b3e37e4541c4e78180a168107be8282c136f line 64)
|
2011-06-30 09:12:14 -04:00 |
|
Richard D. Worth
|
ac39873693
|
Whitespace. Removed all trailing whitespace from .js files
|
2011-06-30 06:01:51 -04:00 |
|
Jürg Lehni
|
ee9c7e17b6
|
Merge remote-tracking branch 'origin/master'
|
2011-06-30 11:23:42 +02:00 |
|
Jonathan Puckey
|
5982196c66
|
PaperScript: add todo for supporting scripts with type: 'text/x-paperscript'.
|
2011-06-30 10:58:09 +02:00 |
|
Jürg Lehni
|
4c6e152748
|
Move Item#setBounds() close to #getBounds() and document #_getBounds().
|
2011-06-30 08:53:57 +02:00 |
|
Jürg Lehni
|
cca562efc0
|
Prepare Item#_getBounds() for #controlBounds.
|
2011-06-30 08:51:53 +02:00 |
|
Jürg Lehni
|
965f49d156
|
Merge remote-tracking branch 'origin/master'
|
2011-06-28 16:12:07 +02:00 |
|
Jonathan Puckey
|
0463fcc9ca
|
Fix spelling mistake.
|
2011-06-28 11:35:08 +02:00 |
|
Jürg Lehni
|
28921e9a76
|
Update PaperScript to work with new parse-js and beautify code so that line numbers in error messages remain correct.
|
2011-06-28 10:52:50 +02:00 |
|
Jürg Lehni
|
e93b3d5c97
|
Fix spelling mistake.
|
2011-06-28 09:20:42 +02:00 |
|
Jürg Lehni
|
0eb033e6bf
|
Only try to simplfy path if there are more than two segments in it.
|
2011-06-27 22:35:02 +02:00 |
|
Jürg Lehni
|
b0156c0e8b
|
Replace @type function with @type Function.
|
2011-06-27 15:34:32 +02:00 |
|
Jürg Lehni
|
3f8e8fcc1f
|
Fix Documentation.
|
2011-06-27 15:27:32 +02:00 |
|
Jürg Lehni
|
fa3019a947
|
Rename View#artworkToView(), #viewToArtwork() -> #projectToView(), #viewToProject().
|
2011-06-27 15:15:29 +02:00 |
|
Jürg Lehni
|
6d9ec033fe
|
Improve View documentation.
|
2011-06-27 15:13:24 +02:00 |
|
Jürg Lehni
|
50c7649421
|
Improve Segment and Curve documentation.
|
2011-06-27 15:07:08 +02:00 |
|
Jürg Lehni
|
e35b171bec
|
Improve Curve documentation.
|
2011-06-27 14:58:17 +02:00 |
|
Jürg Lehni
|
2fd623d5b9
|
Define Size#clone(), fixing a failing test.
|
2011-06-27 14:44:58 +02:00 |
|
Jürg Lehni
|
4c09514a8f
|
Document Project.
|
2011-06-27 14:43:39 +02:00 |
|
Jürg Lehni
|
bd5329c537
|
Undo previous change again and document Project#remove().
|
2011-06-27 14:43:28 +02:00 |
|
Jürg Lehni
|
d1305ff91c
|
Remove the associated PaperScope when a Project is removed.
|
2011-06-27 14:35:30 +02:00 |
|
Jürg Lehni
|
cd2fce9bc7
|
Clean up documentation.
|
2011-06-27 12:31:39 +02:00 |
|
Jürg Lehni
|
cbbdec072a
|
Move viewport related code to the end.
|
2011-06-26 10:16:28 +02:00 |
|
Jürg Lehni
|
f610acedf2
|
Access other static DomElement methods through 'this'.
|
2011-06-26 10:15:30 +02:00 |
|
Jürg Lehni
|
f18b5df99d
|
Rename 'Window' in DomElement to 'Viewport', and have getViewportSize return the size of the viewport the passed element is contained in.
|
2011-06-26 10:14:26 +02:00 |
|
Jürg Lehni
|
d4b6d14f36
|
Make sure we're removing the right canvas offset from the available viewport size.
|
2011-06-26 10:06:19 +02:00 |
|
Jürg Lehni
|
6eee8bf62e
|
Rename scroll parameter in DomElement.getOffset() / getBounds() to more meaningful viewport, as it calculates the offset in viewport coordinates, with scrolling removed.
|
2011-06-26 10:05:41 +02:00 |
|
Jürg Lehni
|
a454bbe187
|
Remove unneeded parameter from cumulateOffset().
|
2011-06-26 10:04:54 +02:00 |
|
Jürg Lehni
|
dd37e22c86
|
Fix DomElement.getOffset() for fixed positioned elements.
|
2011-06-26 00:49:19 +02:00 |
|
Jürg Lehni
|
ab524b7642
|
Define DomElement.getComputedStyle()
|
2011-06-26 00:48:47 +02:00 |
|
Jürg Lehni
|
fa29686202
|
Define Base.hyphenate, to hyphenate camelized strings.
|
2011-06-26 00:47:40 +02:00 |
|
Jürg Lehni
|
3d21a3a8e1
|
Remove obsolete comment about examples not showing up.
|
2011-06-23 00:21:54 +01:00 |
|
Jürg Lehni
|
4a344c8fad
|
Clean up forgotten @lends statements.
|
2011-06-22 23:58:50 +01:00 |
|
Jürg Lehni
|
7cd749e63d
|
Change all documentation to new convention of defining @class outside injection scope, fix some comments and a few errors with examples.
|
2011-06-22 23:56:05 +01:00 |
|
Jürg Lehni
|
a1196c9f74
|
Change focusing behavior: Try getting the view from the current event target in mousemove event, and temporarily focus views so keyboard events are handled too.
|
2011-06-22 08:29:53 +01:00 |
|
Jürg Lehni
|
07cfaf8662
|
Rename DomEvent.getElement() -> getTarget().
|
2011-06-22 08:27:51 +01:00 |
|
Jürg Lehni
|
725499dc2e
|
Only change focus if none is set or if the current view is invisible.
|
2011-06-22 08:10:54 +01:00 |
|
Jürg Lehni
|
8cb6169249
|
Produce ids for View canvases without one and link to views by id.
|
2011-06-22 08:10:17 +01:00 |
|
Jürg Lehni
|
b3e1fa68b8
|
Always stop events when they are handled by our View, removing the need to specifically handle touch events on iOS.
|
2011-06-22 08:09:22 +01:00 |
|
Jürg Lehni
|
c2244be53b
|
Remove View#viewBounds in favour of #viewSize, and have View always occupy the full canvas.
|
2011-06-22 07:56:16 +01:00 |
|