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

Method FindPicEx

libop/com/OpAutomation.cpp:841–851  ·  view source on GitHub ↗

查找多个图片

Source from the content-addressed store, hash-verified

839}
840// 查找多个图片
841STDMETHODIMP OpAutomation::FindPicEx(LONG x1, LONG y1, LONG x2, LONG y2, BSTR files, BSTR delta_color, DOUBLE sim,
842 LONG dir, BSTR *retstr) {
843 wstring s;
844 obj.FindPicEx(x1, y1, x2, y2, files, delta_color, sim, dir, s);
845
846 CComBSTR newstr;
847 HRESULT hr;
848 newstr.Append(s.data());
849 hr = newstr.CopyTo(retstr);
850 return hr;
851}
852// 这个函数可以查找多个图片, 并且返回所有找到的图像的坐标.此函数同FindPicEx.只是返回值不同.(file1, x, y | file2, x, y |
853// ...)
854STDMETHODIMP OpAutomation::FindPicExS(LONG x1, LONG y1, LONG x2, LONG y2, BSTR files, BSTR delta_color, DOUBLE sim,

Callers 1

OpFindPicExFunction · 0.45

Calls 2

CopyToMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected