C# Class NScumm.Scumm.Graphics.PixelNavigator

显示文件 Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
GoTo ( int x, int y ) : void
GoToIgnoreBytesByPixel ( int x, int y ) : void
Offset ( int x, int y ) : void
OffsetX ( int x ) : void
OffsetY ( int y ) : void
PixelNavigator ( PixelNavigator navigator ) : NScumm.Core
PixelNavigator ( Surface surface ) : NScumm.Core
PixelNavigator ( byte pixels, int width, int bytesByPixel ) : NScumm.Core
Read ( ) : byte
Read ( int offset ) : byte
ReadUInt16 ( ) : ushort
Set ( byte data, int length ) : void
Set ( uint data, int length ) : void
Set ( ushort data, int length ) : void
Write ( byte data ) : void
Write ( int offset, byte data ) : void
WriteUInt16 ( int offset, ushort data ) : void
WriteUInt16 ( ushort data ) : void

Method Details

GoTo() public method

public GoTo ( int x, int y ) : void
x int
y int
return void

GoToIgnoreBytesByPixel() public method

public GoToIgnoreBytesByPixel ( int x, int y ) : void
x int
y int
return void

Offset() public method

public Offset ( int x, int y ) : void
x int
y int
return void

OffsetX() public method

public OffsetX ( int x ) : void
x int
return void

OffsetY() public method

public OffsetY ( int y ) : void
y int
return void

PixelNavigator() public method

public PixelNavigator ( PixelNavigator navigator ) : NScumm.Core
navigator PixelNavigator
return NScumm.Core

PixelNavigator() public method

public PixelNavigator ( Surface surface ) : NScumm.Core
surface NScumm.Core.Graphics.Surface
return NScumm.Core

PixelNavigator() public method

public PixelNavigator ( byte pixels, int width, int bytesByPixel ) : NScumm.Core
pixels byte
width int
bytesByPixel int
return NScumm.Core

Read() public method

public Read ( ) : byte
return byte

Read() public method

public Read ( int offset ) : byte
offset int
return byte

ReadUInt16() public method

public ReadUInt16 ( ) : ushort
return ushort

Set() public method

public Set ( byte data, int length ) : void
data byte
length int
return void

Set() public method

public Set ( uint data, int length ) : void
data uint
length int
return void

Set() public method

public Set ( ushort data, int length ) : void
data ushort
length int
return void

Write() public method

public Write ( byte data ) : void
data byte
return void

Write() public method

public Write ( int offset, byte data ) : void
offset int
data byte
return void

WriteUInt16() public method

public WriteUInt16 ( int offset, ushort data ) : void
offset int
data ushort
return void

WriteUInt16() public method

public WriteUInt16 ( ushort data ) : void
data ushort
return void