source: trunk/poppler/freetype-2.2.1/include/freetype/ftsynth.h @ 150

Last change on this file since 150 was 150, checked in by Eugene Romanenko, 14 years ago

update freetype to 2.2.1

File size: 3.2 KB
Line 
1/***************************************************************************/
2/*                                                                         */
3/*  ftsynth.h                                                              */
4/*                                                                         */
5/*    FreeType synthesizing code for emboldening and slanting              */
6/*    (specification).                                                     */
7/*                                                                         */
8/*  Copyright 2000-2001, 2003, 2006 by                                     */
9/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
10/*                                                                         */
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      */
13/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
14/*  this file you indicate that you have read the license and              */
15/*  understand and accept it fully.                                        */
16/*                                                                         */
17/***************************************************************************/
18
19
20  /*************************************************************************/
21  /*************************************************************************/
22  /*************************************************************************/
23  /*************************************************************************/
24  /*************************************************************************/
25  /*********                                                       *********/
26  /*********        WARNING, THIS IS ALPHA CODE, THIS API          *********/
27  /*********    IS DUE TO CHANGE UNTIL STRICTLY NOTIFIED BY THE    *********/
28  /*********            FREETYPE DEVELOPMENT TEAM                  *********/
29  /*********                                                       *********/
30  /*************************************************************************/
31  /*************************************************************************/
32  /*************************************************************************/
33  /*************************************************************************/
34  /*************************************************************************/
35
36
37#ifndef __FTSYNTH_H__
38#define __FTSYNTH_H__
39
40
41#include <ft2build.h>
42#include FT_FREETYPE_H
43
44#ifdef FREETYPE_H
45#error "freetype.h of FreeType 1 has been loaded!"
46#error "Please fix the directory search order for header files"
47#error "so that freetype.h of FreeType 2 is found first."
48#endif
49
50
51FT_BEGIN_HEADER
52
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.    */
59  FT_EXPORT( void )
60  FT_GlyphSlot_Embolden( FT_GlyphSlot  slot );
61
62
63  FT_EXPORT( void )
64  FT_GlyphSlot_Oblique( FT_GlyphSlot  slot );
65
66 /* */
67
68FT_END_HEADER
69
70#endif /* __FTSYNTH_H__ */
71
72
73/* END */
Note: See TracBrowser for help on using the repository browser.