C# Class CrystalMpq.DataFormats.JpegSurface

Inheritance: Surface
Mostra file Open project: sgraf812/crystalmpq

Public Methods

Method Description
Clone ( ) : object
CreateStream ( ) : Stream

Creates a stream for accessing the surface data.

The returned stream can be used for reading the surface data.

JpegSurface ( byte rawData, int width, int height, bool shareBuffer = false ) : System
ToArray ( ) : byte[]

Protected Methods

Method Description
CopyToArgbInternal ( SurfaceData surfaceData ) : void
LockInternal ( int &stride ) : IntPtr
UnlockInternal ( ) : void

Method Details

Clone() public method

public Clone ( ) : object
return object

CopyToArgbInternal() protected method

protected CopyToArgbInternal ( SurfaceData surfaceData ) : void
surfaceData SurfaceData
return void

CreateStream() public method

Creates a stream for accessing the surface data.
The returned stream can be used for reading the surface data.
public CreateStream ( ) : Stream
return Stream

JpegSurface() public method

public JpegSurface ( byte rawData, int width, int height, bool shareBuffer = false ) : System
rawData byte
width int
height int
shareBuffer bool
return System

LockInternal() protected method

protected LockInternal ( int &stride ) : IntPtr
stride int
return System.IntPtr

ToArray() public method

public ToArray ( ) : byte[]
return byte[]

UnlockInternal() protected method

protected UnlockInternal ( ) : void
return void