View Single Post
Old 05-02-2016, 02:46 PM   #1
Human being with feelings
Join Date: Sep 2010
Posts: 72
Default JS: help drawing anti-aliased rotated solids

I'm struggling to find a way to draw rotated filled squares that are anti-aliased.

After calculating the vertices of the square I'm using
but it is not anti-aliased like the gfx_line and gfx_circle functions are.

The first image is what it looks like. Not too nice.

The second image is the same but with additional anti-aliased lines drawn between all vertices. Better, but still not lovely.

Any ideas anyone?
Attached Images
File Type: jpg JS rotated square example.jpg (4.0 KB, 295 views)
File Type: jpg JS rotated square example 2.jpg (4.0 KB, 208 views)
jasman is offline   Reply With Quote