Hacker News new | past | comments | ask | show | jobs | submit login

There's only one such line. In general it's a good idea to reset the transform before clearing as the (0, 0, w, h) rectangle may not cover the whole canvas anymore. In this toy example there obviously isn't another transform so it's without function.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: