QtBase
v6.3.1
|
#include <freetype/freetype.h>
#include <freetype/ftoutln.h>
#include <freetype/internal/ftobjs.h>
#include <freetype/internal/ftdebug.h>
#include "afblue.h"
#include "afwrtsys.h"
#include "afscript.h"
#include "afcover.h"
#include "afstyles.h"
Go to the source code of this file.
Classes | |
struct | AF_WidthRec_ |
struct | AF_ScalerRec_ |
struct | AF_WritingSystemClassRec_ |
struct | AF_Script_UniRangeRec_ |
struct | AF_ScriptClassRec_ |
struct | AF_StyleClassRec_ |
struct | AF_StyleMetricsRec_ |
Macros | |
#define | AF_ANGLE_PI 256 |
#define | AF_ANGLE_2PI ( AF_ANGLE_PI * 2 ) |
#define | AF_ANGLE_PI2 ( AF_ANGLE_PI / 2 ) |
#define | AF_ANGLE_PI4 ( AF_ANGLE_PI / 4 ) |
#define | AF_ANGLE_DIFF(result, angle1, angle2) |
#define | AF_SCALER_FLAG_NO_HORIZONTAL 1U /* disable horizontal hinting */ |
#define | AF_SCALER_FLAG_NO_VERTICAL 2U /* disable vertical hinting */ |
#define | AF_SCALER_FLAG_NO_ADVANCE 4U /* disable advance hinting */ |
#define | AF_SCALER_FLAG_NO_WARPER 8U /* disable warper */ |
#define | AF_SCALER_EQUAL_SCALES(a, b) |
#define | AFWRTSYS_H_ /* don't load header files */ |
#define | WRITING_SYSTEM(ws, WS) AF_WRITING_SYSTEM_ ## WS, |
#define | SCRIPT(s, S, d, h, H, ss) AF_SCRIPT_ ## S, |
#define | AF_UNIRANGE_REC(a, b) { (FT_UInt32)(a), (FT_UInt32)(b) } |
#define | COVERAGE(name, NAME, description, tag1, tag2, tag3, tag4) AF_COVERAGE_ ## NAME, |
#define | STYLE(s, S, d, ws, sc, ss, c) AF_STYLE_ ## S, |
#define | AF_HINTING_BOTTOM_TO_TOP 0 |
#define | AF_HINTING_TOP_TO_BOTTOM 1 |
#define | AF_DECLARE_WRITING_SYSTEM_CLASS(writing_system_class) |
#define | AF_DEFINE_WRITING_SYSTEM_CLASS( writing_system_class, system, m_size, m_init, m_scale, m_done, m_stdw, h_init, h_apply) |
#define | AF_DECLARE_SCRIPT_CLASS(script_class) |
#define | AF_DEFINE_SCRIPT_CLASS( script_class, script, ranges, nonbase_ranges, top_to_bottom, std_charstring) |
#define | AF_DECLARE_STYLE_CLASS(style_class) |
#define | AF_DEFINE_STYLE_CLASS( style_class, style, writing_system, script, blue_stringset, coverage) |
Enumerations | |
enum | AF_WritingSystem_ { AF_WRITING_SYSTEM_MAX } |
enum | AF_Script_ { AF_SCRIPT_MAX } |
enum | AF_Coverage_ { AF_COVERAGE_DEFAULT } |
enum | AF_Style_ { AF_STYLE_MAX } |
Functions | |
af_sort_pos (FT_UInt count, FT_Pos *table) | |
af_sort_and_quantize_widths (FT_UInt *count, AF_Width widths, FT_Pos threshold) | |
#define AF_ANGLE_2PI ( AF_ANGLE_PI * 2 ) |
#define AF_ANGLE_DIFF | ( | result, | |
angle1, | |||
angle2 | |||
) |
#define AF_ANGLE_PI2 ( AF_ANGLE_PI / 2 ) |
#define AF_ANGLE_PI4 ( AF_ANGLE_PI / 4 ) |
#define AF_DECLARE_SCRIPT_CLASS | ( | script_class | ) |
#define AF_DECLARE_STYLE_CLASS | ( | style_class | ) |
#define AF_DECLARE_WRITING_SYSTEM_CLASS | ( | writing_system_class | ) |
#define AF_DEFINE_SCRIPT_CLASS | ( | script_class, | |
script, | |||
ranges, | |||
nonbase_ranges, | |||
top_to_bottom, | |||
std_charstring | |||
) |
#define AF_DEFINE_STYLE_CLASS | ( | style_class, | |
style, | |||
writing_system, | |||
script, | |||
blue_stringset, | |||
coverage | |||
) |
#define AF_DEFINE_WRITING_SYSTEM_CLASS | ( | writing_system_class, | |
system, | |||
m_size, | |||
m_init, | |||
m_scale, | |||
m_done, | |||
m_stdw, | |||
h_init, | |||
h_apply | |||
) |
#define AF_SCALER_FLAG_NO_ADVANCE 4U /* disable advance hinting */ |
#define AF_SCALER_FLAG_NO_HORIZONTAL 1U /* disable horizontal hinting */ |
#define AF_SCALER_FLAG_NO_VERTICAL 2U /* disable vertical hinting */ |
#define WRITING_SYSTEM | ( | ws, | |
WS | |||
) | AF_WRITING_SYSTEM_ ## WS, |
typedef enum AF_Coverage_ AF_Coverage |
typedef struct AF_FaceGlobalsRec_* AF_FaceGlobals |
typedef struct AF_GlyphHintsRec_* AF_GlyphHints |
typedef struct AF_ScalerRec_ * AF_Scaler |
typedef struct AF_ScalerRec_ AF_ScalerRec |
typedef enum AF_Script_ AF_Script |
typedef const AF_Script_UniRangeRec* AF_Script_UniRange |
typedef struct AF_Script_UniRangeRec_ AF_Script_UniRangeRec |
typedef const AF_ScriptClassRec* AF_ScriptClass |
typedef struct AF_ScriptClassRec_ AF_ScriptClassRec |
typedef const AF_StyleClassRec* AF_StyleClass |
typedef struct AF_StyleClassRec_ AF_StyleClassRec |
typedef struct AF_StyleMetricsRec_* AF_StyleMetrics |
typedef struct AF_StyleMetricsRec_ AF_StyleMetricsRec |
typedef FT_BEGIN_HEADER struct AF_WidthRec_ * AF_Width |
typedef FT_BEGIN_HEADER struct AF_WidthRec_ AF_WidthRec |
typedef enum AF_WritingSystem_ AF_WritingSystem |
typedef FT_Error(* AF_WritingSystem_ApplyHintsFunc) (FT_UInt glyph_index, AF_GlyphHints hints, FT_Outline *outline, AF_StyleMetrics metrics) |
typedef void(* AF_WritingSystem_DoneMetricsFunc) (AF_StyleMetrics metrics) |
typedef void(* AF_WritingSystem_GetStdWidthsFunc) (AF_StyleMetrics metrics, FT_Pos *stdHW, FT_Pos *stdVW) |
typedef FT_Error(* AF_WritingSystem_InitHintsFunc) (AF_GlyphHints hints, AF_StyleMetrics metrics) |
typedef FT_Error(* AF_WritingSystem_InitMetricsFunc) (AF_StyleMetrics metrics, FT_Face face) |
typedef void(* AF_WritingSystem_ScaleMetricsFunc) (AF_StyleMetrics metrics, AF_Scaler scaler) |
typedef struct AF_WritingSystemClassRec_ AF_WritingSystemClassRec |
enum AF_Coverage_ |
enum AF_Script_ |
enum AF_WritingSystem_ |
Definition at line 210 of file afangles.c.