Method | Description | |
---|---|---|
GetBytesPerPixel ( PixelFormat pixelFormat ) : int | ||
Move ( int dx, int dy, int height ) : void | ||
Surface ( int width, int height, PixelFormat format, bool trick ) : System |
Allocate memory for the pixel data of the surface.
|
public static GetBytesPerPixel ( PixelFormat pixelFormat ) : int | ||
pixelFormat | PixelFormat | |
return | int |
public Move ( int dx, int dy, int height ) : void | ||
dx | int | |
dy | int | |
height | int | |
return | void |
public Surface ( int width, int height, PixelFormat format, bool trick ) : System | ||
width | int | Width of the surface object. |
height | int | Height of the surface objec.t |
format | PixelFormat | The pixel format the surface should use. |
trick | bool | |
return | System |