FMX.Grid.TGlyphColumn.GlyphPlaceIntoBounds

De RAD Studio API Documentation
Aller à : navigation, rechercher

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);

Propriétés

Type Visibilité  Source Unité  Parent
function public
FMX.Grid.pas
FMX.Grid.hpp
FMX.Grid TGlyphColumn


Description

Renvoie le rectangle dans lequel dessiner l'image Index. Retire et aligne le rectangle original de l'image Index, en conservant ses proportions, pour qu'il tienne mieux dans le rectangle Bounds.

GlyphPlaceIntoBounds implémente un algorithme similaire à celui décrit ci-après :

Voir aussi