C# Class NScumm.Core.Graphics.Surface

Afficher le fichier Open project: scemino/nscumm Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public static GetBytesPerPixel ( PixelFormat pixelFormat ) : int
pixelFormat PixelFormat
Résultat int

Move() public méthode

public Move ( int dx, int dy, int height ) : void
dx int
dy int
height int
Résultat void

Surface() public méthode

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
Résultat System