ReactOS 0.4.16-dev-1078-g21d3e29
afwarp.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * afwarp.h
4 *
5 * Auto-fitter warping algorithm (specification).
6 *
7 * Copyright (C) 2006-2019 by
8 * David Turner, Robert Wilhelm, and Werner Lemberg.
9 *
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
12 * license, LICENSE.TXT. By continuing to use, modify, or distribute
13 * this file you indicate that you have read the license and
14 * understand and accept it fully.
15 *
16 */
17
18
19#ifndef AFWARP_H_
20#define AFWARP_H_
21
22#include "afhints.h"
23
25
26#define AF_WARPER_SCALE
27
28#define AF_WARPER_FLOOR( x ) ( (x) & ~FT_TYPEOF( x )63 )
29#define AF_WARPER_CEIL( x ) AF_WARPER_FLOOR( (x) + 63 )
30
31
32 typedef FT_Int32 AF_WarpScore;
33
34 typedef struct AF_WarperRec_
35 {
41
46
48
49
50#ifdef AF_CONFIG_OPTION_USE_WARPER
51 FT_LOCAL( void )
52 af_warper_compute( AF_Warper warper,
54 AF_Dimension dim,
55 FT_Fixed *a_scale,
56 FT_Pos *a_delta );
57#endif
58
59
61
62
63#endif /* AFWARP_H_ */
64
65
66/* END */
FT_BEGIN_HEADER enum AF_Dimension_ AF_Dimension
struct AF_WarperRec_ * AF_Warper
FT_Int32 AF_WarpScore
Definition: afwarp.h:32
struct AF_WarperRec_ AF_WarperRec
#define FT_LOCAL(x)
Definition: ftconfig.h:386
#define FT_END_HEADER
Definition: ftheader.h:54
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
FT_BEGIN_HEADER typedef signed long FT_Pos
Definition: ftimage.h:58
signed long FT_Fixed
Definition: fttypes.h:287
namespace GUID const ADDRINFOEXW * hints
Definition: sock.c:80
FT_Pos x1max
Definition: afwarp.h:38
FT_Pos w0
Definition: afwarp.h:40
FT_Pos wmin
Definition: afwarp.h:40
FT_Pos wmax
Definition: afwarp.h:40
FT_Pos x1
Definition: afwarp.h:36
FT_Pos x1min
Definition: afwarp.h:38
AF_WarpScore best_score
Definition: afwarp.h:44
FT_Pos x2max
Definition: afwarp.h:39
FT_Pos best_delta
Definition: afwarp.h:43
FT_Pos t1
Definition: afwarp.h:37
FT_Pos x2min
Definition: afwarp.h:39
FT_Pos t2
Definition: afwarp.h:37
FT_Pos x2
Definition: afwarp.h:36
AF_WarpScore best_distort
Definition: afwarp.h:45
FT_Fixed best_scale
Definition: afwarp.h:42