PDA

View Full Version : Bug: DrawArc don't draw negative angles.


nillo
08-09-2010, 12:11 PM
release: wdl_20100714
Function on line 302 in lice_arc.cpp
Is it obsolete?

Anyway. Quick fix:
Put this into line 322:
if (anglo < 0.0f && anghi < 0.0f )
{
DrawArc(dest, cx, cy, rad, anglo+2.0*_PI, anghi+2.0*_PI, color, ialpha, aa);
return;
}

Where do I report this bugs?

nillo
08-09-2010, 02:57 PM
Written "Is it obsolete?" because it seems it hasn't been addressed before...
Or is it just me that's being picky and don't understand that it's a feature.

RRokkenAudio
08-09-2010, 06:51 PM
While I have no experience with your answer..Hang on, it takes awhile lol, not too many Iplug users yet :)

~Rob.

nillo
08-11-2010, 10:33 AM
Seems so :).

RRokkenAudio
08-11-2010, 10:39 AM
Heh, well, I think I ate my words lol... I have just gotten into line drawing and haven't looked at draw arc yet(as I'm not too sure about the coordinates it takes)... Are you using the latest WDL, there was just one release a bit ago.. Not sure, you may have the up to date one.. Hmm actually I was using Iplugs draw line.. seems this is LICE? How do you use lice directly?

~Rob.