| 45 | |
| 46 | |
| 47 | void cPixmap::SetSize(int a_Width, int a_Height) |
| 48 | { |
| 49 | delete m_Pixels; |
| 50 | m_Pixels = new int[a_Width * a_Height]; |
| 51 | m_Width = a_Width; |
| 52 | m_Height = a_Height; |
| 53 | m_Stride = m_Width; // Currently we don't need a special stride value, but let's support it for the future :) |
| 54 | } |
| 55 | |
| 56 | |
| 57 |