C# 클래스 CrystalMpq.DataFormats.PaletteSurface

상속: Surface
파일 보기 프로젝트 열기: sgraf812/crystalmpq

공개 메소드들

메소드 설명
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.

PaletteSurface ( ArgbColor palette, int width, int height, bool opaque = true, byte separateAlphaBitCount, bool alphaPremultiplied = false, bool sharePalette = false ) : System
PaletteSurface ( byte rawData, ArgbColor palette, int width, int height, bool opaque = true, byte separateAlphaBitCount, bool alphaPremultiplied = false, bool shareBuffer = false, bool sharePalette = false ) : System
ToArray ( ) : byte[]

Gets a copy of the buffer's contents.

보호된 메소드들

메소드 설명
CopyToArgbInternal ( SurfaceData surfaceData ) : void
LockInternal ( int &stride ) : IntPtr
UnlockInternal ( ) : void

비공개 메소드들

메소드 설명
CopyToArgbAlpha1 ( SurfaceData surfaceData ) : void
CopyToArgbAlpha4 ( SurfaceData surfaceData ) : void
CopyToArgbAlpha8 ( SurfaceData surfaceData ) : void
CopyToArgbOpaque ( SurfaceData surfaceData ) : void
CopyToArgbTransparent ( SurfaceData surfaceData ) : void
GetAlphaBitCount ( bool opaque, byte separateAlphaBitCount ) : byte

메소드 상세

Clone() 공개 메소드

public Clone ( ) : object
리턴 object

CopyToArgbInternal() 보호된 메소드

protected CopyToArgbInternal ( SurfaceData surfaceData ) : void
surfaceData SurfaceData
리턴 void

CreateStream() 공개 메소드

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

LockInternal() 보호된 메소드

protected LockInternal ( int &stride ) : IntPtr
stride int
리턴 System.IntPtr

PaletteSurface() 공개 메소드

public PaletteSurface ( ArgbColor palette, int width, int height, bool opaque = true, byte separateAlphaBitCount, bool alphaPremultiplied = false, bool sharePalette = false ) : System
palette ArgbColor
width int
height int
opaque bool
separateAlphaBitCount byte
alphaPremultiplied bool
sharePalette bool
리턴 System

PaletteSurface() 공개 메소드

public PaletteSurface ( byte rawData, ArgbColor palette, int width, int height, bool opaque = true, byte separateAlphaBitCount, bool alphaPremultiplied = false, bool shareBuffer = false, bool sharePalette = false ) : System
rawData byte
palette ArgbColor
width int
height int
opaque bool
separateAlphaBitCount byte
alphaPremultiplied bool
shareBuffer bool
sharePalette bool
리턴 System

ToArray() 공개 메소드

Gets a copy of the buffer's contents.
public ToArray ( ) : byte[]
리턴 byte[]

UnlockInternal() 보호된 메소드

protected UnlockInternal ( ) : void
리턴 void