C# 클래스 SimplePaletteQuantizer.Helpers.Pixel

This is a pixel format independent pixel.
상속: IDisposable
파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Pixel ( ImageBuffer parent ) : System

Initializes a new instance of the Pixel struct.

ReadData ( Byte buffer, Int32 offset ) : void

Reads the data.

ReadRawData ( IntPtr imagePointer ) : void

Reads the raw data.

Update ( Int32 x, Int32 y ) : void
WriteData ( Byte buffer, Int32 offset ) : void

Writes the data.

WriteRawData ( IntPtr imagePointer ) : void

Writes the raw data.

비공개 메소드들

메소드 설명
GetIndexedType ( PixelFormat pixelFormat ) : Type

Gets the type of the indexed pixel format.

GetNonIndexedType ( PixelFormat pixelFormat ) : Type

Gets the type of the non-indexed pixel format.

Initialize ( ) : void
MarshalToPointer ( Object data ) : IntPtr

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Pixel() 공개 메소드

Initializes a new instance of the Pixel struct.
public Pixel ( ImageBuffer parent ) : System
parent ImageBuffer
리턴 System

ReadData() 공개 메소드

Reads the data.
public ReadData ( Byte buffer, Int32 offset ) : void
buffer Byte The buffer.
offset System.Int32 The offset.
리턴 void

ReadRawData() 공개 메소드

Reads the raw data.
public ReadRawData ( IntPtr imagePointer ) : void
imagePointer System.IntPtr The image pointer.
리턴 void

Update() 공개 메소드

public Update ( Int32 x, Int32 y ) : void
x System.Int32 The X coordinate.
y System.Int32 The Y coordinate.
리턴 void

WriteData() 공개 메소드

Writes the data.
public WriteData ( Byte buffer, Int32 offset ) : void
buffer Byte The buffer.
offset System.Int32 The offset.
리턴 void

WriteRawData() 공개 메소드

Writes the raw data.
public WriteRawData ( IntPtr imagePointer ) : void
imagePointer System.IntPtr The image pointer.
리턴 void