Go to content Go to navigation

ArtPad Vector alpha · 2008-01-13 05:12 by Black in

I’ve written about it before, and also implemented it some time ago: Drawing in ArtPad is now vector based. The downside in the new version is that the eraser does not work yet. But it does use much less memory, and drawing is also faster. Not to mention that it looks great.

How does it work?

A line is drawn by drawing a rectangular texture. The texture consists of a single line in a rectangular file (32×32 pixel). To draw lines with a given angle, the texture is rotated. This is done by transforming the texture coordinates with the inverse rotation matrix. Due to the property of the texture mapping to infinitely repeat the border pixel for all points outside the texture area, the texture can also be scaled down for long lines.

The newest version can be gotten here

  Textile help