| 307 | } |
| 308 | |
| 309 | void ImageSearchAlgorithms::set_offset(int x1, int y1) { |
| 310 | _x1 = x1; |
| 311 | _y1 = y1; |
| 312 | } |
| 313 | |
| 314 | long ImageSearchAlgorithms::GetPixel(long x, long y, color_t &cr) { |
| 315 | const int local_x = static_cast<int>(x) - _x1 - _dx; |
no outgoing calls
no test coverage detected