Commit graph

1737 commits

Author SHA1 Message Date
Jonathan Puckey
4455b1c33c Documentation: fix Key.isDown example. 2011-06-02 14:48:21 +02:00
Jonathan Puckey
018ac46e87 Small improvement to Item#strokeCap docs. 2011-06-02 14:17:47 +02:00
Jonathan Puckey
5e9c64d9c8 View#onFrame docs: use code tags in description. 2011-06-02 14:17:02 +02:00
Jonathan Puckey
4d0db25e51 Item & PathStyle: improve documentation. 2011-06-02 13:58:56 +02:00
Jonathan Puckey
4e227dd361 jsdoc template: remove unused allclasses template. 2011-06-02 13:35:42 +02:00
Jonathan Puckey
0e6811f022 Item: document and add examples to the different removeOn functions. 2011-06-02 13:32:00 +02:00
Jonathan Puckey
371428b9ee Item docs: improve #scale examples. 2011-06-02 12:59:30 +02:00
Jonathan Puckey
a32930287a jsdoc template: move src files into separate folder and make a groupTitle plugin. 2011-06-02 12:56:24 +02:00
Jürg Lehni
c07fee0e6b Shorten variable names. 2011-06-02 09:38:13 +01:00
Jürg Lehni
bb11b74fa3 Clean up comments: No need for reference to Context Blender, since code has completely changed. 2011-06-02 09:36:49 +01:00
Jürg Lehni
9be8c154b7 Clean up code. 2011-06-02 09:34:10 +01:00
Jürg Lehni
1c886c125c Make HSB converters private again in Color, and shorten code. 2011-06-02 09:34:02 +01:00
Jürg Lehni
b02b4bf7a3 Implement HSL blend modes according to PDF specs. 2011-06-02 09:33:41 +01:00
Jürg Lehni
0e3ed65206 Go back to old luminescence values since the new ones produces to large values occasionally. 2011-06-02 09:05:23 +01:00
Jürg Lehni
a1d3b1a167 Rename and shorten RGB/HSB converters. 2011-06-02 00:19:00 +01:00
Jürg Lehni
3a310f19cc Directly access inner property. 2011-06-02 00:16:28 +01:00
Jürg Lehni
7dbda50431 Use more precise values for luminescence calculation. 2011-06-02 00:15:32 +01:00
Jürg Lehni
5e7998d803 Rename parameter. 2011-06-01 20:34:35 +01:00
Jürg Lehni
09e3010ed5 Merge remote-tracking branch 'origin/master' 2011-06-01 20:32:54 +01:00
Jürg Lehni
f7bdfc5019 Clean up comments. 2011-06-01 20:32:37 +01:00
Jürg Lehni
6558574980 Clean up code. 2011-06-01 20:23:20 +01:00
Jürg Lehni
7de0859a85 Clean up comments. 2011-06-01 20:21:41 +01:00
Jürg Lehni
d5952ba043 Implement HSB blend modes. 2011-06-01 20:21:25 +01:00
Jürg Lehni
ad8f046880 Expose HSB converters since they are required in BlendMode 2011-06-01 20:21:08 +01:00
Jürg Lehni
05a01604ca Shorten css code. 2011-06-01 20:20:50 +01:00
Jürg Lehni
09e9298bf4 Fix blend modes to work correctly with alpha channels. 2011-06-01 19:25:43 +01:00
Jonathan Puckey
884446f606 Merge remote branch 'origin/master' 2011-06-01 19:49:57 +02:00
Jonathan Puckey
4af970ed79 jsdoc template: general clean up and implement exporting of packages.js. 2011-06-01 19:49:50 +02:00
Jonathan Puckey
0c6a91a789 jsdoc: remove comments that Rhino bugs out on. 2011-06-01 19:46:39 +02:00
Jonathan Puckey
33ad03af5d jsdoc: Update Rhino. 2011-06-01 19:46:11 +02:00
Jürg Lehni
0d1fcfbb81 Remove unused blend mode 'normal'. 2011-06-01 17:21:14 +01:00
Jürg Lehni
f58aa2a23b Add comment about overlay mode being the reverse of hard-light. 2011-06-01 17:11:06 +01:00
Jürg Lehni
3850e4a53b Optimise code for normal and multiply blend modes by precalculating values. 2011-06-01 17:10:40 +01:00
Jürg Lehni
8bbb3744fe Use min() / max() in darken / lighten for shorter code. 2011-06-01 17:09:32 +01:00
Jürg Lehni
b08abcdd69 Remove 'unsupported' blend mode. 2011-06-01 16:50:14 +01:00
Jürg Lehni
9142c974c3 Revert to longer version of blend mode code as it is faster. 2011-06-01 16:49:48 +01:00
Jürg Lehni
62f5204810 Shorten variable names. 2011-06-01 16:45:42 +01:00
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