fonteditor/demo/getArc.html
2014-11-09 21:14:39 +08:00

43 lines
974 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>getArc test</title>
<script src="../dep/esl.js"></script>
<script src="../dep/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="./css/glyf.css">
<style id="font-face"></style>
</head>
<body>
<svg id="svg" style="opacity:0.3; position: absolute" width="1024px" height="1024px" viewBox="0 0 1024 1024">
<path id="path" fill="#000" d=""/>
</svg>
<svg id="svg" style="opacity:0.3; position: absolute" width="1024px" height="1024px" viewBox="0 0 1024 1024">
<path id="path1" fill="red" d=""/>
</svg>
<svg width="1024px" height="1024px" viewBox="0 0 1024 1024">
<path fill="yellow" d="M275,125 A150,150 0 0,0 125,150 z"/>
</svg>
<script>
require.config({
baseUrl: '../src',
paths: {
demo: '../demo/js'
}
});
define('jquery', $);
</script>
<script>
require(['demo/getArc']);
</script>
</body>
</html>