MCPcopy Create free account
hub / github.com/WallBreaker2/op / set_offset

Method set_offset

libop/image/ImageSearchAlgorithms.cpp:309–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

CaptureRegionFunction · 0.80
capture_regionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected