FMX.Grid.TGlyphColumn.GlyphPlaceIntoBounds

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function GlyphPlaceIntoBounds(const Index: TImageIndex; const Bounds: TRectF; const Scale: Single): TRectF;

C++

System::Types::TRectF __fastcall GlyphPlaceIntoBounds(const System::Uitypes::TImageIndex Index, const System::Types::TRectF &Bounds, const float Scale);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
FMX.Grid.pas
FMX.Grid.hpp
FMX.Grid TGlyphColumn


Beschreibung

Gibt das Rechtecjk zurück, in dem das Index-Bild gezeichnet werden soll. Streckt und richtet das Original-Rechteck des Index-Bilds aus und behält dessen Rechtsck-Proportionen bei, um am besten in das Bounds-Rechteck zu passen.

GlyphPlaceIntoBounds implementiert den Algorithmus wie folgt:

Siehe auch