FMX.Gestures.TCustomGestureRecognizer.ScaleGesturePoints
Delphi
class function ScaleGesturePoints(const Points, GesturePoints: array of TPointF; const MinScale: Integer; const Scaling: Boolean = False): TGesturePointArray; static;
C++
static Fmx::Types::TGesturePointArray __fastcall ScaleGesturePoints(System::Types::TPointF const *Points, const int Points_High, System::Types::TPointF const *GesturePoints, const int GesturePoints_High, const int MinScale, const bool Scaling = false);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | FMX.Gestures.pas FMX.Gestures.hpp |
FMX.Gestures | TCustomGestureRecognizer |
Description
Returns a new gesture point list scaled.
ScaleGesturePoints takes the following parameters:
Parameter | Description |
---|---|
Points
|
The array with the incoming normalized points to scale. |
GesturePoints
|
The array of incoming points that have passed an initial filter and are ready to be normalized. |
MinScale
|
The minimum allowed scaling factor. If the scaling factor is below this value, no scaling is performed. |
Scaling
|
Specifies whether the scaling is asymmetrical. |