C# Class Glass.Imaging.FullFx.Extensions

Afficher le fichier Open project: SuperJMN/Glass

Méthodes publiques

Méthode Description
ConverToRawPixels ( this rect, double horzDpi, double vertDpi ) : Rect
Crop ( this bitmap, Rect rect ) : System.Windows.Media.Imaging.BitmapSource
LoadFromPath ( string path ) : BitmapImage
Rotate ( this bitmap, double angle ) : System.Windows.Media.Imaging.BitmapSource
ToInt32Rect ( this rect ) : System.Windows.Int32Rect
Transform ( this bitmap, Core.Transform transform ) : System.Windows.Media.Imaging.BitmapSource
TryLoadFromPath ( string path ) : BitmapImage

Private Methods

Méthode Description
OnMemoryBitmap ( Uri source ) : BitmapImage

Method Details

ConverToRawPixels() public static méthode

public static ConverToRawPixels ( this rect, double horzDpi, double vertDpi ) : Rect
rect this
horzDpi double
vertDpi double
Résultat System.Windows.Rect

Crop() public static méthode

public static Crop ( this bitmap, Rect rect ) : System.Windows.Media.Imaging.BitmapSource
bitmap this
rect System.Windows.Rect
Résultat System.Windows.Media.Imaging.BitmapSource

LoadFromPath() public static méthode

public static LoadFromPath ( string path ) : BitmapImage
path string
Résultat System.Windows.Media.Imaging.BitmapImage

Rotate() public static méthode

public static Rotate ( this bitmap, double angle ) : System.Windows.Media.Imaging.BitmapSource
bitmap this
angle double
Résultat System.Windows.Media.Imaging.BitmapSource

ToInt32Rect() public static méthode

public static ToInt32Rect ( this rect ) : System.Windows.Int32Rect
rect this
Résultat System.Windows.Int32Rect

Transform() public static méthode

public static Transform ( this bitmap, Core.Transform transform ) : System.Windows.Media.Imaging.BitmapSource
bitmap this
transform Core.Transform
Résultat System.Windows.Media.Imaging.BitmapSource

TryLoadFromPath() public static méthode

public static TryLoadFromPath ( string path ) : BitmapImage
path string
Résultat System.Windows.Media.Imaging.BitmapImage