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

Function OpGetColor

libop/c_api/op_c_api.cpp:747–749  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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); });
749}
750
751int OP_CALL OpGetColorNum(op_handle handle, int x1, int y1, int x2, int y2, const wchar_t *color, double sim) {
752 return call_ret(handle, [&](op::Op &op, long *ret) { op.GetColorNum(x1, y1, x2, y2, safe_text(color), sim, ret); });

Callers

nothing calls this directly

Calls 2

call_stringFunction · 0.85
GetColorMethod · 0.45

Tested by

no test coverage detected