CreateGraphDrawingContext
(
Rectangle oSubgraphRectangle,
GeneralUserSettings oGeneralUserSettings
)
{
Debug.Assert(oGeneralUserSettings != null);
AssertValid();
return ( new GraphDrawingContext(
WpfGraphicsUtil.RectangleToRect(oSubgraphRectangle), Margin,
WpfGraphicsUtil.ColorToWpfColor(oGeneralUserSettings.BackColor)
) );
}