MeshProvider::HitTestShape

MeshProvider::HitTestShape
virtual bool HitTestShape(const Matrix2F& m, float x, float y, float morphRatio, StrokeGenerator* gen, const ToleranceParams* tol) const;
Description
Parameters
Parameters 
Description 
const Matrix2F& m 
The transformation matrix for calculating the bounding rectangle.

  • : The horizontal screen coordinate.

 

float y 
The vertical screen coordinate. 
float morphRatio 
The morph ratio. 
StrokeGenerator* gen 
The StrokeGenerator for calculating the correct stroke bounds. 
const ToleranceParams* tol 
the ToleranceParams for calculating the curve subdivision. 
Return Value

True if the shape is hit test.