0.2.0-dev Download ZIP
50 lines ·1.2 KB Raw
| 1 | /**************************************************************************** |
| 2 | * |
| 3 | * ftgrays.h |
| 4 | * |
| 5 | * FreeType smooth renderer declaration |
| 6 | * |
| 7 | * Copyright (C) 1996-2026 by |
| 8 | * David Turner, Robert Wilhelm, and Werner Lemberg. |
| 9 | * |
| 10 | * This file is part of the FreeType project, and may only be used, |
| 11 | * modified, and distributed under the terms of the FreeType project |
| 12 | * license, LICENSE.TXT. By continuing to use, modify, or distribute |
| 13 | * this file you indicate that you have read the license and |
| 14 | * understand and accept it fully. |
| 15 | * |
| 16 | */ |
| 17 | |
| 18 | |
| 19 | #ifndef FTGRAYS_H_ |
| 20 | #define FTGRAYS_H_ |
| 21 | |
| 22 | #ifdef STANDALONE_ |
| 23 | #include "ftimage.h" |
| 24 | #else |
| 25 | #include <ft2build.h> |
| 26 | #include <freetype/ftimage.h> |
| 27 | #endif |
| 28 | |
| 29 | FT_BEGIN_HEADER |
| 30 | |
| 31 | /************************************************************************** |
| 32 | * |
| 33 | * To make ftgrays.h independent from configuration files we check |
| 34 | * whether FT_EXPORT_VAR has been defined already. |
| 35 | * |
| 36 | * On some systems and compilers (Win32 mostly), an extra keyword is |
| 37 | * necessary to compile the library as a DLL. |
| 38 | */ |
| 39 | #ifndef FT_EXPORT_VAR |
| 40 | #define FT_EXPORT_VAR( x ) extern x |
| 41 | #endif |
| 42 | |
| 43 | FT_EXPORT_VAR( const FT_Raster_Funcs ) ft_grays_raster; |
| 44 | |
| 45 | FT_END_HEADER |
| 46 | |
| 47 | #endif /* FTGRAYS_H_ */ |
| 48 | |
| 49 | |
| 50 | /* END */ |