C# Class ESRI.ArcGIS.Client.Toolkit.DataSources.PngEncoder

PngEncoder class courtesy of Joe Stegman and opmized by Nikola: http://blogs.msdn.com/nikola/archive/2009/03/04/silverlight-super-fast-dymanic-image-generation-code-revisited.aspx
Afficher le fichier Open project: Esri/arcgis-toolkit-sl-wpf Class Usage Examples

Méthodes publiques

Méthode Description
GetImageStream ( ) : Stream
GetRowStart ( int row ) : int
PngEncoder ( int width, int height ) : System
SetPixelAtRowStart ( int col, int rowStart, byte red, byte green, byte blue, byte alpha ) : void
SetPixelSlow ( int col, int row, byte red, byte green, byte blue, byte alpha ) : void

Private Methods

Méthode Description
PrepareBuffer ( int width, int height ) : void

Method Details

GetImageStream() public méthode

public GetImageStream ( ) : Stream
Résultat Stream

GetRowStart() public méthode

public GetRowStart ( int row ) : int
row int
Résultat int

PngEncoder() public méthode

public PngEncoder ( int width, int height ) : System
width int
height int
Résultat System

SetPixelAtRowStart() public méthode

public SetPixelAtRowStart ( int col, int rowStart, byte red, byte green, byte blue, byte alpha ) : void
col int
rowStart int
red byte
green byte
blue byte
alpha byte
Résultat void

SetPixelSlow() public méthode

public SetPixelSlow ( int col, int row, byte red, byte green, byte blue, byte alpha ) : void
col int
row int
red byte
green byte
blue byte
alpha byte
Résultat void