Jonathan Puckey
|
81f48e2168
|
Add SquareRounded.html example.
|
2011-03-09 16:15:01 +01:00 |
|
Jonathan Puckey
|
08d66ae231
|
Color: small change.
|
2011-03-09 15:50:32 +01:00 |
|
Jonathan Puckey
|
87de9f4fa8
|
Further refactoring in Color.
|
2011-03-09 15:25:41 +01:00 |
|
Jonathan Puckey
|
30d2f16c8c
|
Color: save a var statement.
|
2011-03-09 15:00:13 +01:00 |
|
Jonathan Puckey
|
da92ff9773
|
Check for min and max values in the different color component setters.
|
2011-03-09 14:48:16 +01:00 |
|
Jürg Lehni
|
41ce6279f1
|
Merge remote-tracking branch 'origin/master'
Conflicts:
src/color/Color.js
|
2011-03-09 13:34:13 +00:00 |
|
Jürg Lehni
|
9fd0381b82
|
Minor clean-ups.
|
2011-03-09 13:31:40 +00:00 |
|
Jonathan Puckey
|
b7902635bf
|
Color#setAlpha: comment out code using Math.min and Math.max, which was supposed to just be there to explain what is happening.
|
2011-03-09 14:31:30 +01:00 |
|
Jonathan Puckey
|
bda24fbd54
|
Color: simplify stringToRGB again.
|
2011-03-09 14:29:19 +01:00 |
|
Jonathan Puckey
|
eacf346aab
|
Color: reintroduce hexToRGB to be called from stringToRGB.
|
2011-03-09 14:23:18 +01:00 |
|
Jonathan Puckey
|
741652aa9c
|
Color: combine stringToRgb, namedToRgb and hexToRgb and optimize a bit.
|
2011-03-09 14:20:09 +01:00 |
|
Jonathan Puckey
|
ba42884f57
|
Move RotationRaster.html from Animated to Scripts.
|
2011-03-09 13:51:54 +01:00 |
|
Jonathan Puckey
|
526711ffd4
|
Fix and improve performance of Raster#getPixel.
|
2011-03-09 13:38:58 +01:00 |
|
Jonathan Puckey
|
00c4b5ee34
|
Small change to HSBColor#setHue.
|
2011-03-09 02:30:50 +01:00 |
|
Jonathan Puckey
|
60c8c6ce02
|
Add more color tests.
|
2011-03-09 02:25:50 +01:00 |
|
Jonathan Puckey
|
ba7e2fb99b
|
Add test helpers for HSBColor and GrayColor and fix compareNumbers function.
|
2011-03-09 02:25:38 +01:00 |
|
Jonathan Puckey
|
6a26cf3228
|
Add HSBColor to load.js.
|
2011-03-09 02:24:35 +01:00 |
|
Jonathan Puckey
|
62db3e56dd
|
Implement HSBColor, introduce Color#convert(type) and refactor color classes.
|
2011-03-09 02:23:39 +01:00 |
|
Jürg Lehni
|
526e2ea0ba
|
Hide Curve#getLength() parameters from Bootstrap so it injects bean too.
|
2011-03-08 17:31:36 +00:00 |
|
Jürg Lehni
|
72469dc65f
|
Clean up PlacedSymbol constructor, make sure it declares parameters.
|
2011-03-08 17:21:05 +00:00 |
|
Jürg Lehni
|
195b089424
|
Clean up Path.* constructors and make sure they handle Base.read() returning null.
|
2011-03-08 17:20:30 +00:00 |
|
Jürg Lehni
|
484b2b0c94
|
Test code for Path#segments change observation.
|
2011-03-08 17:20:03 +00:00 |
|
Jürg Lehni
|
3927836441
|
Declare functions that work both as getters for beans and also as callalble functions with optional parameters differently, since they do not inject beans anymore if they declare parameters.
|
2011-03-08 17:19:02 +00:00 |
|
Jürg Lehni
|
dd9340d522
|
Handle all the calls to Base.read() differently, by checking result for null and bailing out if it is.
|
2011-03-08 17:17:36 +00:00 |
|
Jürg Lehni
|
261fa819d7
|
Change Bootstrap.js to only make beans if gettes has no function parameters defined, in order to avoid beans for functions that start with get but expect arguments when called.
|
2011-03-08 17:09:13 +00:00 |
|
Jürg Lehni
|
ea9a1d2c47
|
Fix Base.read() to correctly read existing objects even when length > 1.
|
2011-03-08 17:08:30 +00:00 |
|
Jürg Lehni
|
74167ff28d
|
Add test code for segments list that detects change.
|
2011-03-08 13:19:08 +00:00 |
|
Jürg Lehni
|
fc0d3efd29
|
Simplify Path constructor further.
|
2011-03-08 13:03:57 +00:00 |
|
Jürg Lehni
|
e35fb1efb6
|
Move populating of segments list to Path#setSegments() and rely on it in constructor.
|
2011-03-08 13:03:11 +00:00 |
|
Jürg Lehni
|
848befe103
|
No need to create a new segments array in setSegments, just set length of existing one instead.
|
2011-03-08 13:00:32 +00: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
|
456e9f2815
|
Use variable definition chaining in Raster.
|
2011-03-08 12:55:34 +00:00 |
|
Jürg Lehni
|
6a67052090
|
Update copyright / licensing comments.
|
2011-03-08 01:41:50 +00:00 |
|
Jürg Lehni
|
34a6c7871c
|
Clean-up loading code.
|
2011-03-08 01:07:26 +00:00 |
|
Jürg Lehni
|
2e55cd9871
|
Clean up source loading sequence, and rename test_function.js to helpers.js
|
2011-03-08 01:05:01 +00:00 |
|
Jürg Lehni
|
4680283ce7
|
Simply use document.write() for script loading, as load.js seems not ready for primetime yet (it magically half-broke QUnit on Safari).
|
2011-03-08 00:58:47 +00:00 |
|
Jürg Lehni
|
de797aa0fe
|
Improve load.js mechanism and make it work for QUnit too.
|
2011-03-08 00:17:42 +00:00 |
|
Jürg Lehni
|
8f78513174
|
Change naming of exported PaperScript methods.
|
2011-03-08 00:17:19 +00:00 |
|
Jürg Lehni
|
798bcd709a
|
Since Firefox does not seem to support the <base> tag for script loading, roll our own solution through the load.js calls.
|
2011-03-07 23:11:41 +00:00 |
|
Jürg Lehni
|
3dd523a683
|
Merge remote-tracking branch 'origin/master'
|
2011-03-07 18:37:03 +00:00 |
|
Jürg Lehni
|
e32549aaf2
|
Switch to using load.js for loading the various parts of the library during development.
|
2011-03-07 18:36:42 +00:00 |
|
Jürg Lehni
|
6db184341a
|
Fix a small syntax error.
|
2011-03-07 18:36:13 +00:00 |
|
Jürg Lehni
|
b4356078a7
|
Export PaperScript.install, so it can be loaded after onload.
|
2011-03-07 18:35:48 +00:00 |
|
Jürg Lehni
|
3685a614a5
|
Add copyright / license comment to main file and include Line.js and BlendMode.js in compiled library.
|
2011-03-07 18:34:17 +00:00 |
|
Jonathan Puckey
|
781fd4adda
|
Fix Size#dot.
|
2011-03-07 18:49:43 +01:00 |
|
Jonathan Puckey
|
6b5ce7c18c
|
Merge remote branch 'origin/master'
|
2011-03-07 18:39:25 +01:00 |
|
Jonathan Puckey
|
dc25512f73
|
Compress getters and setters of translateX / translateY / scaleX / scaleY / rotateX / rotateY.
|
2011-03-07 18:38:50 +01:00 |
|
Jürg Lehni
|
c4c5b070b5
|
Minor code clean-up.
|
2011-03-07 16:51:12 +00:00 |
|
Jürg Lehni
|
2a0c393b85
|
Simplify HSB code a little.
|
2011-03-07 16:51:00 +00:00 |
|
Jürg Lehni
|
350fef00ec
|
Simplify new getter / setter generation code a bit.
|
2011-03-07 16:49:24 +00:00 |
|