I am want to do the following :
1) Find Color Under A TPA. <-- Can Do..
2)Find Middle Of IT. <-- Can Do..
3)Turn That middle point Into a BOX. <-- Having Trouble....
SCAR Code:FindColorsSpiralTolerance(Round(259.5), Round(170.5), TPA, RockAutoColor, MSX1, MSY1, MSX2, MSY2, 15);
FilterPointsPie(TPA, 0, 360, 0, 170, Round(250.5), Round(170.5));
TP := MiddleTPA(TPA);
TB := IntToBox(TP.x + 10, TP.y + 10, TP.x - 10, TP.y - 10);
FindColorsTolerance(TPA, RockAutoColor, TB.x1, TB.y1, TB.x2, TB.y2, 10);


....
Reply With Quote








