SRL Archive - SRL Archives

FindColorSpiralToleranceDOB


Ace

2006-05-27 09:02:42

function FindColorSpiralToleranceDOB(var x, y: Integer; Color1, Color2, xs, ys, xe, ye, Tolerance: Integer): Boolean;
begin
if(FindColorSpiralTolerance(x, y, Color1, xs, yx, xe, ye, Tolerance))or
(FindColorSpiralTolerance(x, y, Color2, xs, yx, xe, ye, Tolerance))then
result:= true;
end;

Works exactly like 'FindColorToleranceDOB' except obviously it uses a spiral search instead of just a cubic search. :p

pups

2006-05-27 09:07:28

Who needs it?

XxKanexX

2006-05-27 09:19:51

I only wrote FindColorToleranceDOB for a procedure of mine in SRL. So it was quite pointless. ;)

Ace

2006-05-27 14:06:48

From: XxKanexX
I only wrote FindColorToleranceDOB for a procedure of mine in SRL. So it was quite pointless. ;)

I only wrote FindColorSpiralToleranceDOB because I was bored. :p