C# Class PurplePen.MapDisplay

Inheritance: IMapDisplay
Show file Open project: petergolde/PurplePen Class Usage Examples

Public Methods

Method Description
Clone ( ) : MapDisplay
CloneToFullIntensity ( ) : MapDisplay
Draw ( Bitmap bitmap, Matrix transform, Region clipRegion = null ) : void
Draw ( IGraphicsTarget grTarget, RectangleF visRect, float minResolution ) : void
GetMapColors ( ) : List
MissingFonts ( ) : string[]
NonRenderableObjects ( ) : string[]
SetCourse ( CourseLayout newCourse ) : void
SetMapFile ( MapType newMapType, string newFilename ) : void
SetPrintArea ( RectangleF printArea ) : void
UpdateDimmedBitmap ( ) : void
WriteBitmapMap ( string fileName, ImageFormat format, float &dpi ) : void

Private Methods

Method Description
BitmapTransform ( ) : Matrix
ComputeColorMatrix ( ) : PurplePen.MapModel.ColorMatrix
DrawBitmapMap ( IGraphicsTarget grTarget, RectangleF visRect, float minResolution ) : void
DrawHelper ( IGraphicsTarget grTargetOcadMap, IGraphicsTarget grTargetBitmapMap, IGraphicsTarget grTargetCourses, RectangleF visRect, float minResolution ) : void
DrawOcadMap ( IGraphicsTarget grTarget, RectangleF visRect, RenderOptions renderOptions ) : void
GetMinResolution ( Matrix transform ) : float
RaiseChanged ( Region region ) : void

Method Details

Clone() public method

public Clone ( ) : MapDisplay
return MapDisplay

CloneToFullIntensity() public method

public CloneToFullIntensity ( ) : MapDisplay
return MapDisplay

Draw() public method

public Draw ( Bitmap bitmap, Matrix transform, Region clipRegion = null ) : void
bitmap System.Drawing.Bitmap
transform Matrix
clipRegion System.Drawing.Region
return void

Draw() public method

public Draw ( IGraphicsTarget grTarget, RectangleF visRect, float minResolution ) : void
grTarget IGraphicsTarget
visRect System.Drawing.RectangleF
minResolution float
return void

GetMapColors() public method

public GetMapColors ( ) : List
return List

MissingFonts() public method

public MissingFonts ( ) : string[]
return string[]

NonRenderableObjects() public method

public NonRenderableObjects ( ) : string[]
return string[]

SetCourse() public method

public SetCourse ( CourseLayout newCourse ) : void
newCourse CourseLayout
return void

SetMapFile() public method

public SetMapFile ( MapType newMapType, string newFilename ) : void
newMapType MapType
newFilename string
return void

SetPrintArea() public method

public SetPrintArea ( RectangleF printArea ) : void
printArea System.Drawing.RectangleF
return void

UpdateDimmedBitmap() public method

public UpdateDimmedBitmap ( ) : void
return void

WriteBitmapMap() public method

public WriteBitmapMap ( string fileName, ImageFormat format, float &dpi ) : void
fileName string
format System.Drawing.Imaging.ImageFormat
dpi float
return void