Document `GX_BlendRec'.
This commit is contained in:
parent
4a62922bf8
commit
8dd9e9675d
|
@ -214,15 +214,82 @@ FT_BEGIN_HEADER
|
||||||
/* */
|
/* */
|
||||||
/* <Description> */
|
/* <Description> */
|
||||||
/* Data for interpolating a font from a distortable font specified */
|
/* Data for interpolating a font from a distortable font specified */
|
||||||
/* by the GX *var tables ([fgca]var). */
|
/* by the GX *var tables ([fgcahvm]var). */
|
||||||
/* */
|
/* */
|
||||||
/* <Fields> */
|
/* <Fields> */
|
||||||
/* num_axis :: The number of axes along which interpolation */
|
/* num_axis :: */
|
||||||
/* may happen */
|
/* The number of axes along which interpolation may happen. */
|
||||||
/* */
|
/* */
|
||||||
/* normalizedcoords :: A normalized value (between [-1,1]) indicating */
|
/* normalizedcoords :: */
|
||||||
/* the contribution along each axis to the final */
|
/* An array of normalized values (between [-1,1]) indicating the */
|
||||||
/* interpolated font. */
|
/* contribution along each axis to the final interpolated font. */
|
||||||
|
/* `coords' holds the same values. */
|
||||||
|
/* */
|
||||||
|
/* mmvar :: */
|
||||||
|
/* Data from the `fvar' table. */
|
||||||
|
/* */
|
||||||
|
/* mmvar_len :: */
|
||||||
|
/* The length of the `mmvar' structure. */
|
||||||
|
/* */
|
||||||
|
/* normalized_stylecoords :: */
|
||||||
|
/* A two-dimensional array that holds the named instance data from */
|
||||||
|
/* `mmvar' as normalized values. */
|
||||||
|
/* */
|
||||||
|
/* avar_loaded :: */
|
||||||
|
/* A Boolean; if set, FreeType tried to load (and parse) the `avar' */
|
||||||
|
/* table. */
|
||||||
|
/* */
|
||||||
|
/* avar_segment :: */
|
||||||
|
/* Data from the `avar' table. */
|
||||||
|
/* */
|
||||||
|
/* hvar_loaded :: */
|
||||||
|
/* A Boolean; if set, FreeType tried to load (and parse) the `hvar' */
|
||||||
|
/* table. */
|
||||||
|
/* */
|
||||||
|
/* hvar_checked :: */
|
||||||
|
/* A Boolean; if set, FreeType successfully loaded and parsed the */
|
||||||
|
/* `hvar' table. */
|
||||||
|
/* */
|
||||||
|
/* hvar_error :: */
|
||||||
|
/* If loading and parsing of the `hvar' table failed, this field */
|
||||||
|
/* holds the corresponding error code. */
|
||||||
|
/* */
|
||||||
|
/* hvar_table :: */
|
||||||
|
/* Data from the `hvar' table. */
|
||||||
|
/* */
|
||||||
|
/* vvar_loaded :: */
|
||||||
|
/* A Boolean; if set, FreeType tried to load (and parse) the `vvar' */
|
||||||
|
/* table. */
|
||||||
|
/* */
|
||||||
|
/* vvar_checked :: */
|
||||||
|
/* A Boolean; if set, FreeType successfully loaded and parsed the */
|
||||||
|
/* `vvar' table. */
|
||||||
|
/* */
|
||||||
|
/* vvar_error :: */
|
||||||
|
/* If loading and parsing of the `vvar' table failed, this field */
|
||||||
|
/* holds the corresponding error code. */
|
||||||
|
/* */
|
||||||
|
/* vvar_table :: */
|
||||||
|
/* Data from the `vvar' table. */
|
||||||
|
/* */
|
||||||
|
/* mvar_table :: */
|
||||||
|
/* Data from the `mvar' table. */
|
||||||
|
/* */
|
||||||
|
/* tuplecount :: */
|
||||||
|
/* The number of shared tuples in the `gvar' table. */
|
||||||
|
/* */
|
||||||
|
/* tuplecoords :: */
|
||||||
|
/* A two-dimensional array that holds the shared tuple coordinates */
|
||||||
|
/* in the `gvar' table. */
|
||||||
|
/* */
|
||||||
|
/* gv_glyphcnt :: */
|
||||||
|
/* The number of glyphs handled in the `gvar' table. */
|
||||||
|
/* */
|
||||||
|
/* glyphoffsets :: */
|
||||||
|
/* Offsets into the glyph variation data array. */
|
||||||
|
/* */
|
||||||
|
/* gvar_size :: */
|
||||||
|
/* The size of the `gvar' table. */
|
||||||
/* */
|
/* */
|
||||||
typedef struct GX_BlendRec_
|
typedef struct GX_BlendRec_
|
||||||
{
|
{
|
||||||
|
@ -236,7 +303,7 @@ FT_BEGIN_HEADER
|
||||||
/* normalized_stylecoords[num_namedstyles][num_axis] */
|
/* normalized_stylecoords[num_namedstyles][num_axis] */
|
||||||
|
|
||||||
FT_Bool avar_loaded;
|
FT_Bool avar_loaded;
|
||||||
GX_AVarSegment avar_segment;
|
GX_AVarSegment avar_segment; /* avar_segment[num_axis] */
|
||||||
|
|
||||||
FT_Bool hvar_loaded;
|
FT_Bool hvar_loaded;
|
||||||
FT_Bool hvar_checked;
|
FT_Bool hvar_checked;
|
||||||
|
@ -250,11 +317,11 @@ FT_BEGIN_HEADER
|
||||||
|
|
||||||
GX_MVarTable mvar_table;
|
GX_MVarTable mvar_table;
|
||||||
|
|
||||||
FT_UInt tuplecount; /* shared tuples in `gvar' */
|
FT_UInt tuplecount;
|
||||||
FT_Fixed* tuplecoords; /* tuplecoords[tuplecount][num_axis] */
|
FT_Fixed* tuplecoords; /* tuplecoords[tuplecount][num_axis] */
|
||||||
|
|
||||||
FT_UInt gv_glyphcnt;
|
FT_UInt gv_glyphcnt;
|
||||||
FT_ULong* glyphoffsets;
|
FT_ULong* glyphoffsets; /* glyphoffsets[gv_glyphcnt + 1] */
|
||||||
|
|
||||||
FT_ULong gvar_size;
|
FT_ULong gvar_size;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue