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

Function OpFetchWordsEx

libop/c_api/op_c_api.cpp:1167–1172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1165}
1166
1167const wchar_t *OP_CALL OpFetchWordsEx(op_handle handle, int x1, int y1, int x2, int y2, const wchar_t *color,
1168 double sim, const wchar_t *words, int min_word_w, int min_word_h, int padding) {
1169 return call_string(handle, [&](op::Op &op, std::wstring &ret) {
1170 op.FetchWordsEx(x1, y1, x2, y2, safe_text(color), sim, safe_text(words), min_word_w, min_word_h, padding, ret);
1171 });
1172}
1173
1174const wchar_t *OP_CALL OpFetchWordsByRects(op_handle handle, int x1, int y1, int x2, int y2, const wchar_t *color,
1175 double sim, const wchar_t *words, const wchar_t *rects) {

Callers 1

TESTFunction · 0.85

Calls 3

call_stringFunction · 0.85
safe_textFunction · 0.85
FetchWordsExMethod · 0.45

Tested by 1

TESTFunction · 0.68