craftica / explorercanvas

Automatically exported from code.google.com/p/explorercanvas
Apache License 2.0
0 stars 0 forks source link

소수점 단위의 픽셀값 적용이 되지 않는 문제 #106

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
영어를 잘 못하기에 한국어로 적은점 죄송합니다.

소수점 단위 px값이 적용되지 않는 문제가 있습니다.

예시 소스

<html>
<head>
<title> </title>
<!--[if IE]>
<script src="excanvas.js"></script>
<![endif]-->
<style type="text/css">
canvas {border: 1px solid #999;}
</style>
</head>

<body>

<canvas width="0.1" height="0.1"></canvas>

</body>
</html>

Original issue reported on code.google.com by wfw12...@naver.com on 8 Jun 2011 at 12:11

GoogleCodeExporter commented 9 years ago
Sorry for the late reply, width and height are always in pixels, so you can't 
use floats, the minimum size is "1".

Original comment by fabien.menager on 16 Jul 2011 at 11:13