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

Method FetchWordsByRects

libop/com/OpAutomation.cpp:1128–1136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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) {
1130 if (!ret_str)
1131 return E_POINTER;
1132
1133 wstring s;
1134 obj.FetchWordsByRects(x1, y1, x2, y2, color, sim, words, rects, s);
1135 return CopyOutBstr(ret_str, s);
1136}
1137
1138STDMETHODIMP OpAutomation::GetBinaryPreview(LONG x1, LONG y1, LONG x2, LONG y2, BSTR color, DOUBLE sim,
1139 BSTR *ret_str, LONG *ret) {

Callers 1

OpFetchWordsByRectsFunction · 0.45

Calls 1

CopyOutBstrFunction · 0.85

Tested by

no test coverage detected