Ink Trail Visual. Add Trail Points With Prediction Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
uint32_t AddTrailPointsWithPrediction(winrt::array_view <InkTrailPoint> const& inkPoints, winrt::array_view <InkTrailPoint> const& predictedInkPoints);
public uint AddTrailPointsWithPrediction(InkTrailPoint inkPoints, InkTrailPoint predictedInkPoints);
function addTrailPointsWithPrediction(inkPoints, predictedInkPoints)
Public Function AddTrailPointsWithPrediction (inkPoints As InkTrailPoint(), predictedInkPoints As InkTrailPoint()) As UInteger
The actual "wet" ink points.
The predicted "wet" ink points.
The generation ID for the "wet" ink points.
Predicted points act like actual points and are appended to the end of the ink trail after any actual points.
Subsequent calls to AddTrailPoints (or AddTrailPointsWithPrediction) will remove all predicted points before adding new points.
The predicted points are provided by the app to reduce ink latency. They are overwritten by the actual positions when received by the app and added to the DelegatedInkTrailVisual.