PDA

View Full Version : WDL v2009.01.18 : Line drawing


Ernst Hot
03-24-2009, 12:35 PM
LICE: line drawing improvements (changed signature of LICE_Line to use integers)

Are you guys sure that's really an improvement on a line drawing function that supports antialiasing?

You may have your reasons, but in my opinion that makes AA nearly, but not completely, pointless.

Meant in the nicest possible way, just wanted to point it out ;)

schwa
03-24-2009, 01:39 PM
There are now two line implementations: LICE_Line(ints) and LICE_FLine(floats). This is a performance improvement in the case where your input points are all integers.

I should mention, the float version is not hugely tested for corner cases (antialiasing at the top edge of a bitmap, for example).

Ernst Hot
03-24-2009, 02:03 PM
That makes sense, great news!

Btw. after playing around with Juce for a while, I'm back to using IPlug, and having learned enough C++ in the meantime to figure out how to do some stuff that I couldn't initially, I must say it's a pleasure to use :)

RRokkenAudio
01-18-2010, 02:42 PM
Any examples on how to draw a simple line with lice?

~Rob.