#include <nitro/prc.h>
u32 PRC_GetInputPatternBufferSize(
int maxPointCount,
int maxStrokeCount );
maxPointCount | Maximum point count after processing. |
maxStrokeCount | Maximum stroke count after processing. |
Returns the work area memory size that is required for the creation of input pattern data.
A PRCInputPattern
type input pattern data is used for recognition, and raw input stroke data must be decoded into it. This function returns the amount of work area memory size required to do this. Before calling PRC_InitInputPattern
, allocate at least as much memory as the return value.
This parameter restricts the maximum points and images after resampling for respectively maxPointCount
and maxStrokeCount
.
PRC_InitInputPattern, PRC_InitInputPatternEx
06/23/2004 Initial Version