| 1165 | } |
| 1166 | |
| 1167 | const 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 | |
| 1174 | const 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) { |