C# Class PixelFarm.Agg.Imaging.PixelBlenderGray

Inheritance: IPixelBlender
Mostrar archivo Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
BlendPixel ( byte pDestBuffer, int bufferOffset, Color sourceColor ) : void
BlendPixels ( byte destBuffer, int bufferOffset, Color sourceColors, int sourceColorsOffset, byte covers, int coversIndex, bool firstCoverForAll, int count ) : void
CopyPixel ( byte pDestBuffer, int bufferOffset, Color sourceColor ) : void
CopyPixels ( byte pDestBuffer, int bufferOffset, Color sourceColor, int count ) : void
PixelBlenderGray ( int bytesBetweenPixelsInclusive ) : System
PixelToColorRGBA_Bytes ( byte buffer, int bufferOffset ) : Color

Method Details

BlendPixel() public method

public BlendPixel ( byte pDestBuffer, int bufferOffset, Color sourceColor ) : void
pDestBuffer byte
bufferOffset int
sourceColor Color
return void

BlendPixels() public method

public BlendPixels ( byte destBuffer, int bufferOffset, Color sourceColors, int sourceColorsOffset, byte covers, int coversIndex, bool firstCoverForAll, int count ) : void
destBuffer byte
bufferOffset int
sourceColors Color
sourceColorsOffset int
covers byte
coversIndex int
firstCoverForAll bool
count int
return void

CopyPixel() public method

public CopyPixel ( byte pDestBuffer, int bufferOffset, Color sourceColor ) : void
pDestBuffer byte
bufferOffset int
sourceColor Color
return void

CopyPixels() public method

public CopyPixels ( byte pDestBuffer, int bufferOffset, Color sourceColor, int count ) : void
pDestBuffer byte
bufferOffset int
sourceColor Color
count int
return void

PixelBlenderGray() public method

public PixelBlenderGray ( int bytesBetweenPixelsInclusive ) : System
bytesBetweenPixelsInclusive int
return System

PixelToColorRGBA_Bytes() public method

public PixelToColorRGBA_Bytes ( byte buffer, int bufferOffset ) : Color
buffer byte
bufferOffset int
return Color