Jürg Lehni
|
98837cbe98
|
Further optimise Path#transformContent() by reusing arrays and thus reducing memory footprint.
|
2011-02-20 11:15:40 +01:00 |
|
Jürg Lehni
|
c89d04dca6
|
Optimise Path#getBounds() by not relying on Point#add() but instead doing the calculations in direct math in the per-coordinate loop.
|
2011-02-20 02:05:40 +01:00 |
|
Jürg Lehni
|
6c4121db4b
|
Optimise Path#transformContent() by using Matrix#transform() version that handles arrays of multiple point values for much improved performance.
|
2011-02-20 01:55:43 +01:00 |
|
Jonathan Puckey
|
10623ddb62
|
Implement Gradient, GradientColor, GradientStop.
|
2011-02-19 22:50:37 +01:00 |
|
Jonathan Puckey
|
2b1dee1bd4
|
Add opacity support in Path#draw.
|
2011-02-19 17:33:23 +01:00 |
|
Jonathan Puckey
|
c2849b3692
|
Change PathStyle, CompoundPath and Path to work with new Color classes.
|
2011-02-19 17:25:16 +01:00 |
|
Jürg Lehni
|
bc33ae8084
|
Add missing #closePath() to both Path and CompoundPath.
|
2011-02-17 23:01:18 +00:00 |
|
Jürg Lehni
|
e6dc189310
|
Simplify injection separation by using multiple arguments to extend().
|
2011-02-17 22:46:28 +00:00 |
|
Jürg Lehni
|
5850ef3cfc
|
Seperate Path definition into two parts, one that requires scoped private functions and values, and one that does not, to keep related things closer together and save indentation space.
|
2011-02-17 20:08:37 +00:00 |
|
Jonathan Puckey
|
36de01a6ae
|
Move Path Constructors into seperate file.
|
2011-02-17 15:55:26 +01:00 |
|
Jonathan Puckey
|
0c1f29ce29
|
Implement CompoundPath and move most of PathItem into Path.
|
2011-02-17 13:36:40 +01:00 |
|
Jürg Lehni
|
b8816a07f5
|
Reformat to fit 80 chars boundary.
|
2011-02-15 23:10:48 +00:00 |
|
Jürg Lehni
|
3d64b017c5
|
Remove comment about having Point.read() return consumed arguments indices, as after analysing the situation it seem too complex to imeplement easly: Point.read internally relies on Point#initialize for all the heavy lifting, and this would have to report back how many indices were consumed somehow...
|
2011-02-15 22:56:53 +00:00 |
|
Jürg Lehni
|
a6e9ee56d4
|
Cleanup Path constructors by using simple constructor functions instead of Base.extend() classes, use Path.Oval for Path.Circle and optimise Path.Oval through ovalSegments array with real segments (no use to call Segment.read each time).
|
2011-02-14 02:05:54 +00:00 |
|
Jürg Lehni
|
08d4826441
|
Reformating code to follow Scriptotgrapher coding conventions.
|
2011-02-13 16:26:24 +00:00 |
|
Jürg Lehni
|
4b2341b3c2
|
Add gettter/setters for Path#segments, and fix bug in Segment#previous.
|
2011-02-13 13:52:51 +00:00 |
|
Jonathan Puckey
|
c0e2101c32
|
Clean up src directory and move Bootstrap.js into lib.
|
2011-02-12 17:59:39 +01:00 |
|