C# Class LongoMatch.Drawing.PlayslistCellRenderer

显示文件 Open project: LongoMatch/longomatch

Public Properties

Property Type Description
ArrowDown ISurface
ArrowRight ISurface
EyeSurface ISurface
subsImage Image

Public Methods

Method Description
Render ( object item, ProjectLongoMatch project, int count, bool isExpanded, IDrawingToolkit tk, IContext context, Area backgroundArea, Area cellArea, CellState state ) : void
RenderAnalysisCategory ( EventType cat, int count, bool isExpanded, IDrawingToolkit tk, IContext context, Area backgroundArea, Area cellArea ) : void
RenderPlay ( Color color, Image ss, IList players, IEnumerable teams, bool selected, string desc, int count, bool isExpanded, IDrawingToolkit tk, IContext context, Area backgroundArea, Area cellArea, CellState state ) : void
RenderPlayer ( PlayerLongoMatch player, int count, bool isExpanded, IDrawingToolkit tk, IContext context, Area backgroundArea, Area cellArea ) : void
RenderPlaylist ( Playlist playlist, int count, bool isExpanded, IDrawingToolkit tk, IContext context, Area backgroundArea, Area cellArea ) : void
RenderSeparationLine ( IDrawingToolkit tk, IContext context, Area backgroundArea ) : void
RenderSubstitution ( Color color, Time evt, PlayerLongoMatch playerIn, PlayerLongoMatch playerOut, bool selected, bool isExpanded, IDrawingToolkit tk, IContext context, Area backgroundArea, Area cellArea, CellState state ) : void

Private Methods

Method Description
RenderBackgroundAndText ( bool isExpanded, IDrawingToolkit tk, Area backgroundArea, Point textP, double textW, string text ) : void
RenderCount ( bool isExpanded, Color color, int count, IDrawingToolkit tk, Area backgroundArea, Area cellArea ) : void
RenderPlayer ( IDrawingToolkit tk, PlayerLongoMatch p, Point imagePoint ) : void
RenderTeam ( IDrawingToolkit tk, VAS team, Point imagePoint ) : void
RenderTimelineEventBase ( Color color, Image ss, bool selected, string desc, IDrawingToolkit tk, IContext context, Area backgroundArea, Area cellArea, CellState state, Point &selectPoint, Point &textPoint, Point &imagePoint, Point &circlePoint, double &textWidth ) : void

Method Details

Render() public static method

public static Render ( object item, ProjectLongoMatch project, int count, bool isExpanded, IDrawingToolkit tk, IContext context, Area backgroundArea, Area cellArea, CellState state ) : void
item object
project LongoMatch.Core.Store.ProjectLongoMatch
count int
isExpanded bool
tk IDrawingToolkit
context IContext
backgroundArea LongoMatch.Core.Common.Area
cellArea LongoMatch.Core.Common.Area
state CellState
return void

RenderAnalysisCategory() public static method

public static RenderAnalysisCategory ( EventType cat, int count, bool isExpanded, IDrawingToolkit tk, IContext context, Area backgroundArea, Area cellArea ) : void
cat LongoMatch.Core.Store.EventType
count int
isExpanded bool
tk IDrawingToolkit
context IContext
backgroundArea LongoMatch.Core.Common.Area
cellArea LongoMatch.Core.Common.Area
return void

RenderPlay() public static method

public static RenderPlay ( Color color, Image ss, IList players, IEnumerable teams, bool selected, string desc, int count, bool isExpanded, IDrawingToolkit tk, IContext context, Area backgroundArea, Area cellArea, CellState state ) : void
color Color
ss Image
players IList
teams IEnumerable
selected bool
desc string
count int
isExpanded bool
tk IDrawingToolkit
context IContext
backgroundArea LongoMatch.Core.Common.Area
cellArea LongoMatch.Core.Common.Area
state CellState
return void

RenderPlayer() public static method

public static RenderPlayer ( PlayerLongoMatch player, int count, bool isExpanded, IDrawingToolkit tk, IContext context, Area backgroundArea, Area cellArea ) : void
player LongoMatch.Core.Store.PlayerLongoMatch
count int
isExpanded bool
tk IDrawingToolkit
context IContext
backgroundArea LongoMatch.Core.Common.Area
cellArea LongoMatch.Core.Common.Area
return void

RenderPlaylist() public static method

public static RenderPlaylist ( Playlist playlist, int count, bool isExpanded, IDrawingToolkit tk, IContext context, Area backgroundArea, Area cellArea ) : void
playlist LongoMatch.Core.Store.Playlists.Playlist
count int
isExpanded bool
tk IDrawingToolkit
context IContext
backgroundArea LongoMatch.Core.Common.Area
cellArea LongoMatch.Core.Common.Area
return void

RenderSeparationLine() public static method

public static RenderSeparationLine ( IDrawingToolkit tk, IContext context, Area backgroundArea ) : void
tk IDrawingToolkit
context IContext
backgroundArea LongoMatch.Core.Common.Area
return void

RenderSubstitution() public static method

public static RenderSubstitution ( Color color, Time evt, PlayerLongoMatch playerIn, PlayerLongoMatch playerOut, bool selected, bool isExpanded, IDrawingToolkit tk, IContext context, Area backgroundArea, Area cellArea, CellState state ) : void
color Color
evt LongoMatch.Core.Store.Time
playerIn LongoMatch.Core.Store.PlayerLongoMatch
playerOut LongoMatch.Core.Store.PlayerLongoMatch
selected bool
isExpanded bool
tk IDrawingToolkit
context IContext
backgroundArea LongoMatch.Core.Common.Area
cellArea LongoMatch.Core.Common.Area
state CellState
return void

Property Details

ArrowDown public_oe static_oe property

public static ISurface ArrowDown
return ISurface

ArrowRight public_oe static_oe property

public static ISurface ArrowRight
return ISurface

EyeSurface public_oe static_oe property

public static ISurface EyeSurface
return ISurface

subsImage public_oe static_oe property

public static Image subsImage
return Image