Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
fttypes.h File Reference
#include <ft2build.h>
#include <freetype/ftsystem.h>
#include <freetype/ftimage.h>
#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  FT_UnitVector_
 
struct  FT_Matrix_
 
struct  FT_Data_
 
struct  FT_Generic_
 
struct  FT_ListNodeRec_
 
struct  FT_ListRec_
 

Macros

#define FT_MAKE_TAG(_x1, _x2, _x3, _x4)
 
#define FT_IS_EMPTY(list)   ( (list).head == 0 )
 
#define FT_BOOL(x)   FT_STATIC_CAST( FT_Bool, (x) != 0 )
 
#define FT_ERR_XCAT(x, y)   x ## y
 
#define FT_ERR_CAT(x, y)   FT_ERR_XCAT( x, y )
 
#define FT_ERR(e)   FT_ERR_CAT( FT_ERR_PREFIX, e )
 
#define FT_ERROR_BASE(x)   ( (x) & 0xFF )
 
#define FT_ERROR_MODULE(x)   ( (x) & 0xFF00U )
 
#define FT_ERR_EQ(x, e)    ( FT_ERROR_BASE( x ) == FT_ERROR_BASE( FT_ERR( e ) ) )
 
#define FT_ERR_NEQ(x, e)    ( FT_ERROR_BASE( x ) != FT_ERROR_BASE( FT_ERR( e ) ) )
 

Typedefs

typedef signed short FT_FWord
 
typedef unsigned short FT_UFWord
 
typedef signed char FT_Char
 
typedef unsigned char FT_Byte
 
typedef const FT_ByteFT_Bytes
 
typedef FT_UInt32 FT_Tag
 
typedef char FT_String
 
typedef signed short FT_Short
 
typedef unsigned short FT_UShort
 
typedef signed int FT_Int
 
typedef unsigned int FT_UInt
 
typedef signed long FT_Long
 
typedef unsigned long FT_ULong
 
typedef signed short FT_F2Dot14
 
typedef signed long FT_F26Dot6
 
typedef signed long FT_Fixed
 
typedef int FT_Error
 
typedef void * FT_Pointer
 
typedef size_t FT_Offset
 
typedef ft_ptrdiff_t FT_PtrDist
 
typedef struct FT_UnitVector_ FT_UnitVector
 
typedef struct FT_Matrix_ FT_Matrix
 
typedef struct FT_Data_ FT_Data
 
typedef void(* FT_Generic_Finalizer) (void *object)
 
typedef struct FT_Generic_ FT_Generic
 
typedef struct FT_ListNodeRec_FT_ListNode
 
typedef struct FT_ListRec_FT_List
 
typedef struct FT_ListNodeRec_ FT_ListNodeRec
 
typedef struct FT_ListRec_ FT_ListRec
 

Variables

FT_BEGIN_HEADER typedef unsigned char FT_Bool
 

Macro Definition Documentation

◆ FT_BOOL

#define FT_BOOL ( x)    FT_STATIC_CAST( FT_Bool, (x) != 0 )

Definition at line 593 of file fttypes.h.

◆ FT_ERR

#define FT_ERR ( e)    FT_ERR_CAT( FT_ERR_PREFIX, e )

Definition at line 601 of file fttypes.h.

◆ FT_ERR_CAT

#define FT_ERR_CAT ( x,
y )   FT_ERR_XCAT( x, y )

Definition at line 597 of file fttypes.h.

◆ FT_ERR_EQ

#define FT_ERR_EQ ( x,
e )    ( FT_ERROR_BASE( x ) == FT_ERROR_BASE( FT_ERR( e ) ) )

Definition at line 606 of file fttypes.h.

606#define FT_ERR_EQ( x, e ) \
607 ( FT_ERROR_BASE( x ) == FT_ERROR_BASE( FT_ERR( e ) ) )

◆ FT_ERR_NEQ

#define FT_ERR_NEQ ( x,
e )    ( FT_ERROR_BASE( x ) != FT_ERROR_BASE( FT_ERR( e ) ) )

Definition at line 608 of file fttypes.h.

608#define FT_ERR_NEQ( x, e ) \
609 ( FT_ERROR_BASE( x ) != FT_ERROR_BASE( FT_ERR( e ) ) )

◆ FT_ERR_XCAT

#define FT_ERR_XCAT ( x,
y )   x ## y

Definition at line 596 of file fttypes.h.

◆ FT_ERROR_BASE

#define FT_ERROR_BASE ( x)    ( (x) & 0xFF )

Definition at line 603 of file fttypes.h.

