sapics
|
e15b23f8af
|
code minifier
|
2015-06-23 13:09:48 +09:00 |
|
Jürg Lehni
|
26cdbb6805
|
Fix typo: #isColinear() -> #isCollinear()
Keeping misspelled version around for a while.
|
2015-06-16 18:39:52 +02:00 |
|
Jürg Lehni
|
5812a70e08
|
Use EPSILON instead of TOLERANCE in Point#isColinear() and #isOrthogonal() (reverted from commit 5f0e545ba7 )
|
2015-06-16 18:25:50 +02:00 |
|
Jürg Lehni
|
b541088c6f
|
A whole lot of documentation clean-up.
|
2015-06-16 17:50:37 +02:00 |
|
Jürg Lehni
|
ba12eec7f5
|
Some documentation clean-up.
- Prefer @return over @returns
- Place @see at the end, before @example
|
2015-06-16 14:08:34 +02:00 |
|
Jan
|
60ddc68e56
|
Improve Line.getSignedDistance()
Improved code is shorter, faster, and should product results with higher precision.
|
2015-01-05 15:16:45 +01:00 |
|
Jürg Lehni
|
f0f98daf69
|
Apply @hkrish's fix in 3781aedb22 to Line.getSignedDistance as well.
Relates to #554
|
2015-01-04 00:53:56 +01:00 |
|
Jürg Lehni
|
5f0e545ba7
|
Use EPSILON instead of TOLERANCE in Point#isColinear() and #isOrthogonal()
|
2015-01-02 23:48:34 +01:00 |
|
Jürg Lehni
|
45c86a3035
|
Switch to suggested new implementation of Line.getSignedDistance() by @iconexperience
Closes #554
|
2015-01-02 16:17:19 +01:00 |
|
Jürg Lehni
|
3c31c0e482
|
Have SVGImport respect the current PaperScope's applyMatrix setting.
|
2015-01-02 14:19:17 +01:00 |
|
Jürg Lehni
|
a307bc4d14
|
Implement recursively parameter in Matrix#apply(), so matrices can be backed in recursively in children too.
|
2014-12-28 18:29:04 +01:00 |
|
Jürg Lehni
|
892c1a28bd
|
Some code clean-up.
|
2014-11-08 17:26:43 -08:00 |
|
Jürg Lehni
|
4ab6446e16
|
Handle horizontal lines properly in Line.getSignedDistance()
Closes #546.
|
2014-11-08 17:26:13 -08:00 |
|
Jürg Lehni
|
4eb06f0849
|
Implement Item#isInside(rect).
|
2014-10-20 16:51:28 +02:00 |
|
Jürg Lehni
|
62e5f3b3ac
|
Improve / streamline Matrix documentation a bit.
|
2014-10-20 16:47:41 +02:00 |
|
Jürg Lehni
|
54de02149b
|
Implement 'row' type component, for multiple components per row in palettes.
|
2014-10-02 16:05:56 +02:00 |
|
Jürg Lehni
|
47c225a782
|
Fix typo.
As reported by https://github.com/paperjs/paperjs.org/pull/7
|
2014-10-02 01:03:39 +02:00 |
|
Jürg Lehni
|
48cb05a181
|
Replace tabs with 4 white-spaces.
|
2014-08-16 19:24:54 +02:00 |
|
Jürg Lehni
|
04a0c995bc
|
Keep Math.acos() argument between -1 and 1.
Closes #482.
|
2014-07-25 21:01:58 +02:00 |
|
Jürg Lehni
|
d3d9e4bada
|
Improve some injection blocks.
|
2014-07-25 20:05:26 +02:00 |
|
Jürg Lehni
|
3093a8ec43
|
Introduce matrix.chain(mx) as a shortcut to Matrix.clone().concatenate(mx)
Simplifies quite a few lines of code.
|
2014-07-08 15:43:17 +02:00 |
|
Jürg Lehni
|
9d7ec13724
|
Update prepro.js to version that can evaluate whole expressions, and fix a newly introduced issue with it.
|
2014-05-14 15:14:03 +02:00 |
|
Jürg Lehni
|
846c806034
|
Implement non-scaling strokes through Style#strokeScaling.
Closes #418.
|
2014-05-13 13:38:51 +02:00 |
|
Jürg Lehni
|
8560a71312
|
Remove srcOffset and dstOffset parameters from Matrix#_transformCoordinates().
|
2014-05-08 13:54:05 +01:00 |
|
Jürg Lehni
|
f002c633a7
|
Remove trailing white spaces and ensure newlines at the end.
|
2014-04-06 13:48:03 +02:00 |
|
Jürg Lehni
|
59da291d54
|
Remove tabs in examples in favor of 4 spaces.
To remove all these annoying JSHint complaints.
|
2014-04-02 21:03:35 +02:00 |
|
Jürg Lehni
|
fa9786b344
|
Switch to new simpler convention for control of beans creation in straps.js
|
2014-04-02 20:53:18 +02:00 |
|
Jürg Lehni
|
17fb1fb862
|
Some Straps.js related code changes.
|
2014-03-31 19:27:04 +02:00 |
|
Jonathan Puckey
|
01dbfe705c
|
Fix accidental leaking of variables to the global scope.
Found using jscritic.com
|
2014-03-28 13:46:51 +01:00 |
|
Jürg Lehni
|
3c257dcae0
|
Merge branch 'refs/heads/master' into apply-matrix
|
2014-03-13 00:54:05 +01:00 |
|
Jürg Lehni
|
56335ae5f5
|
Implement SVG-style #arcTo() version.
This should fix the arc related part of issue #413.
|
2014-03-12 23:00:47 +01:00 |
|
Jürg Lehni
|
73ef269f0f
|
Bake in matrix changes if owner has #applyMatrix set.
|
2014-03-04 09:36:00 +01:00 |
|
Jürg Lehni
|
fb1420eee0
|
Internalize Item#applyMatrix() code in #transform() and add short-cut method to it in Matrix#apply()
|
2014-03-02 15:50:45 +01:00 |
|
Jürg Lehni
|
fe146c5ec0
|
Fix issues in Point#isOrthogonal() and Point#isColinear()
|
2014-02-28 17:57:09 +01:00 |
|
Jürg Lehni
|
737466d15c
|
Fix all faulty {@true} doc statements.
|
2014-02-26 15:39:00 +01:00 |
|
Jürg Lehni
|
d9efb888bc
|
Clean up Point#equals() code.
|
2014-02-20 15:37:38 +01:00 |
|
Jürg Lehni
|
e54691214a
|
Only preserve angle in Point#normalize() if direction doesn't change.
|
2014-02-20 02:51:02 +01:00 |
|
Jürg Lehni
|
5a131930fb
|
Add _dontNotify parameter to Matrix#reset() and use it in Item#applyMatrix()
|
2014-01-06 00:18:40 +01:00 |
|
Jürg Lehni
|
4a95f6e4a6
|
Some more optimizations for JS minifier and V8.
|
2014-01-05 21:07:11 +01:00 |
|
Jürg Lehni
|
1bf7107918
|
Fix issue in Point#getDirectedAngle()
|
2014-01-05 20:54:19 +01:00 |
|
Jürg Lehni
|
7291956155
|
Prevent unnecessary beans from being created.
|
2014-01-05 20:42:28 +01:00 |
|
Jürg Lehni
|
73f857170d
|
Remove unused arguments._read value and rename _index to __index.
|
2014-01-05 18:34:08 +01:00 |
|
Jürg Lehni
|
706fe2c77d
|
Rearrange Base.read argument sequence.
options are used more often than length.
|
2014-01-05 18:31:24 +01:00 |
|
Jürg Lehni
|
6cb25fafe3
|
Use changes in latest Straps.js to remove as many hidden parameters as possible.
Hidden parameters through arguments[] are bad news for JS optimizer engines.
|
2014-01-05 17:40:54 +01:00 |
|
Jürg Lehni
|
ea63d4c288
|
Merge branch 'refs/heads/master' into v8-optimizations
Conflicts:
src/core/Base.js
src/style/Color.js
|
2014-01-05 05:01:13 +01:00 |
|
Jürg Lehni
|
e22fa3a664
|
Update copyright notice.
|
2014-01-04 01:47:16 +01:00 |
|
Jürg Lehni
|
35890383d8
|
Merge branch 'refs/heads/paperscript-refactoring' into v8-optimizations
|
2013-12-29 15:54:54 +01:00 |
|
Jürg Lehni
|
8711fcf500
|
Remove hidden unused squared argument in Point#getLength()
|
2013-12-28 20:58:16 +01:00 |
|
Jürg Lehni
|
81651a7379
|
Prevent V8 "assignment to parameter in arguments object" deoptimizations.
Some getter-like functions still need fixing, but this might require a fix in Straps.js first.
|
2013-12-17 23:28:55 +01:00 |
|
Jürg Lehni
|
3dbad9c477
|
Replace delete in favor of setting to undefined to prevent V8 deoptimization.
|
2013-12-17 23:27:48 +01:00 |
|