Vcl.Direct2D.TDirect2DCanvas.CreateRenderTarget

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CreateRenderTarget;

C++

void __fastcall CreateRenderTarget();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Direct2D.pas
Vcl.Direct2D.hpp
Vcl.Direct2D TDirect2DCanvas

Description

Initializes the rendering target.

CreateRenderTarget is used internally in the TDirect2DCanvas class. CreateRenderTarget is called automatically when the canvas object requires a valid rendering target to be created. CreateRenderTarget creates a new Direct2D interface attached to a given window handle.

See Also