blob: e43884ec9623b99f429768d5067ef4a0b0713a2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<!DOCTYPE HTML>
<html>
<body>
<canvas id="c" width="200" height="200" style="border:1px solid black; -moz-transform:scaleY(-1);"></canvas>
<script>
var ctx = document.getElementById("c").getContext("2d");
ctx.fillStyle = "blue";
ctx.fillRect(0, 0, 200, 50);
</script>
</body>
</html>
|