C# Class PurplePen.DescriptionCourseObj

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

Public Methods

Method Description
AddToMap ( Map map, SymColor symColor, SymDef>.Dictionary dict ) : void
Clone ( ) : object
DescriptionCourseObj ( Id specialId, PointF topLeft, float cellSize, SymbolDB symbolDB, DescriptionLine description, DescriptionKind kind, int numColumns ) : System
Equals ( object obj ) : bool
GetHashCode ( ) : int
Highlight ( Graphics g, Matrix xformWorldToPixel, Brush brush, bool erasing ) : void
RectangleUpdating ( RectangleF &newRect, bool dragAll, bool dragLeft, bool dragTop, bool dragRight, bool dragBottom ) : void
ToString ( ) : string

Protected Methods

Method Description
AddToMap ( Map map, SymDef symdef ) : void
CreateSymDef ( Map map, SymColor symColor ) : SymDef

Private Methods

Method Description
BestNumberOfColumns ( SizeF currentSize ) : int
ComputeAspectAngles ( ) : float[]
GetRect ( PointF topLeft, float cellSize, SymbolDB symbolDB, DescriptionLine description, DescriptionKind kind, int numColumns ) : RectangleF

Method Details

AddToMap() public method

public AddToMap ( Map map, SymColor symColor, SymDef>.Dictionary dict ) : void
map Map
symColor SymColor
dict SymDef>.Dictionary
return void

AddToMap() protected method

protected AddToMap ( Map map, SymDef symdef ) : void
map Map
symdef SymDef
return void

Clone() public method

public Clone ( ) : object
return object

CreateSymDef() protected method

protected CreateSymDef ( Map map, SymColor symColor ) : SymDef
map Map
symColor SymColor
return SymDef

DescriptionCourseObj() public method

public DescriptionCourseObj ( Id specialId, PointF topLeft, float cellSize, SymbolDB symbolDB, DescriptionLine description, DescriptionKind kind, int numColumns ) : System
specialId Id
topLeft System.Drawing.PointF
cellSize float
symbolDB SymbolDB
description DescriptionLine
kind DescriptionKind
numColumns int
return System

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Highlight() public method

public Highlight ( Graphics g, Matrix xformWorldToPixel, Brush brush, bool erasing ) : void
g System.Drawing.Graphics
xformWorldToPixel Matrix
brush System.Drawing.Brush
erasing bool
return void

RectangleUpdating() public method

public RectangleUpdating ( RectangleF &newRect, bool dragAll, bool dragLeft, bool dragTop, bool dragRight, bool dragBottom ) : void
newRect System.Drawing.RectangleF
dragAll bool
dragLeft bool
dragTop bool
dragRight bool
dragBottom bool
return void

ToString() public method

public ToString ( ) : string
return string