Changeset 262 for trunk/poppler/freetype2/include/freetype/ftsynth.h
- Timestamp:
- Jan 17, 2009, 10:45:05 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/poppler/freetype2/include/freetype/ftsynth.h
r150 r262 6 6 /* (specification). */ 7 7 /* */ 8 /* Copyright 2000-2001, 2003, 2006 by*/8 /* Copyright 2000-2001, 2003, 2006, 2008 by */ 9 9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 10 10 /* */ … … 24 24 /*************************************************************************/ 25 25 /********* *********/ 26 /********* WARNING, THIS IS ALPHA CODE , THIS API*********/26 /********* WARNING, THIS IS ALPHA CODE! THIS API *********/ 27 27 /********* IS DUE TO CHANGE UNTIL STRICTLY NOTIFIED BY THE *********/ 28 28 /********* FREETYPE DEVELOPMENT TEAM *********/ … … 33 33 /*************************************************************************/ 34 34 /*************************************************************************/ 35 36 37 /* Main reason for not lifting the functions in this module to a */ 38 /* `standard' API is that the used parameters for emboldening and */ 39 /* slanting are not configurable. Consider the functions as a */ 40 /* code resource which should be copied into the application and */ 41 /* adapted to the particular needs. */ 35 42 36 43 … … 51 58 FT_BEGIN_HEADER 52 59 53 /* Make sure slot owns slot->bitmap.*/54 FT_EXPORT( FT_Error )55 FT_GlyphSlot_Own_Bitmap( FT_GlyphSlot slot );56 57 /* Do not use this function directly! Copy the code to*/58 /* your application and modify it to suit your need.*/60 /* Embolden a glyph by a `reasonable' value (which is highly a matter of */ 61 /* taste). This function is actually a convenience function, providing */ 62 /* a wrapper for @FT_Outline_Embolden and @FT_Bitmap_Embolden. */ 63 /* */ 64 /* For emboldened outlines the metrics are estimates only; if you need */ 65 /* precise values you should call @FT_Outline_Get_CBox. */ 59 66 FT_EXPORT( void ) 60 67 FT_GlyphSlot_Embolden( FT_GlyphSlot slot ); 61 68 62 69 /* Slant an outline glyph to the right by about 12 degrees. */ 63 70 FT_EXPORT( void ) 64 71 FT_GlyphSlot_Oblique( FT_GlyphSlot slot ); 65 72 66 /* */73 /* */ 67 74 68 75 FT_END_HEADER
Note: See TracChangeset
for help on using the changeset viewer.