public override void Update()
{
float vpWidth = OverlayManager.Instance.ViewportWidth;
float vpHeight = OverlayManager.Instance.ViewportHeight;
viewportAspectCoef = vpHeight / vpWidth;
if ( metricsMode != MetricsMode.Relative &&
( OverlayManager.Instance.HasViewportChanged || isGeomPositionsOutOfDate ) )
{
charHeight = (float)pixelCharHeight / vpHeight;
spaceWidth = (float)pixelSpaceWidth / vpHeight;
isGeomPositionsOutOfDate = true;
}
base.Update();
if ( this.haveColorsChanged && isInitialized )
{
UpdateColors();
haveColorsChanged = false;
}
}