FMX.Layouts.TScaledLayout.GetChildrenMatrix

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetChildrenMatrix(var Matrix: TMatrix; var Simple: Boolean): Boolean; override;

C++

virtual bool __fastcall GetChildrenMatrix(System::Math::Vectors::TMatrix &Matrix, bool &Simple);

Properties

Type Visibility Source Unit Parent
function protected
FMX.Layouts.pas
FMX.Layouts.hpp
FMX.Layouts TScaledLayout

Description

Returns the children transformation matrix.

FMX.Layouts.TScaledLayout.GetChildrenMatrix inherits from FMX.Controls.TControl.GetChildrenMatrix. All content below this line refers to FMX.Controls.TControl.GetChildrenMatrix.

Returns the children transformation matrix.

The AbsoluteMatrix is calculated as:

  AbsoluteMatrix = (LocalMatrix * Parent.GetChildrenMatrix) * Parent.AbsoluteMatrix

TScaledLayout overrides GetChildrenMatrix to prescale layout contents.

See Also