Series.TCircledSeries.AdjustScreenRatio
 
 
 


TCircledSeries.AdjustScreenRatio
TCircledSeries

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

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 TCircledSeries.Circled property is true, to make a visually squared R rectangle regardless the pixel depth resolution of the screen.




Send us Help Feedback. Copyright 1995-2024 © by Steema Software. All Rights Reserved.