Drawning with canvas - problem with sizing [closed]
- by pioncz
For example i made 2 canvas with size 500px x 500px and 100px x 100px to see how fillrect works and i found that canvas.fillrect doesnt takes px for arguments, and my question is: how to make pixels as arguments or how to count these arguments for pixels?
This is example:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
…