System.Types.ScalePoint
Delphi
function ScalePoint(const P: TPointF; dX, dY: Single): TPointF;
function ScalePoint(const P: TPoint; dX, dY: Single): TPoint;
C++
extern DELPHI_PACKAGE TPointF __fastcall ScalePoint(const TPointF &P, float dX, float dY)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Types.pas System.Types.hpp |
System.Types | System.Types |
Description
Returns an instance of TPoint or TPointF with scaled coordinates.
Takes a point in two-dimensional space (P
) and multiplies its coordinates by DX
and DY
.