Content-type: text/html Manpage of FT_Get_Module_Interface

FT_Get_Module_Interface

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

NAME

FT_Get_Module_Interface  

DESCRIPTION

Finds a module and returns its specific interface as a typeless pointer.

Input:

library :: A handle to the library object.

module_name :: The module's name (as an ASCII string). Finds a module and returns its specific interface as a typeless pointer.

Input:

library :: A handle to the library object.

module_name :: The module's name (as an ASCII string).

Notes: You should better be familiar with FreeType internals to know which module to look for, and what its interface is :-) FT_BASE( const void* ) FT_Get_Module_Interface( FT_Library library, const char* mod_name ); *** *** FACE, SIZE & GLYPH SLOT OBJECTS *** *** *** a few macros used to perform easy typecasts with minimal brain damage #define FT_FACE( x ) ((FT_Face)(x)) #define FT_SIZE( x ) ((FT_Size)(x)) #define FT_SLOT( x ) ((FT_GlyphSlot)(x)) #define FT_FACE_DRIVER( x ) FT_FACE( x )->driver #define FT_FACE_LIBRARY( x ) FT_FACE_DRIVER( x )->root.library #define FT_FACE_MEMORY( x ) FT_FACE( x )->memory #define FT_SIZE_FACE( x ) FT_SIZE( x )->face #define FT_SLOT_FACE( x ) FT_SLOT( x )->face #define FT_FACE_SLOT( x ) FT_FACE( x )->glyph #define FT_FACE_SIZE( x ) FT_FACE( x )->size this must be kept exported -- it is used by the cache manager even though it shouldn't be considered public for now  

RETURNS

A module-specific interface if available, 0 otherwise.  

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
DESCRIPTION
RETURNS
VERSION
AUTHOR
BUGS

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