Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
cf2read.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* cf2read.h */
4 /* */
5 /* Adobe's code for stream handling (specification). */
6 /* */
7 /* Copyright 2007-2013 Adobe Systems Incorporated. */
8 /* */
9 /* This software, and all works of authorship, whether in source or */
10 /* object code form as indicated by the copyright notice(s) included */
11 /* herein (collectively, the "Work") is made available, and may only be */
12 /* used, modified, and distributed under the FreeType Project License, */
13 /* LICENSE.TXT. Additionally, subject to the terms and conditions of the */
14 /* FreeType Project License, each contributor to the Work hereby grants */
15 /* to any individual or legal entity exercising permissions granted by */
16 /* the FreeType Project License and this section (hereafter, "You" or */
17 /* "Your") a perpetual, worldwide, non-exclusive, no-charge, */
18 /* royalty-free, irrevocable (except as stated in this section) patent */
19 /* license to make, have made, use, offer to sell, sell, import, and */
20 /* otherwise transfer the Work, where such license applies only to those */
21 /* patent claims licensable by such contributor that are necessarily */
22 /* infringed by their contribution(s) alone or by combination of their */
23 /* contribution(s) with the Work to which such contribution(s) was */
24 /* submitted. If You institute patent litigation against any entity */
25 /* (including a cross-claim or counterclaim in a lawsuit) alleging that */
26 /* the Work or a contribution incorporated within the Work constitutes */
27 /* direct or contributory patent infringement, then any patent licenses */
28 /* granted to You under this License for that Work shall terminate as of */
29 /* the date such litigation is filed. */
30 /* */
31 /* By using, modifying, or distributing the Work you indicate that you */
32 /* have read and understood the terms and conditions of the */
33 /* FreeType Project License as well as those provided in this section, */
34 /* and you accept them fully. */
35 /* */
36 /***************************************************************************/
37 
38 
39 #ifndef __CF2READ_H__
40 #define __CF2READ_H__
41 
42 
44 
45 
46  typedef struct CF2_BufferRec_
47  {
49  const FT_Byte* start;
50  const FT_Byte* end;
51  const FT_Byte* ptr;
52 
54 
55 
56  FT_LOCAL( CF2_Int )
58  FT_LOCAL( FT_Bool )
60 
61 
63 
64 
65 #endif /* __CF2READ_H__ */
66 
67 
68 /* END */
#define CF2_Int
Definition: cf2types.h:65
int FT_Error
Definition: fttypes.h:296
FT_BEGIN_HEADER struct CF2_BufferRec_ CF2_BufferRec
#define FT_END_HEADER
Definition: ftheader.h:54
const FT_Byte * end
Definition: cf2read.h:50
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:104
GLenum GLuint GLenum GLsizei const GLchar * buf
const FT_Byte * ptr
Definition: cf2read.h:51
unsigned char FT_Byte
Definition: fttypes.h:150
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
#define FT_LOCAL(x)
Definition: ftconfig.h:235
cf2_buf_readByte(CF2_Buffer buf)
Definition: cf2read.c:80
const FT_Byte * start
Definition: cf2read.h:49
FT_Error * error
Definition: cf2read.h:48
cf2_buf_isEnd(CF2_Buffer buf)
Definition: cf2read.c:106
FT_BEGIN_HEADER struct CF2_BufferRec_ * CF2_Buffer