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

Side by Side Diff: third_party/freetype/src/raster/rastpic.h

Issue 1413673003: Update bundled freetype to 2.6.1 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: DEPS for corpus Created 5 years, 1 month 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/raster/rasterrs.h ('k') | third_party/freetype/src/raster/rastpic.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 /* rastpic.h */ 3 /* rastpic.h */
4 /* */ 4 /* */
5 /* The FreeType position independent code services for raster module. */ 5 /* The FreeType position independent code services for raster module. */
6 /* */ 6 /* */
7 /* Copyright 2009 by */ 7 /* Copyright 2009-2015 by */
8 /* Oran Agra and Mickey Gabel. */ 8 /* Oran Agra and Mickey Gabel. */
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 __RASTPIC_H__ 19 #ifndef __RASTPIC_H__
20 #define __RASTPIC_H__ 20 #define __RASTPIC_H__
21 21
22 22
23 #include FT_INTERNAL_PIC_H
24
25
23 FT_BEGIN_HEADER 26 FT_BEGIN_HEADER
24 27
25 #include FT_INTERNAL_PIC_H
26
27
28 #ifndef FT_CONFIG_OPTION_PIC 28 #ifndef FT_CONFIG_OPTION_PIC
29 29
30 #define FT_STANDARD_RASTER_GET ft_standard_raster 30 #define FT_STANDARD_RASTER_GET ft_standard_raster
31 31
32 #else /* FT_CONFIG_OPTION_PIC */ 32 #else /* FT_CONFIG_OPTION_PIC */
33 33
34 typedef struct RasterPIC_ 34 typedef struct RasterPIC_
35 { 35 {
36 int ref_count; 36 int ref_count;
37 FT_Raster_Funcs ft_standard_raster; 37 FT_Raster_Funcs ft_standard_raster;
38 38
39 } RasterPIC; 39 } RasterPIC;
40 40
41 41
42 #define GET_PIC( lib ) \ 42 #define GET_PIC( lib ) \
43 ( (RasterPIC*)( (lib)->pic_container.raster ) ) 43 ( (RasterPIC*)( (lib)->pic_container.raster ) )
44 #define FT_STANDARD_RASTER_GET ( GET_PIC( library )->ft_standard_raster ) 44 #define FT_STANDARD_RASTER_GET ( GET_PIC( library )->ft_standard_raster )
45 45
46 46
47 /* see rastpic.c for the implementation */ 47 /* see rastpic.c for the implementation */
48 void 48 void
49 ft_raster1_renderer_class_pic_free( FT_Library library ); 49 ft_raster1_renderer_class_pic_free( FT_Library library );
50 50
51 void
52 ft_raster5_renderer_class_pic_free( FT_Library library );
53
54 FT_Error 51 FT_Error
55 ft_raster1_renderer_class_pic_init( FT_Library library ); 52 ft_raster1_renderer_class_pic_init( FT_Library library );
56 53
57 FT_Error
58 ft_raster5_renderer_class_pic_init( FT_Library library );
59
60 #endif /* FT_CONFIG_OPTION_PIC */ 54 #endif /* FT_CONFIG_OPTION_PIC */
61 55
62 /* */ 56 /* */
63 57
64 FT_END_HEADER 58 FT_END_HEADER
65 59
66 #endif /* __RASTPIC_H__ */ 60 #endif /* __RASTPIC_H__ */
67 61
68 62
69 /* END */ 63 /* END */
OLDNEW
« no previous file with comments | « third_party/freetype/src/raster/rasterrs.h ('k') | third_party/freetype/src/raster/rastpic.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698