TeeAntiAliasCanvas

TeeAntiAliasCanvas variable

Var TeeAntiAliasCanvas;

Unit
Chart

Description
Default value is nil.

When the TeeAntiAlias canvas unit is used in an application, it will automatically set this global variable to TAntiAliasCanvas.

You can use this global variable to detect and use the anti-alias canvas only when its unit is used.


Example:

if Assigned(TeeAntiAliasCanvas) then
Chart1.Canvas := TeeAntiAliasCanvas.Create;