C# Class KeePassLib.Utility.GfxUtil

Afficher le fichier Open project: cappert/keepass2 Class Usage Examples

Méthodes publiques

Méthode Description
LoadImage ( byte pb ) : Image
ScaleImage ( Image img, int w, int h ) : Image
ScaleImage ( Image img, int w, int h, ScaleTransformFlags f ) : Image

Resize an image.

ScaleTest ( Image vIcons ) : Image

Private Methods

Méthode Description
AdjustScaleRects ( RectangleF &rSource, RectangleF &rDest ) : void
ExtractBestImageFromIco ( byte pb ) : Image
GetBitsPerPixel ( Android.Graphics.PixelFormat f ) : int
LoadImagePriv ( Stream s ) : Image
UnpackIco ( byte pb ) : List

Method Details

LoadImage() public static méthode

public static LoadImage ( byte pb ) : Image
pb byte
Résultat Image

ScaleImage() public static méthode

public static ScaleImage ( Image img, int w, int h ) : Image
img Image
w int
h int
Résultat Image

ScaleImage() public static méthode

Resize an image.
public static ScaleImage ( Image img, int w, int h, ScaleTransformFlags f ) : Image
img Image Image to resize.
w int Width of the returned image.
h int Height of the returned image.
f ScaleTransformFlags Flags to customize scaling behavior.
Résultat Image

ScaleTest() public static méthode

public static ScaleTest ( Image vIcons ) : Image
vIcons Image
Résultat Image