vrshoot

annotate libs/ft2static/freetype/ftsynth.h @ 1:e7ca128b8713

looks nice :)
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 02 Feb 2014 00:35:22 +0200
parents
children
rev   line source
nuclear@0 1 /***************************************************************************/
nuclear@0 2 /* */
nuclear@0 3 /* ftsynth.h */
nuclear@0 4 /* */
nuclear@0 5 /* FreeType synthesizing code for emboldening and slanting */
nuclear@0 6 /* (specification). */
nuclear@0 7 /* */
nuclear@0 8 /* Copyright 2000-2001, 2003, 2006, 2008 by */
nuclear@0 9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
nuclear@0 10 /* */
nuclear@0 11 /* This file is part of the FreeType project, and may only be used, */
nuclear@0 12 /* modified, and distributed under the terms of the FreeType project */
nuclear@0 13 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
nuclear@0 14 /* this file you indicate that you have read the license and */
nuclear@0 15 /* understand and accept it fully. */
nuclear@0 16 /* */
nuclear@0 17 /***************************************************************************/
nuclear@0 18
nuclear@0 19
nuclear@0 20 /*************************************************************************/
nuclear@0 21 /*************************************************************************/
nuclear@0 22 /*************************************************************************/
nuclear@0 23 /*************************************************************************/
nuclear@0 24 /*************************************************************************/
nuclear@0 25 /********* *********/
nuclear@0 26 /********* WARNING, THIS IS ALPHA CODE! THIS API *********/
nuclear@0 27 /********* IS DUE TO CHANGE UNTIL STRICTLY NOTIFIED BY THE *********/
nuclear@0 28 /********* FREETYPE DEVELOPMENT TEAM *********/
nuclear@0 29 /********* *********/
nuclear@0 30 /*************************************************************************/
nuclear@0 31 /*************************************************************************/
nuclear@0 32 /*************************************************************************/
nuclear@0 33 /*************************************************************************/
nuclear@0 34 /*************************************************************************/
nuclear@0 35
nuclear@0 36
nuclear@0 37 /* Main reason for not lifting the functions in this module to a */
nuclear@0 38 /* `standard' API is that the used parameters for emboldening and */
nuclear@0 39 /* slanting are not configurable. Consider the functions as a */
nuclear@0 40 /* code resource which should be copied into the application and */
nuclear@0 41 /* adapted to the particular needs. */
nuclear@0 42
nuclear@0 43
nuclear@0 44 #ifndef __FTSYNTH_H__
nuclear@0 45 #define __FTSYNTH_H__
nuclear@0 46
nuclear@0 47
nuclear@0 48 #include <ft2build.h>
nuclear@0 49 #include FT_FREETYPE_H
nuclear@0 50
nuclear@0 51 #ifdef FREETYPE_H
nuclear@0 52 #error "freetype.h of FreeType 1 has been loaded!"
nuclear@0 53 #error "Please fix the directory search order for header files"
nuclear@0 54 #error "so that freetype.h of FreeType 2 is found first."
nuclear@0 55 #endif
nuclear@0 56
nuclear@0 57
nuclear@0 58 FT_BEGIN_HEADER
nuclear@0 59
nuclear@0 60 /* Embolden a glyph by a `reasonable' value (which is highly a matter of */
nuclear@0 61 /* taste). This function is actually a convenience function, providing */
nuclear@0 62 /* a wrapper for @FT_Outline_Embolden and @FT_Bitmap_Embolden. */
nuclear@0 63 /* */
nuclear@0 64 /* For emboldened outlines the metrics are estimates only; if you need */
nuclear@0 65 /* precise values you should call @FT_Outline_Get_CBox. */
nuclear@0 66 FT_EXPORT( void )
nuclear@0 67 FT_GlyphSlot_Embolden( FT_GlyphSlot slot );
nuclear@0 68
nuclear@0 69 /* Slant an outline glyph to the right by about 12 degrees. */
nuclear@0 70 FT_EXPORT( void )
nuclear@0 71 FT_GlyphSlot_Oblique( FT_GlyphSlot slot );
nuclear@0 72
nuclear@0 73 /* */
nuclear@0 74
nuclear@0 75 FT_END_HEADER
nuclear@0 76
nuclear@0 77 #endif /* __FTSYNTH_H__ */
nuclear@0 78
nuclear@0 79
nuclear@0 80 /* END */