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]
Macros | Typedefs | Functions
ttsbit0.c File Reference
#include <ft2build.h>
#include "ttsbit.h"
#include "sferrors.h"

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_ttsbit
 

Typedefs

typedef struct TT_SBitDecoderRec_ TT_SBitDecoderRec
 
typedef struct TT_SBitDecoderRec_ * TT_SBitDecoder
 
typedef FT_Error(* TT_SBitDecoder_LoadFunc) (TT_SBitDecoder decoder, FT_Byte *p, FT_Byte *plimit, FT_Int x_pos, FT_Int y_pos)
 

Functions

 tt_face_load_eblc (TT_Face face, FT_Stream stream)
 
 tt_face_free_eblc (TT_Face face)
 
 tt_face_set_sbit_strike (TT_Face face, FT_Size_Request req, FT_ULong *astrike_index)
 
 tt_face_load_strike_metrics (TT_Face face, FT_ULong strike_index, FT_Size_Metrics *metrics)
 
 tt_face_load_sbit_image (TT_Face face, FT_ULong strike_index, FT_UInt glyph_index, FT_UInt load_flags, FT_Stream stream, FT_Bitmap *map, TT_SBit_MetricsRec *metrics)
 

Macro Definition Documentation

◆ FT_COMPONENT

#define FT_COMPONENT   trace_ttsbit

Definition at line 39 of file ttsbit0.c.

Typedef Documentation

◆ TT_SBitDecoder

typedef struct TT_SBitDecoderRec_ * TT_SBitDecoder

◆ TT_SBitDecoder_LoadFunc

typedef FT_Error(* TT_SBitDecoder_LoadFunc) (TT_SBitDecoder decoder, FT_Byte *p, FT_Byte *plimit, FT_Int x_pos, FT_Int y_pos)

Definition at line 362 of file ttsbit0.c.

◆ TT_SBitDecoderRec

typedef struct TT_SBitDecoderRec_ TT_SBitDecoderRec

Function Documentation

◆ tt_face_free_eblc()

tt_face_free_eblc ( TT_Face  face)

Definition at line 110 of file ttsbit0.c.

References FT_FRAME_RELEASE, and FT_LOCAL_DEF.

◆ tt_face_load_eblc()

tt_face_load_eblc ( TT_Face  face,
FT_Stream  stream 
)

◆ tt_face_load_sbit_image()

tt_face_load_sbit_image ( TT_Face  face,
FT_ULong  strike_index,
FT_UInt  glyph_index,
FT_UInt  load_flags,
FT_Stream  stream,
FT_Bitmap map,
TT_SBit_MetricsRec metrics 
)

Definition at line 983 of file ttsbit0.c.

References error, and FT_UNUSED.

◆ tt_face_load_strike_metrics()

tt_face_load_strike_metrics ( TT_Face  face,
FT_ULong  strike_index,
FT_Size_Metrics metrics 
)

Definition at line 131 of file ttsbit0.c.

References FT_FaceRec_::ascender, bit_depth, FT_Bool, FT_Err_Ok, and FT_THROW().

◆ tt_face_set_sbit_strike()

tt_face_set_sbit_strike ( TT_Face  face,
FT_Size_Request  req,
FT_ULong astrike_index 
)

Definition at line 122 of file ttsbit0.c.

References FT_LOCAL_DEF, and FT_Match_Size().