Vital Posted September 23, 2012 Share Posted September 23, 2012 New variables are appeared at this function after 3.35. changelog:function FindColorSpiralTol(const SX, SY: Integer; out X, Y: Integer; const Color, XS, YS, XE, YE, Tol: Integer): Boolean; what are constants SX, SY mean? how to use them? Manual has no article for this function yet:http://wiki.scar-divi.com/index.php?title=FindColorSpiralTol Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted September 23, 2012 Share Posted September 23, 2012 Just guessing Sx, Sy are the point you want to start searching outwards from. If it behaves as the old did, then if (Sx,Sy) = (0,0) it will simply search from the center of the box (Xs, Ys, Xe, Ye). Quote Link to comment Share on other sites More sharing options...
Vital Posted September 23, 2012 Author Share Posted September 23, 2012 It works! Thank you! Quote Link to comment Share on other sites More sharing options...
FHannes Posted September 23, 2012 Share Posted September 23, 2012 Just guessing Sx, Sy are the point you want to start searching outwards from. If it behaves as the old did, then if (Sx,Sy) = (0,0) it will simply search from the center of the box (Xs, Ys, Xe, Ye). I believe SX and SY have to be smaller than 0 to start from the center. Quote Link to comment Share on other sites More sharing options...