FMX.Graphics.TCanvas.AlignToPixel
Delphi
function AlignToPixel(const Value: TPointF): TPointF; overload; inline;
function AlignToPixel(const Rect: TRectF): TRectF; overload; inline;
C++
System::Types::TPointF __fastcall AlignToPixel(const System::Types::TPointF &Value)/* overload */;
System::Types::TRectF __fastcall AlignToPixel(const System::Types::TRectF &Rect)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Graphics.pas FMX.Graphics.hpp |
FMX.Graphics | TCanvas |
Description
Returns a location or rectangle of integer pixel coordinates based on the specified location or rectangle of virtual floating-point coordinates.
The result highly depends on the configured matrix meaning.