C# Class CrystalMpq.DataFormats.ArgbSurface

Inheritance: Surface
Afficher le fichier Open project: sgraf812/crystalmpq

Méthodes publiques

Méthode Description
ArgbSurface ( Surface surface ) : System
ArgbSurface ( SurfaceData surfaceData, bool alphaPremultiplied = false ) : System
ArgbSurface ( byte rawData, int width, int height, bool alphaPremultiplied = false, bool sharedBuffer = false ) : System
ArgbSurface ( int width, int height, bool alphaPremultiplied = false ) : System
Clone ( ) : object
CreateStream ( ) : Stream

Creates a stream for accessing the surface data.

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

ToArray ( ) : byte[]

Méthodes protégées

Méthode Description
CopyToArgbInternal ( SurfaceData surfaceData ) : void
LockInternal ( int &stride ) : IntPtr
UnlockInternal ( ) : void

Method Details

ArgbSurface() public méthode

public ArgbSurface ( Surface surface ) : System
surface Surface
Résultat System

ArgbSurface() public méthode

public ArgbSurface ( SurfaceData surfaceData, bool alphaPremultiplied = false ) : System
surfaceData SurfaceData
alphaPremultiplied bool
Résultat System

ArgbSurface() public méthode

public ArgbSurface ( byte rawData, int width, int height, bool alphaPremultiplied = false, bool sharedBuffer = false ) : System
rawData byte
width int
height int
alphaPremultiplied bool
sharedBuffer bool
Résultat System

ArgbSurface() public méthode

public ArgbSurface ( int width, int height, bool alphaPremultiplied = false ) : System
width int
height int
alphaPremultiplied bool
Résultat System

Clone() public méthode

public Clone ( ) : object
Résultat object

CopyToArgbInternal() protected méthode

protected CopyToArgbInternal ( SurfaceData surfaceData ) : void
surfaceData SurfaceData
Résultat void

CreateStream() public méthode

Creates a stream for accessing the surface data.
The returned stream can be used for reading or modifying the surface data.
public CreateStream ( ) : Stream
Résultat Stream

LockInternal() protected méthode

protected LockInternal ( int &stride ) : IntPtr
stride int
Résultat System.IntPtr

ToArray() public méthode

public ToArray ( ) : byte[]
Résultat byte[]

UnlockInternal() protected méthode

protected UnlockInternal ( ) : void
Résultat void