C# Class BindingLibrary.WritePadAPI

Afficher le fichier Open project: phatware/WritePadSDK

Méthodes publiques

Свойство Type Description
language LanguageType

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static detectGesture ( int type, List currentStroke ) : int
type int
currentStroke List
Résultat int

getLanguageName() public static méthode

public static getLanguageName ( ) : String
Résultat String

initializeFlags() public static méthode

public static initializeFlags ( ) : void
Résultat void

isRecoFlagSet() public static méthode

public static isRecoFlagSet ( uint flags, uint flag ) : bool
flags uint
flag uint
Résultat bool

recoAddPixel() public static méthode

public static recoAddPixel ( int stroke, float x, float y ) : int
stroke int
x float
y float
Résultat int

recoDeleteLastStroke() public static méthode

public static recoDeleteLastStroke ( ) : bool
Résultat bool

recoFree() public static méthode

public static recoFree ( ) : void
Résultat void

recoGetFlags() public static méthode

public static recoGetFlags ( ) : uint
Résultat uint

recoInit() public static méthode

public static recoInit ( ) : void
Résultat void

recoInkData() public static méthode

public static recoInkData ( int nDataLen, bool bAsync, bool bFlipY, bool bSort, bool bNewLine ) : String
nDataLen int
bAsync bool
bFlipY bool
bSort bool
bNewLine bool
Résultat String

recoLearnWord() public static méthode

public static recoLearnWord ( String word, int weight ) : bool
word String
weight int
Résultat bool

recoNewStroke() public static méthode

public static recoNewStroke ( float width, uint color ) : int
width float
color uint
Résultat int

recoResetInk() public static méthode

public static recoResetInk ( ) : void
Résultat void

recoResultColumnCount() public static méthode

public static recoResultColumnCount ( ) : int
Résultat int

recoResultRowCount() public static méthode

public static recoResultRowCount ( int col ) : int
col int
Résultat int

recoResultWeight() public static méthode

public static recoResultWeight ( int column, int row ) : int
column int
row int
Résultat int

recoResultWord() public static méthode

public static recoResultWord ( int column, int row ) : String
column int
row int
Résultat String

recoSetFlags() public static méthode

public static recoSetFlags ( uint flags ) : void
flags uint
Résultat void

recoStrokeCount() public static méthode

public static recoStrokeCount ( ) : int
Résultat int

setRecoFlag() public static méthode

public static setRecoFlag ( uint flags, bool value, uint flag ) : uint
flags uint
value bool
flag uint
Résultat uint

Property Details

language public_oe static_oe property

public static LanguageType language
Résultat LanguageType