#include "featdefs.h"#include "emalloc.h"#include "danerror.h"#include "scanutils.h"#include <string.h>#include <stdio.h>Defines | |
| #define | ILLEGAL_NUM_SETS 3001 |
| #define | PICO_FEATURE_LENGTH 0.05 |
| #define | MAX_OUTLINE_FEATURES 100 |
Functions | |
| StartParamDesc (MicroFeatureParams) DefineParam(0 | |
| DefineParam (0, 0,-0.25, 0.75) DefineParam(0 | |
| DefineParam (1, 0, 0.0, 1.0) DefineParam(0 | |
| DefineParam (0, 1,-0.5, 0.5) EndParamDescDefineFeature(MicroFeatureDesc | |
| StartParamDesc (PicoFeatParams) DefineParam(0 | |
| EndParamDesc | DefineFeature (PicoFeatDesc, 2, 1, 1, MAX_UINT8,"Pico","pf", PicoFeatParams) StartParamDesc(CharNormParams) DefineParam(0 |
| EndParamDesc | DefineParam (0, 1, 0.0, 1.0) DefineParam(0 |
| EndParamDesc CharNormParams | StartParamDesc (OutlineFeatParams) DefineParam(0 |
| void | FreeCharDescription (CHAR_DESC CharDesc) |
| CHAR_DESC | NewCharDescription () |
| void | WriteCharDescription (FILE *File, CHAR_DESC CharDesc) |
| CHAR_DESC | ReadCharDescription (FILE *File) |
| int | ShortNameToFeatureType (const char *ShortName) |
Variables | |
| Micro | |
| mf | |
| MicroFeatureParams FLOAT32 | PicoFeatureLength = PICO_FEATURE_LENGTH |
| EndParamDesc | CharNorm |
| EndParamDesc | cn |
| EndParamDesc CharNormParams | MAX_OUTLINE_FEATURES |
| EndParamDesc CharNormParams | Outline |
| EndParamDesc CharNormParams | of |
| EndParamDesc CharNormParams OutlineFeatParams FEATURE_DEFS_STRUCT | FeatureDefs |
| #define ILLEGAL_NUM_SETS 3001 |
---------------------------------------------------------------------------- Include Files and Type Defines ----------------------------------------------------------------------------
| #define MAX_OUTLINE_FEATURES 100 |
| #define PICO_FEATURE_LENGTH 0.05 |
| EndParamDesc DefineFeature | ( | PicoFeatDesc | , | |
| 2 | , | |||
| 1 | , | |||
| 1 | , | |||
| MAX_UINT8 | , | |||
| "Pico" | , | |||
| "pf" | , | |||
| PicoFeatParams | ||||
| ) |
| EndParamDesc DefineParam | ( | 0 | , | |
| 1 | , | |||
| 0. | 0, | |||
| 1. | 0 | |||
| ) |
| DefineParam | ( | 0 | , | |
| 1 | , | |||
| -0. | 5, | |||
| 0. | 5 | |||
| ) |
| EndParamDesc CharNormParams DefineParam | ( | 1 | , | |
| 0 | , | |||
| 0. | 0, | |||
| 1. | 0 | |||
| ) |
| EndParamDesc CharNormParams DefineParam | ( | 0 | , | |
| 0 | , | |||
| -0. | 25, | |||
| 0. | 75 | |||
| ) |
| void FreeCharDescription | ( | CHAR_DESC | CharDesc | ) |
---------------------------------------------------------------------------- Public Code ----------------------------------------------------------------------------
| CHAR_DESC NewCharDescription | ( | ) |
| CHAR_DESC ReadCharDescription | ( | FILE * | File | ) |
| int ShortNameToFeatureType | ( | const char * | ShortName | ) |
| EndParamDesc CharNormParams StartParamDesc | ( | OutlineFeatParams | ) |
| StartParamDesc | ( | PicoFeatParams | ) |
| StartParamDesc | ( | MicroFeatureParams | ) |
---------------------------------------------------------------------------- Global Data Definitions and Declarations ----------------------------------------------------------------------------
| void WriteCharDescription | ( | FILE * | File, | |
| CHAR_DESC | CharDesc | |||
| ) |
| EndParamDesc CharNorm |
| EndParamDesc cn |
| EndParamDesc CharNormParams OutlineFeatParams FEATURE_DEFS_STRUCT FeatureDefs |
{
NUM_FEATURE_TYPES,
{
&MicroFeatureDesc,
&PicoFeatDesc,
&OutlineFeatDesc,
&CharNormDesc
}
}
---------------------------------------------------------------------------- Global Data Definitions and Declarations ----------------------------------------------------------------------------
| EndParamDesc CharNormParams MAX_OUTLINE_FEATURES |
| EndParamDesc CharNormParams of |
| EndParamDesc CharNormParams Outline |
| MicroFeatureParams FLOAT32 PicoFeatureLength = PICO_FEATURE_LENGTH |
1.6.3