MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / SetSize

Method SetSize

common/Image.h:75–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 }
74
75 void SetSize(u32 new_width, u32 new_height, PixelType fill_value = static_cast<PixelType>(0))
76 {
77 m_width = new_width;
78 m_height = new_height;
79 m_pixels.resize(new_width * new_height);
80 Clear(fill_value);
81 }
82
83 void SetPixels(u32 width, u32 height, const PixelType* pixels)
84 {

Callers 1

WrapJPEGDecompressFunction · 0.45

Calls 2

ClearFunction · 0.50
resizeMethod · 0.45

Tested by

no test coverage detected