Hi, I've been trying to use LICE to draw thicker anti-aliased lines with no success. The 1px default LICE_line is just to thin for most uses, a 2px is about right for my needs so I started to build something myself. It's a rough proof of concept that uses a trick to make the lines look anti-aliased. If you have any ideas for optimizing or improving this please let me know. (especially the divide in main loop) There are some restrictions: - No way to set the thickness, lines are 2px only. - Because of the anti-aliased pixels, the drawing area is reduced by 1 pixel on each side - Line ends are not anti-aliased Some rough and un-optimized (but working ;-) code: Code:
I am also working on this, and this seams to be very difficult to do... Drawing straight tick line is not that difficult actually, abut curved tick lines are very difficult to do. One simple trick for tick lines would be to draw bunch of circles on every pixel. This will work OK for smaller sizes, but it will give you round endings... Do you know that there is already anti aliased line built in LICE? You can call it like this from your custom class... Code:
I just need to find coordinates of 3rd point in isosceles triangle (I know all sides length and I know coordinates for other 2 points). Simple as that. Here is simple code that I wrote, but it doesn't work properly... Code:
------------------------------ 1996 Camaro Z28 M6 / SLP Exhaust Making mullets cool since the 60s My Z: http://www.cardomain.com/ride/2420526/1