Commit graph

1750 commits

Author SHA1 Message Date
Jürg Lehni
44605433d1 Further shorten and simplify BlendMode cide by having process() only process one pixel value at a time. 2011-06-01 16:34:57 +01:00
Jürg Lehni
9fa193d26f Move opacity precalculation out of variable definition. 2011-06-01 15:31:02 +01:00
Jürg Lehni
117a828b2b Don't set dst[i + 3] directly, set dA2 instead. 2011-06-01 14:01:46 +01:00
Jürg Lehni
acecb1a2c1 Clean up variable names. 2011-06-01 14:01:22 +01:00
Jürg Lehni
b9739aa26a Optimise blend mode loop by pre-calculating divisions. 2011-06-01 14:00:50 +01:00
Jürg Lehni
4a9f0d726f Pre-calculate opacity value. 2011-06-01 14:00:02 +01:00
Jürg Lehni
a1d996df05 Clean up formating. 2011-06-01 13:42:34 +01:00
Jürg Lehni
69e989f834 No need to set dst[i + 3] again after changing dA2, since we are now only setting it after calling process() from the main loop. 2011-06-01 13:42:22 +01:00
Jürg Lehni
c47d281308 Speed up blend-modes by using a lookup table for process functions rather than a switch() statement for each pixel. 2011-06-01 13:37:36 +01:00
Jonathan Puckey
c1d4161782 Merge remote branch 'origin/master' 2011-06-01 12:19:30 +02:00
Jonathan Puckey
3274102dec More jsdoc work, including exporting of templatedocs. 2011-06-01 12:19:15 +02:00
Jürg Lehni
29967153c3 Clean up TODO comments... 2011-06-01 10:49:43 +01:00
Jürg Lehni
2a5f885f50 "for var in" is good practise in such a case, as we don't need additional functionality of Base.each(). 2011-06-01 09:57:18 +01:00
Jonathan Puckey
5dd5694e3b Merge branch 'master' of github.com:scriptographer/paper.js 2011-06-01 10:56:16 +02:00
Jürg Lehni
ad335374cd Copyrights are included correctly in the paper.js file. 2011-05-31 22:22:07 +01:00
Jürg Lehni
ad2c7332de Move jsdoc creation to its own build script. 2011-05-31 22:17:13 +01:00
Jürg Lehni
90631b9dd0 Merge remote-tracking branch 'origin/master' 2011-05-31 22:16:27 +01:00
Jonathan Puckey
932527ee5c Improve Item's path style documentation. 2011-05-31 16:48:48 +02:00
Jonathan Puckey
048dda45d5 jsdoc template: clean up menu html. 2011-05-31 16:36:34 +02:00
Jonathan Puckey
bcc9d4efcd jsdoc template: use html5 doctype. 2011-05-31 16:36:04 +02:00
Jonathan Puckey
fddbb07ac1 jsdoc template: add copyright footer. 2011-05-31 16:29:37 +02:00
Jonathan Puckey
7087b5476d Clean up Matrix#setToRotation. 2011-05-31 16:19:43 +02:00
Jonathan Puckey
d2827e35c6 Documentation: clean up Size example code. 2011-05-31 16:18:59 +02:00
Jonathan Puckey
c39d092ee4 Documentation: Clean up Point example code. 2011-05-31 16:16:15 +02:00
Jonathan Puckey
97c8a7cb83 Clean up Line#getSide. 2011-05-31 16:13:42 +02:00
Jonathan Puckey
7a4c44ec7b Matrix documentation. 2011-05-31 16:08:25 +02:00
Jonathan Puckey
41c7ae6a90 jsdoc template: cleanup publish.js a bit. 2011-05-31 15:26:33 +02:00
Jonathan Puckey
3d7ddb26bf jsdoc template: allow optional naming of symbols in the package list and name '_global_' -> 'global paper scope' 2011-05-31 15:25:21 +02:00
Jonathan Puckey
434268fbd1 Document the properties of PaperScope to be global. 2011-05-31 15:18:37 +02:00
Jonathan Puckey
2b8f1b71ec Documentation: use inline code tags for boolean and number values, 2011-05-31 14:28:42 +02:00
Jonathan Puckey
31bf3ffa70 Matrix: add param tags to #applyToContext documentation. 2011-05-31 14:25:24 +02:00
Jonathan Puckey
8b7d7b68e1 Size: fix typo in documentation. 2011-05-31 14:24:30 +02:00
Jonathan Puckey
33cc1b47b8 View: Move onResize below onFrame and document both of them. 2011-05-31 14:24:13 +02:00
Jonathan Puckey
08d387a5d4 Add failing test for changing Item#position#x. 2011-05-31 01:46:49 +02:00
Jonathan Puckey
add6379ec3 jsdoc template: fix a few style discrepancies. 2011-05-31 01:27:10 +02:00
Jonathan Puckey
7eb35bf6fb Point documentation: add examples to Point.min, Point.max and Point.random. 2011-05-31 01:19:33 +02:00
Jonathan Puckey
5341cc0855 jsdoc template: move bullet.gif to assets folder. 2011-05-31 01:01:29 +02:00
Jonathan Puckey
d2ad85f28c jsdoc template: fix rendering of packages.html. 2011-05-31 00:59:38 +02:00
Jonathan Puckey
c827888c71 jsdoc template: update bootstrap dependency. 2011-05-31 00:54:02 +02:00
Jonathan Puckey
7fe1cb84b4 jsdoc template: add missing bullet.gif resource. 2011-05-31 00:41:10 +02:00
Jonathan Puckey
43f92dd70a Examples: close html tag. 2011-05-31 00:27:39 +02:00
Jonathan Puckey
2bf8b76836 Merge remote branch 'origin/master' 2011-05-31 00:24:02 +02:00
Jonathan Puckey
166bb93548 Merge pull request #1 from christophknoth/patch-1
</html> missing
2011-05-30 15:22:37 -07:00
christophknoth
87409c5268 </html> missing 2011-05-30 15:13:25 -07:00
Jonathan Puckey
2e2b7cad24 PlacedSymbol docs: make constructor argument optional. 2011-05-30 20:09:46 +02:00
Jonathan Puckey
14e46fe78f jsdoc template: Move helper functions into global Utils object and replace <pre> tags with <pre class='code'> to have them highlighted by CodeMirror. 2011-05-30 20:07:45 +02:00
Jonathan Puckey
df86a91d7c jsdoc template: adjust reference stylesheet. 2011-05-30 20:06:04 +02:00
Jonathan Puckey
4900b01c86 jsdoc template: remove unused allfiles.tmpl file. 2011-05-30 20:05:38 +02:00
Jonathan Puckey
6892608ecd Documentation: rename 'Sample Code:' to 'Example:' 2011-05-30 19:55:40 +02:00
Jonathan Puckey
17fcb923ff Documentation: rearrange @example tags, improve examples, rename boolean -> Boolean and misc smaller edits. 2011-05-30 19:42:17 +02:00