~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/freetype/src/sfnt/ttsbit.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************/
 
2
/*                                                                         */
 
3
/*  ttsbit.h                                                               */
 
4
/*                                                                         */
 
5
/*    TrueType and OpenType embedded bitmap support (specification).       */
 
6
/*                                                                         */
 
7
/*  Copyright 1996-2001, 2002, 2003, 2004 by                               */
 
8
/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
 
9
/*                                                                         */
 
10
/*  This file is part of the FreeType project, and may only be used,       */
 
11
/*  modified, and distributed under the terms of the FreeType project      */
 
12
/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
 
13
/*  this file you indicate that you have read the license and              */
 
14
/*  understand and accept it fully.                                        */
 
15
/*                                                                         */
 
16
/***************************************************************************/
 
17
 
 
18
 
 
19
#ifndef __TTSBIT_H__
 
20
#define __TTSBIT_H__
 
21
 
 
22
 
 
23
#include <ft2build.h>
 
24
#include "ttload.h"
 
25
 
 
26
 
 
27
FT_BEGIN_HEADER
 
28
 
 
29
 
 
30
  FT_LOCAL( FT_Error )
 
31
  tt_face_load_sbit_strikes( TT_Face    face,
 
32
                             FT_Stream  stream );
 
33
 
 
34
  FT_LOCAL( void )
 
35
  tt_face_free_sbit_strikes( TT_Face  face );
 
36
 
 
37
 
 
38
  FT_LOCAL( FT_Error )
 
39
  tt_face_set_sbit_strike( TT_Face    face,
 
40
                           FT_UInt    x_ppem,
 
41
                           FT_UInt    y_ppem,
 
42
                           FT_ULong  *astrike_index );
 
43
 
 
44
  FT_LOCAL( FT_Error )
 
45
  tt_find_sbit_image( TT_Face          face,
 
46
                      FT_UInt          glyph_index,
 
47
                      FT_ULong         strike_index,
 
48
                      TT_SBit_Range   *arange,
 
49
                      TT_SBit_Strike  *astrike,
 
50
                      FT_ULong        *aglyph_offset );
 
51
 
 
52
  FT_LOCAL( FT_Error )
 
53
  tt_load_sbit_metrics( FT_Stream        stream,
 
54
                        TT_SBit_Range    range,
 
55
                        TT_SBit_Metrics  metrics );
 
56
 
 
57
  FT_LOCAL( FT_Error )
 
58
  tt_face_load_sbit_image( TT_Face              face,
 
59
                           FT_ULong             strike_index,
 
60
                           FT_UInt              glyph_index,
 
61
                           FT_UInt              load_flags,
 
62
                           FT_Stream            stream,
 
63
                           FT_Bitmap           *map,
 
64
                           TT_SBit_MetricsRec  *metrics );
 
65
 
 
66
 
 
67
FT_END_HEADER
 
68
 
 
69
#endif /* __TTSBIT_H__ */
 
70
 
 
71
 
 
72
/* END */