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

Method ExtractWordRects

libop/com/OpAutomation.cpp:1088–1096  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1086}
1087
1088STDMETHODIMP OpAutomation::ExtractWordRects(LONG x1, LONG y1, LONG x2, LONG y2, BSTR color, DOUBLE sim,
1089 LONG min_word_h, BSTR *ret_str) {
1090 if (!ret_str)
1091 return E_POINTER;
1092
1093 wstring s;
1094 obj.ExtractWordRects(x1, y1, x2, y2, color, sim, min_word_h, s);
1095 return CopyOutBstr(ret_str, s);
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) {

Callers 1

OpExtractWordRectsFunction · 0.45

Calls 1

CopyOutBstrFunction · 0.85

Tested by

no test coverage detected