~ubuntu-branches/ubuntu/trusty/guile-gnome-platform/trusty-proposed

« back to all changes in this revision

Viewing changes to pango/doc/pangocairo/defuns-pangocairo.xml.texi

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Rottmann
  • Date: 2009-03-01 22:51:48 UTC
  • mfrom: (1.1.2 upstream) (3.2.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090301225148-5cubt342wiv8jpmf
Tags: 2.16.1-1
* New upstream release.
* Upstream bumped API, hence all package names changed from
  guile-gnome0-* to guile-gnome2-*.
* Standards-Version 3.8.0 (no changes).
* Remove unused guile-gnome2-cairo.install file.
* Added ${misc:Depends} to all packages.
* Do not build-depend on a -1 revision of the g-wrap packages.
* Add a proper "Copyright YEARS AUTHORS" line to debian/copyright.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
@c %start of fragment
3
3
 
 
4
@deftp Class <pango-cairo-font-map>
 
5
Derives from @code{<ginterface>}.
 
6
 
 
7
This class defines no direct slots.
 
8
 
 
9
@end deftp
 
10
 
4
11
@deffn Function pango-cairo-font-map-new  @result{}@tie{} (ret@tie{}@code{<pango-font-map>})
5
12
Creates a new @code{<pango-cairo-font-map>} object; a fontmap is used to cache
6
13
information about available fonts, and holds certain global parameters such as
37
44
 
38
45
@end deffn
39
46
 
40
 
@deffn Function pango-cairo-font-map-set-resolution  (self@tie{}@code{<pango-cairo-font-map*>}) (dpi@tie{}@code{double})
 
47
@deffn Function pango-cairo-font-map-set-resolution  (self@tie{}@code{<pango-cairo-font-map>}) (dpi@tie{}@code{double})
 
48
@deffnx Method set-resolution
41
49
Sets the resolution for the fontmap. This is a scale factor between points
42
50
specified in a @code{<pango-font-description>} and Cairo units. The default
43
51
value is 96, meaning that a 10 point font will be 13 units high. (10 * 96. / 72.
57
65
 
58
66
@end deffn
59
67
 
60
 
@deffn Function pango-cairo-font-map-get-resolution  (self@tie{}@code{<pango-cairo-font-map*>}) @result{}@tie{} (ret@tie{}@code{double})
 
68
@deffn Function pango-cairo-font-map-get-resolution  (self@tie{}@code{<pango-cairo-font-map>}) @result{}@tie{} (ret@tie{}@code{double})
 
69
@deffnx Method get-resolution
61
70
Gets the resolution for the fontmap. See
62
71
@code{pango-cairo-font-map-set-resolution}
63
72
 
74
83
 
75
84
@end deffn
76
85
 
77
 
@deffn Function pango-cairo-font-map-create-context  (self@tie{}@code{<pango-cairo-font-map*>}) @result{}@tie{} (ret@tie{}@code{<pango-context*>})
 
86
@deffn Function pango-cairo-font-map-create-context  (self@tie{}@code{<pango-cairo-font-map>}) @result{}@tie{} (ret@tie{}@code{<pango-context>})
 
87
@deffnx Method create-context
78
88
Create a @code{<pango-context>} for the given fontmap.
79
89
 
80
90
@table @var
90
100
 
91
101
@end deffn
92
102
 
93
 
@deffn Function pango-cairo-context-set-resolution  (context@tie{}@code{<pango-context*>}) (dpi@tie{}@code{double})
 
103
@deffn Function pango-cairo-context-set-resolution  (context@tie{}@code{<pango-context>}) (dpi@tie{}@code{double})
94
104
Sets the resolution for the context. This is a scale factor between points
95
105
specified in a @code{<pango-font-description>} and Cairo units. The default
96
106
value is 96, meaning that a 10 point font will be 13 units high. (10 * 96. / 72.
111
121
 
112
122
@end deffn
113
123
 
114
 
@deffn Function pango-cairo-context-get-resolution  (context@tie{}@code{<pango-context*>}) @result{}@tie{} (ret@tie{}@code{double})
 
124
@deffn Function pango-cairo-context-get-resolution  (context@tie{}@code{<pango-context>}) @result{}@tie{} (ret@tie{}@code{double})
115
125
Gets the resolution for the context. See
116
126
@code{pango-cairo-context-set-resolution}
117
127
 
129
139
 
130
140
@end deffn
131
141
 
132
 
@deffn Function pango-cairo-update-context  (cr@tie{}@code{cairo-t}) (context@tie{}@code{<pango-context*>})
 
142
@deffn Function pango-cairo-update-context  (cr@tie{}@code{cairo-t}) (context@tie{}@code{<pango-context>})
133
143
Updates a @code{<pango-context>} previously created for use with Cairo to match
134
144
the current transformation and target surface of a Cairo context. If any layouts
135
145
have been created for the context, it's necessary to call
148
158
 
149
159
@end deffn
150
160
 
151
 
@deffn Function pango-cairo-create-layout  (cr@tie{}@code{cairo-t}) @result{}@tie{} (ret@tie{}@code{<pango-layout*>})
 
161
@deffn Function pango-cairo-create-layout  (cr@tie{}@code{cairo-t}) @result{}@tie{} (ret@tie{}@code{<pango-layout>})
152
162
Creates a layout object set up to match the current transformation and target
153
163
surface of the Cairo context. This layout can then be used for text measurement
154
164
with functions like @code{pango-layout-get-size} or drawing with functions like
173
183
 
174
184
@end deffn
175
185
 
176
 
@deffn Function pango-cairo-update-layout  (cr@tie{}@code{cairo-t}) (layout@tie{}@code{<pango-layout*>})
 
186
@deffn Function pango-cairo-update-layout  (cr@tie{}@code{cairo-t}) (layout@tie{}@code{<pango-layout>})
177
187
Updates the private @code{<pango-context>} of a @code{<pango-layout>} created
178
188
with @code{pango-cairo-create-layout} to match the current transformation and
179
189
target surface of a Cairo context.
212
222
 
213
223
@end deffn
214
224
 
215
 
@deffn Function pango-cairo-show-layout-line  (cr@tie{}@code{cairo-t}) (line@tie{}@code{<pango-layout-line*>})
 
225
@deffn Function pango-cairo-show-layout-line  (cr@tie{}@code{cairo-t}) (line@tie{}@code{<pango-layout-line>})
216
226
Draws a @code{<pango-layout-line>} in the specified cairo context. The origin of
217
227
the glyphs (the left edge of the line) will be drawn at the current point of the
218
228
cairo context.
230
240
 
231
241
@end deffn
232
242
 
233
 
@deffn Function pango-cairo-show-layout  (cr@tie{}@code{cairo-t}) (layout@tie{}@code{<pango-layout*>})
 
243
@deffn Function pango-cairo-show-layout  (cr@tie{}@code{cairo-t}) (layout@tie{}@code{<pango-layout>})
234
244
Draws a @code{<pango-layout-line>} in the specified cairo context. The top-left
235
245
corner of the @code{<pango-layout>} will be drawn at the current point of the
236
246
cairo context.
297
307
 
298
308
@end deffn
299
309
 
300
 
@deffn Function pango-cairo-layout-line-path  (cr@tie{}@code{cairo-t}) (line@tie{}@code{<pango-layout-line*>})
 
310
@deffn Function pango-cairo-layout-line-path  (cr@tie{}@code{cairo-t}) (line@tie{}@code{<pango-layout-line>})
301
311
Adds the text in @code{<pango-layout-line>} to the current path in the specified
302
312
cairo context. The origin of the glyphs (the left edge of the line) will be at
303
313
the current point of the cairo context.
315
325
 
316
326
@end deffn
317
327
 
318
 
@deffn Function pango-cairo-layout-path  (cr@tie{}@code{cairo-t}) (layout@tie{}@code{<pango-layout*>})
 
328
@deffn Function pango-cairo-layout-path  (cr@tie{}@code{cairo-t}) (layout@tie{}@code{<pango-layout>})
319
329
Adds the text in a @code{<pango-layout>} to the current path in the specified
320
330
cairo context. The top-left corner of the @code{<pango-layout>} will be at the
321
331
current point of the cairo context.