Jürg Lehni
|
474d79db17
|
Clean up Segment constructor and make sure internal point objects are never replaced, always updated instead.
|
2011-03-06 12:24:03 +00:00 |
|
Jürg Lehni
|
ee1ec4597a
|
Merge remote-tracking branch 'origin/master'
|
2011-03-06 12:15:28 +00:00 |
|
Jürg Lehni
|
cb2e4aaa04
|
Imrove Point, Size and Rectangle constructors.
|
2011-03-06 12:15:15 +00:00 |
|
Jonathan Puckey
|
2a348941af
|
Merge remote branch 'origin/master'
|
2011-03-06 13:08:32 +01:00 |
|
Jonathan Puckey
|
a6fdaf85d8
|
Add Raster example.
|
2011-03-06 13:08:24 +01:00 |
|
Jürg Lehni
|
fd0d409d9e
|
More work on Path#getStrokeBounds(), unfinished.
|
2011-03-06 11:42:33 +00:00 |
|
Jürg Lehni
|
0a690788ef
|
Allow chaining of Item transform functions.
|
2011-03-06 11:42:08 +00:00 |
|
Jürg Lehni
|
5a1d31bba7
|
Improve argument reading in PostScript drawing methods.
|
2011-03-06 11:23:21 +00:00 |
|
Jürg Lehni
|
56c10f9196
|
Fix Segment#getHandleIn/OutIfSet and a newly introduced drawing error in Path#draw.
|
2011-03-06 11:18:35 +00:00 |
|
Jürg Lehni
|
7bea7e36de
|
Make use of new Segment#getHandleIn/OutIfSet() where we can.
|
2011-03-06 11:04:41 +00:00 |
|
Jürg Lehni
|
b98abeb416
|
Declare outX, outY outside of draw loop, as it is used from previous iteration.
|
2011-03-06 11:00:25 +00:00 |
|
Jürg Lehni
|
2d2fb400d9
|
Add comment about Point#isParallel not being very precise.
|
2011-03-06 10:58:26 +00:00 |
|
Jürg Lehni
|
a7ec0ef269
|
Make sure Placed Symbol test uses a strokeWidth on Paper too.
|
2011-03-06 10:58:05 +00:00 |
|
Jürg Lehni
|
72a1ba8e70
|
Activate beans for Segment and clean up bean / getter / setter mess for point / handleIn / handleOut.
|
2011-03-06 10:57:14 +00:00 |
|
Jürg Lehni
|
e892d4446a
|
More variable definition chaining.
|
2011-03-06 10:15:06 +00:00 |
|
Jürg Lehni
|
49e828ab9d
|
Use chained variable definitions wherever we can to save space.
|
2011-03-06 10:14:12 +00:00 |
|
Jürg Lehni
|
3a51acec88
|
Begin implementing Path#getStrokeBounds().
|
2011-03-06 10:09:37 +00:00 |
|
Jürg Lehni
|
1607d744ef
|
Implicitely call document.redraw() at the end of PaperScript execution.
|
2011-03-05 22:02:53 +00:00 |
|
Jürg Lehni
|
af909238eb
|
Shorten code a bit.
|
2011-03-05 21:08:32 +00:00 |
|
Jürg Lehni
|
4dbba5f806
|
Make sure rectangle dimensions are not undefined when creatig from a Point or Size.
|
2011-03-05 21:06:23 +00:00 |
|
Jürg Lehni
|
5392268b83
|
Remove Raster/PlacedSymbol specific code form Matrix#transformBounds() and use Rectangle#setCenter() instead to center the bounds rectangle on the origin.
|
2011-03-05 21:05:07 +00:00 |
|
Jürg Lehni
|
06ca80573a
|
Allow chaining of all Matrix calls without returns.
|
2011-03-05 21:04:01 +00:00 |
|
Jürg Lehni
|
7fa53a2db3
|
Allow chaining of Size setters.
|
2011-03-05 20:59:06 +00:00 |
|
Jürg Lehni
|
9f67f32701
|
Allow chaining of Point setters.
|
2011-03-05 20:58:46 +00:00 |
|
Jürg Lehni
|
a4c67a1bc1
|
Allow changing of Rectangle setters.
|
2011-03-05 20:57:45 +00:00 |
|
Jürg Lehni
|
f5d8f24faa
|
Small changes.
|
2011-03-05 20:43:00 +00:00 |
|
Jürg Lehni
|
737d57db24
|
Define Base#each in a way so it can be used in future Bootstrap changes for Hash and Array.
|
2011-03-05 20:39:30 +00:00 |
|
Jürg Lehni
|
736b79fa29
|
Further optimise / clean-up Bootstrap core.
|
2011-03-05 20:07:58 +00:00 |
|
Jürg Lehni
|
79d5a46cab
|
Make it clear it's an empty loop.
|
2011-03-05 14:26:52 +00:00 |
|
Jürg Lehni
|
06e870f69c
|
Improve some comments.
|
2011-03-05 14:26:16 +00:00 |
|
Jürg Lehni
|
cfb7d195c0
|
Use the new statics: true setting for Base injection, and fix Array.prototype.slice issue in Base.read().
|
2011-03-05 14:23:42 +00:00 |
|
Jürg Lehni
|
3f0a45a7c2
|
Allow Rasters to be created directly from id strings.
|
2011-03-05 14:17:32 +00:00 |
|
Jürg Lehni
|
8e25a951bc
|
Move Base.capitalize() and Base.read() out of Bootstrap core into Paper.js, so normal Bootstrap libs can work with it too.
|
2011-03-05 14:17:17 +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
|
cc134de058
|
Remove trailing collon.
|
2011-03-05 13:51:23 +00:00 |
|
Jürg Lehni
|
836ee492ae
|
More beans related refactoring.
|
2011-03-05 02:40:38 +00:00 |
|
Jürg Lehni
|
b06bf88aed
|
More beans clean-up in Rectangle.
|
2011-03-05 01:59:15 +00:00 |
|
Jürg Lehni
|
e87e7b2582
|
Move get/setContext to get/setCanvas.
|
2011-03-05 01:59:01 +00:00 |
|
Jürg Lehni
|
a365bf45a4
|
Apply the same optimisation from previous commit to Layer.
|
2011-03-05 01:53:32 +00:00 |
|
Jürg Lehni
|
02bf012aa5
|
Simplify #appendTop / Bottom and #moveAbove / Bellow by using generator functions.
|
2011-03-05 01:50:56 +00:00 |
|
Jürg Lehni
|
083a9864f0
|
Use Matrix#transformBounds() in DocumentView#getBounds().
|
2011-03-05 01:42:24 +00:00 |
|
Jürg Lehni
|
4908ba5edf
|
Expand shortened name.
|
2011-03-05 01:37:02 +00:00 |
|
Jürg Lehni
|
ce74516228
|
Remove more beans access, this time related to various PathStyle getters / setters.
|
2011-03-05 01:36:27 +00:00 |
|
Jürg Lehni
|
c313e702c9
|
Clean up a whole lot of beans access, and in the process of the refactoring improve canvas, context, size and bounds handling in Raster and PlacedSymbol.
|
2011-03-05 01:26:12 +00:00 |
|
Jürg Lehni
|
b1027dbb38
|
Use better variable name.
|
2011-03-05 00:24:32 +00:00 |
|
Jürg Lehni
|
1d858147ec
|
Stop using style beans internally.
|
2011-03-05 00:23:16 +00:00 |
|
Jürg Lehni
|
1d866ecb6c
|
Clean up internal properties and beans in Color related classes.
|
2011-03-05 00:16:26 +00:00 |
|
Jürg Lehni
|
44ab8ed3a0
|
Refer to currentStyle through getters and setters, not through beans.
|
2011-03-05 00:03:28 +00:00 |
|
Jürg Lehni
|
4db061a048
|
Make sure Point is not using any beans internally.
|
2011-03-05 00:03:11 +00:00 |
|
Jürg Lehni
|
95e39bcf30
|
Set a strokeColor, as the default seems to be invisible?
|
2011-03-05 00:02:46 +00:00 |
|