ContainerGraph Member Details

ContainerGraph Public Fields


ContainerGraph Public Enumerations


ContainerGraph Constructors
New
The Plain-Vanilla Constructor
Public Sub New()
Remarks:
Parameters:


ContainerGraph Public Properties
BiclosureDistance
Distance in pixels initially between Cuts in a Biclosure Category: Appearance
Public Property BiclosureDistance() As Int32
Remarks:
IndexParameters:
Return Value:
Int32
EGWithinMarquee
Array of References to Graphs within MarqueeRectangle Category: Behavior
Public Property EGWithinMarquee() As ProtoGraphCollection
Remarks:
IndexParameters:
Return Value:
ProtoGraphCollection
ImportedCPPointsCount
When this Graph's ClipPath is imported, holds the number of Points on it Category: Behavior
Public ReadOnly Property ImportedCPPointsCount() As Int32
Remarks:
IndexParameters:
Return Value:
Int32
ImportedCPPointsLocal
Array of externally defined Points defining Clip Path Category: Appearance
Public Property ImportedCPPointsLocal() As Point[]
Remarks:
IndexParameters:
Return Value:
Point[]
ImportedCPPointsOnParent
Array of externally defined Points defining Clip Path, relative to ParentGraph Category: Appearance
Public Property ImportedCPPointsOnParent() As Point[]
Remarks:
IndexParameters:
Return Value:
Point[]
OldSize
Holds the previous Size of this Graph Category: Behavior
Public Property OldSize() As Size
Remarks:
IndexParameters:
Return Value:
Size
PaintGraphics
Returns most recent Graphics Object used by Paint EventHandler Category: Behavior
Public ReadOnly Property PaintGraphics() As Graphics
Remarks:
IndexParameters:
Return Value:
Graphics
PaintRect
Returns most recent ClipRectangle used by Paint EventHandler Category: Behavior
Public ReadOnly Property PaintRect() As Rectangle
Remarks:
IndexParameters:
Return Value:
Rectangle
ShowDiagnosticLabel
"True" means Path, Location, and Size of ContainerGraphs are to be posted Category: Appearance
Public Property ShowDiagnosticLabel() As Boolean
Remarks:
IndexParameters:
Return Value:
Boolean


