C# Class PurplePen.MapView.ViewCache

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

Public Methods

Method Description
Draw ( Graphics g, Rectangle clipRect, Size sizeView, RectangleF mapAreaToView, Matrix transform ) : void
GetCacheBrush ( Size sizeView, RectangleF mapAreaToView, Matrix transform ) : Brush
ViewCache ( IMapDisplay mapDisplay ) : System

Private Methods

Method Description
ChangeCacheSizeOrPosition ( Size sizeView, RectangleF mapAreaToView, Matrix transform ) : void
GetMinResolution ( Graphics g ) : float
MapChanged ( Region regionChanged ) : void
MarkAllInvalid ( ) : void
MarkAllValid ( ) : void
UpdateCache ( Size sizeView, RectangleF mapAreaToView, Matrix transform ) : void

Method Details

Draw() public method

public Draw ( Graphics g, Rectangle clipRect, Size sizeView, RectangleF mapAreaToView, Matrix transform ) : void
g System.Drawing.Graphics
clipRect System.Drawing.Rectangle
sizeView System.Drawing.Size
mapAreaToView System.Drawing.RectangleF
transform Matrix
return void

GetCacheBrush() public method

public GetCacheBrush ( Size sizeView, RectangleF mapAreaToView, Matrix transform ) : Brush
sizeView System.Drawing.Size
mapAreaToView System.Drawing.RectangleF
transform Matrix
return System.Drawing.Brush

ViewCache() public method

public ViewCache ( IMapDisplay mapDisplay ) : System
mapDisplay IMapDisplay
return System