2009-04-05 16:59:26 +02:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* ftpic.h */
|
|
|
|
/* */
|
|
|
|
/* The FreeType position independent code services (declaration). */
|
|
|
|
/* */
|
2016-01-13 11:54:10 +01:00
|
|
|
/* Copyright 2009-2016 by */
|
2009-04-05 16:59:26 +02:00
|
|
|
/* Oran Agra and Mickey Gabel. */
|
|
|
|
/* */
|
|
|
|
/* 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. */
|
|
|
|
/* */
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
/*************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* Modules that ordinarily have const global data that need address */
|
|
|
|
/* can instead define pointers here. */
|
|
|
|
/* */
|
|
|
|
/*************************************************************************/
|
|
|
|
|
|
|
|
|
2016-01-12 21:37:13 +01:00
|
|
|
#ifndef FTPIC_H_
|
|
|
|
#define FTPIC_H_
|
2009-04-05 16:59:26 +02:00
|
|
|
|
2012-01-16 18:00:24 +01:00
|
|
|
|
2009-04-05 16:59:26 +02:00
|
|
|
FT_BEGIN_HEADER
|
|
|
|
|
|
|
|
#ifdef FT_CONFIG_OPTION_PIC
|
|
|
|
|
2012-07-29 13:15:53 +02:00
|
|
|
typedef struct FT_PIC_Container_
|
2009-04-05 16:59:26 +02:00
|
|
|
{
|
|
|
|
/* pic containers for base */
|
2012-07-29 13:15:53 +02:00
|
|
|
void* base;
|
|
|
|
|
2009-04-05 16:59:26 +02:00
|
|
|
/* pic containers for modules */
|
2012-07-29 13:15:53 +02:00
|
|
|
void* autofit;
|
|
|
|
void* cff;
|
|
|
|
void* pshinter;
|
|
|
|
void* psnames;
|
|
|
|
void* raster;
|
|
|
|
void* sfnt;
|
|
|
|
void* smooth;
|
|
|
|
void* truetype;
|
|
|
|
|
2009-04-05 16:59:26 +02:00
|
|
|
} FT_PIC_Container;
|
|
|
|
|
2012-07-29 13:15:53 +02:00
|
|
|
|
|
|
|
/* Initialize the various function tables, structs, etc. */
|
|
|
|
/* stored in the container. */
|
2009-04-05 16:59:26 +02:00
|
|
|
FT_BASE( FT_Error )
|
2012-07-29 13:15:53 +02:00
|
|
|
ft_pic_container_init( FT_Library library );
|
2009-04-05 16:59:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* Destroy the contents of the container. */
|
|
|
|
FT_BASE( void )
|
2012-07-29 13:15:53 +02:00
|
|
|
ft_pic_container_destroy( FT_Library library );
|
2009-04-05 16:59:26 +02:00
|
|
|
|
|
|
|
#endif /* FT_CONFIG_OPTION_PIC */
|
|
|
|
|
|
|
|
/* */
|
|
|
|
|
|
|
|
FT_END_HEADER
|
|
|
|
|
2016-01-12 21:37:13 +01:00
|
|
|
#endif /* FTPIC_H_ */
|
2009-04-05 16:59:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* END */
|