1a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod/***************************************************************************/
22409d5f8d7dd8b535ce5ea29e933f7db27d33793Behdad Esfahbod/*                                                                         */
3a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod/*  ftgrays.h                                                              */
4a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod/*                                                                         */
5a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod/*    FreeType smooth renderer declaration                                 */
6a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod/*                                                                         */
7a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod/*  Copyright 1996-2001 by                                                 */
8a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
9a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod/*                                                                         */
10a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod/*  This file is part of the FreeType project, and may only be used,       */
11a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod/*  modified, and distributed under the terms of the FreeType project      */
12a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
13a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod/*  this file you indicate that you have read the license and              */
14a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod/*  understand and accept it fully.                                        */
15a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod/*                                                                         */
16a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod/***************************************************************************/
17a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod
18a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod
19a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod#ifndef __FTGRAYS_H__
20a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod#define __FTGRAYS_H__
21a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod
22a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod#ifdef __cplusplus
23a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod  extern "C" {
24a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod#endif
25a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod
26a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod
27a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod#ifdef _STANDALONE_
28a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod#include "ftimage.h"
29a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod#else
30c57d454accff66e5f2c58006e8fb40bc020b6182Behdad Esfahbod#include "../../include/ft2build.h"
31a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod#include "../../include/freetype/config/ftconfig.h" /* for FT_CONFIG_OPTION_PIC */
32895fb5d364e7ae5d9d2e34b9f68b8651804369efBehdad Esfahbod#include "../../include/freetype/ftimage.h"
332265be0a620bc76ab65f12fedde67791beb51314Behdad Esfahbod#endif
3416c6a27b4bffc19026944c7bea9cf0a3a8ff1d8fBehdad Esfahbod
35a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod
36a806762a314e83154793d96ee665e6668d6b56deBehdad Esfahbod  /*************************************************************************/
3713403bc67a01e0d4908fb964093fd02ddd11c580Behdad Esfahbod  /*                                                                       */
3813403bc67a01e0d4908fb964093fd02ddd11c580Behdad Esfahbod  /* To make ftgrays.h independent from configuration files we check       */
3916c6a27b4bffc19026944c7bea9cf0a3a8ff1d8fBehdad Esfahbod  /* whether FT_EXPORT_VAR has been defined already.                       */
4016c6a27b4bffc19026944c7bea9cf0a3a8ff1d8fBehdad Esfahbod  /*                                                                       */
4113403bc67a01e0d4908fb964093fd02ddd11c580Behdad Esfahbod  /* On some systems and compilers (Win32 mostly), an extra keyword is     */
42a8c6da90f4c6e8d27a3a1b758a55476776d9f750Behdad Esfahbod  /* necessary to compile the library as a DLL.                            */
435497a8a274a7066c0230c850baadef681785c8bbBehdad Esfahbod  /*                                                                       */
445497a8a274a7066c0230c850baadef681785c8bbBehdad Esfahbod#ifndef FT_EXPORT_VAR
455497a8a274a7066c0230c850baadef681785c8bbBehdad Esfahbod#define FT_EXPORT_VAR( x )  extern  x
465497a8a274a7066c0230c850baadef681785c8bbBehdad Esfahbod#endif
47a82165248cddb720576464b8e59a986491d3f2e9Behdad Esfahbod
488bb5deba9630d35878eb6edb4643ecfabf99f15fBehdad Esfahbod  FT_EXPORT_VAR( const FT_Raster_Funcs )  ft_grays_raster;
49f30641038ba96e83950729b1bd9d86d2e98e46c5Behdad Esfahbod
50f30641038ba96e83950729b1bd9d86d2e98e46c5Behdad Esfahbod
51f30641038ba96e83950729b1bd9d86d2e98e46c5Behdad Esfahbod#ifdef __cplusplus
52f30641038ba96e83950729b1bd9d86d2e98e46c5Behdad Esfahbod  }
53f30641038ba96e83950729b1bd9d86d2e98e46c5Behdad Esfahbod#endif
54f30641038ba96e83950729b1bd9d86d2e98e46c5Behdad Esfahbod
55f30641038ba96e83950729b1bd9d86d2e98e46c5Behdad Esfahbod#endif /* __FTGRAYS_H__ */
56f30641038ba96e83950729b1bd9d86d2e98e46c5Behdad Esfahbod
57f30641038ba96e83950729b1bd9d86d2e98e46c5Behdad Esfahbod
58f30641038ba96e83950729b1bd9d86d2e98e46c5Behdad Esfahbod/* END */
598bb5deba9630d35878eb6edb4643ecfabf99f15fBehdad Esfahbod