mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-28 22:08:54 -04:00
Have IE9 display SVG inlined in SVG export examples.
This commit is contained in:
parent
64aaabbc2e
commit
8edcf3b219
17 changed files with 34 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>Circle Testing</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
<!-- IE 9: display inline SVG -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9">
|
||||
<script type="text/javascript" src="../../dist/paper-full.js"></script>
|
||||
<script type="text/paperscript" canvas="canvas">
|
||||
var topLeft = new Point(200, 200);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,6 +4,8 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>Compound Path</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
<!-- IE 9: display inline SVG -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9">
|
||||
<script type="text/javascript" src="../../dist/paper-full.js"></script>
|
||||
<script type="text/paperscript" canvas="canvas">
|
||||
project.currentStyle.fillColor = 'black';
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>Empty Path Testing</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
<!-- IE 9: display inline SVG -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9">
|
||||
<script type="text/javascript" src="../../dist/paper-full.js"></script>
|
||||
<script type="text/paperscript" canvas="canvas">
|
||||
var path = new Path();
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>Gradients</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
<!-- IE 9: display inline SVG -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9">
|
||||
<script type="text/javascript" src="../../dist/paper-full.js"></script>
|
||||
<script type="text/paperscript" canvas="canvas">
|
||||
var stops = [new Color(1, 1, 0, 0), 'red', 'black'];
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>Group Transform</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
<!-- IE 9: display inline SVG -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9">
|
||||
<script type="text/javascript" src="../../dist/paper-full.js"></script>
|
||||
<script type="text/paperscript" canvas="canvas">
|
||||
var circle1 = new Path.Circle(new Point(100, 100), 50);
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>Line Testing</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
<!-- IE 9: display inline SVG -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9">
|
||||
<script type="text/javascript" src="../../dist/paper-full.js"></script>
|
||||
<script type="text/paperscript" canvas="canvas">
|
||||
var x1 = 5,
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>Random Path Testing</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
<!-- IE 9: display inline SVG -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9">
|
||||
<script type="text/javascript" src="../../dist/paper-full.js"></script>
|
||||
<script type="text/paperscript" canvas="canvas">
|
||||
var center = new Point(100, 100);
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>Raster</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
<!-- IE 9: display inline SVG -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9">
|
||||
<script type="text/javascript" src="../../dist/paper-full.js"></script>
|
||||
<script type="text/paperscript" canvas="canvas">
|
||||
var raster = new Raster('lenna');
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>Rectangle Testing</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
<!-- IE 9: display inline SVG -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9">
|
||||
<script type="text/javascript" src="../../dist/paper-full.js"></script>
|
||||
<script type="text/paperscript" canvas="canvas">
|
||||
var point1 = new Point(10, 10);
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>Rotated Primitives</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
<!-- IE 9: display inline SVG -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9">
|
||||
<script type="text/javascript" src="../../dist/paper-full.js"></script>
|
||||
<script type="text/paperscript" canvas="canvas">
|
||||
// This "arbitrary" shape triggered rectangles in the original code,
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>Shapes</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
<!-- IE 9: display inline SVG -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9">
|
||||
<script type="text/javascript" src="../../dist/paper-full.js"></script>
|
||||
<script type="text/paperscript" canvas="canvas">
|
||||
var rect = new Shape.Rectangle({
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>Symbols</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
<!-- IE 9: display inline SVG -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9">
|
||||
<script type="text/javascript" src="../../dist/paper-full.js"></script>
|
||||
<script type="text/paperscript" canvas="canvas">
|
||||
var ellipse = new Path.Ellipse({
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>Text Testing</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
<!-- IE 9: display inline SVG -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9">
|
||||
<script type="text/javascript" src="../../dist/paper-full.js"></script>
|
||||
<script type="text/paperscript" canvas="canvas">
|
||||
var text = new PointText(new Point(50, 100));
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,6 +4,8 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>Transform Testing</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
<!-- IE 9: display inline SVG -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9">
|
||||
<script type="text/javascript" src="../../dist/paper-full.js"></script>
|
||||
<script type="text/paperscript" canvas="canvas">
|
||||
var circlePath = new Path.Circle(new Point(280, 100), 25);
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>Rectangle Testing</title>
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
<!-- IE 9: display inline SVG -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9">
|
||||
<script type="text/javascript" src="../../dist/paper-full.js"></script>
|
||||
<script type="text/paperscript" canvas="canvas">
|
||||
var path = new Path.Rectangle(new Point(50, 50), new Size(100, 50));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue