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 */;
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| function | public | System.Types.pas System.Types.hpp |
System.Types | System.Types |
Description
Renvoie une instance de TPoint ou TPointF avec des coordonnées à l'échelle.
Prend un point dans l'espace bidimensionnel (P) et multiplie ses coordonnées par DX et DY.