Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Side by Side Diff: include/freetype/ftsynth.h

Issue 89753003: Update freetype to latest version of ASOP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src/third_party/freetype.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/freetype/ftstroke.h ('k') | include/freetype/fttrigon.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /***************************************************************************/ 1 /***************************************************************************/
2 /* */ 2 /* */
3 /* ftsynth.h */ 3 /* ftsynth.h */
4 /* */ 4 /* */
5 /* FreeType synthesizing code for emboldening and slanting */ 5 /* FreeType synthesizing code for emboldening and slanting */
6 /* (specification). */ 6 /* (specification). */
7 /* */ 7 /* */
8 /* Copyright 2000-2001, 2003, 2006, 2008 by */ 8 /* Copyright 2000-2001, 2003, 2006, 2008, 2012 by */
9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
10 /* */ 10 /* */
11 /* This file is part of the FreeType project, and may only be used, */ 11 /* This file is part of the FreeType project, and may only be used, */
12 /* modified, and distributed under the terms of the FreeType project */ 12 /* modified, and distributed under the terms of the FreeType project */
13 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
14 /* this file you indicate that you have read the license and */ 14 /* this file you indicate that you have read the license and */
15 /* understand and accept it fully. */ 15 /* understand and accept it fully. */
16 /* */ 16 /* */
17 /***************************************************************************/ 17 /***************************************************************************/
18 18
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #error "so that freetype.h of FreeType 2 is found first." 54 #error "so that freetype.h of FreeType 2 is found first."
55 #endif 55 #endif
56 56
57 57
58 FT_BEGIN_HEADER 58 FT_BEGIN_HEADER
59 59
60 /* Embolden a glyph by a `reasonable' value (which is highly a matter of */ 60 /* Embolden a glyph by a `reasonable' value (which is highly a matter of */
61 /* taste). This function is actually a convenience function, providing */ 61 /* taste). This function is actually a convenience function, providing */
62 /* a wrapper for @FT_Outline_Embolden and @FT_Bitmap_Embolden. */ 62 /* a wrapper for @FT_Outline_Embolden and @FT_Bitmap_Embolden. */
63 /* */ 63 /* */
64 /* For emboldened outlines the metrics are estimates only; if you need */ 64 /* For emboldened outlines the height, width, and advance metrics are */
65 /* precise values you should call @FT_Outline_Get_CBox. */ 65 /* increased by the strength of the emboldening. You can also call */
66 /* @FT_Outline_Get_CBox to get precise values. */
66 FT_EXPORT( void ) 67 FT_EXPORT( void )
67 FT_GlyphSlot_Embolden( FT_GlyphSlot slot ); 68 FT_GlyphSlot_Embolden( FT_GlyphSlot slot );
68 69
69 /* Slant an outline glyph to the right by about 12 degrees. */ 70 /* Slant an outline glyph to the right by about 12 degrees. */
70 FT_EXPORT( void ) 71 FT_EXPORT( void )
71 FT_GlyphSlot_Oblique( FT_GlyphSlot slot ); 72 FT_GlyphSlot_Oblique( FT_GlyphSlot slot );
72 73
73 /* */ 74 /* */
74 75
75 FT_END_HEADER 76 FT_END_HEADER
76 77
77 #endif /* __FTSYNTH_H__ */ 78 #endif /* __FTSYNTH_H__ */
78 79
79 80
80 /* END */ 81 /* END */
OLDNEW
« no previous file with comments | « include/freetype/ftstroke.h ('k') | include/freetype/fttrigon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698