Sign in Join
FPDoc Onlineexperiment

TControl.DoScaleFontPPI procedure

Member of TControlprotectedIn unit Controls

Implements the ScaleFontsPPI method for the control.

Declaration

pascal
procedure DoScaleFontPPI(const AFont: TFont; const AToPPI: Integer; 
 const AProportion: Double)

Arguments

AFont

Font examined and updated in the method.

AToPPI

Pixels per inch setting adjusted in the method.

AProportion

Scaling factor a applied to the font.

Description

Adjusts the height for a given Font to the specified pixels per inch (PPI).

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.