Jürg Lehni
|
407a7fcde7
|
Support Size and Point arguments in Rectangle#expand()
|
2013-12-09 16:21:37 +01:00 |
|
Jürg Lehni
|
064d632d65
|
More matrix related clean-ups.
|
2013-12-08 22:12:36 +01:00 |
|
Jürg Lehni
|
61f2f5c978
|
Put constructors into separate ctor variables when handling dontLink parameters before creating objects.
This hopefully solves the mysterious issue #360 on Chrome.
|
2013-12-07 20:03:23 +01:00 |
|
Jürg Lehni
|
7800e5f84e
|
Clean up strange constructor notation that causes linting issue.
|
2013-12-07 19:45:10 +01:00 |
|
Jürg Lehni
|
9ca92165ee
|
Expose rotation and scaling transformations through Item#rotation and Item#scaling properties, by moving the setters from Matrix to Item.
|
2013-12-07 12:16:11 +01:00 |
|
Jürg Lehni
|
3ea5c2d728
|
Improve documentation of Matrix properties.
|
2013-12-07 12:14:20 +01:00 |
|
Jürg Lehni
|
cb3cc84dae
|
Implement Matrix#skew()
|
2013-12-07 05:20:55 +01:00 |
|
Jürg Lehni
|
268ecad00b
|
Clean up Matrix documentation.
|
2013-12-07 05:20:38 +01:00 |
|
Jürg Lehni
|
0bf863d1fa
|
Remove ill-named Matrix properties and replace with standardized a, c, b, d, tx, ty.
|
2013-12-06 22:26:21 +01:00 |
|
Jürg Lehni
|
5f24bf8da5
|
Implement Rectangle#getArea() and use it in reorientPath()
|
2013-12-03 21:54:36 +01:00 |
|
Jürg Lehni
|
cbefaf0dd1
|
Fix handling of internally cached _angle in Point.
Closes #344.
|
2013-11-27 00:03:03 +01:00 |
|
Jürg Lehni
|
f3832e0780
|
Implement setters for Matrix#translation, #rotation and #scaling.
Propagating the changes down to the owning Item too.
|
2013-11-26 19:28:18 +01:00 |
|
Jürg Lehni
|
56f25e8742
|
Implement change propagation in matrices.
|
2013-11-26 19:03:58 +01:00 |
|
Jürg Lehni
|
ac862f9bc4
|
Some minor code clean up and variable renaming.
|
2013-11-01 17:55:06 +01:00 |
|
Jürg Lehni
|
dc732da8d8
|
Clean up documentation for event handler functions on View and Tool.
|
2013-10-30 15:38:08 +01:00 |
|
Jürg Lehni
|
db882748b1
|
Fix documentation of Point#angle.
Closes #320.
|
2013-10-29 23:37:05 +01:00 |
|
Jürg Lehni
|
73d2c34088
|
Implement item-level #equals() method and clean up other equals methods.
|
2013-10-17 13:08:54 +02:00 |
|
Jürg Lehni
|
9976033655
|
Implement serialization of selection.
|
2013-10-17 12:04:11 +02:00 |
|
Jürg Lehni
|
19c7788617
|
Fix documentation irregularities.
|
2013-08-23 19:45:28 -07:00 |
|
Jürg Lehni
|
1120b6012c
|
Merge pull request #262 from huochunpeng/fix_typo_in_matrix
fix typo "Concatentates".
|
2013-08-08 17:24:40 -07:00 |
|
Jürg Lehni
|
6b19f25f4b
|
Fix typos in comments.
|
2013-08-08 15:21:35 -07:00 |
|
Chunpeng Huo
|
4904a1df1f
|
fix typo "Concatentates".
|
2013-07-26 15:22:37 +10:00 |
|
Jürg Lehni
|
f68f1ad518
|
Docs: Fix some faulty object parameters.
|
2013-07-02 12:22:45 -07:00 |
|
Jürg Lehni
|
e8765d18d5
|
Make argument reading more flexible by introducing options object for readNull and clone, and passing it on to the constructor through this.__options for additional values.
|
2013-06-28 07:37:03 -07:00 |
|
Jürg Lehni
|
22df17c192
|
Docs: Minor cleanups.
|
2013-06-28 06:41:36 -07:00 |
|
Jürg Lehni
|
8f254202e8
|
Use new @operator tag to mark math operator methods.
|
2013-06-28 05:59:07 -07:00 |
|
Jürg Lehni
|
5e7209a7bb
|
Clean up math function injection in Point and Size.
|
2013-06-28 04:58:57 -07:00 |
|
Jürg Lehni
|
e63edba0b5
|
Clean up various documentations a bit.
|
2013-06-27 18:03:03 -07:00 |
|
Jürg Lehni
|
772c83596f
|
Replace Base.create() calls in favor of faster direct constructors.
|
2013-06-25 09:50:14 -07:00 |
|
Jürg Lehni
|
3d5ae373a8
|
Remove static create() methods from LinkedPoint/Size/Rectangle, and give them initialize() methods instead that also name the classes in debugging.
|
2013-06-25 09:41:55 -07:00 |
|
Jürg Lehni
|
1866e4ff15
|
Remove need for all special arguments in minification, and restructure code to avoid warnings.
|
2013-06-24 10:15:54 -07:00 |
|
Jürg Lehni
|
a4535edbb9
|
Bring back _class names, since code minification breaks reliance on constructor.name.
Closes #248.
|
2013-06-23 20:18:32 -07:00 |
|
Jürg Lehni
|
4b62949318
|
Fix tests for #246.
This is actually the right behavior: Setting length to negative values should flip around defined vectors.
|
2013-06-23 17:22:13 -07:00 |
|
Jürg Lehni
|
d98a9f40cb
|
Correctly fix Line#length documentation.
|
2013-06-17 15:16:48 -07:00 |
|
Jürg Lehni
|
ccd0bf8f6b
|
Simply delegate to Point#getLength() as we already have it.
|
2013-06-17 08:28:37 -07:00 |
|
Jürg Lehni
|
9463f0078a
|
Fix documentation since Line#vector will be documented as a simple accessor.
|
2013-06-17 08:28:02 -07:00 |
|
hkrish
|
2693516844
|
Implement correct method for calculating curvature on a Path
|
2013-06-17 15:16:11 +05:30 |
|
Jürg Lehni
|
2196ef2a74
|
Streamline various #equals() methods.
|
2013-06-12 18:57:12 -07:00 |
|
Jürg Lehni
|
4a8469b740
|
Define Base.isPlainValue() and use it to implement more flexible #equals() for Color and Rectangle.
|
2013-06-12 18:55:14 -07:00 |
|
Jürg Lehni
|
d1932124d7
|
Implement #equals() in Point, Size and Rectangle without argument reading.
Closes #235
|
2013-06-12 15:28:29 -07:00 |
|
Jürg Lehni
|
1394c36907
|
Find an elegant way to implement all variations of Rectangle(object) constructors.
|
2013-06-12 15:08:22 -07:00 |
|
Jürg Lehni
|
7c5478cd93
|
Define first solution for correctly handling Rectangle(object) constructors.
Work in progress.
|
2013-06-12 14:57:47 -07:00 |
|
Jürg Lehni
|
a7750c3e67
|
Support null arguments in Point#equals().
|
2013-06-11 20:14:45 -07:00 |
|
Jürg Lehni
|
ce7d584c05
|
Revert readNull and clone parameter sequence in arguments reading code.
|
2013-06-11 19:49:35 -07:00 |
|
Jürg Lehni
|
75eddbcdba
|
Minor code clean ups.
|
2013-06-02 16:18:40 -07:00 |
|
Jürg Lehni
|
cd7db56249
|
Remove all create() constructors for basic types since new constructors are now faster.
Woop!
|
2013-05-27 23:57:31 -07:00 |
|
Jürg Lehni
|
10d5de3ed6
|
Implement a better way to name and export class constructors.
This change also simplified the way classes are exported to PaperScope objects.
|
2013-05-27 12:48:58 -07:00 |
|
Jürg Lehni
|
da8898abd2
|
Fix newly introduced bug in Line.getSide() through variable renaming.
|
2013-05-26 17:05:10 -07:00 |
|
Jürg Lehni
|
f771233d37
|
Speed up Line class by removing internal dependance on Point.
|
2013-05-26 16:58:34 -07:00 |
|
Jürg Lehni
|
80f9f6061c
|
Change the way the Line class handles direction vectors and infinite lines.
The beginning of performance improvements in the Line class.
|
2013-05-26 15:44:52 -07:00 |
|