[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Ensures that the Font for the canvas is valid and uses the correct color.
Source position: graphics.pp line 1078
protected procedure TCanvas.CreateFont; virtual; |
Gets the handle for the Font from its Reference class. The first time the Font handle is selected, the handle for the default font is returned as saved for use with DeselectHandles.
CreateFont updates the state flags for the canvas to include the value csFontValid. SetTextColor is called to apply the color from the Font to the canvas Handle.
Version 3.2 | Generated 2024-02-25 | Home |