Contents  All Classes  Index A-Z  All Units


TCircledSeries.AdjustScreenRatio
TCircledSeries

procedure AdjustScreenRatio(ACanvas: TCanvas3D; AXRadius, AYRadius: Integer; Var R: TRect);

Unit
Series

Description
Given a rectangle R and X and Y radius, this method uses the ACanvas parameter to calculate and adjust the R rectangle with the screen ration (screen Width relative to screen Height).

It is used when the Circled property is true, to make a visually squared R rectangle regardless the pixel depth resolution of the screen.



Submit your feedback about this page.

Copyright 1995-2007 © by Steema Software. All Rights Reserved.