Content-type: text/html Manpage of FTC_Manager_New

FTC_Manager_New

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

NAME

FTC_Manager_New  

DESCRIPTION

Creates a new cache manager.

Input:

library :: The parent FreeType library handle to use.

max_faces :: Maximum number of faces to keep alive in manager. Use 0 for defaults.

max_sizes :: Maximum number of sizes to keep alive in manager. Use 0 for defaults.

max_bytes :: Maximum number of bytes to use for cached data. Use 0 for defaults.

requester :: An application-provided callback used to translate face IDs into real FT_Face objects.

req_data :: A generic pointer that is passed to the requester each time it is called (see FTC_Face_Requester)

Output:

amanager :: A handle to a new manager object. 0 in case of failure.  

RETURNS

FreeType error code. 0 means success. FT_EXPORT( FT_Error ) FTC_Manager_New( FT_Library library, FT_UInt max_faces, FT_UInt max_sizes, FT_ULong max_bytes, FTC_Face_Requester requester, FT_Pointer req_data, FTC_Manager *amanager );  

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:34 GMT, July 26, 2001