Pwnd
2006-04-05 08:19:39
Nothing hard. I just thought that since we had ones for color, it wouldn't have been a bad idea to have ones for the bitmaps.
function FindBitMapMSTolRaiser(Bitmap, StartTol, EndTol: integer; var x, y: integer): boolean;
begin
if(FindBitmapTolRaiser(Bitmap, x, y, StartTol, EndTol, MSX1, MSY1, MSX2, MSY2))then
Result:= True;
end;
function FindBitMapMMTolRaiser(Bitmap, StartTol, EndTol: integer; var x, y: integer): boolean;
begin
if(FindBitmapTolRaiser(Bitmap, x, y, StartTol, EndTol, MMX1, MMY1, MMX2, MMY2))then
Result:= True;
end;
function FindBitMapInvTolRaiser(Bitmap, StartTol, EndTol: integer; var x, y: integer): boolean;
begin
if(FindBitmapTolRaiser(Bitmap, x, y, StartTol, EndTol, MIX1, MIY1, MIX2, MIY2))then
Result:= True;
end;
function FindBitMapInv(Bitmap, StartTol, EndTol: integer; var x, y: integer): boolean;
begin
if(FindBitmapTolRaiser(Bitmap, x, y, StartTol, EndTol, MIX1, MIY1, MIX2, MIY2))then
Result:= True;
end;
function FindBitMapMS(Bitmap, StartTol, EndTol: integer; var x, y: integer): boolean;
begin
if(FindBitmapTolRaiser(Bitmap, x, y, StartTol, EndTol, MSX1, MSY1, MSX2, MSY2))then
Result:= True;
end;
function FindBitMapMM(Bitmap, StartTol, EndTol: integer; var x, y: integer): boolean;
begin
if(FindBitmapTolRaiser(Bitmap, x, y, StartTol, EndTol, MMX1, MMY1, MMX2, MMY2))then
Result:= True;
end;
Like I said, nothing difficult at all. I just changed the coords around, basically :\