33 assert((width > 0) && (height > 0));
70 if ((r == g) && (r == b) && (r == a)) {
void fill(byte r, byte g, byte b, byte a)
const MipMap & getMipMap() const
Return a mip map.
PixelFormatRaw _formatRaw
const MipMap & getMipMap(size_t mipMap, size_t layer=0) const
Return a mip map.
An image surface, in BGRA format.
Surface(int width, int height)