This file is indexed.

/usr/share/doc/libsdl-pango-dev/html/_s_d_l___pango_8h-source.html is in libsdl-pango-dev 0.1.2-6.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>SDL_Pango: SDL_Pango.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">src</a></div>
<h1>SDL_Pango.h</h1><a href="_s_d_l___pango_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*  SDL_Pango.h -- A companion library to SDL for working with Pango.</span>
00002 <span class="comment">    Copyright (C) 2004 NAKAMURA Ken'ichi</span>
00003 <span class="comment"></span>
00004 <span class="comment">    This library is free software; you can redistribute it and/or</span>
00005 <span class="comment">    modify it under the terms of the GNU Lesser General Public</span>
00006 <span class="comment">    License as published by the Free Software Foundation; either</span>
00007 <span class="comment">    version 2.1 of the License, or (at your option) any later version.</span>
00008 <span class="comment"></span>
00009 <span class="comment">    This library is distributed in the hope that it will be useful,</span>
00010 <span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
00011 <span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
00012 <span class="comment">    Lesser General Public License for more details.</span>
00013 <span class="comment"></span>
00014 <span class="comment">    You should have received a copy of the GNU Lesser General Public</span>
00015 <span class="comment">    License along with this library; if not, write to the Free Software</span>
00016 <span class="comment">    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.</span>
00017 <span class="comment">*/</span>
00018 
00027 <span class="preprocessor">#ifndef SDL_PANGO_H</span>
00028 <span class="preprocessor"></span><span class="preprocessor">#define SDL_PANGO_H</span>
00029 <span class="preprocessor"></span>
00030 <span class="preprocessor">#include "SDL.h"</span>
00031 
00032 <span class="preprocessor">#include "begin_code.h"</span>
00033 
00034 <span class="preprocessor">#ifdef __cplusplus</span>
00035 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
00036 <span class="preprocessor">#endif</span>
00037 <span class="preprocessor"></span>
00038 
00039 
00040 <span class="keyword">typedef</span> <span class="keyword">struct </span>_contextImpl SDLPango_Context;
00041 
<a name="l00045"></a><a class="code" href="struct___s_d_l_pango___matrix.html">00045</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct___s_d_l_pango___matrix.html">_SDLPango_Matrix</a> {
00046     Uint8 m[4][4];  
00047 } <a class="code" href="struct___s_d_l_pango___matrix.html">SDLPango_Matrix</a>;
00048 
00049 <span class="keyword">const</span> <a class="code" href="struct___s_d_l_pango___matrix.html">SDLPango_Matrix</a> _MATRIX_WHITE_BACK
00050     = {255, 0, 0, 0,
00051        255, 0, 0, 0,
00052        255, 0, 0, 0,
00053        255, 255, 0, 0,};
00054 
<a name="l00058"></a><a class="code" href="_s_d_l___pango_8h.html#a3">00058</a> <span class="keyword">const</span> <a class="code" href="struct___s_d_l_pango___matrix.html">SDLPango_Matrix</a> *<a class="code" href="_s_d_l___pango_8h.html#a3">MATRIX_WHITE_BACK</a> = &amp;_MATRIX_WHITE_BACK;
00059 
00060 <span class="keyword">const</span> <a class="code" href="struct___s_d_l_pango___matrix.html">SDLPango_Matrix</a> _MATRIX_BLACK_BACK
00061     = {0, 255, 0, 0,
00062        0, 255, 0, 0,
00063        0, 255, 0, 0,
00064        255, 255, 0, 0,};
<a name="l00068"></a><a class="code" href="_s_d_l___pango_8h.html#a5">00068</a> <span class="keyword">const</span> <a class="code" href="struct___s_d_l_pango___matrix.html">SDLPango_Matrix</a> *<a class="code" href="_s_d_l___pango_8h.html#a5">MATRIX_BLACK_BACK</a> = &amp;_MATRIX_BLACK_BACK;
00069 
00070 <span class="keyword">const</span> <a class="code" href="struct___s_d_l_pango___matrix.html">SDLPango_Matrix</a> _MATRIX_TRANSPARENT_BACK_BLACK_LETTER
00071     = {0, 0, 0, 0,
00072        0, 0, 0, 0,
00073        0, 0, 0, 0,
00074        0, 255, 0, 0,};
<a name="l00078"></a><a class="code" href="_s_d_l___pango_8h.html#a7">00078</a> <span class="keyword">const</span> <a class="code" href="struct___s_d_l_pango___matrix.html">SDLPango_Matrix</a> *<a class="code" href="_s_d_l___pango_8h.html#a7">MATRIX_TRANSPARENT_BACK_BLACK_LETTER</a> = &amp;_MATRIX_TRANSPARENT_BACK_BLACK_LETTER;
00079 
00080 <span class="keyword">const</span> <a class="code" href="struct___s_d_l_pango___matrix.html">SDLPango_Matrix</a> _MATRIX_TRANSPARENT_BACK_WHITE_LETTER
00081     = {255, 255, 0, 0,
00082        255, 255, 0, 0,
00083        255, 255, 0, 0,
00084        0, 255, 0, 0,};
<a name="l00088"></a><a class="code" href="_s_d_l___pango_8h.html#a9">00088</a> <span class="keyword">const</span> <a class="code" href="struct___s_d_l_pango___matrix.html">SDLPango_Matrix</a> *<a class="code" href="_s_d_l___pango_8h.html#a9">MATRIX_TRANSPARENT_BACK_WHITE_LETTER</a> = &amp;_MATRIX_TRANSPARENT_BACK_WHITE_LETTER;
00089 
00090 <span class="keyword">const</span> <a class="code" href="struct___s_d_l_pango___matrix.html">SDLPango_Matrix</a> _MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER
00091     = {255, 255, 0, 0,
00092        255, 255, 0, 0,
00093        255, 255, 0, 0,
00094        0, 0, 0, 0,};
<a name="l00099"></a><a class="code" href="_s_d_l___pango_8h.html#a11">00099</a> <span class="keyword">const</span> <a class="code" href="struct___s_d_l_pango___matrix.html">SDLPango_Matrix</a> *<a class="code" href="_s_d_l___pango_8h.html#a11">MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER</a> = &amp;_MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER;
00100 
<a name="l00104"></a><a class="code" href="_s_d_l___pango_8h.html#a33">00104</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {
00105     SDLPANGO_DIRECTION_LTR, 
00106     SDLPANGO_DIRECTION_RTL, 
00107     SDLPANGO_DIRECTION_WEAK_LTR,    
00108     SDLPANGO_DIRECTION_WEAK_RTL,    
00109     <a class="code" href="_s_d_l___pango_8h.html#a33a16">SDLPANGO_DIRECTION_NEUTRAL</a>  
00110 } SDLPango_Direction;
00111 
00112 
00113 
00114 <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="_s_d_l___pango_8c.html#a17">SDLPango_Init</a>();
00115 
00116 <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="_s_d_l___pango_8c.html#a18">SDLPango_WasInit</a>();
00117 
00118 <span class="keyword">extern</span> DECLSPEC SDLPango_Context* SDLCALL <a class="code" href="_s_d_l___pango_8c.html#a23">SDLPango_CreateContext</a>();
00119 
00120 <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="_s_d_l___pango_8h.html#a20">SDLPango_FreeContext</a>(
00121     SDLPango_Context *context);
00122 
00123 <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="_s_d_l___pango_8h.html#a21">SDLPango_SetSurfaceCreateArgs</a>(
00124     SDLPango_Context *context,
00125     Uint32 flags,
00126     <span class="keywordtype">int</span> depth,
00127     Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);
00128 
00129 <span class="keyword">extern</span> DECLSPEC SDL_Surface * SDLCALL <a class="code" href="_s_d_l___pango_8h.html#a22">SDLPango_CreateSurfaceDraw</a>(
00130     SDLPango_Context *context);
00131 
00132 <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="_s_d_l___pango_8h.html#a23">SDLPango_Draw</a>(
00133     SDLPango_Context *context,
00134     SDL_Surface *surface,
00135     <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);
00136 
00137 <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="_s_d_l___pango_8h.html#a24">SDLPango_SetDpi</a>(
00138     SDLPango_Context *context,
00139     <span class="keywordtype">double</span> dpi_x, <span class="keywordtype">double</span> dpi_y);
00140 
00141 <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="_s_d_l___pango_8h.html#a25">SDLPango_SetMinimumSize</a>(
00142     SDLPango_Context *context,
00143     <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);
00144 
00145 <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="_s_d_l___pango_8h.html#a26">SDLPango_SetDefaultColor</a>(
00146     SDLPango_Context *context,
00147     <span class="keyword">const</span> <a class="code" href="struct___s_d_l_pango___matrix.html">SDLPango_Matrix</a> *color_matrix);
00148 
00149 <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="_s_d_l___pango_8h.html#a27">SDLPango_GetLayoutWidth</a>(
00150     SDLPango_Context *context);
00151 
00152 <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="_s_d_l___pango_8h.html#a28">SDLPango_GetLayoutHeight</a>(
00153     SDLPango_Context *context);
00154 
00155 <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="_s_d_l___pango_8h.html#a29">SDLPango_SetMarkup</a>(
00156     SDLPango_Context *context,
00157     <span class="keyword">const</span> <span class="keywordtype">char</span> *markup,
00158     <span class="keywordtype">int</span> length);
00159 
00160 <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="_s_d_l___pango_8h.html#a30">SDLPango_SetText</a>(
00161     SDLPango_Context *context,
00162     <span class="keyword">const</span> <span class="keywordtype">char</span> *markup,
00163     <span class="keywordtype">int</span> length);
00164 
00165 <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="_s_d_l___pango_8h.html#a31">SDLPango_SetLanguage</a>(
00166     SDLPango_Context *context,
00167     <span class="keyword">const</span> <span class="keywordtype">char</span> *language_tag);
00168 
00169 <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="_s_d_l___pango_8h.html#a32">SDLPango_SetBaseDirection</a>(
00170     SDLPango_Context *context,
00171     SDLPango_Direction direction);
00172 
00173 
00174 <span class="preprocessor">#ifdef __FT2_BUILD_UNIX_H__</span>
00175 <span class="preprocessor"></span>
00176 <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="_s_d_l___pango_8c.html#a22">SDLPango_CopyFTBitmapToSurface</a>(
00177     <span class="keyword">const</span> FT_Bitmap *bitmap,
00178     SDL_Surface *surface,
00179     <span class="keyword">const</span> <a class="code" href="struct___s_d_l_pango___matrix.html">SDLPango_Matrix</a> *matrix,
00180     SDL_Rect *rect);
00181 
00182 <span class="preprocessor">#endif  </span><span class="comment">/* __FT2_BUILD_UNIX_H__ */</span>
00183 
00184 
00185 <span class="preprocessor">#ifdef __PANGO_H__</span>
00186 <span class="preprocessor"></span>
00187 <span class="keyword">extern</span> DECLSPEC PangoFontMap* SDLCALL <a class="code" href="_s_d_l___pango_8c.html#a37">SDLPango_GetPangoFontMap</a>(
00188     SDLPango_Context *context);
00189 
00190 <span class="keyword">extern</span> DECLSPEC PangoFontDescription* SDLCALL <a class="code" href="_s_d_l___pango_8c.html#a38">SDLPango_GetPangoFontDescription</a>(
00191     SDLPango_Context *context);
00192 
00193 <span class="keyword">extern</span> DECLSPEC PangoLayout* SDLCALL <a class="code" href="_s_d_l___pango_8c.html#a39">SDLPango_GetPangoLayout</a>(
00194     SDLPango_Context *context);
00195 
00196 <span class="preprocessor">#endif </span><span class="comment">/* __PANGO_H__ */</span>
00197 
00198 
00199 <span class="preprocessor">#ifdef __cplusplus</span>
00200 <span class="preprocessor"></span>}
00201 <span class="preprocessor">#endif</span>
00202 <span class="preprocessor"></span>
00203 <span class="preprocessor">#include "close_code.h"</span>
00204 
00205 <span class="preprocessor">#endif  </span><span class="comment">/* SDL_PANGO_H */</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 08:33:15 2004 for SDL_Pango by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>
</html>