TLazCanvas.DoCreateDefaultFont function
Creates the custom font used as the default for the canvas.
Declaration
function DoCreateDefaultFont: TFPCustomFont; overrideFunction result
TFPCustomFont instance created and initialized in the method.
Description
DoCreateDefaultFont is an overridden
TFPCustomFont
function used to provide the default font for the canvas class instance.
DoCreateDefaultFont implements the abstract virtual method defined in an
ancestor class, and emulates the method defined in TCanvas.
DoCreateDefaultFont sets the Size property in the font to zero
(0); this causes the default font size for the platform or widget set
to be used. The FPColor property in the font is set to
colBlack.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
