FMX.Grid.TGlyphColumn.GlyphPlaceIntoBounds

提供: RAD Studio API Documentation
移動先: 案内検索

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

プロパティ

種類 可視性 ソース ユニット
function public
FMX.Grid.pas
FMX.Grid.hpp
FMX.Grid TGlyphColumn


説明

Index のイメージを描画する四角形を返します。Index のイメージの元の四角形を拡大し、配置します。その際、四角形の縦横比はそのままに、Bounds の四角形に最もフィットするようにします。

GlyphPlaceIntoBounds あh、次のようなアルゴリズムを実装します:

関連項目