add:WinRT墨迹识别

This commit is contained in:
2026-03-28 17:40:14 +08:00
parent 91c2fa4eee
commit 9d0baa0799
11 changed files with 484 additions and 60 deletions
+10
View File
@@ -3952,6 +3952,16 @@ namespace Ink_Canvas
SaveSettingsToFile();
}
private void ComboBoxShapeRecognitionEngine_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
if (!isLoaded || ComboBoxShapeRecognitionEngine == null) return;
int idx = ComboBoxShapeRecognitionEngine.SelectedIndex;
if (idx < 0) idx = 0;
if (idx > 2) idx = 2;
Settings.InkToShape.ShapeRecognitionEngine = idx;
SaveSettingsToFile();
}
private void ToggleSwitchEnableInkToShapeNoFakePressureTriangle_Toggled(object sender, RoutedEventArgs e)
{
if (!isLoaded) return;