static public List <Point> checkImageToD3(Bitmap imageToCheck, int number_of_results = 1, int x_speedUp = 1, int y_speedUp = 1, int begin_percent_x = 0, int end_percent_x = 100, int begin_percent_y = 0, int end_percent_y = 100, int fail = 0, LockedFastImage D3 = null) { ImageChecker i; if (D3 != null) { i = new ImageChecker(D3, imageToCheck); } else { Bitmap b = D3ScreenShot(); if (b == null) { return(new List <Point>()); } i = new ImageChecker(b, imageToCheck); } return(i.bigContainsSmall(number_of_results, x_speedUp, y_speedUp, begin_percent_x, end_percent_x, begin_percent_y, end_percent_y, fail)); }
static public List<Point> checkImageToD3(Bitmap imageToCheck, int number_of_results = 1, int x_speedUp = 1, int y_speedUp = 1, int begin_percent_x = 0, int end_percent_x = 100, int begin_percent_y = 0, int end_percent_y = 100, int fail = 0, LockedFastImage D3 = null ) { ImageChecker i; if (D3 != null) { i = new ImageChecker(D3, imageToCheck); } else { Bitmap b = D3ScreenShot(); if (b == null) return new List<Point>(); i = new ImageChecker(b, imageToCheck); } return i.bigContainsSmall(number_of_results, x_speedUp, y_speedUp, begin_percent_x, end_percent_x, begin_percent_y, end_percent_y, fail); }