Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: third_party/freetype/src/smooth/ftgrays.h

Issue 815103002: Update freetype to 2.5.4. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Adjust GYP and GN Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/freetype/src/smooth/Jamfile ('k') | third_party/freetype/src/smooth/ftgrays.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /***************************************************************************/ 1 /***************************************************************************/
2 /* */ 2 /* */
3 /* ftgrays.h */ 3 /* ftgrays.h */
4 /* */ 4 /* */
5 /* FreeType smooth renderer declaration */ 5 /* FreeType smooth renderer declaration */
6 /* */ 6 /* */
7 /* Copyright 1996-2001 by */ 7 /* Copyright 1996-2001 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 /* */ 9 /* */
10 /* This file is part of the FreeType project, and may only be used, */ 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 */ 11 /* modified, and distributed under the terms of the FreeType project */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */ 13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */ 14 /* understand and accept it fully. */
15 /* */ 15 /* */
16 /***************************************************************************/ 16 /***************************************************************************/
17 17
18 18
19 #ifndef __FTGRAYS_H__ 19 #ifndef __FTGRAYS_H__
20 #define __FTGRAYS_H__ 20 #define __FTGRAYS_H__
21 21
22 #ifdef __cplusplus 22 #ifdef __cplusplus
23 extern "C" { 23 extern "C" {
24 #endif 24 #endif
25 25
26 26
27 #ifdef _STANDALONE_ 27 #ifdef _STANDALONE_
28 #include "ftimage.h" 28 #include "ftimage.h"
29 #else 29 #else
30 #include "../../include/ft2build.h" 30 #include <ft2build.h>
31 #include "../../include/freetype/config/ftconfig.h" /* for FT_CONFIG_OPTION_PIC */ 31 #include FT_CONFIG_CONFIG_H /* for FT_CONFIG_OPTION_PIC */
32 #include "../../include/freetype/ftimage.h" 32 #include FT_IMAGE_H
33 #endif 33 #endif
34 34
35 35
36 /*************************************************************************/ 36 /*************************************************************************/
37 /* */ 37 /* */
38 /* To make ftgrays.h independent from configuration files we check */ 38 /* To make ftgrays.h independent from configuration files we check */
39 /* whether FT_EXPORT_VAR has been defined already. */ 39 /* whether FT_EXPORT_VAR has been defined already. */
40 /* */ 40 /* */
41 /* On some systems and compilers (Win32 mostly), an extra keyword is */ 41 /* On some systems and compilers (Win32 mostly), an extra keyword is */
42 /* necessary to compile the library as a DLL. */ 42 /* necessary to compile the library as a DLL. */
43 /* */ 43 /* */
44 #ifndef FT_EXPORT_VAR 44 #ifndef FT_EXPORT_VAR
45 #define FT_EXPORT_VAR( x ) extern x 45 #define FT_EXPORT_VAR( x ) extern x
46 #endif 46 #endif
47 47
48 FT_EXPORT_VAR( const FT_Raster_Funcs ) ft_grays_raster; 48 FT_EXPORT_VAR( const FT_Raster_Funcs ) ft_grays_raster;
49 49
50 50
51 #ifdef __cplusplus 51 #ifdef __cplusplus
52 } 52 }
53 #endif 53 #endif
54 54
55 #endif /* __FTGRAYS_H__ */ 55 #endif /* __FTGRAYS_H__ */
56 56
57 57
58 /* END */ 58 /* END */
OLDNEW
« no previous file with comments | « third_party/freetype/src/smooth/Jamfile ('k') | third_party/freetype/src/smooth/ftgrays.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698