OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* fttypes.h */ | 3 /* fttypes.h */ |
4 /* */ | 4 /* */ |
5 /* FreeType simple types definitions (specification only). */ | 5 /* FreeType simple types definitions (specification only). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 1996-2001, 2002, 2004, 2006, 2007, 2008 by */ | 7 /* Copyright 1996-2002, 2004, 2006-2009, 2012 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 |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 /*************************************************************************/ | 427 /*************************************************************************/ |
428 /* */ | 428 /* */ |
429 /* <Struct> */ | 429 /* <Struct> */ |
430 /* FT_Generic */ | 430 /* FT_Generic */ |
431 /* */ | 431 /* */ |
432 /* <Description> */ | 432 /* <Description> */ |
433 /* Client applications often need to associate their own data to a */ | 433 /* Client applications often need to associate their own data to a */ |
434 /* variety of FreeType core objects. For example, a text layout API */ | 434 /* variety of FreeType core objects. For example, a text layout API */ |
435 /* might want to associate a glyph cache to a given size object. */ | 435 /* might want to associate a glyph cache to a given size object. */ |
436 /* */ | 436 /* */ |
437 /* Most FreeType object contains a `generic' field, of type */ | 437 /* Some FreeType object contains a `generic' field, of type */ |
438 /* FT_Generic, which usage is left to client applications and font */ | 438 /* FT_Generic, which usage is left to client applications and font */ |
439 /* servers. */ | 439 /* servers. */ |
440 /* */ | 440 /* */ |
441 /* It can be used to store a pointer to client-specific data, as well */ | 441 /* It can be used to store a pointer to client-specific data, as well */ |
442 /* as the address of a `finalizer' function, which will be called by */ | 442 /* as the address of a `finalizer' function, which will be called by */ |
443 /* FreeType when the object is destroyed (for example, the previous */ | 443 /* FreeType when the object is destroyed (for example, the previous */ |
444 /* client example would put the address of the glyph cache destructor */ | 444 /* client example would put the address of the glyph cache destructor */ |
445 /* in the `finalizer' field). */ | 445 /* in the `finalizer' field). */ |
446 /* */ | 446 /* */ |
447 /* <Fields> */ | 447 /* <Fields> */ |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 #define FT_ERROR_MODULE( x ) ( (x) & 0xFF00U ) | 579 #define FT_ERROR_MODULE( x ) ( (x) & 0xFF00U ) |
580 | 580 |
581 #define FT_BOOL( x ) ( (FT_Bool)( x ) ) | 581 #define FT_BOOL( x ) ( (FT_Bool)( x ) ) |
582 | 582 |
583 FT_END_HEADER | 583 FT_END_HEADER |
584 | 584 |
585 #endif /* __FTTYPES_H__ */ | 585 #endif /* __FTTYPES_H__ */ |
586 | 586 |
587 | 587 |
588 /* END */ | 588 /* END */ |
OLD | NEW |