C# Class PurplePen.TopologyFormatter

显示文件 Open project: petergolde/PurplePen Class Usage Examples

Public Methods

Method Description
FormatCourseToLayout ( SymbolDB symbolDB, CourseView courseViewAllVariations, CourseView specificVariation, CourseLayout courseLayout, CourseLayer layerAllVariations, CourseLayer layerSpecificVariation ) : RectangleF

Private Methods

Method Description
AssignControlPositions ( int startIndex, int endIndex, float startX, float startY ) : SizeF
ControlViewInSpecificVariation ( CourseView controlView ) : bool
CreateControlNumber ( CourseView controlView, ControlPosition controlPosition ) : void
CreateLegBetweenControls ( CourseView controlView1, ControlPosition controlPosition1, CourseView controlView2, ControlPosition controlPosition2, int splitLegIndex, ForkPosition forkStart ) : void
CreateObjectsForControlView ( CourseView controlView, ControlPosition controlPosition ) : void
CreateVariationCode ( CourseView controlView1, ControlPosition controlPosition1, int splitLegIndex, ForkPosition forkStart ) : CourseObj
LegInSpecificVariation ( Id start, Id end ) : bool
LocationFromAbstractPosition ( float x, float y ) : PointF
PathBetweenControls ( ControlPosition controlPosition1, ControlPosition controlPosition2, ForkPosition forkStart, PointF &dropTargetPosition ) : SymPath
PathFromStartToEnd ( float xStart, float yStart, float xEnd, float yEnd, bool startHorizontal, float yLoopBottom ) : SymPath
SizeFromAbstractSize ( SizeF abstractSize ) : SizeF

Method Details

FormatCourseToLayout() public method

public FormatCourseToLayout ( SymbolDB symbolDB, CourseView courseViewAllVariations, CourseView specificVariation, CourseLayout courseLayout, CourseLayer layerAllVariations, CourseLayer layerSpecificVariation ) : RectangleF
symbolDB SymbolDB
courseViewAllVariations CourseView
specificVariation CourseView
courseLayout CourseLayout
layerAllVariations CourseLayer
layerSpecificVariation CourseLayer
return RectangleF