193 * FT_OutlineGlyphRec
194 *
195 * @description:
196 * A structure used for outline (vectorial) glyph images. This really is
197 * a 'sub-class' of @FT_GlyphRec.
198 *
199 * @fields:
200 * root ::
201 * The root @FT_Glyph fields.
202 *
203 * outline ::
204 * A descriptor for the outline.
205 *
206 * @note:
207 * You can typecast an @FT_Glyph to @FT_OutlineGlyph if you have
208 * `glyph->format == FT_GLYPH_FORMAT_OUTLINE`. This lets you access the
209 * outline's content easily.
210 *
211 * As the outline is extracted from a glyph slot, its coordinates are
212 * expressed normally in 26.6 pixels, unless the flag @FT_LOAD_NO_SCALE
213 * was used in @FT_Load_Glyph() or @FT_Load_Char().
214 *
215 * The outline's tables are always owned by the object and are destroyed
216 * with it.
217 */
218 typedef struct FT_OutlineGlyphRec_
219 {
220 FT_GlyphRec root;
221 FT_Outline outline;
222
223 } FT_OutlineGlyphRec;
224
225
226 /**************************************************************************
227 *
228 * @function:
229 * FT_New_Glyph
230 *
231 * @description:
232 * A function used to create a new empty glyph image. Note that the
233 * created @FT_Glyph object must be released with @FT_Done_Glyph.
|
193 * FT_OutlineGlyphRec
194 *
195 * @description:
196 * A structure used for outline (vectorial) glyph images. This really is
197 * a 'sub-class' of @FT_GlyphRec.
198 *
199 * @fields:
200 * root ::
201 * The root @FT_Glyph fields.
202 *
203 * outline ::
204 * A descriptor for the outline.
205 *
206 * @note:
207 * You can typecast an @FT_Glyph to @FT_OutlineGlyph if you have
208 * `glyph->format == FT_GLYPH_FORMAT_OUTLINE`. This lets you access the
209 * outline's content easily.
210 *
211 * As the outline is extracted from a glyph slot, its coordinates are
212 * expressed normally in 26.6 pixels, unless the flag @FT_LOAD_NO_SCALE
213 * was used in @FT_Load_Glyph or @FT_Load_Char.
214 *
215 * The outline's tables are always owned by the object and are destroyed
216 * with it.
217 */
218 typedef struct FT_OutlineGlyphRec_
219 {
220 FT_GlyphRec root;
221 FT_Outline outline;
222
223 } FT_OutlineGlyphRec;
224
225
226 /**************************************************************************
227 *
228 * @function:
229 * FT_New_Glyph
230 *
231 * @description:
232 * A function used to create a new empty glyph image. Note that the
233 * created @FT_Glyph object must be released with @FT_Done_Glyph.
|