Content-type: text/html
id :: The extension's ID. This is a normal C string that is used to uniquely reference the extension's interface.
size :: The size in bytes of the extension data that must be associated with each face object.
init :: A pointer to the extension data's initializer.
finalize :: A pointer to the extension data's finalizer.
interface :: This pointer can be anything, but should usually point to a table of function pointers which implement the extension's interface.
offset :: This field is set and used within the base layer and should be set to 0 when registering an extension through FT_Register_Extension(). It contains an offset within the face's extension block for the current extension's data. typedef struct FT_Extension_Class_ { const char* id; FT_ULong size; FT_Extension_Initializer init; FT_Extension_Finalizer finalize; void* interface; FT_ULong offset; } FT_Extension_Class;
Notes:Notes:
A simple structure used to describe a given extension to the FreeType base layer. An FT_Extension_Class is used as a parameter for FT_Register_Extension().
This documentation was generated for Freetype 2.0.4 by autodocbook (http://www.stillhq.com). Autodocbook is (c) Michael Still 2001.
Copyright 1996-2000 by
David Turner, Robert Wilhelm, and Werner Lemberg.
This file is part of the FreeType project, and may only be used, modified, and distributed under the terms of the FreeType project license, LICENSE.TXT. By continuing to use, modify, or distribute this file you indicate that you have read the license and understand and accept it fully.
Please report errors in this documentation, and Freetype itself to freetype@freetype.org