C H A P T E R 1 0
Recognition: Advanced Topics
Summary of Advanced Topics in Recognition
10-55
Deferred Recognition Functions
10
Recognize(
strokes
,
config
,
doGroup
)
RecognizePara(
para
,
start
,
end
,
hilite
,
config
)
RecognizePoly(
poly
,
hilite
,
config
)
Application-Defined Methods
10
view
:ViewClickScript(
stroke
)
view
:ViewStrokeScript(
stroke
)
view
:ViewGestureScript(
stroke
,
gesture
)
view
:ViewWordScript(
stroke
)
CorrectInfo Functions
10
GetCorrectInfo() // return correctInfo frame
// return view identifier for use w/ correctInfo methods
GetViewID(
view
)
// extract wordInfo from word unit
GetCorrectionWordInfo(
wordUnit
) // call in ViewWordScript
Inker Functions
10
InkOff(
unit
)
InkOffUnHobbled(
unit
)
SetInkerPenSize(
size
)
Stroke Bundle Functions and Methods
10
CompressStrokes
(strokeBundle)
CountPoints
(stroke)
CountStrokes
(strokeBundle)
ExpandInk
(poly, format)
ExpandUnit
(unit)
GetStroke
(strokeBundle, index)
GetStrokeBounds
(stroke)
GetStrokePoint
(stroke, index, point, format)
GetStrokePointsArray
(stroke, format)
InkConvert
(ink, outputFormat)
MakeStrokeBundle
(strokes, format)
MergeInk
(poly1, poly2)
PointsArrayToStroke
(pointsArray, format)
SplitInkAt
(poly, x, slop)
StrokeBundleToInkWord
(strokeBundle)