[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Ensures that all handles needed for the canvas are valid.
Source position: graphics.pp line 1089
protected procedure TCanvas.RequiredState( |
ReqState: TCanvasState |
); virtual; |
ReqState |
|
Required state flags. |
RequiredState is a procedure used to ensure that the canvas state flags include the values specified in the ReqState parameter. The TCanvasStates values represent handles that must be allocated for the canvas.
When a state value is not present in the flags, the corresponding routine used to create the required handle is called.
RequiredState is called from method implementations prior to performing an operation which requires a specific canvas state (or handles).
Version 3.2 | Generated 2024-02-25 | Home |