C# Class PixelFarm.Agg.Imaging.BlenderGrayFromRed

Inheritance: IPixelBlender
Exibir arquivo Open project: prepare/HTML-Renderer

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
BlenderGrayFromRed ( int bytesBetweenPixelsInclusive ) : System
CopyPixel ( byte pDestBuffer, int bufferOffset, Color sourceColor ) : void
CopyPixels ( byte pDestBuffer, int bufferOffset, Color sourceColor, int count ) : void
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

BlenderGrayFromRed() public method

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

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

PixelToColorRGBA_Bytes() public method

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