C# Класс CrystalMpq.DataFormats.PaletteSurface

Наследование: Surface
Показать файл Открыть проект

Открытые методы

Метод Описание
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