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

Method ExtractWordRectsEx

libop/com/OpAutomation.cpp:1098–1106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1096}
1097
1098STDMETHODIMP OpAutomation::ExtractWordRectsEx(LONG x1, LONG y1, LONG x2, LONG y2, BSTR color, DOUBLE sim,
1099 LONG min_word_w, LONG min_word_h, LONG padding, BSTR *ret_str) {
1100 if (!ret_str)
1101 return E_POINTER;
1102
1103 wstring s;
1104 obj.ExtractWordRectsEx(x1, y1, x2, y2, color, sim, min_word_w, min_word_h, padding, s);
1105 return CopyOutBstr(ret_str, s);
1106}
1107
1108STDMETHODIMP OpAutomation::FetchWords(LONG x1, LONG y1, LONG x2, LONG y2, BSTR color, DOUBLE sim, BSTR words,
1109 LONG min_word_h, BSTR *ret_str) {

Callers 1

OpExtractWordRectsExFunction · 0.45

Calls 1

CopyOutBstrFunction · 0.85

Tested by

no test coverage detected