C# Class PixelFarm.Agg.ImageReaderWriterBase

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

Public Properties

Property Type Description
dbugId int

Protected Properties

Property Type Description
bufferFirstPixel int
m_ByteBuffer byte[]

Public Methods

Method Description
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

Protected Methods

Method Description
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

Private Methods

Method Description
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

Method Details

Attach() protected method

protected Attach ( int width, int height, int bitsPerPixel, byte imgbuffer, IPixelBlender recieveBlender ) : void
width int
height int
bitsPerPixel int
imgbuffer byte
recieveBlender IPixelBlender
return void

BlendColorHSpan() public method

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
return void

BlendColorVSpan() public method

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
return void

BlendHL() public method

public BlendHL ( int x1, int y, int x2, Color sourceColor, byte cover ) : void
x1 int
y int
x2 int
sourceColor Color
cover byte
return void

BlendSolidHSpan() public method

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
return void

BlendSolidVSpan() public method

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
return void

BlendVL() public method

public BlendVL ( int x, int y1, int y2, Color sourceColor, byte cover ) : void
x int
y1 int
y2 int
sourceColor Color
cover byte
return void

CopyColorHSpan() public method

public CopyColorHSpan ( int x, int y, int len, Color colors, int colorsIndex ) : void
x int
y int
len int
colors Color
colorsIndex int
return void

CopyColorVSpan() public method

public CopyColorVSpan ( int x, int y, int len, Color colors, int colorsIndex ) : void
x int
y int
len int
colors Color
colorsIndex int
return void

CopyFrom() public method

public CopyFrom ( IImageReaderWriter sourceImage, RectInt sourceImageRect, int destXOffset, int destYOffset ) : void
sourceImage IImageReaderWriter
sourceImageRect RectInt
destXOffset int
destYOffset int
return void

CopyHL() public method

public CopyHL ( int x, int y, int len, Color sourceColor ) : void
x int
y int
len int
sourceColor Color
return void

CopySubBufferToInt32Array() public static method

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
return void

CopyVL() public method

public CopyVL ( int x, int y, int len, Color sourceColor ) : void
x int
y int
len int
sourceColor Color
return void

GetBoundingRect() public method

public GetBoundingRect ( ) : RectInt
return RectInt

GetBounds() public method

public GetBounds ( ) : RectInt
return RectInt

GetBuffer() public method

public GetBuffer ( ) : byte[]
return byte[]

GetBufferOffsetXY() public method

public GetBufferOffsetXY ( int x, int y ) : int
x int
y int
return int

GetPixel() public method

public GetPixel ( int x, int y ) : Color
x int
y int
return Color

GetRecieveBlender() public method

public GetRecieveBlender ( ) : IPixelBlender
return IPixelBlender

SetDimmensionAndFormat() protected method

protected SetDimmensionAndFormat ( int width, int height, int strideInBytes, int bitDepth, int distanceInBytesBetweenPixelsInclusive ) : void
width int
height int
strideInBytes int
bitDepth int
distanceInBytesBetweenPixelsInclusive int
return void

SetPixel() public method

public SetPixel ( int x, int y, Color color ) : void
x int
y int
color Color
return void

SetRecieveBlender() public method

public SetRecieveBlender ( IPixelBlender value ) : void
value IPixelBlender
return void

SetUpLookupTables() protected method

protected SetUpLookupTables ( ) : void
return void

Property Details

bufferFirstPixel protected_oe property

protected int bufferFirstPixel
return int

dbugId public_oe property

public int dbugId
return int

m_ByteBuffer protected_oe property

protected byte[] m_ByteBuffer
return byte[]