Jürg Lehni
|
6ed1d67ada
|
Modernize Bootstrap.js, introduce Base.create() and use it instead of the Constructor.dont hack for object creation without the calling of initialize.
|
2012-11-03 21:49:37 -07:00 |
|
Jürg Lehni
|
88dff19f73
|
Define squared parameter in Point#getDistance() as optional.
|
2012-11-02 16:45:46 -07:00 |
|
Jürg Lehni
|
30374ae3b4
|
Implement proper index independent argument list reading of basic types.
Implemented for Point, Size, Rectangle and Color.
|
2012-10-18 14:24:15 -07:00 |
|
Jürg Lehni
|
6f2ff18fa1
|
Bring back fallback scenario in Point#initialize().
|
2012-10-15 17:13:20 -07:00 |
|
Jürg Lehni
|
db93544e8c
|
Restructure Point#initialize() to reflect new findings regarding typeof performance.
typeof val === 'undefined' is way faster than val === undefined.
|
2012-10-15 17:11:11 -07:00 |
|
Jürg Lehni
|
199d19a237
|
Minor code clean-up.
|
2012-09-30 14:09:59 -07:00 |
|
Jürg Lehni
|
59a55f7574
|
Merge branch 'master' of github.com:paperjs/paper.js
|
2012-09-30 14:08:44 -07:00 |
|
Jürg Lehni
|
2c5c4ae423
|
Improve documentation of Rectangle#intersects.
|
2012-09-30 14:08:02 -07:00 |
|
Jonathan Puckey
|
2a0f322c22
|
Point#getLength: access to out of bounds index in arguments array prevented function from being optimized.
|
2012-07-25 20:02:04 +02:00 |
|
Jürg Lehni
|
a21d180150
|
Use faster Point.create().
|
2011-12-20 23:32:53 +01:00 |
|
Jürg Lehni
|
f2d7b85616
|
Introduce Matrix#setIdentity().
|
2011-12-20 23:14:30 +01:00 |
|
Jürg Lehni
|
5797b78c2c
|
Clean up Matrix concatenation code.
|
2011-12-20 11:39:10 +01:00 |
|
Jürg Lehni
|
d8f0105fb2
|
Document support for dontLink parameter.
|
2011-11-30 18:19:39 +01:00 |
|
Jürg Lehni
|
907d6c0954
|
Implement Matrix#equals().
|
2011-11-26 12:04:44 +01:00 |
|
Jürg Lehni
|
1d6cfeeb9b
|
Add dest and dontNotifty arguments to Matrix#_transformBounds() and use them where appropriate.
|
2011-11-24 11:29:35 +01:00 |
|
Jonathan Puckey
|
52385451f6
|
Resolve a few documentation todos.
|
2011-11-12 18:30:21 +01:00 |
|
Jürg Lehni
|
34b5d043b3
|
Implement Matrix#inverseTransform().
|
2011-09-23 11:19:03 +02:00 |
|
Jürg Lehni
|
4600fe1e21
|
Add comments about alternative arguments.
|
2011-09-23 11:18:25 +02:00 |
|
Jürg Lehni
|
d1d110f085
|
Document the two versions of Matrix#transform() separately.
|
2011-09-23 11:17:42 +02:00 |
|
Jürg Lehni
|
f8dac43107
|
Remove Matrix#determinant and convert getter to private method that only returns determinant if matrix is reversible, simplifying the various places where _getDeterminant is in use.
|
2011-09-22 21:19:41 +02:00 |
|
Jürg Lehni
|
44e5c30436
|
Remove misleading alternative parameter comment.
|
2011-09-22 10:36:27 +02:00 |
|
Jürg Lehni
|
76df9d9a92
|
Fix documentation for beans.
|
2011-08-16 13:53:36 +02:00 |
|
Jürg Lehni
|
c9eb538f7a
|
Support an optional argument 'dontLink' in getters that normalled return LinkedPoint and LinkedSize objects, for internal use.
|
2011-08-16 13:50:59 +02:00 |
|
Jonathan Puckey
|
a58bbaf6cf
|
Fix Size#isZero().
|
2011-08-04 15:06:35 +02:00 |
|
Jürg Lehni
|
42c9f91279
|
Rename internal Matrix transform parameters to (a, c, b, d, tx, ty), expoes values through Matrix#getValues() and improve documentation.
|
2011-07-31 15:26:09 +01:00 |
|
Jürg Lehni
|
293399e5b9
|
Add optional parameter 'squared' to Point#getLength() and #getDistance().
|
2011-07-30 11:36:28 +01:00 |
|
Jürg Lehni
|
3a7c5286b5
|
Improve precision of Line#intersect() and other parts that check for a divisor to not be 0, by comparing against the new Numerical.EPSILON rather than Numerical.TOLERANCE.
|
2011-07-28 11:03:59 +01:00 |
|
Jürg Lehni
|
f5ee4a1ff7
|
Improve documentation for Matrix#createInverse().
|
2011-07-27 22:01:51 +01:00 |
|
Jürg Lehni
|
a0a426982f
|
Documentation: Fix display of pseudo code.
|
2011-07-25 09:16:41 +01:00 |
|
Jürg Lehni
|
2c1fdc0744
|
Clean up Matrix constructor.
|
2011-07-25 09:15:35 +01:00 |
|
Jürg Lehni
|
68ba8e25e4
|
Documentation: Fix Matrix properties.
|
2011-07-25 09:15:18 +01:00 |
|
Jürg Lehni
|
b5b1e50ccf
|
Improve detection of passed Rectangles or Points in Rectangle#contains()
|
2011-07-11 12:21:24 +02:00 |
|
Jürg Lehni
|
6771475ffc
|
Clean up comments.
|
2011-07-09 16:59:07 +02:00 |
|
Jürg Lehni
|
ebd3bfc092
|
Introduce faster versions of Rectangle#contains() that do not perform checks.
|
2011-07-09 11:07:12 +02:00 |
|
Jürg Lehni
|
62ba983432
|
Implement hit-test options: center and bounds.
|
2011-07-08 23:26:50 +02:00 |
|
Jürg Lehni
|
277ab844f2
|
Add comment about improving Rectangle#contains().
|
2011-07-05 01:17:55 +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
|
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
|
79c0ad8cc5
|
Update copyright notices.
|
2011-07-01 12:17:45 +02:00 |
|
Richard D. Worth
|
ac39873693
|
Whitespace. Removed all trailing whitespace from .js files
|
2011-06-30 06:01:51 -04:00 |
|
Jürg Lehni
|
2fd623d5b9
|
Define Size#clone(), fixing a failing test.
|
2011-06-27 14:44:58 +02:00 |
|
Jürg Lehni
|
4a344c8fad
|
Clean up forgotten @lends statements.
|
2011-06-22 23:58:50 +01:00 |
|
Jürg Lehni
|
7cd749e63d
|
Change all documentation to new convention of defining @class outside injection scope, fix some comments and a few errors with examples.
|
2011-06-22 23:56:05 +01:00 |
|
Jürg Lehni
|
582f8f84fb
|
Remove debug logging.
|
2011-06-20 18:28:12 +01:00 |
|
Jürg Lehni
|
c6135c6dc7
|
Define Matrix#getTranslation, #getScaling() and #getRotation(), as a way to extract translation, scale and rotation from matrices.
|
2011-06-20 18:25:19 +01:00 |
|
Jonathan Puckey
|
e23282fe05
|
Documentation: convert Array return types to Type[].
|
2011-06-20 15:19:08 +02:00 |
|
Jürg Lehni
|
2594a41b7d
|
Remove the mention of optional parameters in documentation, as they are marked optional already.
|
2011-06-19 21:52:52 +01:00 |
|
Jürg Lehni
|
3226147e00
|
Use a version of Bootstrap that always produces beans and remove all beans: true instructions.
|
2011-06-17 18:42:29 +01:00 |
|
Jürg Lehni
|
38003b6818
|
Clean up documentation: Always use @function / @name when there is more than one version of a method.
|
2011-06-16 19:26:50 +01:00 |
|
Jürg Lehni
|
401c4d5dc4
|
Rearrange @constructor documentation sequence.
|
2011-06-14 23:01:35 +01:00 |
|