Jonathan Puckey
|
e8cf29fd6c
|
Size#min and Size#max: fix capitalization.
|
2011-05-18 21:31:02 +02:00 |
|
Jürg Lehni
|
6e4334ee29
|
Fix Size#toString().
|
2011-05-16 12:36:17 +01:00 |
|
Jürg Lehni
|
31be916c4f
|
Add dontModify parameter to #set() method in Linked* classes, and rename #_set to #_setter.
|
2011-05-15 20:34:22 +01:00 |
|
Jürg Lehni
|
818c847d73
|
Add LinkedSize and use it in Rectangle#getSize().
|
2011-05-15 20:26:56 +01:00 |
|
Jürg Lehni
|
10d56f318f
|
Add Size#isZero().
|
2011-05-15 20:26:37 +01:00 |
|
Jürg Lehni
|
bc80c58558
|
Add Base.formatNumber() to format numbers in the same way as Scriptographer (precision of up to 5 fractional digits) and use it in the various #toString() functions.
|
2011-05-04 19:42:50 +01:00 |
|
Jürg Lehni
|
47c88a1252
|
Compress math functions in Size the same way as in Point.
|
2011-05-02 23:09:59 +01:00 |
|
Jürg Lehni
|
9d4af0ce9e
|
Clean up recently caused Base.read() mess by introducing _readNull property,m setting it to true on Color and reverting to previous behavior for Point, Size and Rectangle, where dimensions of 0 are read by default if nothing is provided.
|
2011-03-13 18:31:00 +01: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
|
6a67052090
|
Update copyright / licensing comments.
|
2011-03-08 01:41:50 +00:00 |
|
Jonathan Puckey
|
781fd4adda
|
Fix Size#dot.
|
2011-03-07 18:49:43 +01:00 |
|
Jürg Lehni
|
e1a7aff2f0
|
Add copyright notice and license file.
|
2011-03-07 00:50:44 +00:00 |
|
Jürg Lehni
|
420e0435ed
|
Shorten create() methods, except for Point where it might have a performance impact.
|
2011-03-06 21:02:57 +00:00 |
|
Jürg Lehni
|
cb2e4aaa04
|
Imrove Point, Size and Rectangle constructors.
|
2011-03-06 12:15:15 +00:00 |
|
Jürg Lehni
|
7fa53a2db3
|
Allow chaining of Size setters.
|
2011-03-05 20:59:06 +00:00 |
|
Jürg Lehni
|
352b3f0d40
|
More work on Bootstrap core, move Base.isArray back to Array.isArray.
|
2011-03-05 13:53:18 +00:00 |
|
Jürg Lehni
|
7355c2d4a7
|
Switch to using Base.isArray.
|
2011-03-04 21:47:00 +00:00 |
|
Jürg Lehni
|
92bf51a7cc
|
Simplify the way the paper namespace is created and populated.
|
2011-03-04 13:34:31 +00:00 |
|
Jürg Lehni
|
c6d79f964c
|
Generalise all read() functions in Base.read(), fix an issue in by making sure arguments passed to initialie are never larger than length, and have Color's initialize create an RGBColor, to still be able to use Color.read().
|
2011-03-04 13:19:07 +00:00 |
|
Jürg Lehni
|
dca26949ff
|
Add Size.create(), in analogy to Point.create().
|
2011-03-03 17:06:35 +00:00 |
|
Jürg Lehni
|
3a46ac3b54
|
Allow read() methods to receive an optional length parameter.
|
2011-03-03 13:15:55 +00:00 |
|
Jürg Lehni
|
700f4aeb6a
|
Add #set() function to Point, Rectangle and Size (Matrix has it already).
|
2011-02-28 20:14:10 +01:00 |
|
Jürg Lehni
|
ed752ed744
|
Pass ctor.dont to all constructor calls that are followed with explicit initialize() calls afterwards, to make sure it is only called once.
|
2011-02-20 01:45:53 +01:00 |
|
Jürg Lehni
|
9d1458e6ae
|
Rely on new Array.isArray() now for array checks.
|
2011-02-15 23:15:13 +00:00 |
|
Jürg Lehni
|
1d0321bc69
|
Change Size constructor to reflect logic in Point constructor.
|
2011-02-14 10:32:42 +00:00 |
|
Jürg Lehni
|
20746ad3a7
|
Clea up white spaces.
|
2011-02-13 19:21:56 +00:00 |
|
Jürg Lehni
|
eeb7d377e6
|
Add optional index argument to static read() functions, so points, rectangle, sizes and segments can be read from any index in the arguments array.
|
2011-02-13 18:15:55 +00:00 |
|
Jürg Lehni
|
08d4826441
|
Reformating code to follow Scriptotgrapher coding conventions.
|
2011-02-13 16:26:24 +00:00 |
|
Jürg Lehni
|
0ac19a8e82
|
Optimise read() functions to only convert if argument is not of desired type already.
|
2011-02-13 16:05:19 +00:00 |
|
Jonathan Puckey
|
c0e2101c32
|
Clean up src directory and move Bootstrap.js into lib.
|
2011-02-12 17:59:39 +01:00 |
|