ContainerGraph Public Methods
AdjustPointsForLocation
Computes a change in Location for an Array of Points based on the change in Location of a Given Point
Public Shared Function AdjustPointsForLocation(ByVal P As Point[], ByVal OldLoc As Point, ByVal NewLoc As Point) As Point[]
Remarks:
Parameters:
ByVal P As Point[]
ByVal OldLoc As Point
ByVal NewLoc As Point
Return Value:
Point[]
AdjustPointsForSizeChange
Computes change in Location of an Array of Points on an area proportional to a change in Size of that area
Public Shared Function AdjustPointsForSizeChange(ByVal P As Point[], ByVal OldSize As Size, ByVal NewSize As Size) As Point[]
Remarks:
Parameters:
ByVal P As Point[]
ByVal OldSize As Size
ByVal NewSize As Size
Return Value:
Point[]
CopyBetaSpot
A Spot copied DIRECTLY (not as part of a larger Graph) requires that its Dot-Stubs be copied with it; this function does this
Public Shared Function CopyBetaSpot(ByVal CopySpot As Spot, ByVal ParentEG As ContainerGraph, ByVal Loc As Point) As Spot
Remarks:
Parameters:
ByVal CopySpot As Spot
ByVal ParentEG As ContainerGraph
ByVal Loc As Point
Return Value:
Spot
CopyReiteratedGraph
Makes appropriate Type Cast and Calls Copy Constructor in a Reiteration-copy operation
Public Function CopyReiteratedGraph(ByVal CopyEG As ProtoGraph, ByVal ParentEG As ContainerGraph, ByVal Loc As Point) As ProtoGraph
Remarks:
Parameters:
ByVal CopyEG As ProtoGraph
ByVal ParentEG As ContainerGraph
ByVal Loc As Point
Return Value:
ProtoGraph
CreatePolarLI
Sets up and Returns a Dot (Line of Identity) with this Graph as Parent using Polar Coordinates
Public Function CreatePolarLI(ByVal Origin As Point, ByVal Radius As Double, ByVal Angle As Double, ByVal LIColor As Color, ByVal LIWidth As Int32) As Dot
Remarks:
Parameters:
ByVal Origin As Point
ByVal Radius As Double
ByVal Angle As Double
ByVal LIColor As Color
ByVal LIWidth As Int32
Return Value:
Dot
DiagnosticLabel
Draws Diagnostic Label for this ContainerGraph when required
Public Function DiagnosticLabel(ByVal e As PaintEventArgs) As String
Remarks:
Parameters:
ByVal e As PaintEventArgs
Return Value:
String
DrawChildCutOutline
Supplies a trace in a Cut's color and following that graph's clipped ouline to demark its edge when a subgraph of IT passes partly under the edge of Me with that child Cut; it runs in the Paint Event Handler for Parent Graph
Public Sub DrawChildCutOutline(ByVal KidCut As Cut, ByVal e As PaintEventArgs, Optional ByVal ThisIsErasure As Boolean=False)
Remarks:
Parameters:
ByVal KidCut As Cut
ByVal e As PaintEventArgs
Optional ByVal ThisIsErasure As Boolean =False
Return Value:
Void
DrawIncidentalPath
Draws a given Path in a Graphics Object defined by a Window Handle
Public Shared Sub DrawIncidentalPath(ByVal hWnd As IntPtr, ByVal PathColor As Color, ByVal ThePath As GraphicsPath)
Remarks:
Parameters:
ByVal hWnd As IntPtr
ByVal PathColor As Color
ByVal ThePath As GraphicsPath
Return Value:
Void
GetGraphCollectionEnclosedByGraphicsPath
Returns the Collection of SubGraphs of this EG whose ClipPaths are entirely within a given Path
Public Function GetGraphCollectionEnclosedByGraphicsPath(ByVal EnclosingPath As GraphicsPath) As ProtoGraphCollection
Remarks:
Parameters:
ByVal EnclosingPath As GraphicsPath
Return Value:
ProtoGraphCollection
GetGraphCollectionEnclosedByGraphicsPath
Returns the Collection of SubGraphs of this EG whose ClipPaths are entirely within a given Path, given as a Rectangle
Public Function GetGraphCollectionEnclosedByGraphicsPath(ByVal EnclosingRect As Rectangle) As ProtoGraphCollection
Remarks:
Parameters:
ByVal EnclosingRect As Rectangle
Return Value:
ProtoGraphCollection
GetGraphsEnclosedByGraphicsPath
Returns the Array of SubGraphs of this EG whose ClipPaths are entirely within a given Path
Public Function GetGraphsEnclosedByGraphicsPath(ByVal EnclosingPath As GraphicsPath) As ProtoGraph[]
Remarks:
Parameters:
ByVal EnclosingPath As GraphicsPath
Return Value:
ProtoGraph[]
GetGraphsEnclosedByGraphicsPath
Returns the Array of SubGraphs of this EG whose ClipPaths are entirely within a given Path, given as a Rectangle
Public Function GetGraphsEnclosedByGraphicsPath(ByVal EnclosingRect As Rectangle) As ProtoGraph[]
Remarks:
Parameters:
ByVal EnclosingRect As Rectangle
Return Value:
ProtoGraph[]
LocatePolarLI
Calculates a Location Point for a Polar LI based on its Polar Coordinates
Public Function LocatePolarLI(ByVal Origin As Point, ByVal Radius As Double, ByVal Angle As Double) As Point
Remarks:
Parameters:
ByVal Origin As Point
ByVal Radius As Double
ByVal Angle As Double
Return Value:
Point
PointsFromPointsF
Converts an Array of PointF's to Points
Public Shared Function PointsFromPointsF(ByVal P As PointF[]) As Point[]
Remarks:
Parameters:
ByVal P As PointF[]
Return Value:
Point[]
RectFromPoints
Returns a Rectangle which encloses all the Points in a given Array of Points
Public Shared Function RectFromPoints(ByVal P As Point[]) As Rectangle
Remarks:
Parameters:
ByVal P As Point[]
Return Value:
Rectangle
RectFromPoints
Returns a Rectangle which encloses all the Points in a given Array of PointF's
Public Shared Function RectFromPoints(ByVal P As PointF[]) As Rectangle
Remarks:
Parameters:
ByVal P As PointF[]
Return Value:
Rectangle
RelocateEGByVisibleArea
Calculates Locations and Transfers Graphs to a newly-instantiated Graph in which they are wholely visible
Public Sub RelocateEGByVisibleArea(ByVal NewC As ContainerGraph)
Remarks:
Parameters:
ByVal NewC As ContainerGraph
Return Value:
Void
ReturnFromFSMarquee
Handles a return from Free-Form Marquee to create a new Cut or ConjunctiveEG
Public Sub ReturnFromFSMarquee(ByVal FsM As MarqueeFreeForm, ByVal todo As MarqueeReturnTask, ByVal ClipPath As GraphicsPath)
Remarks:
Parameters:
ByVal FsM As MarqueeFreeForm
ByVal todo As MarqueeReturnTask
ByVal ClipPath As GraphicsPath
Return Value:
Void
ReturnFromMarquee
Handles start of scribing new Graph on this Container at Return from Outlining Marquee
Public Sub ReturnFromMarquee(ByVal Marq As Marquee)
Remarks:
Parameters:
ByVal Marq As Marquee
Return Value:
Void
ScribeBiclosure
Scribes a Rectangular Biclosure, Inner Cut First, tranferring enclosed Graphs
Public Sub ScribeBiclosure(ByVal Parent As ProtoGraph, ByVal InputRect As Rectangle)
Remarks:
Parameters:
ByVal Parent As ProtoGraph
ByVal InputRect As Rectangle
Return Value:
Void
ScribeNewDot
Calls Constructor for a New Dot, and performs ancillary operations
Public Function ScribeNewDot(ByVal Parent As ContainerGraph, ByVal DotRect As Rectangle) As Dot
Remarks:
Parameters:
ByVal Parent As ContainerGraph
ByVal DotRect As Rectangle
Return Value:
Dot
ToString
Returns a single-line String corresponding to this ContainerGraph
Public Overloads Overrides Function ToString() As String
Remarks:
Parameters:
Return Value:
String
ToString
Able to return a multi-line String correponding to this ContainerGraph
Public Overloads Function ToString(ByVal MultiLine As Boolean) As String
Remarks:
Parameters:
ByVal MultiLine As Boolean
Return Value:
String
TransferEnclosedGraphsToNewContainer
Moves Graphs to a new Container Created around them
Public Sub TransferEnclosedGraphsToNewContainer()
Remarks:
Parameters:
Return Value:
Void
TransferEnclosedGraphsToNewContainer
Moves Graphs to a new Container Created around them
Public Sub TransferEnclosedGraphsToNewContainer(ByVal NewContainer As ContainerGraph)
Remarks:
Parameters:
ByVal NewContainer As ContainerGraph
Return Value:
Void


ContainerGraph Public Events