C# Class RectangleResize.RgbaBitmapBuffer

Afficher le fichier Open project: EFanZh/EFanZh Class Usage Examples

Méthodes publiques

Méthode Description
Copy ( ) : RgbaBitmapBuffer
FromBitmapSource ( System.Windows.Media.Imaging.BitmapSource bitmapSource ) : RgbaBitmapBuffer
GetPixel ( int x, int y ) : Pixel
RgbaBitmapBuffer ( int width, int height ) : System.Linq
SetPixel ( int x, int y, Pixel value ) : void
ToBitmapSource ( double dpiX, double dpiY ) : System.Windows.Media.Imaging.BitmapSource
ToBitmapSource ( int width, int height, double dpiX, double dpiY ) : System.Windows.Media.Imaging.BitmapSource

Private Methods

Méthode Description
RgbaBitmapBuffer ( float buffer, int floatStride ) : System.Linq

Method Details

Copy() public méthode

public Copy ( ) : RgbaBitmapBuffer
Résultat RgbaBitmapBuffer

FromBitmapSource() public static méthode

public static FromBitmapSource ( System.Windows.Media.Imaging.BitmapSource bitmapSource ) : RgbaBitmapBuffer
bitmapSource System.Windows.Media.Imaging.BitmapSource
Résultat RgbaBitmapBuffer

GetPixel() public méthode

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

RgbaBitmapBuffer() public méthode

public RgbaBitmapBuffer ( int width, int height ) : System.Linq
width int
height int
Résultat System.Linq

SetPixel() public méthode

public SetPixel ( int x, int y, Pixel value ) : void
x int
y int
value Pixel
Résultat void

ToBitmapSource() public méthode

public ToBitmapSource ( double dpiX, double dpiY ) : System.Windows.Media.Imaging.BitmapSource
dpiX double
dpiY double
Résultat System.Windows.Media.Imaging.BitmapSource

ToBitmapSource() public méthode

public ToBitmapSource ( int width, int height, double dpiX, double dpiY ) : System.Windows.Media.Imaging.BitmapSource
width int
height int
dpiX double
dpiY double
Résultat System.Windows.Media.Imaging.BitmapSource