C# Class LongoMatch.Drawing.Utils

Afficher le fichier Open project: GNOME/longomatch

Méthodes publiques

Méthode Description
CanvasFromDrawableObject ( IBlackboardObject drawable ) : ICanvasSelectableObject
ColorForRow ( int row ) : Color
PosToTime ( Point p, double secondsPerPixel ) : Time
RenderFrameDrawing ( IDrawingToolkit tk, int width, int height, FrameDrawing fd ) : Image
RenderFrameDrawingToImage ( IDrawingToolkit tk, Image image, FrameDrawing fd ) : Image
Round ( double n, int multiple ) : double
RoundDown ( double n, int multiple ) : double
RoundUp ( double n, int multiple ) : double
TimeToPos ( Time time, double secondsPerPixel ) : double
ToUserCoords ( Point p, Point offset, double scaleX, double scaleY ) : Point

Méthodes protégées

Méthode Description
RenderFrameDrawing ( IDrawingToolkit tk, Area area, FrameDrawing fd, Image image ) : Image

Method Details

CanvasFromDrawableObject() public static méthode

public static CanvasFromDrawableObject ( IBlackboardObject drawable ) : ICanvasSelectableObject
drawable IBlackboardObject
Résultat ICanvasSelectableObject

ColorForRow() public static méthode

public static ColorForRow ( int row ) : Color
row int
Résultat Color

PosToTime() public static méthode

public static PosToTime ( Point p, double secondsPerPixel ) : Time
p Point
secondsPerPixel double
Résultat LongoMatch.Core.Store.Time

RenderFrameDrawing() protected static méthode

protected static RenderFrameDrawing ( IDrawingToolkit tk, Area area, FrameDrawing fd, Image image ) : Image
tk IDrawingToolkit
area LongoMatch.Core.Common.Area
fd LongoMatch.Core.Store.FrameDrawing
image Image
Résultat Image

RenderFrameDrawing() public static méthode

public static RenderFrameDrawing ( IDrawingToolkit tk, int width, int height, FrameDrawing fd ) : Image
tk IDrawingToolkit
width int
height int
fd LongoMatch.Core.Store.FrameDrawing
Résultat Image

RenderFrameDrawingToImage() public static méthode

public static RenderFrameDrawingToImage ( IDrawingToolkit tk, Image image, FrameDrawing fd ) : Image
tk IDrawingToolkit
image Image
fd LongoMatch.Core.Store.FrameDrawing
Résultat Image

Round() public static méthode

public static Round ( double n, int multiple ) : double
n double
multiple int
Résultat double

RoundDown() public static méthode

public static RoundDown ( double n, int multiple ) : double
n double
multiple int
Résultat double

RoundUp() public static méthode

public static RoundUp ( double n, int multiple ) : double
n double
multiple int
Résultat double

TimeToPos() public static méthode

public static TimeToPos ( Time time, double secondsPerPixel ) : double
time LongoMatch.Core.Store.Time
secondsPerPixel double
Résultat double

ToUserCoords() public static méthode

public static ToUserCoords ( Point p, Point offset, double scaleX, double scaleY ) : Point
p Point
offset Point
scaleX double
scaleY double
Résultat Point