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

Method GetColor

libop/com/OpAutomation.cpp:886–894  ·  view source on GitHub ↗

获取(x,y)的颜色

Source from the content-addressed store, hash-verified

884}
885// 获取(x,y)的颜色
886STDMETHODIMP OpAutomation::GetColor(LONG x, LONG y, BSTR *ret) {
887 wstring s;
888 obj.GetColor(x, y, s);
889
890 CComBSTR newstr;
891 newstr.Append(s.data());
892 newstr.CopyTo(ret);
893 return S_OK;
894}
895
896STDMETHODIMP OpAutomation::SetDisplayInput(BSTR mode, LONG *ret) {
897 obj.SetDisplayInput(mode, ret);

Callers 1

OpGetColorFunction · 0.45

Calls 2

CopyToMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected