Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenafwarp.h
Go to the documentation of this file.
00001 /***************************************************************************/ 00002 /* */ 00003 /* afwarp.h */ 00004 /* */ 00005 /* Auto-fitter warping algorithm (specification). */ 00006 /* */ 00007 /* Copyright 2006, 2007 by */ 00008 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 00009 /* */ 00010 /* This file is part of the FreeType project, and may only be used, */ 00011 /* modified, and distributed under the terms of the FreeType project */ 00012 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 00013 /* this file you indicate that you have read the license and */ 00014 /* understand and accept it fully. */ 00015 /* */ 00016 /***************************************************************************/ 00017 00018 00019 #ifndef __AFWARP_H__ 00020 #define __AFWARP_H__ 00021 00022 #include "afhints.h" 00023 00024 FT_BEGIN_HEADER 00025 00026 #define AF_WARPER_SCALE 00027 00028 #define AF_WARPER_FLOOR( x ) ( (x) & ~63 ) 00029 #define AF_WARPER_CEIL( x ) AF_WARPER_FLOOR( (x) + 63 ) 00030 00031 00032 typedef FT_Int32 AF_WarpScore; 00033 00034 typedef struct AF_WarperRec_ 00035 { 00036 FT_Pos x1, x2; 00037 FT_Pos t1, t2; 00038 FT_Pos x1min, x1max; 00039 FT_Pos x2min, x2max; 00040 FT_Pos w0, wmin, wmax; 00041 00042 FT_Fixed best_scale; 00043 FT_Pos best_delta; 00044 AF_WarpScore best_score; 00045 AF_WarpScore best_distort; 00046 00047 } AF_WarperRec, *AF_Warper; 00048 00049 00050 FT_LOCAL( void ) 00051 af_warper_compute( AF_Warper warper, 00052 AF_GlyphHints hints, 00053 AF_Dimension dim, 00054 FT_Fixed *a_scale, 00055 FT_Fixed *a_delta ); 00056 00057 00058 FT_END_HEADER 00059 00060 00061 #endif /* __AFWARP_H__ */ 00062 00063 00064 /* END */ Generated on Sat May 26 2012 04:32:29 for ReactOS by
1.7.6.1
|