Content-type: text/html
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.
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 );
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