C# Class FSpot.Utils.PixbufUtils

Mostrar archivo Open project: mono/f-spot

Public Methods

Method Description
Fit ( Gdk.Pixbuf pixbuf, int dest_width, int dest_height, bool upscale_smaller, int &fit_width, int &fit_height ) : double
Fit ( int orig_width, int orig_height, int dest_width, int dest_height, bool upscale_smaller, int &fit_width, int &fit_height ) : double
ReverseTransformation ( ImageOrientation orientation ) : ImageOrientation
Rotate270 ( ImageOrientation orientation ) : ImageOrientation
Rotate90 ( ImageOrientation orientation ) : ImageOrientation
ScaleToMaxSize ( this pixbuf, int width, int height, bool upscale = true ) : Gdk.Pixbuf
ShallowCopy ( this pixbuf ) : Gdk.Pixbuf
TransformOrientation ( Gdk.Pixbuf src, ImageOrientation orientation ) : Gdk.Pixbuf
TransformOrientation ( int total_width, int total_height, Point args, ImageOrientation orientation ) : Point
TransformOrientation ( Gdk.Pixbuf src, Gdk.Rectangle args, ImageOrientation orientation ) : Gdk.Rectangle
TransformOrientation ( int total_width, int total_height, Gdk.Rectangle args, ImageOrientation orientation ) : Gdk.Rectangle

Method Details

Fit() public static method

public static Fit ( Gdk.Pixbuf pixbuf, int dest_width, int dest_height, bool upscale_smaller, int &fit_width, int &fit_height ) : double
pixbuf Gdk.Pixbuf
dest_width int
dest_height int
upscale_smaller bool
fit_width int
fit_height int
return double

Fit() public static method

public static Fit ( int orig_width, int orig_height, int dest_width, int dest_height, bool upscale_smaller, int &fit_width, int &fit_height ) : double
orig_width int
orig_height int
dest_width int
dest_height int
upscale_smaller bool
fit_width int
fit_height int
return double

ReverseTransformation() public static method

public static ReverseTransformation ( ImageOrientation orientation ) : ImageOrientation
orientation ImageOrientation
return ImageOrientation

Rotate270() static public method

static public Rotate270 ( ImageOrientation orientation ) : ImageOrientation
orientation ImageOrientation
return ImageOrientation

Rotate90() static public method

static public Rotate90 ( ImageOrientation orientation ) : ImageOrientation
orientation ImageOrientation
return ImageOrientation

ScaleToMaxSize() public static method

public static ScaleToMaxSize ( this pixbuf, int width, int height, bool upscale = true ) : Gdk.Pixbuf
pixbuf this
width int
height int
upscale bool
return Gdk.Pixbuf

ShallowCopy() public static method

public static ShallowCopy ( this pixbuf ) : Gdk.Pixbuf
pixbuf this
return Gdk.Pixbuf

TransformOrientation() public static method

public static TransformOrientation ( Gdk.Pixbuf src, ImageOrientation orientation ) : Gdk.Pixbuf
src Gdk.Pixbuf
orientation ImageOrientation
return Gdk.Pixbuf

TransformOrientation() public static method

public static TransformOrientation ( int total_width, int total_height, Point args, ImageOrientation orientation ) : Point
total_width int
total_height int
args Point
orientation ImageOrientation
return Point

TransformOrientation() public static method

public static TransformOrientation ( Gdk.Pixbuf src, Gdk.Rectangle args, ImageOrientation orientation ) : Gdk.Rectangle
src Gdk.Pixbuf
args Gdk.Rectangle
orientation ImageOrientation
return Gdk.Rectangle

TransformOrientation() public static method

public static TransformOrientation ( int total_width, int total_height, Gdk.Rectangle args, ImageOrientation orientation ) : Gdk.Rectangle
total_width int
total_height int
args Gdk.Rectangle
orientation ImageOrientation
return Gdk.Rectangle