TCanvas.DoCreateDefaultFont function
Creates the TFont instance used as the default font for the canvas.
Declaration
function DoCreateDefaultFont: TFPCustomFont; overrideFunction result
TFont instance created in the method.
Description
DoCreateDefaultFont is an overridden method in
TCanvas
used to create the
TFont instance used as the default font for the
canvas. The return value contains the TFont instance created in the method.
DoCreateDefaultFont implements the abstract method defined in the
TFPCustomCanvas ancestor. It is called from the inherited
CreateDefaultFont method, and ensures that a font resource has
been allocated for the Font property.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
