FMX.Layouts.TScaledLayout.GetChildrenMatrix

From RAD Studio API Documentation

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. {{#multireplace:FMX.Layouts.TScaledLayout.GetChildrenMatrix|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Controls.TControl.GetChildrenMatrix|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.Controls.TControl.GetChildrenMatrix|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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