C# Класс PixelFarm.Agg.ImageReaderWriterBase

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

Открытые свойства

Свойство Тип Описание
dbugId int

Защищенные свойства (Protected)

Свойство Тип Описание
bufferFirstPixel int
m_ByteBuffer byte[]

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

Метод Описание
BlendColorHSpan ( int x, int y, int len, Color colors, int colorsIndex, byte covers, int coversIndex, bool firstCoverForAll ) : void
BlendColorVSpan ( int x, int y, int len, Color colors, int colorsIndex, byte covers, int coversIndex, bool firstCoverForAll ) : void
BlendHL ( int x1, int y, int x2, Color sourceColor, byte cover ) : void
BlendSolidHSpan ( int x, int y, int len, Color sourceColor, byte covers, int coversIndex ) : void
BlendSolidVSpan ( int x, int y, int len, Color sourceColor, byte covers, int coversIndex ) : void
BlendVL ( int x, int y1, int y2, Color sourceColor, byte cover ) : void
CopyColorHSpan ( int x, int y, int len, Color colors, int colorsIndex ) : void
CopyColorVSpan ( int x, int y, int len, Color colors, int colorsIndex ) : void
CopyFrom ( IImageReaderWriter sourceImage, RectInt sourceImageRect, int destXOffset, int destYOffset ) : void
CopyHL ( int x, int y, int len, Color sourceColor ) : void
CopySubBufferToInt32Array ( ImageReaderWriterBase buff, int mx, int my, int w, int h, int buffer ) : void
CopyVL ( int x, int y, int len, Color sourceColor ) : void
GetBoundingRect ( ) : RectInt
GetBounds ( ) : RectInt
GetBuffer ( ) : byte[]
GetBufferOffsetXY ( int x, int y ) : int
GetPixel ( int x, int y ) : Color
GetRecieveBlender ( ) : IPixelBlender
SetPixel ( int x, int y, Color color ) : void
SetRecieveBlender ( IPixelBlender value ) : void

Защищенные методы

Метод Описание
Attach ( int width, int height, int bitsPerPixel, byte imgbuffer, IPixelBlender recieveBlender ) : void
SetDimmensionAndFormat ( int width, int height, int strideInBytes, int bitDepth, int distanceInBytesBetweenPixelsInclusive ) : void
SetUpLookupTables ( ) : void

Приватные методы

Метод Описание
CopyFromNoClipping ( IImageReaderWriter sourceImage, RectInt clippedSourceImageRect, int destXOffset, int destYOffset ) : void
CopyOrBlend_BasedOnAlpha ( IPixelBlender recieveBlender, byte destBuffer, int bufferOffset, Color sourceColor ) : void
CopyOrBlend_BasedOnAlphaAndCover ( IPixelBlender recieveBlender, byte destBuffer, int bufferOffset, Color sourceColor, int cover ) : void
dbugGetNewDebugId ( ) : int

Описание методов

Attach() защищенный Метод

protected Attach ( int width, int height, int bitsPerPixel, byte imgbuffer, IPixelBlender recieveBlender ) : void
width int
height int
bitsPerPixel int
imgbuffer byte
recieveBlender IPixelBlender
Результат void

BlendColorHSpan() публичный Метод

public BlendColorHSpan ( int x, int y, int len, Color colors, int colorsIndex, byte covers, int coversIndex, bool firstCoverForAll ) : void
x int
y int
len int
colors Color
colorsIndex int
covers byte
coversIndex int
firstCoverForAll bool
Результат void

BlendColorVSpan() публичный Метод

public BlendColorVSpan ( int x, int y, int len, Color colors, int colorsIndex, byte covers, int coversIndex, bool firstCoverForAll ) : void
x int
y int
len int
colors Color
colorsIndex int
covers byte
coversIndex int
firstCoverForAll bool
Результат void

BlendHL() публичный Метод

public BlendHL ( int x1, int y, int x2, Color sourceColor, byte cover ) : void
x1 int
y int
x2 int
sourceColor Color
cover byte
Результат void

BlendSolidHSpan() публичный Метод

public BlendSolidHSpan ( int x, int y, int len, Color sourceColor, byte covers, int coversIndex ) : void
x int
y int
len int
sourceColor Color
covers byte
coversIndex int
Результат void

BlendSolidVSpan() публичный Метод

public BlendSolidVSpan ( int x, int y, int len, Color sourceColor, byte covers, int coversIndex ) : void
x int
y int
len int
sourceColor Color
covers byte
coversIndex int
Результат void

BlendVL() публичный Метод

public BlendVL ( int x, int y1, int y2, Color sourceColor, byte cover ) : void
x int
y1 int
y2 int
sourceColor Color
cover byte
Результат void

CopyColorHSpan() публичный Метод

public CopyColorHSpan ( int x, int y, int len, Color colors, int colorsIndex ) : void
x int
y int
len int
colors Color
colorsIndex int
Результат void

CopyColorVSpan() публичный Метод

public CopyColorVSpan ( int x, int y, int len, Color colors, int colorsIndex ) : void
x int
y int
len int
colors Color
colorsIndex int
Результат void

CopyFrom() публичный Метод

public CopyFrom ( IImageReaderWriter sourceImage, RectInt sourceImageRect, int destXOffset, int destYOffset ) : void
sourceImage IImageReaderWriter
sourceImageRect RectInt
destXOffset int
destYOffset int
Результат void

CopyHL() публичный Метод

public CopyHL ( int x, int y, int len, Color sourceColor ) : void
x int
y int
len int
sourceColor Color
Результат void

CopySubBufferToInt32Array() публичный статический Метод

public static CopySubBufferToInt32Array ( ImageReaderWriterBase buff, int mx, int my, int w, int h, int buffer ) : void
buff ImageReaderWriterBase
mx int
my int
w int
h int
buffer int
Результат void

CopyVL() публичный Метод

public CopyVL ( int x, int y, int len, Color sourceColor ) : void
x int
y int
len int
sourceColor Color
Результат void

GetBoundingRect() публичный Метод

public GetBoundingRect ( ) : RectInt
Результат RectInt

GetBounds() публичный Метод

public GetBounds ( ) : RectInt
Результат RectInt

GetBuffer() публичный Метод

public GetBuffer ( ) : byte[]
Результат byte[]

GetBufferOffsetXY() публичный Метод

public GetBufferOffsetXY ( int x, int y ) : int
x int
y int
Результат int

GetPixel() публичный Метод

public GetPixel ( int x, int y ) : Color
x int
y int
Результат Color

GetRecieveBlender() публичный Метод

public GetRecieveBlender ( ) : IPixelBlender
Результат IPixelBlender

SetDimmensionAndFormat() защищенный Метод

protected SetDimmensionAndFormat ( int width, int height, int strideInBytes, int bitDepth, int distanceInBytesBetweenPixelsInclusive ) : void
width int
height int
strideInBytes int
bitDepth int
distanceInBytesBetweenPixelsInclusive int
Результат void

SetPixel() публичный Метод

public SetPixel ( int x, int y, Color color ) : void
x int
y int
color Color
Результат void

SetRecieveBlender() публичный Метод

public SetRecieveBlender ( IPixelBlender value ) : void
value IPixelBlender
Результат void

SetUpLookupTables() защищенный Метод

protected SetUpLookupTables ( ) : void
Результат void

Описание свойств

bufferFirstPixel защищенное свойство

protected int bufferFirstPixel
Результат int

dbugId публичное свойство

public int dbugId
Результат int

m_ByteBuffer защищенное свойство

protected byte[] m_ByteBuffer
Результат byte[]