C# Class LongoMatch.Common.Image

Inheritance: ISerializable, IDisposable
Afficher le fichier Open project: GNOME/longomatch Class Usage Examples

Méthodes publiques

Méthode Description
Composite ( Image image1, Image image2 ) : Image
Deserialize ( byte ser ) : Image
Dispose ( ) : void
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
Image ( Gdk.Pixbuf image ) : System
Image ( SerializationInfo info, StreamingContext context ) : System
Save ( string filename ) : void
Scale ( ) : void
Scale ( int maxWidth, int maxHeight ) : void
ScaleFactor ( int destWidth, int destHeight, double &scaleX, double &scaleY, System.Point &offset ) : void
Serialize ( ) : byte[]

Private Methods

Méthode Description
ComputeScale ( int inWidth, int inHeight, int maxOutWidth, int maxOutHeight, int &outWidth, int &outHeight ) : void
ThumbnailAbort ( ) : bool

Method Details

Composite() public static méthode

public static Composite ( Image image1, Image image2 ) : Image
image1 Image
image2 Image
Résultat Image

Deserialize() public static méthode

public static Deserialize ( byte ser ) : Image
ser byte
Résultat Image

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetObjectData() public méthode

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat void

Image() public méthode

public Image ( Gdk.Pixbuf image ) : System
image Gdk.Pixbuf
Résultat System

Image() public méthode

public Image ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat System

Save() public méthode

public Save ( string filename ) : void
filename string
Résultat void

Scale() public méthode

public Scale ( ) : void
Résultat void

Scale() public méthode

public Scale ( int maxWidth, int maxHeight ) : void
maxWidth int
maxHeight int
Résultat void

ScaleFactor() public méthode

public ScaleFactor ( int destWidth, int destHeight, double &scaleX, double &scaleY, System.Point &offset ) : void
destWidth int
destHeight int
scaleX double
scaleY double
offset System.Point
Résultat void

Serialize() public méthode

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