delete:墨迹预测

This commit is contained in:
2026-03-28 17:52:30 +08:00
parent 9d0baa0799
commit f7013196f7
11 changed files with 6 additions and 324 deletions
@@ -1,8 +1,10 @@
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using OSVersionExtension;
using WinRtInkAnalyzer = global::Windows.UI.Input.Inking.Analysis.InkAnalyzer;
@@ -103,8 +105,7 @@ namespace Ink_Canvas.Helpers
new global::Windows.Foundation.Point((float)pi.X, (float)pi.Y), (float)sp.PressureFactor));
}
var transform = global::Windows.Foundation.Numerics.Matrix3x2.Identity;
return builder.CreateStrokeFromInkPoints(inkPoints, transform);
return builder.CreateStrokeFromInkPoints(inkPoints, Matrix3x2.Identity);
}
private static global::Windows.UI.Input.Inking.Analysis.InkAnalysisInkDrawing FindPrimaryDrawing(