FMX.Grid.TGlyphColumn.GlyphPlaceIntoBounds

From RAD Studio API Documentation
Jump to: navigation, search

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

Properties

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

Description

Returns the rectangle in which to draw the Index image. Stretches and aligns the original rectangle of the Index image, preserving its rectangle proportions, to best fit into the Bounds rectangle.

GlyphPlaceIntoBounds implements algorithm like the following:

See Also