PageRenderTime 23ms CodeModel.GetById 16ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/src/freetype/src/smooth/ftspic.h

https://bitbucket.org/cabalistic/ogredeps/
C++ Header | 69 lines | 29 code | 21 blank | 19 comment | 0 complexity | a97e70220e4e33b755767cb036c4e557 MD5 | raw file
 1/***************************************************************************/
 2/*                                                                         */
 3/*  ftspic.h                                                               */
 4/*                                                                         */
 5/*    The FreeType position independent code services for smooth module.   */
 6/*                                                                         */
 7/*  Copyright 2009 by                                                      */
 8/*  Oran Agra and Mickey Gabel.                                            */
 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 __FTSPIC_H__
20#define __FTSPIC_H__
21
22
23FT_BEGIN_HEADER
24
25#include FT_INTERNAL_PIC_H
26
27#ifndef FT_CONFIG_OPTION_PIC
28#define FT_GRAYS_RASTER_GET        ft_grays_raster
29
30#else /* FT_CONFIG_OPTION_PIC */
31
32  typedef struct SmoothPIC_
33  {
34    int ref_count;
35    FT_Raster_Funcs ft_grays_raster;
36  } SmoothPIC;
37
38#define GET_PIC(lib)               ((SmoothPIC*)((lib)->pic_container.smooth))
39#define FT_GRAYS_RASTER_GET        (GET_PIC(library)->ft_grays_raster)
40
41  /* see ftspic.c for the implementation */
42  void
43  ft_smooth_renderer_class_pic_free( FT_Library  library );
44
45  void
46  ft_smooth_lcd_renderer_class_pic_free( FT_Library  library );
47
48  void
49  ft_smooth_lcdv_renderer_class_pic_free( FT_Library  library );
50
51  FT_Error
52  ft_smooth_renderer_class_pic_init( FT_Library  library );
53
54  FT_Error
55  ft_smooth_lcd_renderer_class_pic_init( FT_Library  library );
56
57  FT_Error
58  ft_smooth_lcdv_renderer_class_pic_init( FT_Library  library );
59
60#endif /* FT_CONFIG_OPTION_PIC */
61
62 /* */
63
64FT_END_HEADER
65
66#endif /* __FTSPIC_H__ */
67
68
69/* END */