1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>PRCPrototypeEntry</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">PRCPrototypeEntry <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></h1>
15<h2>Definition</h2>
16<dl>
17  <dd><PRE><CODE>#include &lt;nitro/prc.h&gt;
18
19typedef struct PRCPrototypeEntry
20{
21    BOOL                enabled;
22    u32                 kind;
23    u16                 code;
24    <A href="../../fx/fx16.html">fx16</A>                correction;
25    void*               data;
26    int                 pointIndex;
27    u16                 pointCount;
28    u16                 strokeCount;
29} PRCPrototypeEntry;
30</CODE></PRE></dd>
31</dl>
32
33<h2>Elements</h2>
34<table border="1" width="100%">
35  <tbody>
36    <TR>
37      <TD width="13%"><EM><STRONG><FONT face="Courier New">enabled</FONT></STRONG></EM></TD>
38      <TD width="87%">Whether this entry is enabled.</TD>
39    </TR>
40    <TR>
41      <TD width="13%"><EM><STRONG><FONT face="Courier New">kind</FONT></STRONG></EM></TD>
42      <TD width="87%">The bit field representation of this entry's kind.</TD>
43    </TR>
44    <TR>
45      <TD width="13%"><EM><STRONG><FONT face="Courier New">code</FONT></STRONG></EM></TD>
46      <TD width="87%">Code value.</TD>
47    </TR>
48    <TR>
49      <TD width="13%"><EM><STRONG><FONT face="Courier New">correction</FONT></STRONG></EM></TD>
50      <TD width="87%">Correction for a score.</TD>
51    </TR>
52    <TR>
53      <TD width="13%"><EM><STRONG><FONT face="Courier New">data</FONT></STRONG></EM></TD>
54      <TD width="87%">The user data that is associated with this entry.</TD>
55    </TR>
56    <TR>
57      <TD width="13%"><EM><STRONG><FONT face="Courier New">pointIndex</FONT></STRONG></EM></TD>
58      <TD width="87%">The ordinal position of the entry's  coordinate data in <CODE><A href="PRCPrototypeList.html">PRCPrototypeList</A>.pointArray</CODE>.</TD>
59    </TR>
60    <TR>
61      <TD width="13%"><EM><STRONG><FONT face="Courier New">pointCount</FONT></STRONG></EM></TD>
62      <TD width="87%">The number of points that constitute the entry.</TD>
63    </TR>
64    <TR>
65      <TD width="13%"><EM><STRONG><FONT face="Courier New">strokeCount</FONT></STRONG></EM></TD>
66      <TD width="87%">The number of strokes that constitute the entry.</TD>
67    </TR>
68  </tbody>
69</table>
70<H2>Description</H2>
71<P>This structure is included in the <CODE><A href="PRCPrototypeList.html">PRCPrototypeList</A></CODE> structure as the attribute information for each entry in the sample DB. It is returned as the recognition results of <CODE><A href="PRC_GetRecognizedEntry.html">PRC_GetRecognizedEntry*</A></CODE>.</P>
72<P><CODE>correction</CODE> is a numerical correction value for the entry score in the recognition algorithm. If the preadjusted score is placed in <CODE>score</CODE>, the corrected value will become <CODE>FX_Mul(score, FX32_ONE - correction) + correction</CODE>. That is, if <CODE>correction</CODE> is 0, there will be no correction. The score will increase as a value increases in the positive direction and decrease as the number decreases in the negative direction.</P>
73<P>The <CODE>kind</CODE> attribute is for use with the <CODE>kindMask</CODE> option in functions such as <CODE><A href="PRC_GetRecognizedEntry.html">PRC_GetRecognizedEntry*</A></CODE> to restrict the kind of pattern that is targeted for matching. Use it so that a bit is set for each pattern kind.</P>
74<h2>See Also</h2>
75<p><CODE><A href="PRC_GetRecognizedEntry.html">PRC_GetRecognizedEntry*</A>, <A href="PRC_GetEntryCode.html">PRC_GetEntryCode</A>, <A href="PRC_GetEntryData.html">PRC_GetEntryData</A><br></CODE></p>
76
77<H2>Revision History</H2>
78<P>2004/06/23 Initial version.</P>
79<hr><p>CONFIDENTIAL</p></body>
80</html>
81