MCPcopy Create free account
hub / github.com/OSSystems/EasySplash / is_valid

Function is_valid

src/types.cpp:70–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69
70bool is_valid(image const &p_image)
71{
72 return (p_image.m_width != 0) && (p_image.m_height != 0) && (p_image.m_stride != 0) && !(p_image.m_pixels.empty());
73}
74
75
76} // namespace easysplash end

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected