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

Class image

src/types.hpp:44–55  ·  view source on GitHub ↗

image: * * This is a simple structure for holding image data. It consists * of a datablock with the actual pixels, width & height values, * and a stride value. The stride value specifies how many bytes each * image row contains. The pixels are assumed to be 32-bit RGBA * formatted:. */

Source from the content-addressed store, hash-verified

42 * formatted:.
43 */
44struct image
45{
46 datablock m_pixels;
47 unsigned long m_width, m_height, m_stride;
48
49 image();
50 image(image &&p_other);
51 image(image const &p_other);
52
53 image& operator = (image &&p_other);
54 image& operator = (image const &p_other);
55};
56
57
58bool is_valid(image const &p_image);

Callers 1

load_pngFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected