C# Class vimage.ImageViewerUtils

Show file Open project: Torrunt/vimage Class Usage Examples

Public Methods

Method Description
GetCurrentBounds ( Vector2i pos ) : IntRect

Returns the bounds IntRect of the monitor the position is located on.

GetCurrentWorkingArea ( Vector2i pos ) : IntRect

Returns the working area IntRect of the monitor the position is located on.

GetDateValueFromEXIF ( string fileName ) : System.DateTime

Returns DateTime from EXIF data or the FileInfo is there isn't one

GetDefaultRotationFromEXIF ( string fileName ) : int

Returns Orientation from the EXIF data of a jpg.

GetExtension ( string fileName ) : string
IsValidExtension ( string fileName, string extensions ) : bool

Method Details

GetCurrentBounds() public static method

Returns the bounds IntRect of the monitor the position is located on.
public static GetCurrentBounds ( Vector2i pos ) : IntRect
pos Vector2i
return IntRect

GetCurrentWorkingArea() public static method

Returns the working area IntRect of the monitor the position is located on.
public static GetCurrentWorkingArea ( Vector2i pos ) : IntRect
pos Vector2i
return IntRect

GetDateValueFromEXIF() public static method

Returns DateTime from EXIF data or the FileInfo is there isn't one
public static GetDateValueFromEXIF ( string fileName ) : System.DateTime
fileName string
return System.DateTime

GetDefaultRotationFromEXIF() public static method

Returns Orientation from the EXIF data of a jpg.
public static GetDefaultRotationFromEXIF ( string fileName ) : int
fileName string
return int

GetExtension() public static method

public static GetExtension ( string fileName ) : string
fileName string
return string

IsValidExtension() public static method

public static IsValidExtension ( string fileName, string extensions ) : bool
fileName string
extensions string
return bool