MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / MaaImageBufferWidth

Function MaaImageBufferWidth

source/Common/MaaBuffer.cpp:218–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218int32_t MaaImageBufferWidth(const MaaImageBuffer* handle)
219{
220 if (!handle) {
221 LogError << "handle is null";
222 return 0;
223 }
224
225 return handle->width();
226}
227
228int32_t MaaImageBufferHeight(const MaaImageBuffer* handle)
229{

Callers 2

my_recoFunction · 0.85
save_screenshotFunction · 0.85

Calls

no outgoing calls

Tested by 1

save_screenshotFunction · 0.68