PageRenderTime 16ms CodeModel.GetById 12ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/src/compiler/android-ndk/jni/freetype/src/raster/rastpic.h

http://ftk.googlecode.com/
C++ Header | 50 lines | 17 code | 15 blank | 18 comment | 0 complexity | 0c34af545afe761125bbd3e4a3f48cab MD5 | raw file
 1/***************************************************************************/
 2/*                                                                         */
 3/*  rastpic.h                                                              */
 4/*                                                                         */
 5/*    The FreeType position independent code services for raster 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 __RASTPIC_H__
20#define __RASTPIC_H__
21
22  
23FT_BEGIN_HEADER
24
25#include FT_INTERNAL_PIC_H
26
27#ifndef FT_CONFIG_OPTION_PIC
28#define FT_STANDARD_RASTER_GET     ft_standard_raster
29
30#else /* FT_CONFIG_OPTION_PIC */
31
32  typedef struct RasterPIC_
33  {
34    int ref_count;
35    FT_Raster_Funcs ft_standard_raster;
36  } RasterPIC;
37
38#define GET_PIC(lib)               ((RasterPIC*)((lib)->pic_container.raster))
39#define FT_STANDARD_RASTER_GET     (GET_PIC(library)->ft_standard_raster)
40
41#endif /* FT_CONFIG_OPTION_PIC */
42
43 /* */
44
45FT_END_HEADER
46
47#endif /* __RASTPIC_H__ */
48
49
50/* END */