C# Class Stampsy.ImageSource.ImageHelper

Afficher le fichier Open project: stampsy/Stampsy.ImageSource

Méthodes publiques

Méthode Description
FromExifOrientation ( int o ) : UIImageOrientation
Measure ( CGImageSource source ) : Size?
Measure ( NSData data ) : Size?
Measure ( string file ) : Size?
Scale ( CGImage image, Rectangle drawRect, Size size ) : CGImage
ToExifOrientation ( UIImageOrientation o ) : int

Private Methods

Méthode Description
ApplyOrientation ( Size size, UIImageOrientation orientation ) : Size
NeedsRotate ( UIImageOrientation orientation ) : bool
ReadOrientation ( NSDictionary props ) : UIImageOrientation

Method Details

FromExifOrientation() public static méthode

public static FromExifOrientation ( int o ) : UIImageOrientation
o int
Résultat UIImageOrientation

Measure() public static méthode

public static Measure ( CGImageSource source ) : Size?
source CGImageSource
Résultat Size?

Measure() public static méthode

public static Measure ( NSData data ) : Size?
data NSData
Résultat Size?

Measure() public static méthode

public static Measure ( string file ) : Size?
file string
Résultat Size?

Scale() public static méthode

public static Scale ( CGImage image, Rectangle drawRect, Size size ) : CGImage
image CGImage
drawRect System.Drawing.Rectangle
size System.Drawing.Size
Résultat CGImage

ToExifOrientation() public static méthode

public static ToExifOrientation ( UIImageOrientation o ) : int
o UIImageOrientation
Résultat int