C# Класс NScumm.Core.Graphics.Surface

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

GetBytesPerPixel() публичный статический Метод

public static GetBytesPerPixel ( PixelFormat pixelFormat ) : int
pixelFormat PixelFormat
Результат int

Move() публичный Метод

public Move ( int dx, int dy, int height ) : void
dx int
dy int
height int
Результат void

Surface() публичный Метод

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
Результат System