36 : d_pixels(0), d_length(0), d_width(width), d_height(height), d_currentOffset(0), d_format(PF_RGBA)
61 assert(0 &&
"ASSERT: Not yet implemented");
65 d_pixels[d_currentOffset++] = red;
66 d_pixels[d_currentOffset++] = green;
67 d_pixels[d_currentOffset++] = bleu;
71 d_pixels[d_currentOffset++] = red;
72 d_pixels[d_currentOffset++] = green;
73 d_pixels[d_currentOffset++] = bleu;
74 d_pixels[d_currentOffset++] = alpha;
79 inline size_t ImageContext::getWidth()
const
84 inline void ImageContext::setWidth(
size_t width)
89 inline size_t ImageContext::getHeight()
const
94 inline void ImageContext::setHeight(
size_t height)
98 inline PixelFormat ImageContext::getPixelFormat()
const