C# Class PurplePen.CoursePageLayout

Mostra file Open project: petergolde/PurplePen Class Usage Examples

Public Methods

Method Description
CoursePageLayout ( EventDB eventDB, SymbolDB symbolDB, Controller controller, CourseAppearance appearance, bool cropLargePrintArea ) : System
LayoutPages ( IEnumerable courseDesignators ) : List

Private Methods

Method Description
CropPrintArea ( RectangleF printArea, RectangleF courseObjectsArea, SizeF printableSize, float &areaCovered ) : RectangleF
GetPrintAreaForCourse ( CourseDesignator courseDesignator, bool &landscape, System.Drawing.Printing.PaperSize &paperSize, int &margins, float &scaleRatio, string &description ) : RectangleF
GetPrintablePageArea ( bool landscape, System.Drawing.Printing.PaperSize paperSize, int margins ) : RectangleF
GetScaledPrintableSizeInMapUnits ( RectangleF printableArea, float scaleRatio ) : SizeF
LayoutCourse ( CourseDesignator courseDesignator ) : List
LayoutOptimizedCourse ( CourseDesignator courseDesignator ) : List
LayoutPageDimension ( float mapStart, float mapLength, float printableAreaStart, float printableAreaLength, float scaleRatio ) : IEnumerable

Method Details

CoursePageLayout() public method

public CoursePageLayout ( EventDB eventDB, SymbolDB symbolDB, Controller controller, CourseAppearance appearance, bool cropLargePrintArea ) : System
eventDB EventDB
symbolDB SymbolDB
controller Controller
appearance CourseAppearance
cropLargePrintArea bool
return System

LayoutPages() public method

public LayoutPages ( IEnumerable courseDesignators ) : List
courseDesignators IEnumerable
return List