FMX.Graphics.TCanvas.DoBeginScene

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DoBeginScene(const AClipRects: PClipRects = nil; AContextHandle: THandle = 0): Boolean; virtual;

C++

virtual bool __fastcall DoBeginScene(const PClipRects AClipRects = (PClipRects)(0x0), NativeUInt AContextHandle = (NativeUInt)(0x0));

Properties

Type Visibility Source Unit Parent
function protected
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics TCanvas

Description

Makes the initialization required to begin drawing on the TCanvas object.

The protected DoBeginScene method is called internally from BeginScene. You should not call DoBeginScene explicitly.

DoBeginScene initializes the pen, brush, and transformation matrix for the current TCanvas object. Override the protected DoBeginScene method to provide another initialization.

See Also