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

Method FetchWordsEx

libop/com/OpAutomation.cpp:1118–1126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1116}
1117
1118STDMETHODIMP OpAutomation::FetchWordsEx(LONG x1, LONG y1, LONG x2, LONG y2, BSTR color, DOUBLE sim, BSTR words,
1119 LONG min_word_w, LONG min_word_h, LONG padding, BSTR *ret_str) {
1120 if (!ret_str)
1121 return E_POINTER;
1122
1123 wstring s;
1124 obj.FetchWordsEx(x1, y1, x2, y2, color, sim, words, min_word_w, min_word_h, padding, s);
1125 return CopyOutBstr(ret_str, s);
1126}
1127
1128STDMETHODIMP OpAutomation::FetchWordsByRects(LONG x1, LONG y1, LONG x2, LONG y2, BSTR color, DOUBLE sim, BSTR words,
1129 BSTR rects, BSTR *ret_str) {

Callers 1

OpFetchWordsExFunction · 0.45

Calls 1

CopyOutBstrFunction · 0.85

Tested by

no test coverage detected