Commit graph

2314 commits

Author SHA1 Message Date
Jürg Lehni
1ed6d46ce3 Define Item ids immediately, not on first request. 2011-07-04 20:19:37 +02:00
Jürg Lehni
4748bb48e8 Fix and improve test for bounds of symbols with groups. 2011-07-04 20:13:33 +02:00
Jürg Lehni
fdb6e8dff2 Remove debug logging. 2011-07-04 20:09:49 +02:00
Jürg Lehni
bfa774f717 Move private bounds methods above the actual beans definitions. 2011-07-04 19:53:29 +02:00
Jürg Lehni
f817f748f8 Merge remote-tracking branch 'origin/master' 2011-07-04 19:49:12 +02:00
Jürg Lehni
f2d2937a18 Define Rectangle#expand() and #scale(), as an easy way to manipulate rectangles. 2011-07-04 19:48:18 +02:00
Jürg Lehni
9cf5292496 Define solvers for cubic and quadratic polynomials, as required by hit testing code. 2011-07-04 19:47:54 +02:00
Jürg Lehni
0eb2546fff Improve Group bounds tests. 2011-07-04 19:46:56 +02:00
Jürg Lehni
45a3e7f873 Big refactoring of the way bounds are handled and cached, properly supporting Groups inside Symbols, and also adding #roughBounds, to be used by upcoming hit testing code. 2011-07-04 19:45:53 +02:00
Jonathan Puckey
724fdcd727 Merge remote branch 'origin/master' 2011-07-04 15:10:26 +02:00
Jonathan Puckey
d726cef4e4 Add a few PlacedSymbol tests, two of which are failing. 2011-07-04 15:09:17 +02:00
Jürg Lehni
10b0062ce2 Minor fixes and clean ups. 2011-07-04 11:54:52 +02:00
Jürg Lehni
e88043a1f4 Implement Path#roughBounds, based on an improved Path#getHandleBounds() that supports additional hidden join and stroke padding parameters. 2011-07-02 18:27:43 +02:00
Jürg Lehni
287e91bd0c Update JsDoc. 2011-07-02 18:06:38 +02:00
Jürg Lehni
3eecb924c8 Fix bug in Segment#_transformCoordinates, where handles were not set when they were zero, change was false and no matrix was provided. 2011-07-02 06:24:27 +02:00
Jürg Lehni
7e26a7af1e Rename all x-axis / y-axis parameters in #scale and #shear to hor / ver, and fix a bug in Matrix#shear, where an undeclared variable was used (sx instead of shx). 2011-07-01 18:00:16 +02:00
Jürg Lehni
0644d9d8b5 Move TODOs up to where they make sense. 2011-07-01 17:40:29 +02:00
Jürg Lehni
51d6ff945e Improve Path#getHandleBounds() and fix bean access for #handleOut. 2011-07-01 17:39:39 +02:00
Jürg Lehni
aa9be1d9c5 Rename #controlBounds -> #handleBounds, to reflect terminology used elsewhere. 2011-07-01 17:23:10 +02:00
Jürg Lehni
189e15b1e8 Remove console logging. 2011-07-01 12:56:30 +02:00
Jürg Lehni
9fa51a0457 Implement Item#controlBounds and Path#controlBounds, and test it in StrokeBounds example. This is a first step towards fast hit-testing. 2011-07-01 12:51:18 +02:00
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
230e42ee50 Create new parse-js-unicode.js with latest changes and fixes from HEAD (including unicode suport), and backport other fixes to smaller parse-js.js (except space consuming unicode support). 2011-07-01 11:58:43 +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
93518c07dc Merge branch 'master' of github.com:paperjs/paper.js 2011-07-01 11:04:53 +02:00
Jürg Lehni
1d5838cdbf Merge branch 'examples_filerenames' of https://github.com/rdworth/paper.js into rdworth-examples_filerenames 2011-07-01 11:03:57 +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
Jürg Lehni
81dd35d3fb Merge pull request #11 from rdworth/examples_title
Examples: Added more descriptive titles to each example html page
2011-07-01 01:59:03 -07:00
Jürg Lehni
0a719d909a Merge pull request #15 from rdworth/example_strokebounds_semicolons
Example: Stroke Bounds: Added two missing semicolons, example is broken w
2011-07-01 01:56:59 -07:00
Jürg Lehni
0d8fdabe23 Merge pull request #16 from rdworth/examples_doctype
Examples: Uncommented out doctype in a few example html files to avoid qu
2011-07-01 01:55:08 -07:00
Jürg Lehni
1e97f94ac0 Merge pull request #8 from rdworth/whitespace_trailing
Whitespace. Removed all trailing whitespace from .js files
2011-07-01 01:52:55 -07:00
Richard D. Worth
10e36f98ee Examples: Uncommented out doctype in a few example html files to avoid quirks mode 2011-06-30 21:20:09 -04:00
Richard D. Worth
7085eeae51 Example: Stroke Bounds: Added two missing semicolons, example is broken without them. 2011-06-30 21:04:16 -04:00
Jürg Lehni
7622b3bdaf Update Contributor License Agreement link. 2011-07-01 01:39:25 +02:00
Richard D. Worth
a518b3fd19 Remove non-whitespace change 2011-06-30 11:02:49 -04:00
Richard D. Worth
b47d988fb3 Examples: Renamed a few html files to correct one typo and fix inconsistency with spaces in filenames 2011-06-30 10:07:05 -04:00
Richard D. Worth
45f8c7cd1a Examples: Added more descriptive titles to each example html page 2011-06-30 09:57:17 -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
Jürg Lehni
4ea9f16bde Merge remote-tracking branch 'origin/master' 2011-06-30 14:45:12 +02:00
Jürg Lehni
00f7b3530a Include new minified version of parse-js and build dist library again. 2011-06-30 14:44:58 +02:00
Jonathan Puckey
7ee7895d57 Clean up Future Splash example a bit. 2011-06-30 14:01:18 +02:00
Jonathan Puckey
1d6b5e23c8 Merge remote branch 'origin/master' 2011-06-30 13:56:02 +02:00
Jonathan Puckey
d8f54b1c9b Add FutureSplash example. 2011-06-30 13:55:35 +02:00
Richard D. Worth
ac39873693 Whitespace. Removed all trailing whitespace from .js files 2011-06-30 06:01:51 -04:00