C# Class PixelFarm.Agg.ImageReaderWriterBase

Inheritance: IImageReaderWriter
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Свойство Type Description
dbugId int

Protected Properties

Свойство Type Description
bufferFirstPixel int
m_ByteBuffer byte[]

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

protected Attach ( int width, int height, int bitsPerPixel, byte imgbuffer, IPixelBlender recieveBlender ) : void
width int
height int
bitsPerPixel int
imgbuffer byte
recieveBlender IPixelBlender
Résultat void

BlendColorHSpan() public méthode

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
Résultat void

BlendColorVSpan() public méthode

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
Résultat void

BlendHL() public méthode

public BlendHL ( int x1, int y, int x2, Color sourceColor, byte cover ) : void
x1 int
y int
x2 int
sourceColor Color
cover byte
Résultat void

BlendSolidHSpan() public méthode

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
Résultat void

BlendSolidVSpan() public méthode

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
Résultat void

BlendVL() public méthode

public BlendVL ( int x, int y1, int y2, Color sourceColor, byte cover ) : void
x int
y1 int
y2 int
sourceColor Color
cover byte
Résultat void

CopyColorHSpan() public méthode

public CopyColorHSpan ( int x, int y, int len, Color colors, int colorsIndex ) : void
x int
y int
len int
colors Color
colorsIndex int
Résultat void

CopyColorVSpan() public méthode

public CopyColorVSpan ( int x, int y, int len, Color colors, int colorsIndex ) : void
x int
y int
len int
colors Color
colorsIndex int
Résultat void

CopyFrom() public méthode

public CopyFrom ( IImageReaderWriter sourceImage, RectInt sourceImageRect, int destXOffset, int destYOffset ) : void
sourceImage IImageReaderWriter
sourceImageRect RectInt
destXOffset int
destYOffset int
Résultat void

CopyHL() public méthode

public CopyHL ( int x, int y, int len, Color sourceColor ) : void
x int
y int
len int
sourceColor Color
Résultat void

CopySubBufferToInt32Array() public static méthode

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
Résultat void

CopyVL() public méthode

public CopyVL ( int x, int y, int len, Color sourceColor ) : void
x int
y int
len int
sourceColor Color
Résultat void

GetBoundingRect() public méthode

public GetBoundingRect ( ) : RectInt
Résultat RectInt

GetBounds() public méthode

public GetBounds ( ) : RectInt
Résultat RectInt

GetBuffer() public méthode

public GetBuffer ( ) : byte[]
Résultat byte[]

GetBufferOffsetXY() public méthode

public GetBufferOffsetXY ( int x, int y ) : int
x int
y int
Résultat int

GetPixel() public méthode

public GetPixel ( int x, int y ) : Color
x int
y int
Résultat Color

GetRecieveBlender() public méthode

public GetRecieveBlender ( ) : IPixelBlender
Résultat IPixelBlender

SetDimmensionAndFormat() protected méthode

protected SetDimmensionAndFormat ( int width, int height, int strideInBytes, int bitDepth, int distanceInBytesBetweenPixelsInclusive ) : void
width int
height int
strideInBytes int
bitDepth int
distanceInBytesBetweenPixelsInclusive int
Résultat void

SetPixel() public méthode

public SetPixel ( int x, int y, Color color ) : void
x int
y int
color Color
Résultat void

SetRecieveBlender() public méthode

public SetRecieveBlender ( IPixelBlender value ) : void
value IPixelBlender
Résultat void

SetUpLookupTables() protected méthode

protected SetUpLookupTables ( ) : void
Résultat void

Property Details

bufferFirstPixel protected_oe property

protected int bufferFirstPixel
Résultat int

dbugId public_oe property

public int dbugId
Résultat int

m_ByteBuffer protected_oe property

protected byte[] m_ByteBuffer
Résultat byte[]