Content-type: text/html Manpage of FT_Extension_Class

FT_Extension_Class

Section: Misc. Reference Manual Pages (3)
Index Return to Main Contents
 

NAME

FT_Extension_Class  

SYNOPSIS


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; 
 

DESCRIPTION

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().   

VERSION

This documentation was generated for Freetype 2.0.4 by autodocbook (http://www.stillhq.com). Autodocbook is (c) Michael Still 2001.
      

AUTHOR

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.  

BUGS

Please report errors in this documentation, and Freetype itself to freetype@freetype.org


 

Index

NAME
SYNOPSIS
DESCRIPTION
VERSION
AUTHOR
BUGS

This document was created by man2html, using the manual pages.
Time: 04:44:36 GMT, July 26, 2001