/usr/share/gir-1.0/CoglPango-2.0.gir is in libcogl-pango-dev 1.22.0-2.
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 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 | <?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="Cogl" version="2.0"/>
<include name="Pango" version="1.0"/>
<include name="PangoCairo" version="1.0"/>
<package name="cogl-pango-2.0-experimental"/>
<c:include name="cogl-pango/cogl-pango.h"/>
<namespace name="CoglPango"
version="2.0"
shared-library="libcogl.so.20,libcogl-pango.so.20"
c:identifier-prefixes="CoglPango"
c:symbol-prefixes="cogl_pango">
<alias name="FontMap" c:type="CoglPangoFontMap">
<type name="PangoCairo.FontMap" c:type="PangoCairoFontMap"/>
</alias>
<class name="Renderer"
c:symbol-prefix="renderer"
c:type="CoglPangoRenderer"
parent="Pango.Renderer"
glib:type-name="CoglPangoRenderer"
glib:get-type="cogl_pango_renderer_get_type"
glib:type-struct="RendererClass">
<property name="context"
readable="0"
writable="1"
construct-only="1"
transfer-ownership="none">
<type name="gpointer" c:type="gpointer"/>
</property>
</class>
<record name="RendererClass"
c:type="CoglPangoRendererClass"
disguised="1"
glib:is-gtype-struct-for="Renderer">
</record>
<function name="ensure_glyph_cache_for_layout"
c:identifier="cogl_pango_ensure_glyph_cache_for_layout"
version="1.0">
<doc xml:space="preserve">This updates any internal glyph cache textures as necessary to be
able to render the given @layout.
This api should be used to avoid mid-scene modifications of
glyph-cache textures which can lead to undefined rendering results.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="layout" transfer-ownership="none">
<doc xml:space="preserve">A #PangoLayout</doc>
<type name="Pango.Layout" c:type="PangoLayout*"/>
</parameter>
</parameters>
</function>
<function name="font_map_clear_glyph_cache"
c:identifier="cogl_pango_font_map_clear_glyph_cache"
version="1.0">
<doc xml:space="preserve">Clears the glyph cache for @font_map.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="font_map" transfer-ownership="none">
<doc xml:space="preserve">a #CoglPangoFontMap</doc>
<type name="FontMap" c:type="CoglPangoFontMap*"/>
</parameter>
</parameters>
</function>
<function name="font_map_create_context"
c:identifier="cogl_pango_font_map_create_context">
<doc xml:space="preserve">Create a #PangoContext for the given @font_map.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the newly created context: free with g_object_unref().</doc>
<type name="Pango.Context" c:type="PangoContext*"/>
</return-value>
<parameters>
<parameter name="font_map" transfer-ownership="none">
<doc xml:space="preserve">a #CoglPangoFontMap</doc>
<type name="FontMap" c:type="CoglPangoFontMap*"/>
</parameter>
</parameters>
</function>
<function name="font_map_get_renderer"
c:identifier="cogl_pango_font_map_get_renderer"
version="1.0">
<doc xml:space="preserve">Retrieves the #CoglPangoRenderer for the passed @font_map.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #PangoRenderer</doc>
<type name="Pango.Renderer" c:type="PangoRenderer*"/>
</return-value>
<parameters>
<parameter name="font_map" transfer-ownership="none">
<doc xml:space="preserve">a #CoglPangoFontMap</doc>
<type name="FontMap" c:type="CoglPangoFontMap*"/>
</parameter>
</parameters>
</function>
<function name="font_map_get_use_mipmapping"
c:identifier="cogl_pango_font_map_get_use_mipmapping"
version="1.0">
<doc xml:space="preserve">Retrieves whether the #CoglPangoRenderer used by @font_map will use
mipmapping when rendering the glyphs.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if mipmapping is used, %FALSE otherwise.</doc>
<type name="Cogl.Bool" c:type="CoglBool"/>
</return-value>
<parameters>
<parameter name="font_map" transfer-ownership="none">
<doc xml:space="preserve">a #CoglPangoFontMap</doc>
<type name="FontMap" c:type="CoglPangoFontMap*"/>
</parameter>
</parameters>
</function>
<function name="font_map_new"
c:identifier="cogl_pango_font_map_new"
version="1.14">
<doc xml:space="preserve">Creates a new font map.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the newly created #PangoFontMap</doc>
<type name="Pango.FontMap" c:type="PangoFontMap*"/>
</return-value>
</function>
<function name="font_map_set_resolution"
c:identifier="cogl_pango_font_map_set_resolution"
version="1.14">
<doc xml:space="preserve">Sets the resolution for the @font_map. This is a scale factor
between points specified in a #PangoFontDescription and Cogl units.
The default value is %96, meaning that a 10 point font will be 13
units high. (10 * 96. / 72. = 13.3).</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="font_map" transfer-ownership="none">
<doc xml:space="preserve">a #CoglPangoFontMap</doc>
<type name="FontMap" c:type="CoglPangoFontMap*"/>
</parameter>
<parameter name="dpi" transfer-ownership="none">
<doc xml:space="preserve">The resolution in "dots per inch". (Physical inches aren't
actually involved; the terminology is conventional.)</doc>
<type name="gdouble" c:type="double"/>
</parameter>
</parameters>
</function>
<function name="font_map_set_use_mipmapping"
c:identifier="cogl_pango_font_map_set_use_mipmapping"
version="1.0">
<doc xml:space="preserve">Sets whether the renderer for the passed font map should use
mipmapping when rendering a #PangoLayout.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="font_map" transfer-ownership="none">
<doc xml:space="preserve">a #CoglPangoFontMap</doc>
<type name="FontMap" c:type="CoglPangoFontMap*"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">%TRUE to enable the use of mipmapping</doc>
<type name="Cogl.Bool" c:type="CoglBool"/>
</parameter>
</parameters>
</function>
<function name="render_layout"
c:identifier="cogl_pango_render_layout"
version="1.0"
deprecated="1"
deprecated-version="1.16">
<doc xml:space="preserve">Draws a solidly coloured @layout on the given @framebuffer at (@x,
@y) within the @framebuffer<!-- -->'s current model-view coordinate
space.</doc>
<doc-deprecated xml:space="preserve">Use cogl_pango_show_layout() instead</doc-deprecated>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="layout" transfer-ownership="none">
<doc xml:space="preserve">a #PangoLayout</doc>
<type name="Pango.Layout" c:type="PangoLayout*"/>
</parameter>
<parameter name="x" transfer-ownership="none">
<doc xml:space="preserve">X coordinate to render the layout at</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="y" transfer-ownership="none">
<doc xml:space="preserve">Y coordinate to render the layout at</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="color" transfer-ownership="none">
<doc xml:space="preserve">color to use when rendering the layout</doc>
<type name="Cogl.Color" c:type="const CoglColor*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<type name="gint" c:type="int"/>
</parameter>
</parameters>
</function>
<function name="render_layout_line"
c:identifier="cogl_pango_render_layout_line"
version="1.0"
deprecated="1"
deprecated-version="1.16">
<doc xml:space="preserve">Renders @line at the given coordinates using the given color.</doc>
<doc-deprecated xml:space="preserve">Use cogl_pango_show_layout() instead</doc-deprecated>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="line" transfer-ownership="none">
<doc xml:space="preserve">a #PangoLayoutLine</doc>
<type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/>
</parameter>
<parameter name="x" transfer-ownership="none">
<doc xml:space="preserve">X coordinate to render the line at</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="y" transfer-ownership="none">
<doc xml:space="preserve">Y coordinate to render the line at</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="color" transfer-ownership="none">
<doc xml:space="preserve">color to use when rendering the line</doc>
<type name="Cogl.Color" c:type="const CoglColor*"/>
</parameter>
</parameters>
</function>
<function name="render_layout_subpixel"
c:identifier="cogl_pango_render_layout_subpixel"
version="1.0"
deprecated="1"
deprecated-version="1.16">
<doc xml:space="preserve">Draws a solidly coloured @layout on the given @framebuffer at (@x,
@y) within the @framebuffer<!-- -->'s current model-view coordinate
space.</doc>
<doc-deprecated xml:space="preserve">Use cogl_pango_show_layout() instead</doc-deprecated>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="layout" transfer-ownership="none">
<doc xml:space="preserve">a #PangoLayout</doc>
<type name="Pango.Layout" c:type="PangoLayout*"/>
</parameter>
<parameter name="x" transfer-ownership="none">
<doc xml:space="preserve">X coordinate (in Pango units) to render the layout at</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="y" transfer-ownership="none">
<doc xml:space="preserve">Y coordinate (in Pango units) to render the layout at</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="color" transfer-ownership="none">
<doc xml:space="preserve">color to use when rendering the layout</doc>
<type name="Cogl.Color" c:type="const CoglColor*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<type name="gint" c:type="int"/>
</parameter>
</parameters>
</function>
<function name="show_layout"
c:identifier="cogl_pango_show_layout"
version="1.14">
<doc xml:space="preserve">Draws a solidly coloured @layout on the given @framebuffer at (@x,
@y) within the @framebuffer<!-- -->'s current model-view coordinate
space.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="framebuffer" transfer-ownership="none">
<doc xml:space="preserve">A #CoglFramebuffer to draw too.</doc>
<type name="Cogl.Framebuffer" c:type="CoglFramebuffer*"/>
</parameter>
<parameter name="layout" transfer-ownership="none">
<doc xml:space="preserve">a #PangoLayout</doc>
<type name="Pango.Layout" c:type="PangoLayout*"/>
</parameter>
<parameter name="x" transfer-ownership="none">
<doc xml:space="preserve">X coordinate to render the layout at</doc>
<type name="gfloat" c:type="float"/>
</parameter>
<parameter name="y" transfer-ownership="none">
<doc xml:space="preserve">Y coordinate to render the layout at</doc>
<type name="gfloat" c:type="float"/>
</parameter>
<parameter name="color" transfer-ownership="none">
<doc xml:space="preserve">color to use when rendering the layout</doc>
<type name="Cogl.Color" c:type="const CoglColor*"/>
</parameter>
</parameters>
</function>
<function name="show_layout_line"
c:identifier="cogl_pango_show_layout_line"
version="1.14">
<doc xml:space="preserve">Draws a solidly coloured @line on the given @framebuffer at (@x,
@y) within the @framebuffer<!-- -->'s current model-view coordinate
space.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="framebuffer" transfer-ownership="none">
<doc xml:space="preserve">A #CoglFramebuffer to draw too.</doc>
<type name="Cogl.Framebuffer" c:type="CoglFramebuffer*"/>
</parameter>
<parameter name="line" transfer-ownership="none">
<doc xml:space="preserve">a #PangoLayoutLine</doc>
<type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/>
</parameter>
<parameter name="x" transfer-ownership="none">
<doc xml:space="preserve">X coordinate to render the line at</doc>
<type name="gfloat" c:type="float"/>
</parameter>
<parameter name="y" transfer-ownership="none">
<doc xml:space="preserve">Y coordinate to render the line at</doc>
<type name="gfloat" c:type="float"/>
</parameter>
<parameter name="color" transfer-ownership="none">
<doc xml:space="preserve">color to use when rendering the line</doc>
<type name="Cogl.Color" c:type="const CoglColor*"/>
</parameter>
</parameters>
</function>
</namespace>
</repository>
|