PRC_GetInputPatternBufferSize

C Specification

#include <nitro/prc.h>

u32 PRC_GetInputPatternBufferSize(
int                         maxPointCount,
int                         maxStrokeCount );

Arguments

maxPointCount Maximum point count after processing.
maxStrokeCount Maximum stroke count after processing.

Return Values

Returns the work area memory size that is required for the creation of input pattern data.

Description

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.

See Also

PRC_InitInputPattern, PRC_InitInputPatternEx

Revision History

06/23/2004 Initial Version