C# Class NScumm.Core.Graphics.Surface

Show file Open project: scemino/nscumm Class Usage Examples

Public Methods

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.

Method Details

GetBytesPerPixel() public static method

public static GetBytesPerPixel ( PixelFormat pixelFormat ) : int
pixelFormat PixelFormat
return int

Move() public method

public Move ( int dx, int dy, int height ) : void
dx int
dy int
height int
return void

Surface() public method

Allocate memory for the pixel data of the surface.
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