Jürg Lehni
0eaabd667c
Further clean up exporter code.
2012-11-04 00:09:44 -07:00
Jürg Lehni
f5475dda1a
Some more SVG test fixes.
2012-11-03 19:28:18 -07:00
Jürg Lehni
4cd6d6f230
Add support for conversion of text-anchor to justification.
2012-11-02 21:11:30 -07:00
Jürg Lehni
bfcc4d52b5
Cleanup SVG Markup.
2012-11-02 17:44:57 -07:00
Jürg Lehni
1ce332756e
Rename ImportSvg to SvgImporter, and ExportSvg to SvgExporter.
2012-11-02 17:40:07 -07:00
Jürg Lehni
80315e3e52
More SVG refactoring: Fix comments, documentation, and for-in loops.
2012-11-02 16:51:42 -07:00
Jürg Lehni
69dc8be629
Switch from using classes to object literals for SVG exporter / importer.
2012-11-02 16:19:45 -07:00
Jürg Lehni
d4a60fb62a
More SVG code refactoring.
...
Follow coding conventions and fix some forgotten renamings.
2012-10-22 16:31:08 -07:00
Jürg Lehni
160095d6e3
Rename SVG to Svg to follow naming convention.
2012-10-22 19:17:11 -04:00
Andrew
777e1c6275
Removed unnecessary files
2012-09-30 21:18:39 -04:00
Andrew
2508136602
Got rid of swp files
2012-09-30 21:17:02 -04:00
jaroles
644ed772d5
Update examples/ExportSVGTests/Transform Test 2.html
2012-09-30 22:15:07 -03:00
jaroles
0efcaade4b
Update examples/ExportSVGTests/Text Testing.html
2012-09-30 22:14:43 -03:00
jaroles
b2c4d1b6d7
Update examples/ExportSVGTests/Transform Test 1.html
2012-09-30 22:14:07 -03:00
jaroles
834a646608
Update examples/ExportSVGTests/Rect and Attribute Testing.html
2012-09-30 22:13:48 -03:00
jaroles
db6e712203
Update examples/ExportSVGTests/Line Testing.html
2012-09-30 22:13:09 -03:00
jaroles
333b6bb0ed
Update examples/ExportSVGTests/Empty Path Testing.html
2012-09-30 22:12:42 -03:00
jaroles
e0617b3c21
Update examples/ExportSVGTests/Circle Testing.html
2012-09-30 22:12:17 -03:00
Andrew
c6c460519e
Merging all the magic
2012-09-30 17:51:50 -04:00
skierons
6c1c6bc2d5
Created an SVGRect.html to test exporting and modified SVGCircles.html for
...
easier testing.
2012-09-17 19:34:46 -04:00
jnighlight
f43abe2f32
Mostly more Experimenting, commiting it for practicing across computers.
...
Noticed that curveto and quadratic bezier curveto can be differentiated by
format of the handleIn/handleOut variables in each segment (we think) If
either handleIn.x and handleOut.x = 0 OR handleIn.y and handleOut.y = 0,
then that means the curve is a simple curveTo tag in SVG. If handleIn.x =
-handleOut.x AND handleIn.y = -handleOut.y, then you have a quadriatic
Bezier Curveto in SVG (using the Q tag). We *HOPE* and think that that
curveTo(through, to) (a method creating an arc that passes through the
"through" point and ends at the "to" point) simply creates 2 segments,
each with a handleIn and Out, which can be read and put into SVG
seperately, making our lives a lot easier. Created more SVG test files.
Made RGBConverter more efficient with another method to help reduce copied
lines of code.
2012-09-16 15:38:22 -04:00
Justin Ridgewell
76303bb756
Merge branch 'ImportSVG'
2012-09-16 01:15:37 -04:00
Justin Ridgewell
0b8e940798
Create an example page for ImportSVG
2012-09-16 01:02:40 -04:00
skierons
2f5dcce61d
Jacob and I added a bit to the exportPath class. The initialize function
...
was not working correctly and JT said he would fix that. So we initialized
svgObj in the function for the meantime. We added svgRect and svgPoint
objects for testing purposes to figure out the xml svg format. Recovered
points, strokecolor, fillcolor, and stroke width from the input path. The
last thing we need to do for extracting path data is to find the point
definitions for each point in the path. Waiting on response from head
coders to find out what type of path is passed in for simple conversions
(such as: Rectangle path, Circle path, etc.). We added a method called
RGBConverter to covnert colors into hexadecimal format for xml.
2012-09-16 00:13:14 -04:00
Jonathan Puckey
3634e7b866
Add example demonstrating onResize and Item#fitBounds.
2012-03-01 14:30:14 +01:00
Jürg Lehni
f427f369a1
Make PhyllotaxisRaster example work with new #matrix code.
2011-12-27 20:40:59 +01:00
Jürg Lehni
597a59e90c
Increase font size.
2011-12-27 20:40:22 +01:00
Jonathan Puckey
d631288dc7
Fire resize event directly after evaluation, so we don't need to call onResize ourselves from PaperScript.
2011-11-12 16:31:22 +01:00
Jürg Lehni
42d0e722db
Rename RGBColor -> RgbColor, to avoid clash with native constructor, and follow same naming convention for HsbColor and HslColor, but keep references to old names for PaperScript scopes for now.
2011-11-10 19:16:34 +01:00
Jonathan Puckey
a28b20dac8
Merge branch 'master' of https://github.com/paperjs/paper.js
2011-08-20 15:55:48 +02:00
Jonathan Puckey
c67b8acd4e
Clean up Node.js tadpoles example.
2011-08-20 15:50:25 +02:00
Jonathan Puckey
88ceffcd87
Add Node.js PaperScript Tadpoles example.
2011-08-13 19:11:21 +02:00
Jonathan Puckey
0154464fb3
Paperoids example: remove css dependency.
2011-08-11 20:30:50 +02:00
Jonathan Puckey
5611ce0793
Paperoids example: fix dependencies and embed css.
2011-08-11 20:29:43 +02:00
Jonathan Puckey
6455bf5e98
Add Paperoids example.
2011-08-11 20:24:04 +02:00
Jonathan Puckey
0f7406f7f4
Add Node.js example.
2011-08-10 21:04:01 +02:00
Jonathan Puckey
6808dc4b1c
PathEditing example: add black stroke to paths.
2011-07-17 18:16:47 +02:00
Jonathan Puckey
61fa298780
Add PathEditing example, which shows of hit-testing of paths.
2011-07-17 17:57:44 +02:00
Jonathan Puckey
7772bfc2c9
HSLColor example: change the background color to black.
2011-07-09 16:21:02 +02:00
Jonathan Puckey
984af9c93b
Use radial gradients in HSLColor example.
2011-07-09 16:19:15 +02:00
Jonathan Puckey
b667a04cb6
Improve and simplify HSLColor example.
2011-07-08 14:47:34 +02:00
Jürg Lehni
5655981f6d
Clean up white spaces.
2011-07-07 16:09:02 +02:00
Jürg Lehni
f357eb4a21
Merge pull request #20 from gka/hsl-color
...
added support for HSL colors
2011-07-06 14:37:19 -07:00
Jürg Lehni
b13c7622c8
Rename Curve#getParameter(length) -> Curve#getParameterAt(offset)
2011-07-06 23:13:38 +02:00
Jonathan Puckey
d83c76227d
Add Spiral Raster example.
2011-07-05 18:35:57 +02:00
Jonathan Puckey
458b03ff43
Move Raster related examples to examples/Rasters
2011-07-05 18:28:21 +02:00
gka
0e37d9e93d
added support for HSL colors
...
new class HSLColor, new test script HSLColor.html
2011-07-05 15:38:32 +02:00
Jürg Lehni
189e15b1e8
Remove console logging.
2011-07-01 12:56:30 +02:00
Jürg Lehni
9fa51a0457
Implement Item#controlBounds and Path#controlBounds, and test it in StrokeBounds example. This is a first step towards fast hit-testing.
2011-07-01 12:51:18 +02:00
Jürg Lehni
93518c07dc
Merge branch 'master' of github.com:paperjs/paper.js
2011-07-01 11:04:53 +02:00
Jürg Lehni
81dd35d3fb
Merge pull request #11 from rdworth/examples_title
...
Examples: Added more descriptive titles to each example html page
2011-07-01 01:59:03 -07:00
Jürg Lehni
0a719d909a
Merge pull request #15 from rdworth/example_strokebounds_semicolons
...
Example: Stroke Bounds: Added two missing semicolons, example is broken w
2011-07-01 01:56:59 -07:00
Richard D. Worth
10e36f98ee
Examples: Uncommented out doctype in a few example html files to avoid quirks mode
2011-06-30 21:20:09 -04:00
Richard D. Worth
7085eeae51
Example: Stroke Bounds: Added two missing semicolons, example is broken without them.
2011-06-30 21:04:16 -04:00
Richard D. Worth
b47d988fb3
Examples: Renamed a few html files to correct one typo and fix inconsistency with spaces in filenames
2011-06-30 10:07:05 -04:00
Richard D. Worth
45f8c7cd1a
Examples: Added more descriptive titles to each example html page
2011-06-30 09:57:17 -04:00
Jonathan Puckey
7ee7895d57
Clean up Future Splash example a bit.
2011-06-30 14:01:18 +02:00
Jonathan Puckey
d8f54b1c9b
Add FutureSplash example.
2011-06-30 13:55:35 +02:00
Jonathan Puckey
3ddf2b40ca
Clean up PathStructure example.
2011-06-30 10:49:54 +02:00
Richard D. Worth
1ab78ba594
Examples: Path Structure: refactored to handle resize as well as to display label for first point (number 0 as text content is falsy)
2011-06-29 16:12:51 -04:00
Jonathan Puckey
a26a292783
Don't use keepAlive option in examples.
2011-06-29 13:44:06 +02:00
Jonathan Puckey
c622d1419a
Improve RadialRainbows example.
2011-06-29 13:30:04 +02:00
Jonathan Puckey
2010f1b8d5
Clean up Tadpoles example.
2011-06-28 12:20:29 +02:00
Jonathan Puckey
b7ba11c9b8
Cleanup StrokeBounds example.
2011-06-28 12:13:13 +02:00
Jürg Lehni
8d2cee16c5
Flock Example: Rename to Tadpoles.
2011-06-24 19:47:13 +01:00
Jürg Lehni
b910d9ee61
Flock Example: Remove Stats.
2011-06-24 19:46:16 +01:00
Jonathan Puckey
52175da3e9
Improve RoundedRectangles example.
2011-06-21 20:10:23 +02:00
Jonathan Puckey
531e0bb203
Add Space example.
2011-06-21 14:54:29 +02:00
Jürg Lehni
909bb6310f
Shorten RadialRainbows.
2011-06-20 22:54:45 +01:00
Jonathan Puckey
ac310ecc04
Fix RadialRainbows example.
2011-06-20 23:20:39 +02:00
Jürg Lehni
23a0db603f
No need to set text fillColor to black anymore, as it's the default now.
2011-06-20 20:25:19 +01:00
Jürg Lehni
318ed69ad2
Remove use of characterStyle / paragraphStyle where not necessary.
2011-06-20 18:53:36 +01:00
Jürg Lehni
8fb97a973a
Remove stats for now since it is not included in built library.
2011-06-20 18:36:03 +01:00
Jonathan Puckey
a2a8939d5d
Path# rename #pointsToCurves to #simplify and #curvesToPoints to #flatten.
2011-06-20 19:17:07 +02:00
Jürg Lehni
322a427208
Flock: Use Symbol#place() instead.
2011-06-20 17:52:46 +01:00
Jürg Lehni
02408fc47e
Flock example: Reuse prepared symbol definition.
2011-06-20 17:51:39 +01:00
Jonathan Puckey
f6fbccb7a2
Examples: Convert Path#selected to Path#fullySelected where needed.
2011-06-20 17:16:27 +02:00
Jürg Lehni
ed5484e770
StrokeBounds example: Fix arcTo() direction.
2011-06-20 15:36:27 +01:00
Jürg Lehni
07d3cbb807
Remove dashes from Flock.
2011-06-20 15:32:53 +01:00
Jonathan Puckey
ce2ef52f60
Merge remote branch 'origin/master'
2011-06-20 15:59:19 +02:00
Jonathan Puckey
8cacbfe791
Examples: Replace DrawCurves with PointsToCurves.
2011-06-20 15:58:13 +02:00
Jürg Lehni
811f39f30e
Remove redraw() command.
2011-06-20 14:16:59 +01:00
Jonathan Puckey
c167920480
Examples: replace use of deprecated functions.
2011-06-19 17:37:43 +02:00
Jonathan Puckey
e77caf610b
Update BouncingBalls example to the version on Paperjs.org
2011-06-19 17:34:32 +02:00
Jonathan Puckey
26f326e32d
Add Fitting example to scripts.
2011-06-19 16:45:29 +02:00
Jonathan Puckey
57e23950c2
Change image used in DivisionRaster example.
2011-06-19 15:18:17 +02:00
Jonathan Puckey
fcb7a74610
Clean up DivisionRaster example.
2011-06-19 15:01:53 +02:00
Jonathan Puckey
faf9b453d1
Clean up the PhyllotaxisRaster example and use Item#fitBounds instead of stretching the image.
2011-06-19 03:43:47 +02:00
Jonathan Puckey
a0dbf3eb45
Add DivisionRaster example.
2011-06-19 03:32:07 +02:00
Jürg Lehni
6d771dd5da
Clean up.
2011-06-16 22:59:59 +01:00
Jürg Lehni
1b0dca0ea4
Use #fullySelected instead of #selected.
2011-06-16 22:51:18 +01:00
Jürg Lehni
8454709559
Improve Vektor example.
2011-06-16 22:50:27 +01:00
Jürg Lehni
4d12cb87fc
Switch from "out" folder for built library to "dist".
2011-06-12 19:03:18 +01:00
Jürg Lehni
5e4192198b
Change all examples to load the latest compiled library from out/paper.js.
2011-06-12 18:42:12 +01:00
Jürg Lehni
3d06f215c8
Add DrawCurves example, to test new Path#pointsToCurves() feature.
2011-06-05 22:10:26 +01:00
Jürg Lehni
25541b6c6c
Add a switch to CurveTimeParametrization example that allows the use of #curvesToPoints() instead of #getParameter().
2011-06-05 13:22:06 +01:00
Jonathan Puckey
43f92dd70a
Examples: close html tag.
2011-05-31 00:27:39 +02:00
christophknoth
87409c5268
</html> missing
2011-05-30 15:13:25 -07:00
Jürg Lehni
b52abbfbc1
Replace removed 'hidden' property with 'visible'.
2011-05-19 21:55:51 +01:00
Jonathan Puckey
a7fc55c998
Small update to Phyllotaxis Raster.
2011-05-19 18:42:03 +02:00