/usr/share/pygtk/2.0/defs/pangocairo.defs is in python-gtk2-dev 2.24.0-5.1ubuntu2.
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 | ;; -*- scheme -*-
;; From /opt/gnome-devel/include/pango-1.0/pango/pangocairo.h
(define-interface CairoFontMap
(in-module "Pango")
(c-name "PangoCairoFontMap")
(gtype-id "PANGO_TYPE_CAIRO_FONT_MAP")
(prerequisite "PangoFontMap")
)
(define-function font_map_get_type
(c-name "pango_cairo_font_map_get_type")
(return-type "GType")
)
(define-function cairo_font_map_new
(c-name "pango_cairo_font_map_new")
(return-type "PangoFontMap*")
)
(define-function cairo_font_map_get_default
(c-name "pango_cairo_font_map_get_default")
(return-type "PangoFontMap*")
)
(define-method set_resolution
(of-object "PangoCairoFontMap")
(c-name "pango_cairo_font_map_set_resolution")
(return-type "none")
(parameters
'("double" "dpi")
)
)
(define-method get_resolution
(of-object "PangoCairoFontMap")
(c-name "pango_cairo_font_map_get_resolution")
(return-type "double")
)
(define-method create_context
(of-object "PangoCairoFontMap")
(c-name "pango_cairo_font_map_create_context")
(return-type "PangoContext*")
(caller-owns-return #t)
)
(define-function update_context
(c-name "pango_cairo_update_context")
(return-type "none")
(parameters
'("cairo_t*" "cr")
'("PangoContext*" "context")
)
)
(define-function context_set_font_options
(c-name "pango_cairo_context_set_font_options")
(return-type "none")
(parameters
'("PangoContext*" "context")
'("const-cairo_font_options_t*" "options")
)
)
(define-function context_get_font_options
(c-name "pango_cairo_context_get_font_options")
(return-type "const-cairo_font_options_t*")
(parameters
'("PangoContext*" "context")
)
)
(define-function context_set_resolution
(c-name "pango_cairo_context_set_resolution")
(return-type "none")
(parameters
'("PangoContext*" "context")
'("double" "dpi")
)
)
(define-function context_get_resolution
(c-name "pango_cairo_context_get_resolution")
(return-type "double")
(parameters
'("PangoContext*" "context")
)
)
(define-function create_layout
(c-name "pango_cairo_create_layout")
(return-type "PangoLayout*")
(caller-owns-return #t)
(parameters
'("cairo_t*" "cr")
)
)
(define-function update_layout
(c-name "pango_cairo_update_layout")
(return-type "none")
(parameters
'("cairo_t*" "cr")
'("PangoLayout*" "layout")
)
)
(define-function show_glyph_string
(c-name "pango_cairo_show_glyph_string")
(return-type "none")
(parameters
'("cairo_t*" "cr")
'("PangoFont*" "font")
'("PangoGlyphString*" "glyphs")
)
)
(define-function show_layout_line
(c-name "pango_cairo_show_layout_line")
(return-type "none")
(parameters
'("cairo_t*" "cr")
'("PangoLayoutLine*" "line")
)
)
(define-function show_layout
(c-name "pango_cairo_show_layout")
(return-type "none")
(parameters
'("cairo_t*" "cr")
'("PangoLayout*" "layout")
)
)
(define-function glyph_string_path
(c-name "pango_cairo_glyph_string_path")
(return-type "none")
(parameters
'("cairo_t*" "cr")
'("PangoFont*" "font")
'("PangoGlyphString*" "glyphs")
)
)
(define-function layout_line_path
(c-name "pango_cairo_layout_line_path")
(return-type "none")
(parameters
'("cairo_t*" "cr")
'("PangoLayoutLine*" "line")
)
)
(define-function layout_path
(c-name "pango_cairo_layout_path")
(return-type "none")
(parameters
'("cairo_t*" "cr")
'("PangoLayout*" "layout")
)
)
(define-function error_underline_path
(c-name "pango_cairo_error_underline_path")
(return-type "none")
(parameters
'("cairo_t*" "cr")
'("double" "x")
'("double" "y")
'("double" "width")
'("double" "height")
)
)
(define-function show_error_underline
(c-name "pango_cairo_show_error_underline")
(return-type "none")
(parameters
'("cairo_t*" "cr")
'("double" "x")
'("double" "y")
'("double" "width")
'("double" "height")
)
)
|