Vcl.Graphics.TCustomCanvas.RequiredState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RequiredState(ReqState: TCanvasState); virtual; abstract;

C++

virtual void __fastcall RequiredState(TCanvasState ReqState) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TCustomCanvas

Description

Changes the current state of the canvas to meet the given requirements.

Override RequiredState in descending classes. RequiredState ensures that a canvas meets a set of given requirements. If the requirements are not met, the canvas initializes its internal structures so that the requirements are met after the call to RequiredState is completed.

See Also