◆ FT_ERROR_MODULE

#define FT_ERROR_MODULE ( x)    ( (x) & 0xFF00U )

Definition at line 604 of file fttypes.h.

◆ FT_IS_EMPTY

#define FT_IS_EMPTY ( list)    ( (list).head == 0 )

Definition at line 592 of file fttypes.h.

◆ FT_MAKE_TAG

#define FT_MAKE_TAG ( _x1,
_x2,
_x3,
_x4 )
Value:
( ( FT_STATIC_BYTE_CAST( FT_Tag, _x1 ) << 24 ) | \
( FT_STATIC_BYTE_CAST( FT_Tag, _x2 ) << 16 ) | \
( FT_STATIC_BYTE_CAST( FT_Tag, _x3 ) << 8 ) | \
FT_UInt32 FT_Tag
Definition fttypes.h:179
#define FT_STATIC_BYTE_CAST(type, var)

Definition at line 491 of file fttypes.h.

491#define FT_MAKE_TAG( _x1, _x2, _x3, _x4 ) \
492 ( ( FT_STATIC_BYTE_CAST( FT_Tag, _x1 ) << 24 ) | \
493 ( FT_STATIC_BYTE_CAST( FT_Tag, _x2 ) << 16 ) | \
494 ( FT_STATIC_BYTE_CAST( FT_Tag, _x3 ) << 8 ) | \
495 FT_STATIC_BYTE_CAST( FT_Tag, _x4 ) )

Typedef Documentation

◆ FT_Byte

typedef unsigned char FT_Byte

Definition at line 157 of file fttypes.h.

◆ FT_Bytes

typedef const FT_Byte* FT_Bytes

Definition at line 168 of file fttypes.h.

◆ FT_Char

typedef signed char FT_Char

Definition at line 146 of file fttypes.h.

◆ FT_Data

typedef struct FT_Data_ FT_Data

◆ FT_Error

typedef int FT_Error

Definition at line 302 of file fttypes.h.

◆ FT_F26Dot6

typedef signed long FT_F26Dot6

Definition at line 278 of file fttypes.h.

◆ FT_F2Dot14

typedef signed short FT_F2Dot14

Definition at line 267 of file fttypes.h.

◆ FT_Fixed

typedef signed long FT_Fixed

Definition at line 290 of file fttypes.h.

◆ FT_FWord

typedef signed short FT_FWord

Definition at line 123 of file fttypes.h.

◆ FT_Generic

typedef struct FT_Generic_ FT_Generic

◆ FT_Generic_Finalizer

typedef void(* FT_Generic_Finalizer) (void *object)

Definition at line 438 of file fttypes.h.

◆ FT_Int

typedef signed int FT_Int

Definition at line 223 of file fttypes.h.

◆ FT_List

typedef struct FT_ListRec_* FT_List

Definition at line 536 of file fttypes.h.

◆ FT_ListNode

typedef struct FT_ListNodeRec_* FT_ListNode

Definition at line 525 of file fttypes.h.

◆ FT_ListNodeRec

◆ FT_ListRec

typedef struct FT_ListRec_ FT_ListRec

◆ FT_Long

typedef signed long FT_Long

Definition at line 245 of file fttypes.h.

◆ FT_Matrix

typedef struct FT_Matrix_ FT_Matrix

◆ FT_Offset

typedef size_t FT_Offset

Definition at line 326 of file fttypes.h.

◆ FT_Pointer

typedef void* FT_Pointer

Definition at line 313 of file fttypes.h.

◆ FT_PtrDist

Definition at line 339 of file fttypes.h.

◆ FT_Short

typedef signed short FT_Short

Definition at line 201 of file fttypes.h.

◆ FT_String

typedef char FT_String

Definition at line 190 of file fttypes.h.

◆ FT_Tag

typedef FT_UInt32 FT_Tag

Definition at line 179 of file fttypes.h.

◆ FT_UFWord

typedef unsigned short FT_UFWord

Definition at line 135 of file fttypes.h.

◆ FT_UInt

typedef unsigned int FT_UInt

Definition at line 234 of file fttypes.h.

◆ FT_ULong

typedef unsigned long FT_ULong

Definition at line 256 of file fttypes.h.

◆ FT_UnitVector

typedef struct FT_UnitVector_ FT_UnitVector

◆ FT_UShort

typedef unsigned short FT_UShort

Definition at line 212 of file fttypes.h.

Variable Documentation

◆ FT_Bool

FT_BEGIN_HEADER typedef unsigned char FT_Bool

Definition at line 111 of file fttypes.h.