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

Function OpFindColorBlockEx

libop/c_api/op_c_api.cpp:740–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

738}
739
740const wchar_t *OP_CALL OpFindColorBlockEx(op_handle handle, int x1, int y1, int x2, int y2, const wchar_t *color,
741 double sim, int count, int height, int width) {
742 return call_string(handle, [&](op::Op &op, std::wstring &ret) {
743 op.FindColorBlockEx(x1, y1, x2, y2, safe_text(color), sim, count, height, width, ret);
744 });
745}
746
747const wchar_t *OP_CALL OpGetColor(op_handle handle, int x, int y) {
748 return call_string(handle, [&](op::Op &op, std::wstring &ret) { op.GetColor(x, y, ret); });

Callers

nothing calls this directly

Calls 3

call_stringFunction · 0.85
safe_textFunction · 0.85
FindColorBlockExMethod · 0.45

Tested by

no test coverage detected