C# Class BindingLibrary.WritePadAPI

显示文件 Open project: phatware/WritePadSDK

Public Properties

Property Type Description
language LanguageType

Public Methods

Method Description
detectGesture ( int type, List currentStroke ) : int
getLanguageName ( ) : String
initializeFlags ( ) : void
isRecoFlagSet ( uint flags, uint flag ) : bool
recoAddPixel ( int stroke, float x, float y ) : int
recoDeleteLastStroke ( ) : bool
recoFree ( ) : void
recoGetFlags ( ) : uint
recoInit ( ) : void
recoInkData ( int nDataLen, bool bAsync, bool bFlipY, bool bSort, bool bNewLine ) : String
recoLearnWord ( String word, int weight ) : bool
recoNewStroke ( float width, uint color ) : int
recoResetInk ( ) : void
recoResultColumnCount ( ) : int
recoResultRowCount ( int col ) : int
recoResultWeight ( int column, int row ) : int
recoResultWord ( int column, int row ) : String
recoSetFlags ( uint flags ) : void
recoStrokeCount ( ) : int
setRecoFlag ( uint flags, bool value, uint flag ) : uint

Private Methods

Method Description
HWR_CheckGesture ( int type, CGTracePoint stroke, int len, int nScale, int nMinLen ) : int
HWR_FreeRecognizer ( IntPtr reco, string inDictionaryCustom, string inLearner, string inWordList ) : uint
HWR_GetLanguageName ( IntPtr reco ) : IntPtr
HWR_GetRecognitionFlags ( IntPtr reco ) : uint
HWR_GetResultAlternativeCount ( IntPtr reco, int nWord ) : int
HWR_GetResultWeight ( IntPtr reco, int nWord, int nAlternative ) : UInt16
HWR_GetResultWord ( IntPtr reco, int nWord, int nAlternative ) : IntPtr
HWR_GetResultWordCount ( IntPtr reco ) : int
HWR_InitRecognizer ( string inDictionaryMain, string inDictionaryCustom, string inLearner, string inAutoCorrect, int language, int &pFlags ) : IntPtr
HWR_LearnNewWord ( IntPtr reco, IntPtr word, UInt16 weight ) : int
HWR_RecognizeInkData ( IntPtr reco, IntPtr inkData, int nFirstStroke, int nLastStroke, bool bAsync, bool bFlipY, bool bSort, bool bSelOnly ) : IntPtr
HWR_SetDictionaryData ( IntPtr reco, byte data, int ndictinarytype ) : int
HWR_SetRecognitionFlags ( IntPtr reco, uint flags ) : uint
INK_AddEmptyStroke ( IntPtr inkData, float width, uint color ) : int
INK_AddPixelToStroke ( IntPtr inkData, int stroke, float x, float y, int pressure ) : int
INK_DeleteStroke ( IntPtr inkData, int nStroke ) : bool
INK_Erase ( IntPtr inkData ) : int
INK_GetStrokeP ( IntPtr inkData, int nStroke, IntPtr &stroke, float width, IntPtr &color ) : int
INK_InitData ( ) : IntPtr
INK_StrokeCount ( IntPtr inkData, bool selectedOnly ) : int
WritePadAPI ( ) : System

Method Details

detectGesture() public static method

public static detectGesture ( int type, List currentStroke ) : int
type int
currentStroke List
return int

getLanguageName() public static method

public static getLanguageName ( ) : String
return String

initializeFlags() public static method

public static initializeFlags ( ) : void
return void

isRecoFlagSet() public static method

public static isRecoFlagSet ( uint flags, uint flag ) : bool
flags uint
flag uint
return bool

recoAddPixel() public static method

public static recoAddPixel ( int stroke, float x, float y ) : int
stroke int
x float
y float
return int

recoDeleteLastStroke() public static method

public static recoDeleteLastStroke ( ) : bool
return bool

recoFree() public static method

public static recoFree ( ) : void
return void

recoGetFlags() public static method

public static recoGetFlags ( ) : uint
return uint

recoInit() public static method

public static recoInit ( ) : void
return void

recoInkData() public static method

public static recoInkData ( int nDataLen, bool bAsync, bool bFlipY, bool bSort, bool bNewLine ) : String
nDataLen int
bAsync bool
bFlipY bool
bSort bool
bNewLine bool
return String

recoLearnWord() public static method

public static recoLearnWord ( String word, int weight ) : bool
word String
weight int
return bool

recoNewStroke() public static method

public static recoNewStroke ( float width, uint color ) : int
width float
color uint
return int

recoResetInk() public static method

public static recoResetInk ( ) : void
return void

recoResultColumnCount() public static method

public static recoResultColumnCount ( ) : int
return int

recoResultRowCount() public static method

public static recoResultRowCount ( int col ) : int
col int
return int

recoResultWeight() public static method

public static recoResultWeight ( int column, int row ) : int
column int
row int
return int

recoResultWord() public static method

public static recoResultWord ( int column, int row ) : String
column int
row int
return String

recoSetFlags() public static method

public static recoSetFlags ( uint flags ) : void
flags uint
return void

recoStrokeCount() public static method

public static recoStrokeCount ( ) : int
return int

setRecoFlag() public static method

public static setRecoFlag ( uint flags, bool value, uint flag ) : uint
flags uint
value bool
flag uint
return uint

Property Details

language public_oe static_oe property

public static LanguageType language
return LanguageType