Sign in Join
FPDoc Onlineexperiment

TPostScriptPrinterCanvas.FontChanging procedure

Member of TPostScriptPrinterCanvasprotectedIn unit PostScriptCanvas

Declaration

pascal
procedure FontChanging(APen: TObject); override

Description

Not described here; this is what TCanvas.FontChanging says of it:

Implements the OnChanging event handler for the Font used on the canvas.

FontChanging is assigned as the OnChanging event handler for the Font property in the constructor for the class instance. It allows the canvas class to be notified and updated when a new font is assigned to the canvas.

FontChanging ensures that both the Handle and the Font for the canvas are valid. No actions are performed in the method if State does not contain the values csFontValid and csHandleValid. It removes csFontValid from the States property and reselects the handle for the Font in the control.

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