C# Class CrystalMpq.DataFormats.Surface.Wrapper

Base class for wrapping a Surface inside another one.
Inherit this class for defining a new type of surface that itself contains no data.
Inheritance: Surface
Show file Open project: sgraf812/crystalmpq

Public Methods

Method Description
CreateStream ( ) : Stream
ToArray ( ) : byte[]
Wrapper ( Surface surface ) : System

Protected Methods

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

Method Details

CopyToArgbInternal() protected final method

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

CreateStream() public final method

public final CreateStream ( ) : Stream
return Stream

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

LockInternal() protected final method

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

ToArray() public final method

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

UnlockInternal() protected final method

protected final UnlockInternal ( ) : void
return void

Wrapper() public method

public Wrapper ( Surface surface ) : System
surface Surface
return System