public BufferImage ( int width, int height ) : System | ||
width | int | |
height | int | |
리턴 | System |
public BufferImage(int width, int height)
{
this.width = width;
this.height = height;
this.buf = (int*)System.Runtime.InteropServices.Marshal.AllocHGlobal(width * height * 4);
this.stride = width * 4;
this.pitch = width;
}
BufferImage::BufferImage ( |
|
BufferImage::BufferImage ( int width, int height, int pixels ) : System |