delphi 微软手写输入法源码 interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, OleServer, MSINKAUTLib_TLB, ExtCtrls, StdCtrls, MSINKAUTLib; type TForm1 = class(TForm) InkCLT: TInkCollector; Memo1: TMemo; Panel1: TPanel; Button1: TButton; InkRecognizerContext1: TInkRecognizerContext; procedure FormCreate(Sender: TObject); procedure InkCLTStroke(ASender: TObject; const Cursor: IInkCursor; const Stroke: IInkStrokeDisp; var Cancel: WordBool); procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.FormCreate(Sender: TObject); begin InkCLT.hWnd := panel1.Handle; InkCLT.Enabled := true; InkCLT.DefaultDrawingAttributes.Color := clRed; // 墨水颜色 InkCLT.DefaultDrawingAttributes.Width := 200; // 笔的宽度 end; procedure TForm1.InkCLTStroke(ASender: TObject; const Cursor: IInkCursor; const Stroke: IInkStrokeDisp; var Cancel: WordBool); begin Memo1.Lines.Clear; Memo1.Lines.Add(Stroke.Ink.Strokes.ToString); end; procedure TForm1.Button1Click(Sender: TObject); begin InkCLT.Ink.DeleteStrokes(InkCLT.Ink.Strokes); Panel1.Refresh; end; end.
2019-12-21 22:14:22 9.38MB 手写输入法
1
QT平台的中文输入法,有智能拼音,笔画,手写识别,英文字母,支持全键盘和九宫格(T9)两种模式,界面做得不错,这个版本是windows 下的适合在windows 做测试时用。arm版本要找官方索取。
1
c#版的手写模拟键盘输入工具,非常好用,可以运用到触摸屏上,c#版的手写模拟键盘输入工具,非常好用,可以运用到触摸屏上,c#版的手写模拟键盘输入工具,非常好用,可以运用到触摸屏上,
2019-12-21 20:10:24 625KB 手写输入法
1