API:Vcl.Touch.Gestures.TGestureRecognizer.NormalizePoints
Delphi
function NormalizePoints(const Points: array of TPoint): TGesturePointArray; override;
C++
virtual Vcl::Controls::TGesturePointArray __fastcall NormalizePoints(const System::Types::TPoint *Points, const int Points_High);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Touch.Gestures.pas Vcl.Touch.Gestures.hpp |
Vcl.Touch.Gestures | TGestureRecognizer |
Description
Normalizes a set of points.
Vcl.Touch.Gestures.TGestureRecognizer.NormalizePoints inherits from Vcl.Touch.Gestures.TCustomGestureRecognizer.NormalizePoints. All content below this line refers to Vcl.Touch.Gestures.TCustomGestureRecognizer.NormalizePoints.
Normalizes a set of points.
Override NormalizePoints in descendant classes to implement proper normalization techniques for a set of input points given by the Points parameter. NormalizePoints should normally modify the X and Y components of each point to make them follow a certain rule.