Gir: Update files from Alpine
- commit
- c0f4c14b755ddf816b21ac7542b09fb75a53ae4a
- author
- Jeroen Wijenbergh · · 2025-10-16 14:26 UTC
- parent
- 2379e37
- signature
- SSH Unverified
SHA256:8N5EoON8reSTMm461SyWlzRhib6IymBjUHb1p62kwywThe key is unknown
12 files · +175270 -119853
M internal/gir/spec/Adw-1.gir +9511 -4619 large diff (14130 lines changed): collapsed
M internal/gir/spec/GLib-2.0.gir +34942 -25769 large diff (60711 lines changed): collapsed
M internal/gir/spec/GModule-2.0.gir +1281 -210
| @@ -13,97 +13,1202 @@ and/or use gtk-doc annotations. --> | |||
| 13 | 13 | version="2.0" | |
| 14 | 14 | shared-library="libgmodule-2.0.so.0" | |
| 15 | 15 | c:identifier-prefixes="G" | |
| 16 | - | c:symbol-prefixes="g"> | |
| 17 | - | <record name="Module" c:type="GModule" disguised="1"> | |
| 16 | + | c:symbol-prefixes="gmodule,g"> | |
| 17 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_26_FOR" | |
| 18 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_26_FOR" | |
| 19 | + | introspectable="0"> | |
| 20 | + | <source-position filename="gmodule/gmodule-visibility.h" line="42"/> | |
| 21 | + | <parameters> | |
| 22 | + | <parameter name="f"> | |
| 23 | + | </parameter> | |
| 24 | + | </parameters> | |
| 25 | + | </function-macro> | |
| 26 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_28_FOR" | |
| 27 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_28_FOR" | |
| 28 | + | introspectable="0"> | |
| 29 | + | <source-position filename="gmodule/gmodule-visibility.h" line="76"/> | |
| 30 | + | <parameters> | |
| 31 | + | <parameter name="f"> | |
| 32 | + | </parameter> | |
| 33 | + | </parameters> | |
| 34 | + | </function-macro> | |
| 35 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_30_FOR" | |
| 36 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_30_FOR" | |
| 37 | + | introspectable="0"> | |
| 38 | + | <source-position filename="gmodule/gmodule-visibility.h" line="110"/> | |
| 39 | + | <parameters> | |
| 40 | + | <parameter name="f"> | |
| 41 | + | </parameter> | |
| 42 | + | </parameters> | |
| 43 | + | </function-macro> | |
| 44 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_32_FOR" | |
| 45 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_32_FOR" | |
| 46 | + | introspectable="0"> | |
| 47 | + | <source-position filename="gmodule/gmodule-visibility.h" line="144"/> | |
| 48 | + | <parameters> | |
| 49 | + | <parameter name="f"> | |
| 50 | + | </parameter> | |
| 51 | + | </parameters> | |
| 52 | + | </function-macro> | |
| 53 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_34_FOR" | |
| 54 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_34_FOR" | |
| 55 | + | introspectable="0"> | |
| 56 | + | <source-position filename="gmodule/gmodule-visibility.h" line="178"/> | |
| 57 | + | <parameters> | |
| 58 | + | <parameter name="f"> | |
| 59 | + | </parameter> | |
| 60 | + | </parameters> | |
| 61 | + | </function-macro> | |
| 62 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_36_FOR" | |
| 63 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_36_FOR" | |
| 64 | + | introspectable="0"> | |
| 65 | + | <source-position filename="gmodule/gmodule-visibility.h" line="212"/> | |
| 66 | + | <parameters> | |
| 67 | + | <parameter name="f"> | |
| 68 | + | </parameter> | |
| 69 | + | </parameters> | |
| 70 | + | </function-macro> | |
| 71 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_38_FOR" | |
| 72 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_38_FOR" | |
| 73 | + | introspectable="0"> | |
| 74 | + | <source-position filename="gmodule/gmodule-visibility.h" line="246"/> | |
| 75 | + | <parameters> | |
| 76 | + | <parameter name="f"> | |
| 77 | + | </parameter> | |
| 78 | + | </parameters> | |
| 79 | + | </function-macro> | |
| 80 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_40_FOR" | |
| 81 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_40_FOR" | |
| 82 | + | introspectable="0"> | |
| 83 | + | <source-position filename="gmodule/gmodule-visibility.h" line="280"/> | |
| 84 | + | <parameters> | |
| 85 | + | <parameter name="f"> | |
| 86 | + | </parameter> | |
| 87 | + | </parameters> | |
| 88 | + | </function-macro> | |
| 89 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_42_FOR" | |
| 90 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_42_FOR" | |
| 91 | + | introspectable="0"> | |
| 92 | + | <source-position filename="gmodule/gmodule-visibility.h" line="314"/> | |
| 93 | + | <parameters> | |
| 94 | + | <parameter name="f"> | |
| 95 | + | </parameter> | |
| 96 | + | </parameters> | |
| 97 | + | </function-macro> | |
| 98 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_44_FOR" | |
| 99 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_44_FOR" | |
| 100 | + | introspectable="0"> | |
| 101 | + | <source-position filename="gmodule/gmodule-visibility.h" line="348"/> | |
| 102 | + | <parameters> | |
| 103 | + | <parameter name="f"> | |
| 104 | + | </parameter> | |
| 105 | + | </parameters> | |
| 106 | + | </function-macro> | |
| 107 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_46_FOR" | |
| 108 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_46_FOR" | |
| 109 | + | introspectable="0"> | |
| 110 | + | <source-position filename="gmodule/gmodule-visibility.h" line="382"/> | |
| 111 | + | <parameters> | |
| 112 | + | <parameter name="f"> | |
| 113 | + | </parameter> | |
| 114 | + | </parameters> | |
| 115 | + | </function-macro> | |
| 116 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_48_FOR" | |
| 117 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_48_FOR" | |
| 118 | + | introspectable="0"> | |
| 119 | + | <source-position filename="gmodule/gmodule-visibility.h" line="416"/> | |
| 120 | + | <parameters> | |
| 121 | + | <parameter name="f"> | |
| 122 | + | </parameter> | |
| 123 | + | </parameters> | |
| 124 | + | </function-macro> | |
| 125 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_50_FOR" | |
| 126 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_50_FOR" | |
| 127 | + | introspectable="0"> | |
| 128 | + | <source-position filename="gmodule/gmodule-visibility.h" line="450"/> | |
| 129 | + | <parameters> | |
| 130 | + | <parameter name="f"> | |
| 131 | + | </parameter> | |
| 132 | + | </parameters> | |
| 133 | + | </function-macro> | |
| 134 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_52_FOR" | |
| 135 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_52_FOR" | |
| 136 | + | introspectable="0"> | |
| 137 | + | <source-position filename="gmodule/gmodule-visibility.h" line="484"/> | |
| 138 | + | <parameters> | |
| 139 | + | <parameter name="f"> | |
| 140 | + | </parameter> | |
| 141 | + | </parameters> | |
| 142 | + | </function-macro> | |
| 143 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_54_FOR" | |
| 144 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_54_FOR" | |
| 145 | + | introspectable="0"> | |
| 146 | + | <source-position filename="gmodule/gmodule-visibility.h" line="518"/> | |
| 147 | + | <parameters> | |
| 148 | + | <parameter name="f"> | |
| 149 | + | </parameter> | |
| 150 | + | </parameters> | |
| 151 | + | </function-macro> | |
| 152 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_56_FOR" | |
| 153 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_56_FOR" | |
| 154 | + | introspectable="0"> | |
| 155 | + | <source-position filename="gmodule/gmodule-visibility.h" line="552"/> | |
| 156 | + | <parameters> | |
| 157 | + | <parameter name="f"> | |
| 158 | + | </parameter> | |
| 159 | + | </parameters> | |
| 160 | + | </function-macro> | |
| 161 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_58_FOR" | |
| 162 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_58_FOR" | |
| 163 | + | introspectable="0"> | |
| 164 | + | <source-position filename="gmodule/gmodule-visibility.h" line="586"/> | |
| 165 | + | <parameters> | |
| 166 | + | <parameter name="f"> | |
| 167 | + | </parameter> | |
| 168 | + | </parameters> | |
| 169 | + | </function-macro> | |
| 170 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_60_FOR" | |
| 171 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_60_FOR" | |
| 172 | + | introspectable="0"> | |
| 173 | + | <source-position filename="gmodule/gmodule-visibility.h" line="620"/> | |
| 174 | + | <parameters> | |
| 175 | + | <parameter name="f"> | |
| 176 | + | </parameter> | |
| 177 | + | </parameters> | |
| 178 | + | </function-macro> | |
| 179 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_62_FOR" | |
| 180 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_62_FOR" | |
| 181 | + | introspectable="0"> | |
| 182 | + | <source-position filename="gmodule/gmodule-visibility.h" line="654"/> | |
| 183 | + | <parameters> | |
| 184 | + | <parameter name="f"> | |
| 185 | + | </parameter> | |
| 186 | + | </parameters> | |
| 187 | + | </function-macro> | |
| 188 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_64_FOR" | |
| 189 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_64_FOR" | |
| 190 | + | introspectable="0"> | |
| 191 | + | <source-position filename="gmodule/gmodule-visibility.h" line="688"/> | |
| 192 | + | <parameters> | |
| 193 | + | <parameter name="f"> | |
| 194 | + | </parameter> | |
| 195 | + | </parameters> | |
| 196 | + | </function-macro> | |
| 197 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_66_FOR" | |
| 198 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_66_FOR" | |
| 199 | + | introspectable="0"> | |
| 200 | + | <source-position filename="gmodule/gmodule-visibility.h" line="722"/> | |
| 201 | + | <parameters> | |
| 202 | + | <parameter name="f"> | |
| 203 | + | </parameter> | |
| 204 | + | </parameters> | |
| 205 | + | </function-macro> | |
| 206 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_68_FOR" | |
| 207 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_68_FOR" | |
| 208 | + | introspectable="0"> | |
| 209 | + | <source-position filename="gmodule/gmodule-visibility.h" line="756"/> | |
| 210 | + | <parameters> | |
| 211 | + | <parameter name="f"> | |
| 212 | + | </parameter> | |
| 213 | + | </parameters> | |
| 214 | + | </function-macro> | |
| 215 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_70_FOR" | |
| 216 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_70_FOR" | |
| 217 | + | introspectable="0"> | |
| 218 | + | <source-position filename="gmodule/gmodule-visibility.h" line="790"/> | |
| 219 | + | <parameters> | |
| 220 | + | <parameter name="f"> | |
| 221 | + | </parameter> | |
| 222 | + | </parameters> | |
| 223 | + | </function-macro> | |
| 224 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_72_FOR" | |
| 225 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_72_FOR" | |
| 226 | + | introspectable="0"> | |
| 227 | + | <source-position filename="gmodule/gmodule-visibility.h" line="824"/> | |
| 228 | + | <parameters> | |
| 229 | + | <parameter name="f"> | |
| 230 | + | </parameter> | |
| 231 | + | </parameters> | |
| 232 | + | </function-macro> | |
| 233 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_74_FOR" | |
| 234 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_74_FOR" | |
| 235 | + | introspectable="0"> | |
| 236 | + | <source-position filename="gmodule/gmodule-visibility.h" line="858"/> | |
| 237 | + | <parameters> | |
| 238 | + | <parameter name="f"> | |
| 239 | + | </parameter> | |
| 240 | + | </parameters> | |
| 241 | + | </function-macro> | |
| 242 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_76_FOR" | |
| 243 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_76_FOR" | |
| 244 | + | introspectable="0"> | |
| 245 | + | <source-position filename="gmodule/gmodule-visibility.h" line="892"/> | |
| 246 | + | <parameters> | |
| 247 | + | <parameter name="f"> | |
| 248 | + | </parameter> | |
| 249 | + | </parameters> | |
| 250 | + | </function-macro> | |
| 251 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_78_FOR" | |
| 252 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_78_FOR" | |
| 253 | + | introspectable="0"> | |
| 254 | + | <source-position filename="gmodule/gmodule-visibility.h" line="926"/> | |
| 255 | + | <parameters> | |
| 256 | + | <parameter name="f"> | |
| 257 | + | </parameter> | |
| 258 | + | </parameters> | |
| 259 | + | </function-macro> | |
| 260 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_80_FOR" | |
| 261 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_80_FOR" | |
| 262 | + | introspectable="0"> | |
| 263 | + | <source-position filename="gmodule/gmodule-visibility.h" line="960"/> | |
| 264 | + | <parameters> | |
| 265 | + | <parameter name="f"> | |
| 266 | + | </parameter> | |
| 267 | + | </parameters> | |
| 268 | + | </function-macro> | |
| 269 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_82_FOR" | |
| 270 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_82_FOR" | |
| 271 | + | introspectable="0"> | |
| 272 | + | <source-position filename="gmodule/gmodule-visibility.h" line="994"/> | |
| 273 | + | <parameters> | |
| 274 | + | <parameter name="f"> | |
| 275 | + | </parameter> | |
| 276 | + | </parameters> | |
| 277 | + | </function-macro> | |
| 278 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_84_FOR" | |
| 279 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_84_FOR" | |
| 280 | + | introspectable="0"> | |
| 281 | + | <source-position filename="gmodule/gmodule-visibility.h" line="1028"/> | |
| 282 | + | <parameters> | |
| 283 | + | <parameter name="f"> | |
| 284 | + | </parameter> | |
| 285 | + | </parameters> | |
| 286 | + | </function-macro> | |
| 287 | + | <function-macro name="DEPRECATED_FOR" | |
| 288 | + | c:identifier="GMODULE_DEPRECATED_FOR" | |
| 289 | + | introspectable="0"> | |
| 290 | + | <source-position filename="gmodule/gmodule-visibility.h" line="26"/> | |
| 291 | + | <parameters> | |
| 292 | + | <parameter name="f"> | |
| 293 | + | </parameter> | |
| 294 | + | </parameters> | |
| 295 | + | </function-macro> | |
| 296 | + | <function-macro name="DEPRECATED_IN_2_26_FOR" | |
| 297 | + | c:identifier="GMODULE_DEPRECATED_IN_2_26_FOR" | |
| 298 | + | introspectable="0"> | |
| 299 | + | <source-position filename="gmodule/gmodule-visibility.h" line="38"/> | |
| 300 | + | <parameters> | |
| 301 | + | <parameter name="f"> | |
| 302 | + | </parameter> | |
| 303 | + | </parameters> | |
| 304 | + | </function-macro> | |
| 305 | + | <function-macro name="DEPRECATED_IN_2_28_FOR" | |
| 306 | + | c:identifier="GMODULE_DEPRECATED_IN_2_28_FOR" | |
| 307 | + | introspectable="0"> | |
| 308 | + | <source-position filename="gmodule/gmodule-visibility.h" line="72"/> | |
| 309 | + | <parameters> | |
| 310 | + | <parameter name="f"> | |
| 311 | + | </parameter> | |
| 312 | + | </parameters> | |
| 313 | + | </function-macro> | |
| 314 | + | <function-macro name="DEPRECATED_IN_2_30_FOR" | |
| 315 | + | c:identifier="GMODULE_DEPRECATED_IN_2_30_FOR" | |
| 316 | + | introspectable="0"> | |
| 317 | + | <source-position filename="gmodule/gmodule-visibility.h" line="106"/> | |
| 318 | + | <parameters> | |
| 319 | + | <parameter name="f"> | |
| 320 | + | </parameter> | |
| 321 | + | </parameters> | |
| 322 | + | </function-macro> | |
| 323 | + | <function-macro name="DEPRECATED_IN_2_32_FOR" | |
| 324 | + | c:identifier="GMODULE_DEPRECATED_IN_2_32_FOR" | |
| 325 | + | introspectable="0"> | |
| 326 | + | <source-position filename="gmodule/gmodule-visibility.h" line="140"/> | |
| 327 | + | <parameters> | |
| 328 | + | <parameter name="f"> | |
| 329 | + | </parameter> | |
| 330 | + | </parameters> | |
| 331 | + | </function-macro> | |
| 332 | + | <function-macro name="DEPRECATED_IN_2_34_FOR" | |
| 333 | + | c:identifier="GMODULE_DEPRECATED_IN_2_34_FOR" | |
| 334 | + | introspectable="0"> | |
| 335 | + | <source-position filename="gmodule/gmodule-visibility.h" line="174"/> | |
| 336 | + | <parameters> | |
| 337 | + | <parameter name="f"> | |
| 338 | + | </parameter> | |
| 339 | + | </parameters> | |
| 340 | + | </function-macro> | |
| 341 | + | <function-macro name="DEPRECATED_IN_2_36_FOR" | |
| 342 | + | c:identifier="GMODULE_DEPRECATED_IN_2_36_FOR" | |
| 343 | + | introspectable="0"> | |
| 344 | + | <source-position filename="gmodule/gmodule-visibility.h" line="208"/> | |
| 345 | + | <parameters> | |
| 346 | + | <parameter name="f"> | |
| 347 | + | </parameter> | |
| 348 | + | </parameters> | |
| 349 | + | </function-macro> | |
| 350 | + | <function-macro name="DEPRECATED_IN_2_38_FOR" | |
| 351 | + | c:identifier="GMODULE_DEPRECATED_IN_2_38_FOR" | |
| 352 | + | introspectable="0"> | |
| 353 | + | <source-position filename="gmodule/gmodule-visibility.h" line="242"/> | |
| 354 | + | <parameters> | |
| 355 | + | <parameter name="f"> | |
| 356 | + | </parameter> | |
| 357 | + | </parameters> | |
| 358 | + | </function-macro> | |
| 359 | + | <function-macro name="DEPRECATED_IN_2_40_FOR" | |
| 360 | + | c:identifier="GMODULE_DEPRECATED_IN_2_40_FOR" | |
| 361 | + | introspectable="0"> | |
| 362 | + | <source-position filename="gmodule/gmodule-visibility.h" line="276"/> | |
| 363 | + | <parameters> | |
| 364 | + | <parameter name="f"> | |
| 365 | + | </parameter> | |
| 366 | + | </parameters> | |
| 367 | + | </function-macro> | |
| 368 | + | <function-macro name="DEPRECATED_IN_2_42_FOR" | |
| 369 | + | c:identifier="GMODULE_DEPRECATED_IN_2_42_FOR" | |
| 370 | + | introspectable="0"> | |
| 371 | + | <source-position filename="gmodule/gmodule-visibility.h" line="310"/> | |
| 372 | + | <parameters> | |
| 373 | + | <parameter name="f"> | |
| 374 | + | </parameter> | |
| 375 | + | </parameters> | |
| 376 | + | </function-macro> | |
| 377 | + | <function-macro name="DEPRECATED_IN_2_44_FOR" | |
| 378 | + | c:identifier="GMODULE_DEPRECATED_IN_2_44_FOR" | |
| 379 | + | introspectable="0"> | |
| 380 | + | <source-position filename="gmodule/gmodule-visibility.h" line="344"/> | |
| 381 | + | <parameters> | |
| 382 | + | <parameter name="f"> | |
| 383 | + | </parameter> | |
| 384 | + | </parameters> | |
| 385 | + | </function-macro> | |
| 386 | + | <function-macro name="DEPRECATED_IN_2_46_FOR" | |
| 387 | + | c:identifier="GMODULE_DEPRECATED_IN_2_46_FOR" | |
| 388 | + | introspectable="0"> | |
| 389 | + | <source-position filename="gmodule/gmodule-visibility.h" line="378"/> | |
| 390 | + | <parameters> | |
| 391 | + | <parameter name="f"> | |
| 392 | + | </parameter> | |
| 393 | + | </parameters> | |
| 394 | + | </function-macro> | |
| 395 | + | <function-macro name="DEPRECATED_IN_2_48_FOR" | |
| 396 | + | c:identifier="GMODULE_DEPRECATED_IN_2_48_FOR" | |
| 397 | + | introspectable="0"> | |
| 398 | + | <source-position filename="gmodule/gmodule-visibility.h" line="412"/> | |
| 399 | + | <parameters> | |
| 400 | + | <parameter name="f"> | |
| 401 | + | </parameter> | |
| 402 | + | </parameters> | |
| 403 | + | </function-macro> | |
| 404 | + | <function-macro name="DEPRECATED_IN_2_50_FOR" | |
| 405 | + | c:identifier="GMODULE_DEPRECATED_IN_2_50_FOR" | |
| 406 | + | introspectable="0"> | |
| 407 | + | <source-position filename="gmodule/gmodule-visibility.h" line="446"/> | |
| 408 | + | <parameters> | |
| 409 | + | <parameter name="f"> | |
| 410 | + | </parameter> | |
| 411 | + | </parameters> | |
| 412 | + | </function-macro> | |
| 413 | + | <function-macro name="DEPRECATED_IN_2_52_FOR" | |
| 414 | + | c:identifier="GMODULE_DEPRECATED_IN_2_52_FOR" | |
| 415 | + | introspectable="0"> | |
| 416 | + | <source-position filename="gmodule/gmodule-visibility.h" line="480"/> | |
| 417 | + | <parameters> | |
| 418 | + | <parameter name="f"> | |
| 419 | + | </parameter> | |
| 420 | + | </parameters> | |
| 421 | + | </function-macro> | |
| 422 | + | <function-macro name="DEPRECATED_IN_2_54_FOR" | |
| 423 | + | c:identifier="GMODULE_DEPRECATED_IN_2_54_FOR" | |
| 424 | + | introspectable="0"> | |
| 425 | + | <source-position filename="gmodule/gmodule-visibility.h" line="514"/> | |
| 426 | + | <parameters> | |
| 427 | + | <parameter name="f"> | |
| 428 | + | </parameter> | |
| 429 | + | </parameters> | |
| 430 | + | </function-macro> | |
| 431 | + | <function-macro name="DEPRECATED_IN_2_56_FOR" | |
| 432 | + | c:identifier="GMODULE_DEPRECATED_IN_2_56_FOR" | |
| 433 | + | introspectable="0"> | |
| 434 | + | <source-position filename="gmodule/gmodule-visibility.h" line="548"/> | |
| 435 | + | <parameters> | |
| 436 | + | <parameter name="f"> | |
| 437 | + | </parameter> | |
| 438 | + | </parameters> | |
| 439 | + | </function-macro> | |
| 440 | + | <function-macro name="DEPRECATED_IN_2_58_FOR" | |
| 441 | + | c:identifier="GMODULE_DEPRECATED_IN_2_58_FOR" | |
| 442 | + | introspectable="0"> | |
| 443 | + | <source-position filename="gmodule/gmodule-visibility.h" line="582"/> | |
| 444 | + | <parameters> | |
| 445 | + | <parameter name="f"> | |
| 446 | + | </parameter> | |
| 447 | + | </parameters> | |
| 448 | + | </function-macro> | |
| 449 | + | <function-macro name="DEPRECATED_IN_2_60_FOR" | |
| 450 | + | c:identifier="GMODULE_DEPRECATED_IN_2_60_FOR" | |
| 451 | + | introspectable="0"> | |
| 452 | + | <source-position filename="gmodule/gmodule-visibility.h" line="616"/> | |
| 453 | + | <parameters> | |
| 454 | + | <parameter name="f"> | |
| 455 | + | </parameter> | |
| 456 | + | </parameters> | |
| 457 | + | </function-macro> | |
| 458 | + | <function-macro name="DEPRECATED_IN_2_62_FOR" | |
| 459 | + | c:identifier="GMODULE_DEPRECATED_IN_2_62_FOR" | |
| 460 | + | introspectable="0"> | |
| 461 | + | <source-position filename="gmodule/gmodule-visibility.h" line="650"/> | |
| 462 | + | <parameters> | |
| 463 | + | <parameter name="f"> | |
| 464 | + | </parameter> | |
| 465 | + | </parameters> | |
| 466 | + | </function-macro> | |
| 467 | + | <function-macro name="DEPRECATED_IN_2_64_FOR" | |
| 468 | + | c:identifier="GMODULE_DEPRECATED_IN_2_64_FOR" | |
| 469 | + | introspectable="0"> | |
| 470 | + | <source-position filename="gmodule/gmodule-visibility.h" line="684"/> | |
| 471 | + | <parameters> | |
| 472 | + | <parameter name="f"> | |
| 473 | + | </parameter> | |
| 474 | + | </parameters> | |
| 475 | + | </function-macro> | |
| 476 | + | <function-macro name="DEPRECATED_IN_2_66_FOR" | |
| 477 | + | c:identifier="GMODULE_DEPRECATED_IN_2_66_FOR" | |
| 478 | + | introspectable="0"> | |
| 479 | + | <source-position filename="gmodule/gmodule-visibility.h" line="718"/> | |
| 480 | + | <parameters> | |
| 481 | + | <parameter name="f"> | |
| 482 | + | </parameter> | |
| 483 | + | </parameters> | |
| 484 | + | </function-macro> | |
| 485 | + | <function-macro name="DEPRECATED_IN_2_68_FOR" | |
| 486 | + | c:identifier="GMODULE_DEPRECATED_IN_2_68_FOR" | |
| 487 | + | introspectable="0"> | |
| 488 | + | <source-position filename="gmodule/gmodule-visibility.h" line="752"/> | |
| 489 | + | <parameters> | |
| 490 | + | <parameter name="f"> | |
| 491 | + | </parameter> | |
| 492 | + | </parameters> | |
| 493 | + | </function-macro> | |
| 494 | + | <function-macro name="DEPRECATED_IN_2_70_FOR" | |
| 495 | + | c:identifier="GMODULE_DEPRECATED_IN_2_70_FOR" | |
| 496 | + | introspectable="0"> | |
| 497 | + | <source-position filename="gmodule/gmodule-visibility.h" line="786"/> | |
| 498 | + | <parameters> | |
| 499 | + | <parameter name="f"> | |
| 500 | + | </parameter> | |
| 501 | + | </parameters> | |
| 502 | + | </function-macro> | |
| 503 | + | <function-macro name="DEPRECATED_IN_2_72_FOR" | |
| 504 | + | c:identifier="GMODULE_DEPRECATED_IN_2_72_FOR" | |
| 505 | + | introspectable="0"> | |
| 506 | + | <source-position filename="gmodule/gmodule-visibility.h" line="820"/> | |
| 507 | + | <parameters> | |
| 508 | + | <parameter name="f"> | |
| 509 | + | </parameter> | |
| 510 | + | </parameters> | |
| 511 | + | </function-macro> | |
| 512 | + | <function-macro name="DEPRECATED_IN_2_74_FOR" | |
| 513 | + | c:identifier="GMODULE_DEPRECATED_IN_2_74_FOR" | |
| 514 | + | introspectable="0"> | |
| 515 | + | <source-position filename="gmodule/gmodule-visibility.h" line="854"/> | |
| 516 | + | <parameters> | |
| 517 | + | <parameter name="f"> | |
| 518 | + | </parameter> | |
| 519 | + | </parameters> | |
| 520 | + | </function-macro> | |
| 521 | + | <function-macro name="DEPRECATED_IN_2_76_FOR" | |
| 522 | + | c:identifier="GMODULE_DEPRECATED_IN_2_76_FOR" | |
| 523 | + | introspectable="0"> | |
| 524 | + | <source-position filename="gmodule/gmodule-visibility.h" line="888"/> | |
| 525 | + | <parameters> | |
| 526 | + | <parameter name="f"> | |
| 527 | + | </parameter> | |
| 528 | + | </parameters> | |
| 529 | + | </function-macro> | |
| 530 | + | <function-macro name="DEPRECATED_IN_2_78_FOR" | |
| 531 | + | c:identifier="GMODULE_DEPRECATED_IN_2_78_FOR" | |
| 532 | + | introspectable="0"> | |
| 533 | + | <source-position filename="gmodule/gmodule-visibility.h" line="922"/> | |
| 534 | + | <parameters> | |
| 535 | + | <parameter name="f"> | |
| 536 | + | </parameter> | |
| 537 | + | </parameters> | |
| 538 | + | </function-macro> | |
| 539 | + | <function-macro name="DEPRECATED_IN_2_80_FOR" | |
| 540 | + | c:identifier="GMODULE_DEPRECATED_IN_2_80_FOR" | |
| 541 | + | introspectable="0"> | |
| 542 | + | <source-position filename="gmodule/gmodule-visibility.h" line="956"/> | |
| 543 | + | <parameters> | |
| 544 | + | <parameter name="f"> | |
| 545 | + | </parameter> | |
| 546 | + | </parameters> | |
| 547 | + | </function-macro> | |
| 548 | + | <function-macro name="DEPRECATED_IN_2_82_FOR" | |
| 549 | + | c:identifier="GMODULE_DEPRECATED_IN_2_82_FOR" | |
| 550 | + | introspectable="0"> | |
| 551 | + | <source-position filename="gmodule/gmodule-visibility.h" line="990"/> | |
| 552 | + | <parameters> | |
| 553 | + | <parameter name="f"> | |
| 554 | + | </parameter> | |
| 555 | + | </parameters> | |
| 556 | + | </function-macro> | |
| 557 | + | <function-macro name="DEPRECATED_IN_2_84_FOR" | |
| 558 | + | c:identifier="GMODULE_DEPRECATED_IN_2_84_FOR" | |
| 559 | + | introspectable="0"> | |
| 560 | + | <source-position filename="gmodule/gmodule-visibility.h" line="1024"/> | |
| 561 | + | <parameters> | |
| 562 | + | <parameter name="f"> | |
| 563 | + | </parameter> | |
| 564 | + | </parameters> | |
| 565 | + | </function-macro> | |
| 566 | + | <function-macro name="DEPRECATED_MACRO_IN_2_26_FOR" | |
| 567 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_26_FOR" | |
| 568 | + | introspectable="0"> | |
| 569 | + | <source-position filename="gmodule/gmodule-visibility.h" line="40"/> | |
| 570 | + | <parameters> | |
| 571 | + | <parameter name="f"> | |
| 572 | + | </parameter> | |
| 573 | + | </parameters> | |
| 574 | + | </function-macro> | |
| 575 | + | <function-macro name="DEPRECATED_MACRO_IN_2_28_FOR" | |
| 576 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_28_FOR" | |
| 577 | + | introspectable="0"> | |
| 578 | + | <source-position filename="gmodule/gmodule-visibility.h" line="74"/> | |
| 579 | + | <parameters> | |
| 580 | + | <parameter name="f"> | |
| 581 | + | </parameter> | |
| 582 | + | </parameters> | |
| 583 | + | </function-macro> | |
| 584 | + | <function-macro name="DEPRECATED_MACRO_IN_2_30_FOR" | |
| 585 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_30_FOR" | |
| 586 | + | introspectable="0"> | |
| 587 | + | <source-position filename="gmodule/gmodule-visibility.h" line="108"/> | |
| 588 | + | <parameters> | |
| 589 | + | <parameter name="f"> | |
| 590 | + | </parameter> | |
| 591 | + | </parameters> | |
| 592 | + | </function-macro> | |
| 593 | + | <function-macro name="DEPRECATED_MACRO_IN_2_32_FOR" | |
| 594 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_32_FOR" | |
| 595 | + | introspectable="0"> | |
| 596 | + | <source-position filename="gmodule/gmodule-visibility.h" line="142"/> | |
| 597 | + | <parameters> | |
| 598 | + | <parameter name="f"> | |
| 599 | + | </parameter> | |
| 600 | + | </parameters> | |
| 601 | + | </function-macro> | |
| 602 | + | <function-macro name="DEPRECATED_MACRO_IN_2_34_FOR" | |
| 603 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_34_FOR" | |
| 604 | + | introspectable="0"> | |
| 605 | + | <source-position filename="gmodule/gmodule-visibility.h" line="176"/> | |
| 606 | + | <parameters> | |
| 607 | + | <parameter name="f"> | |
| 608 | + | </parameter> | |
| 609 | + | </parameters> | |
| 610 | + | </function-macro> | |
| 611 | + | <function-macro name="DEPRECATED_MACRO_IN_2_36_FOR" | |
| 612 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_36_FOR" | |
| 613 | + | introspectable="0"> | |
| 614 | + | <source-position filename="gmodule/gmodule-visibility.h" line="210"/> | |
| 615 | + | <parameters> | |
| 616 | + | <parameter name="f"> | |
| 617 | + | </parameter> | |
| 618 | + | </parameters> | |
| 619 | + | </function-macro> | |
| 620 | + | <function-macro name="DEPRECATED_MACRO_IN_2_38_FOR" | |
| 621 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_38_FOR" | |
| 622 | + | introspectable="0"> | |
| 623 | + | <source-position filename="gmodule/gmodule-visibility.h" line="244"/> | |
| 624 | + | <parameters> | |
| 625 | + | <parameter name="f"> | |
| 626 | + | </parameter> | |
| 627 | + | </parameters> | |
| 628 | + | </function-macro> | |
| 629 | + | <function-macro name="DEPRECATED_MACRO_IN_2_40_FOR" | |
| 630 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_40_FOR" | |
| 631 | + | introspectable="0"> | |
| 632 | + | <source-position filename="gmodule/gmodule-visibility.h" line="278"/> | |
| 633 | + | <parameters> | |
| 634 | + | <parameter name="f"> | |
| 635 | + | </parameter> | |
| 636 | + | </parameters> | |
| 637 | + | </function-macro> | |
| 638 | + | <function-macro name="DEPRECATED_MACRO_IN_2_42_FOR" | |
| 639 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_42_FOR" | |
| 640 | + | introspectable="0"> | |
| 641 | + | <source-position filename="gmodule/gmodule-visibility.h" line="312"/> | |
| 642 | + | <parameters> | |
| 643 | + | <parameter name="f"> | |
| 644 | + | </parameter> | |
| 645 | + | </parameters> | |
| 646 | + | </function-macro> | |
| 647 | + | <function-macro name="DEPRECATED_MACRO_IN_2_44_FOR" | |
| 648 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_44_FOR" | |
| 649 | + | introspectable="0"> | |
| 650 | + | <source-position filename="gmodule/gmodule-visibility.h" line="346"/> | |
| 651 | + | <parameters> | |
| 652 | + | <parameter name="f"> | |
| 653 | + | </parameter> | |
| 654 | + | </parameters> | |
| 655 | + | </function-macro> | |
| 656 | + | <function-macro name="DEPRECATED_MACRO_IN_2_46_FOR" | |
| 657 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_46_FOR" | |
| 658 | + | introspectable="0"> | |
| 659 | + | <source-position filename="gmodule/gmodule-visibility.h" line="380"/> | |
| 660 | + | <parameters> | |
| 661 | + | <parameter name="f"> | |
| 662 | + | </parameter> | |
| 663 | + | </parameters> | |
| 664 | + | </function-macro> | |
| 665 | + | <function-macro name="DEPRECATED_MACRO_IN_2_48_FOR" | |
| 666 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_48_FOR" | |
| 667 | + | introspectable="0"> | |
| 668 | + | <source-position filename="gmodule/gmodule-visibility.h" line="414"/> | |
| 669 | + | <parameters> | |
| 670 | + | <parameter name="f"> | |
| 671 | + | </parameter> | |
| 672 | + | </parameters> | |
| 673 | + | </function-macro> | |
| 674 | + | <function-macro name="DEPRECATED_MACRO_IN_2_50_FOR" | |
| 675 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_50_FOR" | |
| 676 | + | introspectable="0"> | |
| 677 | + | <source-position filename="gmodule/gmodule-visibility.h" line="448"/> | |
| 678 | + | <parameters> | |
| 679 | + | <parameter name="f"> | |
| 680 | + | </parameter> | |
| 681 | + | </parameters> | |
| 682 | + | </function-macro> | |
| 683 | + | <function-macro name="DEPRECATED_MACRO_IN_2_52_FOR" | |
| 684 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_52_FOR" | |
| 685 | + | introspectable="0"> | |
| 686 | + | <source-position filename="gmodule/gmodule-visibility.h" line="482"/> | |
| 687 | + | <parameters> | |
| 688 | + | <parameter name="f"> | |
| 689 | + | </parameter> | |
| 690 | + | </parameters> | |
| 691 | + | </function-macro> | |
| 692 | + | <function-macro name="DEPRECATED_MACRO_IN_2_54_FOR" | |
| 693 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_54_FOR" | |
| 694 | + | introspectable="0"> | |
| 695 | + | <source-position filename="gmodule/gmodule-visibility.h" line="516"/> | |
| 696 | + | <parameters> | |
| 697 | + | <parameter name="f"> | |
| 698 | + | </parameter> | |
| 699 | + | </parameters> | |
| 700 | + | </function-macro> | |
| 701 | + | <function-macro name="DEPRECATED_MACRO_IN_2_56_FOR" | |
| 702 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_56_FOR" | |
| 703 | + | introspectable="0"> | |
| 704 | + | <source-position filename="gmodule/gmodule-visibility.h" line="550"/> | |
| 705 | + | <parameters> | |
| 706 | + | <parameter name="f"> | |
| 707 | + | </parameter> | |
| 708 | + | </parameters> | |
| 709 | + | </function-macro> | |
| 710 | + | <function-macro name="DEPRECATED_MACRO_IN_2_58_FOR" | |
| 711 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_58_FOR" | |
| 712 | + | introspectable="0"> | |
| 713 | + | <source-position filename="gmodule/gmodule-visibility.h" line="584"/> | |
| 714 | + | <parameters> | |
| 715 | + | <parameter name="f"> | |
| 716 | + | </parameter> | |
| 717 | + | </parameters> | |
| 718 | + | </function-macro> | |
| 719 | + | <function-macro name="DEPRECATED_MACRO_IN_2_60_FOR" | |
| 720 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_60_FOR" | |
| 721 | + | introspectable="0"> | |
| 722 | + | <source-position filename="gmodule/gmodule-visibility.h" line="618"/> | |
| 723 | + | <parameters> | |
| 724 | + | <parameter name="f"> | |
| 725 | + | </parameter> | |
| 726 | + | </parameters> | |
| 727 | + | </function-macro> | |
| 728 | + | <function-macro name="DEPRECATED_MACRO_IN_2_62_FOR" | |
| 729 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_62_FOR" | |
| 730 | + | introspectable="0"> | |
| 731 | + | <source-position filename="gmodule/gmodule-visibility.h" line="652"/> | |
| 732 | + | <parameters> | |
| 733 | + | <parameter name="f"> | |
| 734 | + | </parameter> | |
| 735 | + | </parameters> | |
| 736 | + | </function-macro> | |
| 737 | + | <function-macro name="DEPRECATED_MACRO_IN_2_64_FOR" | |
| 738 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_64_FOR" | |
| 739 | + | introspectable="0"> | |
| 740 | + | <source-position filename="gmodule/gmodule-visibility.h" line="686"/> | |
| 741 | + | <parameters> | |
| 742 | + | <parameter name="f"> | |
| 743 | + | </parameter> | |
| 744 | + | </parameters> | |
| 745 | + | </function-macro> | |
| 746 | + | <function-macro name="DEPRECATED_MACRO_IN_2_66_FOR" | |
| 747 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_66_FOR" | |
| 748 | + | introspectable="0"> | |
| 749 | + | <source-position filename="gmodule/gmodule-visibility.h" line="720"/> | |
| 750 | + | <parameters> | |
| 751 | + | <parameter name="f"> | |
| 752 | + | </parameter> | |
| 753 | + | </parameters> | |
| 754 | + | </function-macro> | |
| 755 | + | <function-macro name="DEPRECATED_MACRO_IN_2_68_FOR" | |
| 756 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_68_FOR" | |
| 757 | + | introspectable="0"> | |
| 758 | + | <source-position filename="gmodule/gmodule-visibility.h" line="754"/> | |
| 759 | + | <parameters> | |
| 760 | + | <parameter name="f"> | |
| 761 | + | </parameter> | |
| 762 | + | </parameters> | |
| 763 | + | </function-macro> | |
| 764 | + | <function-macro name="DEPRECATED_MACRO_IN_2_70_FOR" | |
| 765 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_70_FOR" | |
| 766 | + | introspectable="0"> | |
| 767 | + | <source-position filename="gmodule/gmodule-visibility.h" line="788"/> | |
| 768 | + | <parameters> | |
| 769 | + | <parameter name="f"> | |
| 770 | + | </parameter> | |
| 771 | + | </parameters> | |
| 772 | + | </function-macro> | |
| 773 | + | <function-macro name="DEPRECATED_MACRO_IN_2_72_FOR" | |
| 774 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_72_FOR" | |
| 775 | + | introspectable="0"> | |
| 776 | + | <source-position filename="gmodule/gmodule-visibility.h" line="822"/> | |
| 777 | + | <parameters> | |
| 778 | + | <parameter name="f"> | |
| 779 | + | </parameter> | |
| 780 | + | </parameters> | |
| 781 | + | </function-macro> | |
| 782 | + | <function-macro name="DEPRECATED_MACRO_IN_2_74_FOR" | |
| 783 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_74_FOR" | |
| 784 | + | introspectable="0"> | |
| 785 | + | <source-position filename="gmodule/gmodule-visibility.h" line="856"/> | |
| 786 | + | <parameters> | |
| 787 | + | <parameter name="f"> | |
| 788 | + | </parameter> | |
| 789 | + | </parameters> | |
| 790 | + | </function-macro> | |
| 791 | + | <function-macro name="DEPRECATED_MACRO_IN_2_76_FOR" | |
| 792 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_76_FOR" | |
| 793 | + | introspectable="0"> | |
| 794 | + | <source-position filename="gmodule/gmodule-visibility.h" line="890"/> | |
| 795 | + | <parameters> | |
| 796 | + | <parameter name="f"> | |
| 797 | + | </parameter> | |
| 798 | + | </parameters> | |
| 799 | + | </function-macro> | |
| 800 | + | <function-macro name="DEPRECATED_MACRO_IN_2_78_FOR" | |
| 801 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_78_FOR" | |
| 802 | + | introspectable="0"> | |
| 803 | + | <source-position filename="gmodule/gmodule-visibility.h" line="924"/> | |
| 804 | + | <parameters> | |
| 805 | + | <parameter name="f"> | |
| 806 | + | </parameter> | |
| 807 | + | </parameters> | |
| 808 | + | </function-macro> | |
| 809 | + | <function-macro name="DEPRECATED_MACRO_IN_2_80_FOR" | |
| 810 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_80_FOR" | |
| 811 | + | introspectable="0"> | |
| 812 | + | <source-position filename="gmodule/gmodule-visibility.h" line="958"/> | |
| 813 | + | <parameters> | |
| 814 | + | <parameter name="f"> | |
| 815 | + | </parameter> | |
| 816 | + | </parameters> | |
| 817 | + | </function-macro> | |
| 818 | + | <function-macro name="DEPRECATED_MACRO_IN_2_82_FOR" | |
| 819 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_82_FOR" | |
| 820 | + | introspectable="0"> | |
| 821 | + | <source-position filename="gmodule/gmodule-visibility.h" line="992"/> | |
| 822 | + | <parameters> | |
| 823 | + | <parameter name="f"> | |
| 824 | + | </parameter> | |
| 825 | + | </parameters> | |
| 826 | + | </function-macro> | |
| 827 | + | <function-macro name="DEPRECATED_MACRO_IN_2_84_FOR" | |
| 828 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_84_FOR" | |
| 829 | + | introspectable="0"> | |
| 830 | + | <source-position filename="gmodule/gmodule-visibility.h" line="1026"/> | |
| 831 | + | <parameters> | |
| 832 | + | <parameter name="f"> | |
| 833 | + | </parameter> | |
| 834 | + | </parameters> | |
| 835 | + | </function-macro> | |
| 836 | + | <function-macro name="DEPRECATED_TYPE_IN_2_26_FOR" | |
| 837 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_26_FOR" | |
| 838 | + | introspectable="0"> | |
| 839 | + | <source-position filename="gmodule/gmodule-visibility.h" line="44"/> | |
| 840 | + | <parameters> | |
| 841 | + | <parameter name="f"> | |
| 842 | + | </parameter> | |
| 843 | + | </parameters> | |
| 844 | + | </function-macro> | |
| 845 | + | <function-macro name="DEPRECATED_TYPE_IN_2_28_FOR" | |
| 846 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_28_FOR" | |
| 847 | + | introspectable="0"> | |
| 848 | + | <source-position filename="gmodule/gmodule-visibility.h" line="78"/> | |
| 849 | + | <parameters> | |
| 850 | + | <parameter name="f"> | |
| 851 | + | </parameter> | |
| 852 | + | </parameters> | |
| 853 | + | </function-macro> | |
| 854 | + | <function-macro name="DEPRECATED_TYPE_IN_2_30_FOR" | |
| 855 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_30_FOR" | |
| 856 | + | introspectable="0"> | |
| 857 | + | <source-position filename="gmodule/gmodule-visibility.h" line="112"/> | |
| 858 | + | <parameters> | |
| 859 | + | <parameter name="f"> | |
| 860 | + | </parameter> | |
| 861 | + | </parameters> | |
| 862 | + | </function-macro> | |
| 863 | + | <function-macro name="DEPRECATED_TYPE_IN_2_32_FOR" | |
| 864 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_32_FOR" | |
| 865 | + | introspectable="0"> | |
| 866 | + | <source-position filename="gmodule/gmodule-visibility.h" line="146"/> | |
| 867 | + | <parameters> | |
| 868 | + | <parameter name="f"> | |
| 869 | + | </parameter> | |
| 870 | + | </parameters> | |
| 871 | + | </function-macro> | |
| 872 | + | <function-macro name="DEPRECATED_TYPE_IN_2_34_FOR" | |
| 873 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_34_FOR" | |
| 874 | + | introspectable="0"> | |
| 875 | + | <source-position filename="gmodule/gmodule-visibility.h" line="180"/> | |
| 876 | + | <parameters> | |
| 877 | + | <parameter name="f"> | |
| 878 | + | </parameter> | |
| 879 | + | </parameters> | |
| 880 | + | </function-macro> | |
| 881 | + | <function-macro name="DEPRECATED_TYPE_IN_2_36_FOR" | |
| 882 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_36_FOR" | |
| 883 | + | introspectable="0"> | |
| 884 | + | <source-position filename="gmodule/gmodule-visibility.h" line="214"/> | |
| 885 | + | <parameters> | |
| 886 | + | <parameter name="f"> | |
| 887 | + | </parameter> | |
| 888 | + | </parameters> | |
| 889 | + | </function-macro> | |
| 890 | + | <function-macro name="DEPRECATED_TYPE_IN_2_38_FOR" | |
| 891 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_38_FOR" | |
| 892 | + | introspectable="0"> | |
| 893 | + | <source-position filename="gmodule/gmodule-visibility.h" line="248"/> | |
| 894 | + | <parameters> | |
| 895 | + | <parameter name="f"> | |
| 896 | + | </parameter> | |
| 897 | + | </parameters> | |
| 898 | + | </function-macro> | |
| 899 | + | <function-macro name="DEPRECATED_TYPE_IN_2_40_FOR" | |
| 900 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_40_FOR" | |
| 901 | + | introspectable="0"> | |
| 902 | + | <source-position filename="gmodule/gmodule-visibility.h" line="282"/> | |
| 903 | + | <parameters> | |
| 904 | + | <parameter name="f"> | |
| 905 | + | </parameter> | |
| 906 | + | </parameters> | |
| 907 | + | </function-macro> | |
| 908 | + | <function-macro name="DEPRECATED_TYPE_IN_2_42_FOR" | |
| 909 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_42_FOR" | |
| 910 | + | introspectable="0"> | |
| 911 | + | <source-position filename="gmodule/gmodule-visibility.h" line="316"/> | |
| 912 | + | <parameters> | |
| 913 | + | <parameter name="f"> | |
| 914 | + | </parameter> | |
| 915 | + | </parameters> | |
| 916 | + | </function-macro> | |
| 917 | + | <function-macro name="DEPRECATED_TYPE_IN_2_44_FOR" | |
| 918 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_44_FOR" | |
| 919 | + | introspectable="0"> | |
| 920 | + | <source-position filename="gmodule/gmodule-visibility.h" line="350"/> | |
| 921 | + | <parameters> | |
| 922 | + | <parameter name="f"> | |
| 923 | + | </parameter> | |
| 924 | + | </parameters> | |
| 925 | + | </function-macro> | |
| 926 | + | <function-macro name="DEPRECATED_TYPE_IN_2_46_FOR" | |
| 927 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_46_FOR" | |
| 928 | + | introspectable="0"> | |
| 929 | + | <source-position filename="gmodule/gmodule-visibility.h" line="384"/> | |
| 930 | + | <parameters> | |
| 931 | + | <parameter name="f"> | |
| 932 | + | </parameter> | |
| 933 | + | </parameters> | |
| 934 | + | </function-macro> | |
| 935 | + | <function-macro name="DEPRECATED_TYPE_IN_2_48_FOR" | |
| 936 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_48_FOR" | |
| 937 | + | introspectable="0"> | |
| 938 | + | <source-position filename="gmodule/gmodule-visibility.h" line="418"/> | |
| 939 | + | <parameters> | |
| 940 | + | <parameter name="f"> | |
| 941 | + | </parameter> | |
| 942 | + | </parameters> | |
| 943 | + | </function-macro> | |
| 944 | + | <function-macro name="DEPRECATED_TYPE_IN_2_50_FOR" | |
| 945 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_50_FOR" | |
| 946 | + | introspectable="0"> | |
| 947 | + | <source-position filename="gmodule/gmodule-visibility.h" line="452"/> | |
| 948 | + | <parameters> | |
| 949 | + | <parameter name="f"> | |
| 950 | + | </parameter> | |
| 951 | + | </parameters> | |
| 952 | + | </function-macro> | |
| 953 | + | <function-macro name="DEPRECATED_TYPE_IN_2_52_FOR" | |
| 954 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_52_FOR" | |
| 955 | + | introspectable="0"> | |
| 956 | + | <source-position filename="gmodule/gmodule-visibility.h" line="486"/> | |
| 957 | + | <parameters> | |
| 958 | + | <parameter name="f"> | |
| 959 | + | </parameter> | |
| 960 | + | </parameters> | |
| 961 | + | </function-macro> | |
| 962 | + | <function-macro name="DEPRECATED_TYPE_IN_2_54_FOR" | |
| 963 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_54_FOR" | |
| 964 | + | introspectable="0"> | |
| 965 | + | <source-position filename="gmodule/gmodule-visibility.h" line="520"/> | |
| 966 | + | <parameters> | |
| 967 | + | <parameter name="f"> | |
| 968 | + | </parameter> | |
| 969 | + | </parameters> | |
| 970 | + | </function-macro> | |
| 971 | + | <function-macro name="DEPRECATED_TYPE_IN_2_56_FOR" | |
| 972 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_56_FOR" | |
| 973 | + | introspectable="0"> | |
| 974 | + | <source-position filename="gmodule/gmodule-visibility.h" line="554"/> | |
| 975 | + | <parameters> | |
| 976 | + | <parameter name="f"> | |
| 977 | + | </parameter> | |
| 978 | + | </parameters> | |
| 979 | + | </function-macro> | |
| 980 | + | <function-macro name="DEPRECATED_TYPE_IN_2_58_FOR" | |
| 981 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_58_FOR" | |
| 982 | + | introspectable="0"> | |
| 983 | + | <source-position filename="gmodule/gmodule-visibility.h" line="588"/> | |
| 984 | + | <parameters> | |
| 985 | + | <parameter name="f"> | |
| 986 | + | </parameter> | |
| 987 | + | </parameters> | |
| 988 | + | </function-macro> | |
| 989 | + | <function-macro name="DEPRECATED_TYPE_IN_2_60_FOR" | |
| 990 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_60_FOR" | |
| 991 | + | introspectable="0"> | |
| 992 | + | <source-position filename="gmodule/gmodule-visibility.h" line="622"/> | |
| 993 | + | <parameters> | |
| 994 | + | <parameter name="f"> | |
| 995 | + | </parameter> | |
| 996 | + | </parameters> | |
| 997 | + | </function-macro> | |
| 998 | + | <function-macro name="DEPRECATED_TYPE_IN_2_62_FOR" | |
| 999 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_62_FOR" | |
| 1000 | + | introspectable="0"> | |
| 1001 | + | <source-position filename="gmodule/gmodule-visibility.h" line="656"/> | |
| 1002 | + | <parameters> | |
| 1003 | + | <parameter name="f"> | |
| 1004 | + | </parameter> | |
| 1005 | + | </parameters> | |
| 1006 | + | </function-macro> | |
| 1007 | + | <function-macro name="DEPRECATED_TYPE_IN_2_64_FOR" | |
| 1008 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_64_FOR" | |
| 1009 | + | introspectable="0"> | |
| 1010 | + | <source-position filename="gmodule/gmodule-visibility.h" line="690"/> | |
| 1011 | + | <parameters> | |
| 1012 | + | <parameter name="f"> | |
| 1013 | + | </parameter> | |
| 1014 | + | </parameters> | |
| 1015 | + | </function-macro> | |
| 1016 | + | <function-macro name="DEPRECATED_TYPE_IN_2_66_FOR" | |
| 1017 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_66_FOR" | |
| 1018 | + | introspectable="0"> | |
| 1019 | + | <source-position filename="gmodule/gmodule-visibility.h" line="724"/> | |
| 1020 | + | <parameters> | |
| 1021 | + | <parameter name="f"> | |
| 1022 | + | </parameter> | |
| 1023 | + | </parameters> | |
| 1024 | + | </function-macro> | |
| 1025 | + | <function-macro name="DEPRECATED_TYPE_IN_2_68_FOR" | |
| 1026 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_68_FOR" | |
| 1027 | + | introspectable="0"> | |
| 1028 | + | <source-position filename="gmodule/gmodule-visibility.h" line="758"/> | |
| 1029 | + | <parameters> | |
| 1030 | + | <parameter name="f"> | |
| 1031 | + | </parameter> | |
| 1032 | + | </parameters> | |
| 1033 | + | </function-macro> | |
| 1034 | + | <function-macro name="DEPRECATED_TYPE_IN_2_70_FOR" | |
| 1035 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_70_FOR" | |
| 1036 | + | introspectable="0"> | |
| 1037 | + | <source-position filename="gmodule/gmodule-visibility.h" line="792"/> | |
| 1038 | + | <parameters> | |
| 1039 | + | <parameter name="f"> | |
| 1040 | + | </parameter> | |
| 1041 | + | </parameters> | |
| 1042 | + | </function-macro> | |
| 1043 | + | <function-macro name="DEPRECATED_TYPE_IN_2_72_FOR" | |
| 1044 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_72_FOR" | |
| 1045 | + | introspectable="0"> | |
| 1046 | + | <source-position filename="gmodule/gmodule-visibility.h" line="826"/> | |
| 1047 | + | <parameters> | |
| 1048 | + | <parameter name="f"> | |
| 1049 | + | </parameter> | |
| 1050 | + | </parameters> | |
| 1051 | + | </function-macro> | |
| 1052 | + | <function-macro name="DEPRECATED_TYPE_IN_2_74_FOR" | |
| 1053 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_74_FOR" | |
| 1054 | + | introspectable="0"> | |
| 1055 | + | <source-position filename="gmodule/gmodule-visibility.h" line="860"/> | |
| 1056 | + | <parameters> | |
| 1057 | + | <parameter name="f"> | |
| 1058 | + | </parameter> | |
| 1059 | + | </parameters> | |
| 1060 | + | </function-macro> | |
| 1061 | + | <function-macro name="DEPRECATED_TYPE_IN_2_76_FOR" | |
| 1062 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_76_FOR" | |
| 1063 | + | introspectable="0"> | |
| 1064 | + | <source-position filename="gmodule/gmodule-visibility.h" line="894"/> | |
| 1065 | + | <parameters> | |
| 1066 | + | <parameter name="f"> | |
| 1067 | + | </parameter> | |
| 1068 | + | </parameters> | |
| 1069 | + | </function-macro> | |
| 1070 | + | <function-macro name="DEPRECATED_TYPE_IN_2_78_FOR" | |
| 1071 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_78_FOR" | |
| 1072 | + | introspectable="0"> | |
| 1073 | + | <source-position filename="gmodule/gmodule-visibility.h" line="928"/> | |
| 1074 | + | <parameters> | |
| 1075 | + | <parameter name="f"> | |
| 1076 | + | </parameter> | |
| 1077 | + | </parameters> | |
| 1078 | + | </function-macro> | |
| 1079 | + | <function-macro name="DEPRECATED_TYPE_IN_2_80_FOR" | |
| 1080 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_80_FOR" | |
| 1081 | + | introspectable="0"> | |
| 1082 | + | <source-position filename="gmodule/gmodule-visibility.h" line="962"/> | |
| 1083 | + | <parameters> | |
| 1084 | + | <parameter name="f"> | |
| 1085 | + | </parameter> | |
| 1086 | + | </parameters> | |
| 1087 | + | </function-macro> | |
| 1088 | + | <function-macro name="DEPRECATED_TYPE_IN_2_82_FOR" | |
| 1089 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_82_FOR" | |
| 1090 | + | introspectable="0"> | |
| 1091 | + | <source-position filename="gmodule/gmodule-visibility.h" line="996"/> | |
| 1092 | + | <parameters> | |
| 1093 | + | <parameter name="f"> | |
| 1094 | + | </parameter> | |
| 1095 | + | </parameters> | |
| 1096 | + | </function-macro> | |
| 1097 | + | <function-macro name="DEPRECATED_TYPE_IN_2_84_FOR" | |
| 1098 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_84_FOR" | |
| 1099 | + | introspectable="0"> | |
| 1100 | + | <source-position filename="gmodule/gmodule-visibility.h" line="1030"/> | |
| 1101 | + | <parameters> | |
| 1102 | + | <parameter name="f"> | |
| 1103 | + | </parameter> | |
| 1104 | + | </parameters> | |
| 1105 | + | </function-macro> | |
| 1106 | + | <constant name="MODULE_IMPL_AR" value="7" c:type="G_MODULE_IMPL_AR"> | |
| 1107 | + | <source-position filename="gmodule/gmoduleconf.h" line="31"/> | |
| 1108 | + | <type name="gint" c:type="gint"/> | |
| 1109 | + | </constant> | |
| 1110 | + | <constant name="MODULE_IMPL_DL" value="1" c:type="G_MODULE_IMPL_DL"> | |
| 1111 | + | <source-position filename="gmodule/gmoduleconf.h" line="29"/> | |
| 1112 | + | <type name="gint" c:type="gint"/> | |
| 1113 | + | </constant> | |
| 1114 | + | <constant name="MODULE_IMPL_NONE" value="0" c:type="G_MODULE_IMPL_NONE"> | |
| 1115 | + | <source-position filename="gmodule/gmoduleconf.h" line="28"/> | |
| 1116 | + | <type name="gint" c:type="gint"/> | |
| 1117 | + | </constant> | |
| 1118 | + | <constant name="MODULE_IMPL_WIN32" value="3" c:type="G_MODULE_IMPL_WIN32"> | |
| 1119 | + | <source-position filename="gmodule/gmoduleconf.h" line="30"/> | |
| 1120 | + | <type name="gint" c:type="gint"/> | |
| 1121 | + | </constant> | |
| 1122 | + | <record name="Module" c:type="GModule" disguised="1" opaque="1"> | |
| 18 | 1123 | <doc xml:space="preserve" | |
| 19 | - | filename="gmodule-2.0.c" | |
| 20 | - | line="5">The #GModule struct is an opaque data structure to represent a | |
| 21 | - | [dynamically-loaded module][glib-Dynamic-Loading-of-Modules]. | |
| 1124 | + | filename="gmodule/gmodule.c" | |
| 1125 | + | line="56">The #GModule struct is an opaque data structure to represent a | |
| 1126 | + | [dynamically-loaded module](modules.html#dynamic-loading-of-modules). | |
| 22 | 1127 | It should only be accessed via the following functions.</doc> | |
| 23 | - | <source-position filename="gmodule.h" line="65"/> | |
| 1128 | + | <source-position filename="gmodule/gmodule.h" line="70"/> | |
| 24 | 1129 | <method name="close" c:identifier="g_module_close"> | |
| 25 | 1130 | <doc xml:space="preserve" | |
| 26 | - | filename="gmodule-2.0.c" | |
| 27 | - | line="185">Closes a module.</doc> | |
| 28 | - | <source-position filename="gmodule.h" line="105"/> | |
| 1131 | + | filename="gmodule/gmodule.c" | |
| 1132 | + | line="711">Closes a module.</doc> | |
| 1133 | + | <source-position filename="gmodule/gmodule.h" line="110"/> | |
| 29 | 1134 | <return-value transfer-ownership="none"> | |
| 30 | 1135 | <doc xml:space="preserve" | |
| 31 | - | filename="gmodule-2.0.c" | |
| 32 | - | line="191">%TRUE on success</doc> | |
| 1136 | + | filename="gmodule/gmodule.c" | |
| 1137 | + | line="717">%TRUE on success</doc> | |
| 33 | 1138 | <type name="gboolean" c:type="gboolean"/> | |
| 34 | 1139 | </return-value> | |
| 35 | 1140 | <parameters> | |
| 36 | 1141 | <instance-parameter name="module" transfer-ownership="none"> | |
| 37 | 1142 | <doc xml:space="preserve" | |
| 38 | - | filename="gmodule-2.0.c" | |
| 39 | - | line="187">a #GModule to close</doc> | |
| 1143 | + | filename="gmodule/gmodule.c" | |
| 1144 | + | line="713">a #GModule to close</doc> | |
| 40 | 1145 | <type name="Module" c:type="GModule*"/> | |
| 41 | 1146 | </instance-parameter> | |
| 42 | 1147 | </parameters> | |
| 43 | 1148 | </method> | |
| 44 | 1149 | <method name="make_resident" c:identifier="g_module_make_resident"> | |
| 45 | 1150 | <doc xml:space="preserve" | |
| 46 | - | filename="gmodule-2.0.c" | |
| 47 | - | line="204">Ensures that a module will never be unloaded. | |
| 1151 | + | filename="gmodule/gmodule.c" | |
| 1152 | + | line="772">Ensures that a module will never be unloaded. | |
| 48 | 1153 | Any future g_module_close() calls on the module will be ignored.</doc> | |
| 49 | - | <source-position filename="gmodule.h" line="109"/> | |
| 1154 | + | <source-position filename="gmodule/gmodule.h" line="114"/> | |
| 50 | 1155 | <return-value transfer-ownership="none"> | |
| 51 | 1156 | <type name="none" c:type="void"/> | |
| 52 | 1157 | </return-value> | |
| 53 | 1158 | <parameters> | |
| 54 | 1159 | <instance-parameter name="module" transfer-ownership="none"> | |
| 55 | 1160 | <doc xml:space="preserve" | |
| 56 | - | filename="gmodule-2.0.c" | |
| 57 | - | line="206">a #GModule to make permanently resident</doc> | |
| 1161 | + | filename="gmodule/gmodule.c" | |
| 1162 | + | line="774">a #GModule to make permanently resident</doc> | |
| 58 | 1163 | <type name="Module" c:type="GModule*"/> | |
| 59 | 1164 | </instance-parameter> | |
| 60 | 1165 | </parameters> | |
| 61 | 1166 | </method> | |
| 62 | 1167 | <method name="name" c:identifier="g_module_name"> | |
| 63 | 1168 | <doc xml:space="preserve" | |
| 64 | - | filename="gmodule-2.0.c" | |
| 65 | - | line="213">Returns the filename that the module was opened with. | |
| 1169 | + | filename="gmodule/gmodule.c" | |
| 1170 | + | line="855">Returns the filename that the module was opened with. | |
| 66 | 1171 | ||
| 67 | 1172 | If @module refers to the application itself, "main" is returned.</doc> | |
| 68 | - | <source-position filename="gmodule.h" line="123"/> | |
| 1173 | + | <source-position filename="gmodule/gmodule.h" line="128"/> | |
| 69 | 1174 | <return-value transfer-ownership="none"> | |
| 70 | 1175 | <doc xml:space="preserve" | |
| 71 | - | filename="gmodule-2.0.c" | |
| 72 | - | line="221">the filename of the module</doc> | |
| 1176 | + | filename="gmodule/gmodule.c" | |
| 1177 | + | line="863">the filename of the module</doc> | |
| 73 | 1178 | <type name="utf8" c:type="const gchar*"/> | |
| 74 | 1179 | </return-value> | |
| 75 | 1180 | <parameters> | |
| 76 | 1181 | <instance-parameter name="module" transfer-ownership="none"> | |
| 77 | 1182 | <doc xml:space="preserve" | |
| 78 | - | filename="gmodule-2.0.c" | |
| 79 | - | line="215">a #GModule</doc> | |
| 1183 | + | filename="gmodule/gmodule.c" | |
| 1184 | + | line="857">a #GModule</doc> | |
| 80 | 1185 | <type name="Module" c:type="GModule*"/> | |
| 81 | 1186 | </instance-parameter> | |
| 82 | 1187 | </parameters> | |
| 83 | 1188 | </method> | |
| 84 | 1189 | <method name="symbol" c:identifier="g_module_symbol"> | |
| 85 | 1190 | <doc xml:space="preserve" | |
| 86 | - | filename="gmodule-2.0.c" | |
| 87 | - | line="273">Gets a symbol pointer from a module, such as one exported | |
| 1191 | + | filename="gmodule/gmodule.c" | |
| 1192 | + | line="800">Gets a symbol pointer from a module, such as one exported | |
| 88 | 1193 | by %G_MODULE_EXPORT. Note that a valid symbol can be %NULL.</doc> | |
| 89 | - | <source-position filename="gmodule.h" line="117"/> | |
| 1194 | + | <source-position filename="gmodule/gmodule.h" line="122"/> | |
| 90 | 1195 | <return-value transfer-ownership="none"> | |
| 91 | 1196 | <doc xml:space="preserve" | |
| 92 | - | filename="gmodule-2.0.c" | |
| 93 | - | line="282">%TRUE on success</doc> | |
| 1197 | + | filename="gmodule/gmodule.c" | |
| 1198 | + | line="809">%TRUE on success</doc> | |
| 94 | 1199 | <type name="gboolean" c:type="gboolean"/> | |
| 95 | 1200 | </return-value> | |
| 96 | 1201 | <parameters> | |
| 97 | 1202 | <instance-parameter name="module" transfer-ownership="none"> | |
| 98 | 1203 | <doc xml:space="preserve" | |
| 99 | - | filename="gmodule-2.0.c" | |
| 100 | - | line="275">a #GModule</doc> | |
| 1204 | + | filename="gmodule/gmodule.c" | |
| 1205 | + | line="802">a #GModule</doc> | |
| 101 | 1206 | <type name="Module" c:type="GModule*"/> | |
| 102 | 1207 | </instance-parameter> | |
| 103 | 1208 | <parameter name="symbol_name" transfer-ownership="none"> | |
| 104 | 1209 | <doc xml:space="preserve" | |
| 105 | - | filename="gmodule-2.0.c" | |
| 106 | - | line="276">the name of the symbol to find</doc> | |
| 1210 | + | filename="gmodule/gmodule.c" | |
| 1211 | + | line="803">the name of the symbol to find</doc> | |
| 107 | 1212 | <type name="utf8" c:type="const gchar*"/> | |
| 108 | 1213 | </parameter> | |
| 109 | 1214 | <parameter name="symbol" | |
| @@ -112,16 +1217,19 @@ by %G_MODULE_EXPORT. Note that a valid symbol can be %NULL.</doc> | |||
| 112 | 1217 | transfer-ownership="full" | |
| 113 | 1218 | nullable="1"> | |
| 114 | 1219 | <doc xml:space="preserve" | |
| 115 | - | filename="gmodule-2.0.c" | |
| 116 | - | line="277">returns the pointer to the symbol value</doc> | |
| 1220 | + | filename="gmodule/gmodule.c" | |
| 1221 | + | line="804">returns the pointer to the symbol value</doc> | |
| 117 | 1222 | <type name="gpointer" c:type="gpointer*"/> | |
| 118 | 1223 | </parameter> | |
| 119 | 1224 | </parameters> | |
| 120 | 1225 | </method> | |
| 121 | - | <function name="build_path" c:identifier="g_module_build_path"> | |
| 1226 | + | <function name="build_path" | |
| 1227 | + | c:identifier="g_module_build_path" | |
| 1228 | + | deprecated="1" | |
| 1229 | + | deprecated-version="2.76"> | |
| 122 | 1230 | <doc xml:space="preserve" | |
| 123 | - | filename="gmodule-2.0.c" | |
| 124 | - | line="159">A portable way to build the filename of a module. The platform-specific | |
| 1231 | + | filename="gmodule/gmodule.c" | |
| 1232 | + | line="876">A portable way to build the filename of a module. The platform-specific | |
| 125 | 1233 | prefix and suffix are added to the filename, if needed, and the result | |
| 126 | 1234 | is added to the directory, using the correct separator character. | |
| 127 | 1235 | ||
| @@ -134,11 +1242,13 @@ For example, calling g_module_build_path() on a Linux system with a | |||
| 134 | 1242 | @directory of `/lib` and a @module_name of "mylibrary" will return | |
| 135 | 1243 | `/lib/libmylibrary.so`. On a Windows system, using `\Windows` as the | |
| 136 | 1244 | directory it will return `\Windows\mylibrary.dll`.</doc> | |
| 137 | - | <source-position filename="gmodule.h" line="137"/> | |
| 1245 | + | <doc-deprecated xml:space="preserve">Use g_module_open() instead with @module_name as the | |
| 1246 | + | basename of the file_name argument. See %G_MODULE_SUFFIX for why.</doc-deprecated> | |
| 1247 | + | <source-position filename="gmodule/gmodule.h" line="142"/> | |
| 138 | 1248 | <return-value transfer-ownership="full"> | |
| 139 | 1249 | <doc xml:space="preserve" | |
| 140 | - | filename="gmodule-2.0.c" | |
| 141 | - | line="180">the complete path of the module, including the standard library | |
| 1250 | + | filename="gmodule/gmodule.c" | |
| 1251 | + | line="897">the complete path of the module, including the standard library | |
| 142 | 1252 | prefix and suffix. This should be freed when no longer needed</doc> | |
| 143 | 1253 | <type name="utf8" c:type="gchar*"/> | |
| 144 | 1254 | </return-value> | |
| @@ -148,29 +1258,29 @@ directory it will return `\Windows\mylibrary.dll`.</doc> | |||
| 148 | 1258 | nullable="1" | |
| 149 | 1259 | allow-none="1"> | |
| 150 | 1260 | <doc xml:space="preserve" | |
| 151 | - | filename="gmodule-2.0.c" | |
| 152 | - | line="161">the directory where the module is. This can be | |
| 1261 | + | filename="gmodule/gmodule.c" | |
| 1262 | + | line="878">the directory where the module is. This can be | |
| 153 | 1263 | %NULL or the empty string to indicate that the standard platform-specific | |
| 154 | 1264 | directories will be used, though that is not recommended</doc> | |
| 155 | 1265 | <type name="utf8" c:type="const gchar*"/> | |
| 156 | 1266 | </parameter> | |
| 157 | 1267 | <parameter name="module_name" transfer-ownership="none"> | |
| 158 | 1268 | <doc xml:space="preserve" | |
| 159 | - | filename="gmodule-2.0.c" | |
| 160 | - | line="164">the name of the module</doc> | |
| 1269 | + | filename="gmodule/gmodule.c" | |
| 1270 | + | line="881">the name of the module</doc> | |
| 161 | 1271 | <type name="utf8" c:type="const gchar*"/> | |
| 162 | 1272 | </parameter> | |
| 163 | 1273 | </parameters> | |
| 164 | 1274 | </function> | |
| 165 | 1275 | <function name="error" c:identifier="g_module_error"> | |
| 166 | 1276 | <doc xml:space="preserve" | |
| 167 | - | filename="gmodule-2.0.c" | |
| 168 | - | line="195">Gets a string describing the last module error.</doc> | |
| 169 | - | <source-position filename="gmodule.h" line="113"/> | |
| 1277 | + | filename="gmodule/gmodule.c" | |
| 1278 | + | line="787">Gets a string describing the last module error.</doc> | |
| 1279 | + | <source-position filename="gmodule/gmodule.h" line="118"/> | |
| 170 | 1280 | <return-value transfer-ownership="none"> | |
| 171 | 1281 | <doc xml:space="preserve" | |
| 172 | - | filename="gmodule-2.0.c" | |
| 173 | - | line="200">a string describing the last module error</doc> | |
| 1282 | + | filename="gmodule/gmodule.c" | |
| 1283 | + | line="792">a string describing the last module error</doc> | |
| 174 | 1284 | <type name="utf8" c:type="const gchar*"/> | |
| 175 | 1285 | </return-value> | |
| 176 | 1286 | </function> | |
| @@ -181,13 +1291,13 @@ directory it will return `\Windows\mylibrary.dll`.</doc> | |||
| 181 | 1291 | </function> | |
| 182 | 1292 | <function name="open" c:identifier="g_module_open" introspectable="0"> | |
| 183 | 1293 | <doc xml:space="preserve" | |
| 184 | - | filename="gmodule-2.0.c" | |
| 185 | - | line="225">A thin wrapper function around g_module_open_full()</doc> | |
| 186 | - | <source-position filename="gmodule.h" line="95"/> | |
| 1294 | + | filename="gmodule/gmodule.c" | |
| 1295 | + | line="693">A thin wrapper function around g_module_open_full()</doc> | |
| 1296 | + | <source-position filename="gmodule/gmodule.h" line="100"/> | |
| 187 | 1297 | <return-value> | |
| 188 | 1298 | <doc xml:space="preserve" | |
| 189 | - | filename="gmodule-2.0.c" | |
| 190 | - | line="234">a #GModule on success, or %NULL on failure</doc> | |
| 1299 | + | filename="gmodule/gmodule.c" | |
| 1300 | + | line="702">a #GModule on success, or %NULL on failure</doc> | |
| 191 | 1301 | <type name="Module" c:type="GModule*"/> | |
| 192 | 1302 | </return-value> | |
| 193 | 1303 | <parameters> | |
| @@ -196,15 +1306,15 @@ directory it will return `\Windows\mylibrary.dll`.</doc> | |||
| 196 | 1306 | nullable="1" | |
| 197 | 1307 | allow-none="1"> | |
| 198 | 1308 | <doc xml:space="preserve" | |
| 199 | - | filename="gmodule-2.0.c" | |
| 200 | - | line="227">the name of the file containing the module, or %NULL | |
| 201 | - | to obtain a #GModule representing the main program itself</doc> | |
| 1309 | + | filename="gmodule/gmodule.c" | |
| 1310 | + | line="695">the name or path to the file containing the module, | |
| 1311 | + | or %NULL to obtain a #GModule representing the main program itself</doc> | |
| 202 | 1312 | <type name="utf8" c:type="const gchar*"/> | |
| 203 | 1313 | </parameter> | |
| 204 | 1314 | <parameter name="flags" transfer-ownership="none"> | |
| 205 | 1315 | <doc xml:space="preserve" | |
| 206 | - | filename="gmodule-2.0.c" | |
| 207 | - | line="229">the flags used for opening the module. This can be the | |
| 1316 | + | filename="gmodule/gmodule.c" | |
| 1317 | + | line="697">the flags used for opening the module. This can be the | |
| 208 | 1318 | logical OR of any of the #GModuleFlags.</doc> | |
| 209 | 1319 | <type name="ModuleFlags" c:type="GModuleFlags"/> | |
| 210 | 1320 | </parameter> | |
| @@ -216,24 +1326,35 @@ directory it will return `\Windows\mylibrary.dll`.</doc> | |||
| 216 | 1326 | introspectable="0" | |
| 217 | 1327 | throws="1"> | |
| 218 | 1328 | <doc xml:space="preserve" | |
| 219 | - | filename="gmodule-2.0.c" | |
| 220 | - | line="238">Opens a module. If the module has already been opened, | |
| 221 | - | its reference count is incremented. | |
| 1329 | + | filename="gmodule/gmodule.c" | |
| 1330 | + | line="429">Opens a module. If the module has already been opened, its reference count | |
| 1331 | + | is incremented. If not, the module is searched using @file_name. | |
| 222 | 1332 | ||
| 223 | - | First of all g_module_open_full() tries to open @file_name as a module. | |
| 224 | - | If that fails and @file_name has the ".la"-suffix (and is a libtool | |
| 225 | - | archive) it tries to open the corresponding module. If that fails | |
| 226 | - | and it doesn't have the proper module suffix for the platform | |
| 227 | - | (%G_MODULE_SUFFIX), this suffix will be appended and the corresponding | |
| 228 | - | module will be opened. If that fails and @file_name doesn't have the | |
| 229 | - | ".la"-suffix, this suffix is appended and g_module_open_full() tries to open | |
| 230 | - | the corresponding module. If eventually that fails as well, %NULL is | |
| 231 | - | returned.</doc> | |
| 232 | - | <source-position filename="gmodule.h" line="99"/> | |
| 1333 | + | Since 2.76, the search order/behavior is as follows: | |
| 1334 | + | ||
| 1335 | + | 1. If @file_name exists as a regular file, it is used as-is; else | |
| 1336 | + | 2. If @file_name doesn't have the correct suffix and/or prefix for the | |
| 1337 | + | platform, then possible suffixes and prefixes will be added to the | |
| 1338 | + | basename till a file is found and whatever is found will be used; else | |
| 1339 | + | 3. If @file_name doesn't have the ".la"-suffix, ".la" is appended. Either | |
| 1340 | + | way, if a matching .la file exists (and is a libtool archive) the | |
| 1341 | + | libtool archive is parsed to find the actual file name, and that is | |
| 1342 | + | used. | |
| 1343 | + | ||
| 1344 | + | If, at the end of all this, we have a file path that we can access on disk, | |
| 1345 | + | it is opened as a module. If not, @file_name is attempted to be opened as a | |
| 1346 | + | module verbatim in the hopes that the system implementation will somehow be | |
| 1347 | + | able to access it. If that is not possible, %NULL is returned. | |
| 1348 | + | ||
| 1349 | + | Note that this behaviour was different prior to 2.76, but there is some | |
| 1350 | + | overlap in functionality. If backwards compatibility is an issue, kindly | |
| 1351 | + | consult earlier #GModule documentation for the prior search order/behavior | |
| 1352 | + | of @file_name.</doc> | |
| 1353 | + | <source-position filename="gmodule/gmodule.h" line="104"/> | |
| 233 | 1354 | <return-value> | |
| 234 | 1355 | <doc xml:space="preserve" | |
| 235 | - | filename="gmodule-2.0.c" | |
| 236 | - | line="259">a #GModule on success, or %NULL on failure</doc> | |
| 1356 | + | filename="gmodule/gmodule.c" | |
| 1357 | + | line="461">a #GModule on success, or %NULL on failure</doc> | |
| 237 | 1358 | <type name="Module" c:type="GModule*"/> | |
| 238 | 1359 | </return-value> | |
| 239 | 1360 | <parameters> | |
| @@ -242,15 +1363,15 @@ returned.</doc> | |||
| 242 | 1363 | nullable="1" | |
| 243 | 1364 | allow-none="1"> | |
| 244 | 1365 | <doc xml:space="preserve" | |
| 245 | - | filename="gmodule-2.0.c" | |
| 246 | - | line="240">the name of the file containing the module, or %NULL | |
| 247 | - | to obtain a #GModule representing the main program itself</doc> | |
| 1366 | + | filename="gmodule/gmodule.c" | |
| 1367 | + | line="431">the name or path to the file containing the module, | |
| 1368 | + | or %NULL to obtain a #GModule representing the main program itself</doc> | |
| 248 | 1369 | <type name="utf8" c:type="const gchar*"/> | |
| 249 | 1370 | </parameter> | |
| 250 | 1371 | <parameter name="flags" transfer-ownership="none"> | |
| 251 | 1372 | <doc xml:space="preserve" | |
| 252 | - | filename="gmodule-2.0.c" | |
| 253 | - | line="242">the flags used for opening the module. This can be the | |
| 1373 | + | filename="gmodule/gmodule.c" | |
| 1374 | + | line="433">the flags used for opening the module. This can be the | |
| 254 | 1375 | logical OR of any of the #GModuleFlags</doc> | |
| 255 | 1376 | <type name="ModuleFlags" c:type="GModuleFlags"/> | |
| 256 | 1377 | </parameter> | |
| @@ -258,37 +1379,37 @@ returned.</doc> | |||
| 258 | 1379 | </function> | |
| 259 | 1380 | <function name="supported" c:identifier="g_module_supported"> | |
| 260 | 1381 | <doc xml:space="preserve" | |
| 261 | - | filename="gmodule-2.0.c" | |
| 262 | - | line="264">Checks if modules are supported on the current platform.</doc> | |
| 263 | - | <source-position filename="gmodule.h" line="91"/> | |
| 1382 | + | filename="gmodule/gmodule.c" | |
| 1383 | + | line="289">Checks if modules are supported on the current platform.</doc> | |
| 1384 | + | <source-position filename="gmodule/gmodule.h" line="96"/> | |
| 264 | 1385 | <return-value transfer-ownership="none"> | |
| 265 | 1386 | <doc xml:space="preserve" | |
| 266 | - | filename="gmodule-2.0.c" | |
| 267 | - | line="269">%TRUE if modules are supported</doc> | |
| 1387 | + | filename="gmodule/gmodule.c" | |
| 1388 | + | line="294">%TRUE if modules are supported</doc> | |
| 268 | 1389 | <type name="gboolean" c:type="gboolean"/> | |
| 269 | 1390 | </return-value> | |
| 270 | 1391 | </function> | |
| 271 | 1392 | </record> | |
| 272 | 1393 | <callback name="ModuleCheckInit" c:type="GModuleCheckInit"> | |
| 273 | 1394 | <doc xml:space="preserve" | |
| 274 | - | filename="gmodule-2.0.c" | |
| 275 | - | line="14">Specifies the type of the module initialization function. | |
| 1395 | + | filename="gmodule/gmodule.c" | |
| 1396 | + | line="64">Specifies the type of the module initialization function. | |
| 276 | 1397 | If a module contains a function named g_module_check_init() it is called | |
| 277 | 1398 | automatically when the module is loaded. It is passed the #GModule structure | |
| 278 | 1399 | and should return %NULL on success or a string describing the initialization | |
| 279 | 1400 | error.</doc> | |
| 280 | - | <source-position filename="gmodule.h" line="66"/> | |
| 1401 | + | <source-position filename="gmodule/gmodule.h" line="71"/> | |
| 281 | 1402 | <return-value transfer-ownership="none"> | |
| 282 | 1403 | <doc xml:space="preserve" | |
| 283 | - | filename="gmodule-2.0.c" | |
| 284 | - | line="24">%NULL on success, or a string describing the initialization error</doc> | |
| 1404 | + | filename="gmodule/gmodule.c" | |
| 1405 | + | line="74">%NULL on success, or a string describing the initialization error</doc> | |
| 285 | 1406 | <type name="utf8" c:type="const gchar*"/> | |
| 286 | 1407 | </return-value> | |
| 287 | 1408 | <parameters> | |
| 288 | 1409 | <parameter name="module" transfer-ownership="none"> | |
| 289 | 1410 | <doc xml:space="preserve" | |
| 290 | - | filename="gmodule-2.0.c" | |
| 291 | - | line="16">the #GModule corresponding to the module which has just been loaded</doc> | |
| 1411 | + | filename="gmodule/gmodule.c" | |
| 1412 | + | line="66">the #GModule corresponding to the module which has just been loaded</doc> | |
| 292 | 1413 | <type name="Module" c:type="GModule*"/> | |
| 293 | 1414 | </parameter> | |
| 294 | 1415 | </parameters> | |
| @@ -298,75 +1419,99 @@ error.</doc> | |||
| 298 | 1419 | c:type="GModuleError" | |
| 299 | 1420 | glib:error-domain="g-module-error-quark"> | |
| 300 | 1421 | <doc xml:space="preserve" | |
| 301 | - | filename="gmodule.h" | |
| 302 | - | line="73">Errors returned by g_module_open_full().</doc> | |
| 303 | - | <source-position filename="gmodule.h" line="86"/> | |
| 1422 | + | filename="gmodule/gmodule.h" | |
| 1423 | + | line="78">Errors returned by g_module_open_full().</doc> | |
| 1424 | + | <source-position filename="gmodule/gmodule.h" line="91"/> | |
| 304 | 1425 | <member name="failed" value="0" c:identifier="G_MODULE_ERROR_FAILED"> | |
| 305 | 1426 | <doc xml:space="preserve" | |
| 306 | - | filename="gmodule.h" | |
| 307 | - | line="75">there was an error loading or opening a module file</doc> | |
| 1427 | + | filename="gmodule/gmodule.h" | |
| 1428 | + | line="80">there was an error loading or opening a module file</doc> | |
| 308 | 1429 | </member> | |
| 309 | 1430 | <member name="check_failed" | |
| 310 | 1431 | value="1" | |
| 311 | 1432 | c:identifier="G_MODULE_ERROR_CHECK_FAILED"> | |
| 312 | 1433 | <doc xml:space="preserve" | |
| 313 | - | filename="gmodule.h" | |
| 314 | - | line="76">a module returned an error from its `g_module_check_init()` function</doc> | |
| 1434 | + | filename="gmodule/gmodule.h" | |
| 1435 | + | line="81">a module returned an error from its `g_module_check_init()` function</doc> | |
| 315 | 1436 | </member> | |
| 316 | 1437 | </enumeration> | |
| 317 | 1438 | <bitfield name="ModuleFlags" c:type="GModuleFlags"> | |
| 318 | 1439 | <doc xml:space="preserve" | |
| 319 | - | filename="gmodule.h" | |
| 320 | - | line="44">Flags passed to g_module_open(). | |
| 1440 | + | filename="gmodule/gmodule.h" | |
| 1441 | + | line="49">Flags passed to g_module_open(). | |
| 321 | 1442 | Note that these flags are not supported on all platforms.</doc> | |
| 322 | - | <source-position filename="gmodule.h" line="63"/> | |
| 1443 | + | <source-position filename="gmodule/gmodule.h" line="68"/> | |
| 323 | 1444 | <member name="lazy" value="1" c:identifier="G_MODULE_BIND_LAZY"> | |
| 324 | 1445 | <doc xml:space="preserve" | |
| 325 | - | filename="gmodule.h" | |
| 326 | - | line="46">specifies that symbols are only resolved when | |
| 1446 | + | filename="gmodule/gmodule.h" | |
| 1447 | + | line="51">specifies that symbols are only resolved when | |
| 327 | 1448 | needed. The default action is to bind all symbols when the module | |
| 328 | 1449 | is loaded.</doc> | |
| 329 | 1450 | </member> | |
| 330 | 1451 | <member name="local" value="2" c:identifier="G_MODULE_BIND_LOCAL"> | |
| 331 | 1452 | <doc xml:space="preserve" | |
| 332 | - | filename="gmodule.h" | |
| 333 | - | line="49">specifies that symbols in the module should | |
| 1453 | + | filename="gmodule/gmodule.h" | |
| 1454 | + | line="54">specifies that symbols in the module should | |
| 334 | 1455 | not be added to the global name space. The default action on most | |
| 335 | 1456 | platforms is to place symbols in the module in the global name space, | |
| 336 | 1457 | which may cause conflicts with existing symbols.</doc> | |
| 337 | 1458 | </member> | |
| 338 | 1459 | <member name="mask" value="3" c:identifier="G_MODULE_BIND_MASK"> | |
| 339 | 1460 | <doc xml:space="preserve" | |
| 340 | - | filename="gmodule.h" | |
| 341 | - | line="53">mask for all flags.</doc> | |
| 1461 | + | filename="gmodule/gmodule.h" | |
| 1462 | + | line="58">mask for all flags.</doc> | |
| 342 | 1463 | </member> | |
| 343 | 1464 | </bitfield> | |
| 344 | 1465 | <callback name="ModuleUnload" c:type="GModuleUnload"> | |
| 345 | 1466 | <doc xml:space="preserve" | |
| 346 | - | filename="gmodule-2.0.c" | |
| 347 | - | line="28">Specifies the type of the module function called when it is unloaded. | |
| 1467 | + | filename="gmodule/gmodule.c" | |
| 1468 | + | line="77">Specifies the type of the module function called when it is unloaded. | |
| 348 | 1469 | If a module contains a function named g_module_unload() it is called | |
| 349 | 1470 | automatically when the module is unloaded. | |
| 350 | 1471 | It is passed the #GModule structure.</doc> | |
| 351 | - | <source-position filename="gmodule.h" line="67"/> | |
| 1472 | + | <source-position filename="gmodule/gmodule.h" line="72"/> | |
| 352 | 1473 | <return-value transfer-ownership="none"> | |
| 353 | 1474 | <type name="none" c:type="void"/> | |
| 354 | 1475 | </return-value> | |
| 355 | 1476 | <parameters> | |
| 356 | 1477 | <parameter name="module" transfer-ownership="none"> | |
| 357 | 1478 | <doc xml:space="preserve" | |
| 358 | - | filename="gmodule-2.0.c" | |
| 359 | - | line="30">the #GModule about to be unloaded</doc> | |
| 1479 | + | filename="gmodule/gmodule.c" | |
| 1480 | + | line="79">the #GModule about to be unloaded</doc> | |
| 360 | 1481 | <type name="Module" c:type="GModule*"/> | |
| 361 | 1482 | </parameter> | |
| 362 | 1483 | </parameters> | |
| 363 | 1484 | </callback> | |
| 1485 | + | <function-macro name="UNAVAILABLE" | |
| 1486 | + | c:identifier="GMODULE_UNAVAILABLE" | |
| 1487 | + | introspectable="0"> | |
| 1488 | + | <source-position filename="gmodule/gmodule-visibility.h" line="27"/> | |
| 1489 | + | <parameters> | |
| 1490 | + | <parameter name="maj"> | |
| 1491 | + | </parameter> | |
| 1492 | + | <parameter name="min"> | |
| 1493 | + | </parameter> | |
| 1494 | + | </parameters> | |
| 1495 | + | </function-macro> | |
| 1496 | + | <function-macro name="UNAVAILABLE_STATIC_INLINE" | |
| 1497 | + | c:identifier="GMODULE_UNAVAILABLE_STATIC_INLINE" | |
| 1498 | + | introspectable="0"> | |
| 1499 | + | <source-position filename="gmodule/gmodule-visibility.h" line="28"/> | |
| 1500 | + | <parameters> | |
| 1501 | + | <parameter name="maj"> | |
| 1502 | + | </parameter> | |
| 1503 | + | <parameter name="min"> | |
| 1504 | + | </parameter> | |
| 1505 | + | </parameters> | |
| 1506 | + | </function-macro> | |
| 364 | 1507 | <function name="module_build_path" | |
| 365 | 1508 | c:identifier="g_module_build_path" | |
| 366 | - | moved-to="Module.build_path"> | |
| 1509 | + | moved-to="Module.build_path" | |
| 1510 | + | deprecated="1" | |
| 1511 | + | deprecated-version="2.76"> | |
| 367 | 1512 | <doc xml:space="preserve" | |
| 368 | - | filename="gmodule-2.0.c" | |
| 369 | - | line="159">A portable way to build the filename of a module. The platform-specific | |
| 1513 | + | filename="gmodule/gmodule.c" | |
| 1514 | + | line="876">A portable way to build the filename of a module. The platform-specific | |
| 370 | 1515 | prefix and suffix are added to the filename, if needed, and the result | |
| 371 | 1516 | is added to the directory, using the correct separator character. | |
| 372 | 1517 | ||
| @@ -379,11 +1524,13 @@ For example, calling g_module_build_path() on a Linux system with a | |||
| 379 | 1524 | @directory of `/lib` and a @module_name of "mylibrary" will return | |
| 380 | 1525 | `/lib/libmylibrary.so`. On a Windows system, using `\Windows` as the | |
| 381 | 1526 | directory it will return `\Windows\mylibrary.dll`.</doc> | |
| 382 | - | <source-position filename="gmodule.h" line="137"/> | |
| 1527 | + | <doc-deprecated xml:space="preserve">Use g_module_open() instead with @module_name as the | |
| 1528 | + | basename of the file_name argument. See %G_MODULE_SUFFIX for why.</doc-deprecated> | |
| 1529 | + | <source-position filename="gmodule/gmodule.h" line="142"/> | |
| 383 | 1530 | <return-value transfer-ownership="full"> | |
| 384 | 1531 | <doc xml:space="preserve" | |
| 385 | - | filename="gmodule-2.0.c" | |
| 386 | - | line="180">the complete path of the module, including the standard library | |
| 1532 | + | filename="gmodule/gmodule.c" | |
| 1533 | + | line="897">the complete path of the module, including the standard library | |
| 387 | 1534 | prefix and suffix. This should be freed when no longer needed</doc> | |
| 388 | 1535 | <type name="utf8" c:type="gchar*"/> | |
| 389 | 1536 | </return-value> | |
| @@ -393,16 +1540,16 @@ directory it will return `\Windows\mylibrary.dll`.</doc> | |||
| 393 | 1540 | nullable="1" | |
| 394 | 1541 | allow-none="1"> | |
| 395 | 1542 | <doc xml:space="preserve" | |
| 396 | - | filename="gmodule-2.0.c" | |
| 397 | - | line="161">the directory where the module is. This can be | |
| 1543 | + | filename="gmodule/gmodule.c" | |
| 1544 | + | line="878">the directory where the module is. This can be | |
| 398 | 1545 | %NULL or the empty string to indicate that the standard platform-specific | |
| 399 | 1546 | directories will be used, though that is not recommended</doc> | |
| 400 | 1547 | <type name="utf8" c:type="const gchar*"/> | |
| 401 | 1548 | </parameter> | |
| 402 | 1549 | <parameter name="module_name" transfer-ownership="none"> | |
| 403 | 1550 | <doc xml:space="preserve" | |
| 404 | - | filename="gmodule-2.0.c" | |
| 405 | - | line="164">the name of the module</doc> | |
| 1551 | + | filename="gmodule/gmodule.c" | |
| 1552 | + | line="881">the name of the module</doc> | |
| 406 | 1553 | <type name="utf8" c:type="const gchar*"/> | |
| 407 | 1554 | </parameter> | |
| 408 | 1555 | </parameters> | |
| @@ -411,13 +1558,13 @@ directory it will return `\Windows\mylibrary.dll`.</doc> | |||
| 411 | 1558 | c:identifier="g_module_error" | |
| 412 | 1559 | moved-to="Module.error"> | |
| 413 | 1560 | <doc xml:space="preserve" | |
| 414 | - | filename="gmodule-2.0.c" | |
| 415 | - | line="195">Gets a string describing the last module error.</doc> | |
| 416 | - | <source-position filename="gmodule.h" line="113"/> | |
| 1561 | + | filename="gmodule/gmodule.c" | |
| 1562 | + | line="787">Gets a string describing the last module error.</doc> | |
| 1563 | + | <source-position filename="gmodule/gmodule.h" line="118"/> | |
| 417 | 1564 | <return-value transfer-ownership="none"> | |
| 418 | 1565 | <doc xml:space="preserve" | |
| 419 | - | filename="gmodule-2.0.c" | |
| 420 | - | line="200">a string describing the last module error</doc> | |
| 1566 | + | filename="gmodule/gmodule.c" | |
| 1567 | + | line="792">a string describing the last module error</doc> | |
| 421 | 1568 | <type name="utf8" c:type="const gchar*"/> | |
| 422 | 1569 | </return-value> | |
| 423 | 1570 | </function> | |
| @@ -432,91 +1579,15 @@ directory it will return `\Windows\mylibrary.dll`.</doc> | |||
| 432 | 1579 | c:identifier="g_module_supported" | |
| 433 | 1580 | moved-to="Module.supported"> | |
| 434 | 1581 | <doc xml:space="preserve" | |
| 435 | - | filename="gmodule-2.0.c" | |
| 436 | - | line="264">Checks if modules are supported on the current platform.</doc> | |
| 437 | - | <source-position filename="gmodule.h" line="91"/> | |
| 1582 | + | filename="gmodule/gmodule.c" | |
| 1583 | + | line="289">Checks if modules are supported on the current platform.</doc> | |
| 1584 | + | <source-position filename="gmodule/gmodule.h" line="96"/> | |
| 438 | 1585 | <return-value transfer-ownership="none"> | |
| 439 | 1586 | <doc xml:space="preserve" | |
| 440 | - | filename="gmodule-2.0.c" | |
| 441 | - | line="269">%TRUE if modules are supported</doc> | |
| 1587 | + | filename="gmodule/gmodule.c" | |
| 1588 | + | line="294">%TRUE if modules are supported</doc> | |
| 442 | 1589 | <type name="gboolean" c:type="gboolean"/> | |
| 443 | 1590 | </return-value> | |
| 444 | 1591 | </function> | |
| 445 | - | <docsection name="modules"> | |
| 446 | - | <doc xml:space="preserve" | |
| 447 | - | filename="gmodule-2.0.c" | |
| 448 | - | line="79">These functions provide a portable way to dynamically load object files | |
| 449 | - | (commonly known as 'plug-ins'). The current implementation supports all | |
| 450 | - | systems that provide an implementation of dlopen() (e.g. Linux/Sun), as | |
| 451 | - | well as Windows platforms via DLLs. | |
| 452 | - | ||
| 453 | - | A program which wants to use these functions must be linked to the | |
| 454 | - | libraries output by the command `pkg-config --libs gmodule-2.0`. | |
| 455 | - | ||
| 456 | - | To use them you must first determine whether dynamic loading | |
| 457 | - | is supported on the platform by calling g_module_supported(). | |
| 458 | - | If it is, you can open a module with g_module_open(), | |
| 459 | - | find the module's symbols (e.g. function names) with g_module_symbol(), | |
| 460 | - | and later close the module with g_module_close(). | |
| 461 | - | g_module_name() will return the file name of a currently opened module. | |
| 462 | - | ||
| 463 | - | If any of the above functions fail, the error status can be found with | |
| 464 | - | g_module_error(). | |
| 465 | - | ||
| 466 | - | The #GModule implementation features reference counting for opened modules, | |
| 467 | - | and supports hook functions within a module which are called when the | |
| 468 | - | module is loaded and unloaded (see #GModuleCheckInit and #GModuleUnload). | |
| 469 | - | ||
| 470 | - | If your module introduces static data to common subsystems in the running | |
| 471 | - | program, e.g. through calling | |
| 472 | - | `g_quark_from_static_string ("my-module-stuff")`, | |
| 473 | - | it must ensure that it is never unloaded, by calling g_module_make_resident(). | |
| 474 | - | ||
| 475 | - | Example: Calling a function defined in a GModule | |
| 476 | - | |[<!-- language="C" --> | |
| 477 | - | // the function signature for 'say_hello' | |
| 478 | - | typedef void (* SayHelloFunc) (const char *message); | |
| 479 | - | ||
| 480 | - | gboolean | |
| 481 | - | just_say_hello (const char *filename, GError **error) | |
| 482 | - | { | |
| 483 | - | SayHelloFunc say_hello; | |
| 484 | - | GModule *module; | |
| 485 | - | ||
| 486 | - | module = g_module_open (filename, G_MODULE_BIND_LAZY); | |
| 487 | - | if (!module) | |
| 488 | - | { | |
| 489 | - | g_set_error (error, FOO_ERROR, FOO_ERROR_BLAH, | |
| 490 | - | "%s", g_module_error ()); | |
| 491 | - | return FALSE; | |
| 492 | - | } | |
| 493 | - | ||
| 494 | - | if (!g_module_symbol (module, "say_hello", (gpointer *)&say_hello)) | |
| 495 | - | { | |
| 496 | - | g_set_error (error, SAY_ERROR, SAY_ERROR_OPEN, | |
| 497 | - | "%s: %s", filename, g_module_error ()); | |
| 498 | - | if (!g_module_close (module)) | |
| 499 | - | g_warning ("%s: %s", filename, g_module_error ()); | |
| 500 | - | return FALSE; | |
| 501 | - | } | |
| 502 | - | ||
| 503 | - | if (say_hello == NULL) | |
| 504 | - | { | |
| 505 | - | g_set_error (error, SAY_ERROR, SAY_ERROR_OPEN, | |
| 506 | - | "symbol say_hello is NULL"); | |
| 507 | - | if (!g_module_close (module)) | |
| 508 | - | g_warning ("%s: %s", filename, g_module_error ()); | |
| 509 | - | return FALSE; | |
| 510 | - | } | |
| 511 | - | ||
| 512 | - | // call our function in the module | |
| 513 | - | say_hello ("Hello world!"); | |
| 514 | - | ||
| 515 | - | if (!g_module_close (module)) | |
| 516 | - | g_warning ("%s: %s", filename, g_module_error ()); | |
| 517 | - | return TRUE; | |
| 518 | - | } | |
| 519 | - | ]|</doc> | |
| 520 | - | </docsection> | |
| 521 | 1592 | </namespace> | |
| 522 | 1593 | </repository> | |
M internal/gir/spec/GObject-2.0.gir +10272 -7693 large diff (17965 lines changed): collapsed
M internal/gir/spec/Gdk-4.0.gir +13451 -7948 large diff (21399 lines changed): collapsed
M internal/gir/spec/GdkPixbuf-2.0.gir +971 -1025
| @@ -5,11 +5,13 @@ and/or use gtk-doc annotations. --> | |||
| 5 | 5 | <repository version="1.2" | |
| 6 | 6 | xmlns="http://www.gtk.org/introspection/core/1.0" | |
| 7 | 7 | xmlns:c="http://www.gtk.org/introspection/c/1.0" | |
| 8 | + | xmlns:doc="http://www.gtk.org/introspection/doc/1.0" | |
| 8 | 9 | xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> | |
| 9 | 10 | <include name="GModule" version="2.0"/> | |
| 10 | 11 | <include name="Gio" version="2.0"/> | |
| 11 | 12 | <package name="gdk-pixbuf-2.0"/> | |
| 12 | 13 | <c:include name="gdk-pixbuf/gdk-pixbuf.h"/> | |
| 14 | + | <doc:format name="unknown"/> | |
| 13 | 15 | <namespace name="GdkPixbuf" | |
| 14 | 16 | version="2.0" | |
| 15 | 17 | shared-library="libgdk_pixbuf-2.0.so.0" | |
| @@ -20,7 +22,7 @@ and/or use gtk-doc annotations. --> | |||
| 20 | 22 | glib:get-type="gdk_colorspace_get_type" | |
| 21 | 23 | c:type="GdkColorspace"> | |
| 22 | 24 | <doc xml:space="preserve" | |
| 23 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 25 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 24 | 26 | line="71">This enumeration defines the color spaces that are supported by | |
| 25 | 27 | the gdk-pixbuf library. | |
| 26 | 28 | ||
| @@ -31,14 +33,14 @@ Currently only RGB is supported.</doc> | |||
| 31 | 33 | glib:nick="rgb" | |
| 32 | 34 | glib:name="GDK_COLORSPACE_RGB"> | |
| 33 | 35 | <doc xml:space="preserve" | |
| 34 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 36 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 35 | 37 | line="73">Indicates a red/green/blue additive color space.</doc> | |
| 36 | 38 | </member> | |
| 37 | 39 | </enumeration> | |
| 38 | 40 | <function-macro name="IS_PIXBUF" | |
| 39 | 41 | c:identifier="GDK_IS_PIXBUF" | |
| 40 | 42 | introspectable="0"> | |
| 41 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" line="93"/> | |
| 43 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="93"/> | |
| 42 | 44 | <parameters> | |
| 43 | 45 | <parameter name="object"> | |
| 44 | 46 | </parameter> | |
| @@ -47,8 +49,7 @@ Currently only RGB is supported.</doc> | |||
| 47 | 49 | <function-macro name="IS_PIXBUF_ANIMATION" | |
| 48 | 50 | c:identifier="GDK_IS_PIXBUF_ANIMATION" | |
| 49 | 51 | introspectable="0"> | |
| 50 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 51 | - | line="46"/> | |
| 52 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" line="46"/> | |
| 52 | 53 | <parameters> | |
| 53 | 54 | <parameter name="object"> | |
| 54 | 55 | </parameter> | |
| @@ -57,7 +58,7 @@ Currently only RGB is supported.</doc> | |||
| 57 | 58 | <function-macro name="IS_PIXBUF_ANIMATION_CLASS" | |
| 58 | 59 | c:identifier="GDK_IS_PIXBUF_ANIMATION_CLASS" | |
| 59 | 60 | introspectable="0"> | |
| 60 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 61 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 61 | 62 | line="138"/> | |
| 62 | 63 | <parameters> | |
| 63 | 64 | <parameter name="klass"> | |
| @@ -67,8 +68,7 @@ Currently only RGB is supported.</doc> | |||
| 67 | 68 | <function-macro name="IS_PIXBUF_ANIMATION_ITER" | |
| 68 | 69 | c:identifier="GDK_IS_PIXBUF_ANIMATION_ITER" | |
| 69 | 70 | introspectable="0"> | |
| 70 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 71 | - | line="50"/> | |
| 71 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" line="50"/> | |
| 72 | 72 | <parameters> | |
| 73 | 73 | <parameter name="object"> | |
| 74 | 74 | </parameter> | |
| @@ -77,7 +77,7 @@ Currently only RGB is supported.</doc> | |||
| 77 | 77 | <function-macro name="IS_PIXBUF_ANIMATION_ITER_CLASS" | |
| 78 | 78 | c:identifier="GDK_IS_PIXBUF_ANIMATION_ITER_CLASS" | |
| 79 | 79 | introspectable="0"> | |
| 80 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 80 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 81 | 81 | line="186"/> | |
| 82 | 82 | <parameters> | |
| 83 | 83 | <parameter name="klass"> | |
| @@ -87,7 +87,7 @@ Currently only RGB is supported.</doc> | |||
| 87 | 87 | <function-macro name="IS_PIXBUF_LOADER" | |
| 88 | 88 | c:identifier="GDK_IS_PIXBUF_LOADER" | |
| 89 | 89 | introspectable="0"> | |
| 90 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" line="42"/> | |
| 90 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="42"/> | |
| 91 | 91 | <parameters> | |
| 92 | 92 | <parameter name="obj"> | |
| 93 | 93 | </parameter> | |
| @@ -96,7 +96,7 @@ Currently only RGB is supported.</doc> | |||
| 96 | 96 | <function-macro name="IS_PIXBUF_LOADER_CLASS" | |
| 97 | 97 | c:identifier="GDK_IS_PIXBUF_LOADER_CLASS" | |
| 98 | 98 | introspectable="0"> | |
| 99 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" line="43"/> | |
| 99 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="43"/> | |
| 100 | 100 | <parameters> | |
| 101 | 101 | <parameter name="klass"> | |
| 102 | 102 | </parameter> | |
| @@ -105,7 +105,7 @@ Currently only RGB is supported.</doc> | |||
| 105 | 105 | <function-macro name="IS_PIXBUF_SIMPLE_ANIM" | |
| 106 | 106 | c:identifier="GDK_IS_PIXBUF_SIMPLE_ANIM" | |
| 107 | 107 | introspectable="0"> | |
| 108 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 108 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 109 | 109 | line="43"/> | |
| 110 | 110 | <parameters> | |
| 111 | 111 | <parameter name="object"> | |
| @@ -115,7 +115,7 @@ Currently only RGB is supported.</doc> | |||
| 115 | 115 | <function-macro name="IS_PIXBUF_SIMPLE_ANIM_CLASS" | |
| 116 | 116 | c:identifier="GDK_IS_PIXBUF_SIMPLE_ANIM_CLASS" | |
| 117 | 117 | introspectable="0"> | |
| 118 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 118 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 119 | 119 | line="46"/> | |
| 120 | 120 | <parameters> | |
| 121 | 121 | <parameter name="klass"> | |
| @@ -127,7 +127,7 @@ Currently only RGB is supported.</doc> | |||
| 127 | 127 | glib:get-type="gdk_interp_type_get_type" | |
| 128 | 128 | c:type="GdkInterpType"> | |
| 129 | 129 | <doc xml:space="preserve" | |
| 130 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 130 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 131 | 131 | line="39">Interpolation modes for scaling functions. | |
| 132 | 132 | ||
| 133 | 133 | The `GDK_INTERP_NEAREST` mode is the fastest scaling method, but has | |
| @@ -143,7 +143,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 143 | 143 | glib:nick="nearest" | |
| 144 | 144 | glib:name="GDK_INTERP_NEAREST"> | |
| 145 | 145 | <doc xml:space="preserve" | |
| 146 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 146 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 147 | 147 | line="41">Nearest neighbor sampling; this is the fastest | |
| 148 | 148 | and lowest quality mode. Quality is normally unacceptable when scaling | |
| 149 | 149 | down, but may be OK when scaling up.</doc> | |
| @@ -154,7 +154,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 154 | 154 | glib:nick="tiles" | |
| 155 | 155 | glib:name="GDK_INTERP_TILES"> | |
| 156 | 156 | <doc xml:space="preserve" | |
| 157 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 157 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 158 | 158 | line="44">This is an accurate simulation of the PostScript | |
| 159 | 159 | image operator without any interpolation enabled. Each pixel is | |
| 160 | 160 | rendered as a tiny parallelogram of solid color, the edges of which | |
| @@ -167,7 +167,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 167 | 167 | glib:nick="bilinear" | |
| 168 | 168 | glib:name="GDK_INTERP_BILINEAR"> | |
| 169 | 169 | <doc xml:space="preserve" | |
| 170 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 170 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 171 | 171 | line="49">Best quality/speed balance; use this mode by | |
| 172 | 172 | default. Bilinear interpolation. For enlargement, it is | |
| 173 | 173 | equivalent to point-sampling the ideal bilinear-interpolated image. | |
| @@ -180,7 +180,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 180 | 180 | glib:nick="hyper" | |
| 181 | 181 | glib:name="GDK_INTERP_HYPER"> | |
| 182 | 182 | <doc xml:space="preserve" | |
| 183 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 183 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 184 | 184 | line="54">This is the slowest and highest quality | |
| 185 | 185 | reconstruction function. It is derived from the hyperbolic filters in | |
| 186 | 186 | Wolberg's "Digital Image Warping", and is formally defined as the | |
| @@ -192,7 +192,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 192 | 192 | </member> | |
| 193 | 193 | </enumeration> | |
| 194 | 194 | <function-macro name="PIXBUF" c:identifier="GDK_PIXBUF" introspectable="0"> | |
| 195 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" line="92"/> | |
| 195 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="92"/> | |
| 196 | 196 | <parameters> | |
| 197 | 197 | <parameter name="object"> | |
| 198 | 198 | </parameter> | |
| @@ -201,8 +201,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 201 | 201 | <function-macro name="PIXBUF_ANIMATION" | |
| 202 | 202 | c:identifier="GDK_PIXBUF_ANIMATION" | |
| 203 | 203 | introspectable="0"> | |
| 204 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 205 | - | line="45"/> | |
| 204 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" line="45"/> | |
| 206 | 205 | <parameters> | |
| 207 | 206 | <parameter name="object"> | |
| 208 | 207 | </parameter> | |
| @@ -211,7 +210,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 211 | 210 | <function-macro name="PIXBUF_ANIMATION_CLASS" | |
| 212 | 211 | c:identifier="GDK_PIXBUF_ANIMATION_CLASS" | |
| 213 | 212 | introspectable="0"> | |
| 214 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 213 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 215 | 214 | line="137"/> | |
| 216 | 215 | <parameters> | |
| 217 | 216 | <parameter name="klass"> | |
| @@ -221,7 +220,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 221 | 220 | <function-macro name="PIXBUF_ANIMATION_GET_CLASS" | |
| 222 | 221 | c:identifier="GDK_PIXBUF_ANIMATION_GET_CLASS" | |
| 223 | 222 | introspectable="0"> | |
| 224 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 223 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 225 | 224 | line="139"/> | |
| 226 | 225 | <parameters> | |
| 227 | 226 | <parameter name="obj"> | |
| @@ -231,8 +230,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 231 | 230 | <function-macro name="PIXBUF_ANIMATION_ITER" | |
| 232 | 231 | c:identifier="GDK_PIXBUF_ANIMATION_ITER" | |
| 233 | 232 | introspectable="0"> | |
| 234 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 235 | - | line="49"/> | |
| 233 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" line="49"/> | |
| 236 | 234 | <parameters> | |
| 237 | 235 | <parameter name="object"> | |
| 238 | 236 | </parameter> | |
| @@ -241,7 +239,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 241 | 239 | <function-macro name="PIXBUF_ANIMATION_ITER_CLASS" | |
| 242 | 240 | c:identifier="GDK_PIXBUF_ANIMATION_ITER_CLASS" | |
| 243 | 241 | introspectable="0"> | |
| 244 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 242 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 245 | 243 | line="185"/> | |
| 246 | 244 | <parameters> | |
| 247 | 245 | <parameter name="klass"> | |
| @@ -251,7 +249,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 251 | 249 | <function-macro name="PIXBUF_ANIMATION_ITER_GET_CLASS" | |
| 252 | 250 | c:identifier="GDK_PIXBUF_ANIMATION_ITER_GET_CLASS" | |
| 253 | 251 | introspectable="0"> | |
| 254 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 252 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 255 | 253 | line="187"/> | |
| 256 | 254 | <parameters> | |
| 257 | 255 | <parameter name="obj"> | |
| @@ -263,23 +261,23 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 263 | 261 | version="2.36" | |
| 264 | 262 | introspectable="0"> | |
| 265 | 263 | <doc xml:space="preserve" | |
| 266 | - | filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 264 | + | filename="gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 267 | 265 | line="32">Macro to test the version of GdkPixbuf being compiled against.</doc> | |
| 268 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" line="45"/> | |
| 266 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="45"/> | |
| 269 | 267 | <parameters> | |
| 270 | 268 | <parameter name="major"> | |
| 271 | 269 | <doc xml:space="preserve" | |
| 272 | - | filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 270 | + | filename="gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 273 | 271 | line="34">major version (e.g. 2 for version 2.34.0)</doc> | |
| 274 | 272 | </parameter> | |
| 275 | 273 | <parameter name="minor"> | |
| 276 | 274 | <doc xml:space="preserve" | |
| 277 | - | filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 275 | + | filename="gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 278 | 276 | line="35">minor version (e.g. 34 for version 2.34.0)</doc> | |
| 279 | 277 | </parameter> | |
| 280 | 278 | <parameter name="micro"> | |
| 281 | 279 | <doc xml:space="preserve" | |
| 282 | - | filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 280 | + | filename="gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 283 | 281 | line="36">micro version (e.g. 0 for version 2.34.0)</doc> | |
| 284 | 282 | </parameter> | |
| 285 | 283 | </parameters> | |
| @@ -287,8 +285,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 287 | 285 | <function-macro name="PIXBUF_DEPRECATED_IN_2_0_FOR" | |
| 288 | 286 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_0_FOR" | |
| 289 | 287 | introspectable="0"> | |
| 290 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 291 | - | line="343"/> | |
| 288 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="343"/> | |
| 292 | 289 | <parameters> | |
| 293 | 290 | <parameter name="f"> | |
| 294 | 291 | </parameter> | |
| @@ -297,8 +294,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 297 | 294 | <function-macro name="PIXBUF_DEPRECATED_IN_2_10_FOR" | |
| 298 | 295 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_10_FOR" | |
| 299 | 296 | introspectable="0"> | |
| 300 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 301 | - | line="433"/> | |
| 297 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="433"/> | |
| 302 | 298 | <parameters> | |
| 303 | 299 | <parameter name="f"> | |
| 304 | 300 | </parameter> | |
| @@ -307,8 +303,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 307 | 303 | <function-macro name="PIXBUF_DEPRECATED_IN_2_12_FOR" | |
| 308 | 304 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_12_FOR" | |
| 309 | 305 | introspectable="0"> | |
| 310 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 311 | - | line="451"/> | |
| 306 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="451"/> | |
| 312 | 307 | <parameters> | |
| 313 | 308 | <parameter name="f"> | |
| 314 | 309 | </parameter> | |
| @@ -317,8 +312,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 317 | 312 | <function-macro name="PIXBUF_DEPRECATED_IN_2_14_FOR" | |
| 318 | 313 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_14_FOR" | |
| 319 | 314 | introspectable="0"> | |
| 320 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 321 | - | line="469"/> | |
| 315 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="469"/> | |
| 322 | 316 | <parameters> | |
| 323 | 317 | <parameter name="f"> | |
| 324 | 318 | </parameter> | |
| @@ -327,8 +321,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 327 | 321 | <function-macro name="PIXBUF_DEPRECATED_IN_2_16_FOR" | |
| 328 | 322 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_16_FOR" | |
| 329 | 323 | introspectable="0"> | |
| 330 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 331 | - | line="487"/> | |
| 324 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="487"/> | |
| 332 | 325 | <parameters> | |
| 333 | 326 | <parameter name="f"> | |
| 334 | 327 | </parameter> | |
| @@ -337,8 +330,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 337 | 330 | <function-macro name="PIXBUF_DEPRECATED_IN_2_18_FOR" | |
| 338 | 331 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_18_FOR" | |
| 339 | 332 | introspectable="0"> | |
| 340 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 341 | - | line="505"/> | |
| 333 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="505"/> | |
| 342 | 334 | <parameters> | |
| 343 | 335 | <parameter name="f"> | |
| 344 | 336 | </parameter> | |
| @@ -347,8 +339,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 347 | 339 | <function-macro name="PIXBUF_DEPRECATED_IN_2_20_FOR" | |
| 348 | 340 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_20_FOR" | |
| 349 | 341 | introspectable="0"> | |
| 350 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 351 | - | line="523"/> | |
| 342 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="523"/> | |
| 352 | 343 | <parameters> | |
| 353 | 344 | <parameter name="f"> | |
| 354 | 345 | </parameter> | |
| @@ -357,8 +348,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 357 | 348 | <function-macro name="PIXBUF_DEPRECATED_IN_2_22_FOR" | |
| 358 | 349 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_22_FOR" | |
| 359 | 350 | introspectable="0"> | |
| 360 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 361 | - | line="541"/> | |
| 351 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="541"/> | |
| 362 | 352 | <parameters> | |
| 363 | 353 | <parameter name="f"> | |
| 364 | 354 | </parameter> | |
| @@ -367,8 +357,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 367 | 357 | <function-macro name="PIXBUF_DEPRECATED_IN_2_24_FOR" | |
| 368 | 358 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_24_FOR" | |
| 369 | 359 | introspectable="0"> | |
| 370 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 371 | - | line="559"/> | |
| 360 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="559"/> | |
| 372 | 361 | <parameters> | |
| 373 | 362 | <parameter name="f"> | |
| 374 | 363 | </parameter> | |
| @@ -377,8 +366,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 377 | 366 | <function-macro name="PIXBUF_DEPRECATED_IN_2_26_FOR" | |
| 378 | 367 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_26_FOR" | |
| 379 | 368 | introspectable="0"> | |
| 380 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 381 | - | line="577"/> | |
| 369 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="577"/> | |
| 382 | 370 | <parameters> | |
| 383 | 371 | <parameter name="f"> | |
| 384 | 372 | </parameter> | |
| @@ -387,8 +375,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 387 | 375 | <function-macro name="PIXBUF_DEPRECATED_IN_2_28_FOR" | |
| 388 | 376 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_28_FOR" | |
| 389 | 377 | introspectable="0"> | |
| 390 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 391 | - | line="595"/> | |
| 378 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="595"/> | |
| 392 | 379 | <parameters> | |
| 393 | 380 | <parameter name="f"> | |
| 394 | 381 | </parameter> | |
| @@ -397,8 +384,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 397 | 384 | <function-macro name="PIXBUF_DEPRECATED_IN_2_2_FOR" | |
| 398 | 385 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_2_FOR" | |
| 399 | 386 | introspectable="0"> | |
| 400 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 401 | - | line="361"/> | |
| 387 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="361"/> | |
| 402 | 388 | <parameters> | |
| 403 | 389 | <parameter name="f"> | |
| 404 | 390 | </parameter> | |
| @@ -407,8 +393,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 407 | 393 | <function-macro name="PIXBUF_DEPRECATED_IN_2_30_FOR" | |
| 408 | 394 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_30_FOR" | |
| 409 | 395 | introspectable="0"> | |
| 410 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 411 | - | line="613"/> | |
| 396 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="613"/> | |
| 412 | 397 | <parameters> | |
| 413 | 398 | <parameter name="f"> | |
| 414 | 399 | </parameter> | |
| @@ -417,8 +402,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 417 | 402 | <function-macro name="PIXBUF_DEPRECATED_IN_2_32_FOR" | |
| 418 | 403 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_32_FOR" | |
| 419 | 404 | introspectable="0"> | |
| 420 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 421 | - | line="631"/> | |
| 405 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="631"/> | |
| 422 | 406 | <parameters> | |
| 423 | 407 | <parameter name="f"> | |
| 424 | 408 | </parameter> | |
| @@ -427,8 +411,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 427 | 411 | <function-macro name="PIXBUF_DEPRECATED_IN_2_34_FOR" | |
| 428 | 412 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_34_FOR" | |
| 429 | 413 | introspectable="0"> | |
| 430 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 431 | - | line="649"/> | |
| 414 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="649"/> | |
| 432 | 415 | <parameters> | |
| 433 | 416 | <parameter name="f"> | |
| 434 | 417 | </parameter> | |
| @@ -437,8 +420,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 437 | 420 | <function-macro name="PIXBUF_DEPRECATED_IN_2_36_FOR" | |
| 438 | 421 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_36_FOR" | |
| 439 | 422 | introspectable="0"> | |
| 440 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 441 | - | line="667"/> | |
| 423 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="667"/> | |
| 442 | 424 | <parameters> | |
| 443 | 425 | <parameter name="f"> | |
| 444 | 426 | </parameter> | |
| @@ -447,8 +429,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 447 | 429 | <function-macro name="PIXBUF_DEPRECATED_IN_2_38_FOR" | |
| 448 | 430 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_38_FOR" | |
| 449 | 431 | introspectable="0"> | |
| 450 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 451 | - | line="685"/> | |
| 432 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="685"/> | |
| 452 | 433 | <parameters> | |
| 453 | 434 | <parameter name="f"> | |
| 454 | 435 | </parameter> | |
| @@ -457,8 +438,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 457 | 438 | <function-macro name="PIXBUF_DEPRECATED_IN_2_40_FOR" | |
| 458 | 439 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_40_FOR" | |
| 459 | 440 | introspectable="0"> | |
| 460 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 461 | - | line="703"/> | |
| 441 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="703"/> | |
| 462 | 442 | <parameters> | |
| 463 | 443 | <parameter name="f"> | |
| 464 | 444 | </parameter> | |
| @@ -467,8 +447,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 467 | 447 | <function-macro name="PIXBUF_DEPRECATED_IN_2_4_FOR" | |
| 468 | 448 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_4_FOR" | |
| 469 | 449 | introspectable="0"> | |
| 470 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 471 | - | line="379"/> | |
| 450 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="379"/> | |
| 472 | 451 | <parameters> | |
| 473 | 452 | <parameter name="f"> | |
| 474 | 453 | </parameter> | |
| @@ -477,8 +456,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 477 | 456 | <function-macro name="PIXBUF_DEPRECATED_IN_2_6_FOR" | |
| 478 | 457 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_6_FOR" | |
| 479 | 458 | introspectable="0"> | |
| 480 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 481 | - | line="397"/> | |
| 459 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="397"/> | |
| 482 | 460 | <parameters> | |
| 483 | 461 | <parameter name="f"> | |
| 484 | 462 | </parameter> | |
| @@ -487,8 +465,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 487 | 465 | <function-macro name="PIXBUF_DEPRECATED_IN_2_8_FOR" | |
| 488 | 466 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_8_FOR" | |
| 489 | 467 | introspectable="0"> | |
| 490 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 491 | - | line="415"/> | |
| 468 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="415"/> | |
| 492 | 469 | <parameters> | |
| 493 | 470 | <parameter name="f"> | |
| 494 | 471 | </parameter> | |
| @@ -497,7 +474,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 497 | 474 | <function-macro name="PIXBUF_LOADER" | |
| 498 | 475 | c:identifier="GDK_PIXBUF_LOADER" | |
| 499 | 476 | introspectable="0"> | |
| 500 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" line="40"/> | |
| 477 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="40"/> | |
| 501 | 478 | <parameters> | |
| 502 | 479 | <parameter name="obj"> | |
| 503 | 480 | </parameter> | |
| @@ -506,7 +483,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 506 | 483 | <function-macro name="PIXBUF_LOADER_CLASS" | |
| 507 | 484 | c:identifier="GDK_PIXBUF_LOADER_CLASS" | |
| 508 | 485 | introspectable="0"> | |
| 509 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" line="41"/> | |
| 486 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="41"/> | |
| 510 | 487 | <parameters> | |
| 511 | 488 | <parameter name="klass"> | |
| 512 | 489 | </parameter> | |
| @@ -515,7 +492,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 515 | 492 | <function-macro name="PIXBUF_LOADER_GET_CLASS" | |
| 516 | 493 | c:identifier="GDK_PIXBUF_LOADER_GET_CLASS" | |
| 517 | 494 | introspectable="0"> | |
| 518 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" line="44"/> | |
| 495 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="44"/> | |
| 519 | 496 | <parameters> | |
| 520 | 497 | <parameter name="obj"> | |
| 521 | 498 | </parameter> | |
| @@ -523,35 +500,32 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 523 | 500 | </function-macro> | |
| 524 | 501 | <constant name="PIXBUF_MAJOR" value="2" c:type="GDK_PIXBUF_MAJOR"> | |
| 525 | 502 | <doc xml:space="preserve" | |
| 526 | - | filename="../gdk-pixbuf/gdk-pixbuf-features.h" | |
| 503 | + | filename="gdk-pixbuf/gdk-pixbuf-features.h" | |
| 527 | 504 | line="10">Major version of gdk-pixbuf library, that is the "0" in | |
| 528 | 505 | "0.8.2" for example.</doc> | |
| 529 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-features.h" | |
| 530 | - | line="37"/> | |
| 506 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-features.h" line="37"/> | |
| 531 | 507 | <type name="gint" c:type="gint"/> | |
| 532 | 508 | </constant> | |
| 533 | - | <constant name="PIXBUF_MICRO" value="10" c:type="GDK_PIXBUF_MICRO"> | |
| 509 | + | <constant name="PIXBUF_MICRO" value="12" c:type="GDK_PIXBUF_MICRO"> | |
| 534 | 510 | <doc xml:space="preserve" | |
| 535 | - | filename="../gdk-pixbuf/gdk-pixbuf-features.h" | |
| 511 | + | filename="gdk-pixbuf/gdk-pixbuf-features.h" | |
| 536 | 512 | line="22">Micro version of gdk-pixbuf library, that is the "2" in | |
| 537 | 513 | "0.8.2" for example.</doc> | |
| 538 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-features.h" | |
| 539 | - | line="39"/> | |
| 514 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-features.h" line="39"/> | |
| 540 | 515 | <type name="gint" c:type="gint"/> | |
| 541 | 516 | </constant> | |
| 542 | 517 | <constant name="PIXBUF_MINOR" value="42" c:type="GDK_PIXBUF_MINOR"> | |
| 543 | 518 | <doc xml:space="preserve" | |
| 544 | - | filename="../gdk-pixbuf/gdk-pixbuf-features.h" | |
| 519 | + | filename="gdk-pixbuf/gdk-pixbuf-features.h" | |
| 545 | 520 | line="16">Minor version of gdk-pixbuf library, that is the "8" in | |
| 546 | 521 | "0.8.2" for example.</doc> | |
| 547 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-features.h" | |
| 548 | - | line="38"/> | |
| 522 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-features.h" line="38"/> | |
| 549 | 523 | <type name="gint" c:type="gint"/> | |
| 550 | 524 | </constant> | |
| 551 | 525 | <function-macro name="PIXBUF_SIMPLE_ANIM" | |
| 552 | 526 | c:identifier="GDK_PIXBUF_SIMPLE_ANIM" | |
| 553 | 527 | introspectable="0"> | |
| 554 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 528 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 555 | 529 | line="42"/> | |
| 556 | 530 | <parameters> | |
| 557 | 531 | <parameter name="object"> | |
| @@ -561,7 +535,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 561 | 535 | <function-macro name="PIXBUF_SIMPLE_ANIM_CLASS" | |
| 562 | 536 | c:identifier="GDK_PIXBUF_SIMPLE_ANIM_CLASS" | |
| 563 | 537 | introspectable="0"> | |
| 564 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 538 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 565 | 539 | line="45"/> | |
| 566 | 540 | <parameters> | |
| 567 | 541 | <parameter name="klass"> | |
| @@ -571,7 +545,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 571 | 545 | <function-macro name="PIXBUF_SIMPLE_ANIM_GET_CLASS" | |
| 572 | 546 | c:identifier="GDK_PIXBUF_SIMPLE_ANIM_GET_CLASS" | |
| 573 | 547 | introspectable="0"> | |
| 574 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 548 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 575 | 549 | line="47"/> | |
| 576 | 550 | <parameters> | |
| 577 | 551 | <parameter name="obj"> | |
| @@ -579,16 +553,15 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 579 | 553 | </parameters> | |
| 580 | 554 | </function-macro> | |
| 581 | 555 | <constant name="PIXBUF_VERSION" | |
| 582 | - | value="2.42.10" | |
| 556 | + | value="2.42.12" | |
| 583 | 557 | c:type="GDK_PIXBUF_VERSION"> | |
| 584 | 558 | <doc xml:space="preserve" | |
| 585 | - | filename="../gdk-pixbuf/gdk-pixbuf-features.h" | |
| 559 | + | filename="gdk-pixbuf/gdk-pixbuf-features.h" | |
| 586 | 560 | line="28">Contains the full version of GdkPixbuf as a string. | |
| 587 | 561 | ||
| 588 | 562 | This is the version being compiled against; contrast with | |
| 589 | 563 | `gdk_pixbuf_version`.</doc> | |
| 590 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-features.h" | |
| 591 | - | line="40"/> | |
| 564 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-features.h" line="40"/> | |
| 592 | 565 | <type name="utf8" c:type="gchar*"/> | |
| 593 | 566 | </constant> | |
| 594 | 567 | <class name="Pixbuf" | |
| @@ -598,7 +571,7 @@ This is the version being compiled against; contrast with | |||
| 598 | 571 | glib:type-name="GdkPixbuf" | |
| 599 | 572 | glib:get-type="gdk_pixbuf_get_type"> | |
| 600 | 573 | <doc xml:space="preserve" | |
| 601 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 574 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 602 | 575 | line="24">A pixel buffer. | |
| 603 | 576 | ||
| 604 | 577 | `GdkPixbuf` contains information about an image's pixel data, | |
| @@ -738,49 +711,48 @@ to a socket or store it in a database.</doc> | |||
| 738 | 711 | <implements name="Gio.LoadableIcon"/> | |
| 739 | 712 | <constructor name="new" c:identifier="gdk_pixbuf_new"> | |
| 740 | 713 | <doc xml:space="preserve" | |
| 741 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 714 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 742 | 715 | line="599">Creates a new `GdkPixbuf` structure and allocates a buffer for it. | |
| 743 | 716 | ||
| 744 | 717 | If the allocation of the buffer failed, this function will return `NULL`. | |
| 745 | 718 | ||
| 746 | 719 | The buffer has an optimal rowstride. Note that the buffer is not cleared; | |
| 747 | 720 | you will have to fill it completely yourself.</doc> | |
| 748 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 749 | - | line="206"/> | |
| 721 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="206"/> | |
| 750 | 722 | <return-value transfer-ownership="full" nullable="1"> | |
| 751 | 723 | <doc xml:space="preserve" | |
| 752 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 724 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 753 | 725 | line="614">A newly-created pixel buffer</doc> | |
| 754 | 726 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 755 | 727 | </return-value> | |
| 756 | 728 | <parameters> | |
| 757 | 729 | <parameter name="colorspace" transfer-ownership="none"> | |
| 758 | 730 | <doc xml:space="preserve" | |
| 759 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 731 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 760 | 732 | line="601">Color space for image</doc> | |
| 761 | 733 | <type name="Colorspace" c:type="GdkColorspace"/> | |
| 762 | 734 | </parameter> | |
| 763 | 735 | <parameter name="has_alpha" transfer-ownership="none"> | |
| 764 | 736 | <doc xml:space="preserve" | |
| 765 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 737 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 766 | 738 | line="602">Whether the image should have transparency information</doc> | |
| 767 | 739 | <type name="gboolean" c:type="gboolean"/> | |
| 768 | 740 | </parameter> | |
| 769 | 741 | <parameter name="bits_per_sample" transfer-ownership="none"> | |
| 770 | 742 | <doc xml:space="preserve" | |
| 771 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 743 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 772 | 744 | line="603">Number of bits per color sample</doc> | |
| 773 | 745 | <type name="gint" c:type="int"/> | |
| 774 | 746 | </parameter> | |
| 775 | 747 | <parameter name="width" transfer-ownership="none"> | |
| 776 | 748 | <doc xml:space="preserve" | |
| 777 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 749 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 778 | 750 | line="604">Width of image in pixels, must be > 0</doc> | |
| 779 | 751 | <type name="gint" c:type="int"/> | |
| 780 | 752 | </parameter> | |
| 781 | 753 | <parameter name="height" transfer-ownership="none"> | |
| 782 | 754 | <doc xml:space="preserve" | |
| 783 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 755 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 784 | 756 | line="605">Height of image in pixels, must be > 0</doc> | |
| 785 | 757 | <type name="gint" c:type="int"/> | |
| 786 | 758 | </parameter> | |
| @@ -790,61 +762,60 @@ you will have to fill it completely yourself.</doc> | |||
| 790 | 762 | c:identifier="gdk_pixbuf_new_from_bytes" | |
| 791 | 763 | version="2.32"> | |
| 792 | 764 | <doc xml:space="preserve" | |
| 793 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 765 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 794 | 766 | line="94">Creates a new #GdkPixbuf out of in-memory readonly image data. | |
| 795 | 767 | ||
| 796 | 768 | Currently only RGB images with 8 bits per sample are supported. | |
| 797 | 769 | ||
| 798 | 770 | This is the `GBytes` variant of gdk_pixbuf_new_from_data(), useful | |
| 799 | 771 | for language bindings.</doc> | |
| 800 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 801 | - | line="286"/> | |
| 772 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="286"/> | |
| 802 | 773 | <return-value transfer-ownership="full"> | |
| 803 | 774 | <doc xml:space="preserve" | |
| 804 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 775 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 805 | 776 | line="111">A newly-created pixbuf</doc> | |
| 806 | 777 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 807 | 778 | </return-value> | |
| 808 | 779 | <parameters> | |
| 809 | 780 | <parameter name="data" transfer-ownership="none"> | |
| 810 | 781 | <doc xml:space="preserve" | |
| 811 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 782 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 812 | 783 | line="96">Image data in 8-bit/sample packed format inside a #GBytes</doc> | |
| 813 | 784 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 814 | 785 | </parameter> | |
| 815 | 786 | <parameter name="colorspace" transfer-ownership="none"> | |
| 816 | 787 | <doc xml:space="preserve" | |
| 817 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 788 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 818 | 789 | line="97">Colorspace for the image data</doc> | |
| 819 | 790 | <type name="Colorspace" c:type="GdkColorspace"/> | |
| 820 | 791 | </parameter> | |
| 821 | 792 | <parameter name="has_alpha" transfer-ownership="none"> | |
| 822 | 793 | <doc xml:space="preserve" | |
| 823 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 794 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 824 | 795 | line="98">Whether the data has an opacity channel</doc> | |
| 825 | 796 | <type name="gboolean" c:type="gboolean"/> | |
| 826 | 797 | </parameter> | |
| 827 | 798 | <parameter name="bits_per_sample" transfer-ownership="none"> | |
| 828 | 799 | <doc xml:space="preserve" | |
| 829 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 800 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 830 | 801 | line="99">Number of bits per sample</doc> | |
| 831 | 802 | <type name="gint" c:type="int"/> | |
| 832 | 803 | </parameter> | |
| 833 | 804 | <parameter name="width" transfer-ownership="none"> | |
| 834 | 805 | <doc xml:space="preserve" | |
| 835 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 806 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 836 | 807 | line="100">Width of the image in pixels, must be > 0</doc> | |
| 837 | 808 | <type name="gint" c:type="int"/> | |
| 838 | 809 | </parameter> | |
| 839 | 810 | <parameter name="height" transfer-ownership="none"> | |
| 840 | 811 | <doc xml:space="preserve" | |
| 841 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 812 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 842 | 813 | line="101">Height of the image in pixels, must be > 0</doc> | |
| 843 | 814 | <type name="gint" c:type="int"/> | |
| 844 | 815 | </parameter> | |
| 845 | 816 | <parameter name="rowstride" transfer-ownership="none"> | |
| 846 | 817 | <doc xml:space="preserve" | |
| 847 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 818 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 848 | 819 | line="102">Distance in bytes between row starts</doc> | |
| 849 | 820 | <type name="gint" c:type="int"/> | |
| 850 | 821 | </parameter> | |
| @@ -853,7 +824,7 @@ for language bindings.</doc> | |||
| 853 | 824 | <constructor name="new_from_data" | |
| 854 | 825 | c:identifier="gdk_pixbuf_new_from_data"> | |
| 855 | 826 | <doc xml:space="preserve" | |
| 856 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 827 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 857 | 828 | line="29">Creates a new #GdkPixbuf out of in-memory image data. | |
| 858 | 829 | ||
| 859 | 830 | Currently only RGB images with 8 bits per sample are supported. | |
| @@ -865,18 +836,17 @@ finalized, your destroy notification function will be called, and | |||
| 865 | 836 | it is its responsibility to free the pixel array. | |
| 866 | 837 | ||
| 867 | 838 | See also: [ctor@GdkPixbuf.Pixbuf.new_from_bytes]</doc> | |
| 868 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 869 | - | line="276"/> | |
| 839 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="276"/> | |
| 870 | 840 | <return-value transfer-ownership="full"> | |
| 871 | 841 | <doc xml:space="preserve" | |
| 872 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 842 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 873 | 843 | line="54">A newly-created pixbuf</doc> | |
| 874 | 844 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 875 | 845 | </return-value> | |
| 876 | 846 | <parameters> | |
| 877 | 847 | <parameter name="data" transfer-ownership="none"> | |
| 878 | 848 | <doc xml:space="preserve" | |
| 879 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 849 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 880 | 850 | line="31">Image data in 8-bit/sample packed format</doc> | |
| 881 | 851 | <array zero-terminated="0" c:type="const guchar*"> | |
| 882 | 852 | <type name="guint8" c:type="guchar"/> | |
| @@ -884,37 +854,37 @@ See also: [ctor@GdkPixbuf.Pixbuf.new_from_bytes]</doc> | |||
| 884 | 854 | </parameter> | |
| 885 | 855 | <parameter name="colorspace" transfer-ownership="none"> | |
| 886 | 856 | <doc xml:space="preserve" | |
| 887 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 857 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 888 | 858 | line="32">Colorspace for the image data</doc> | |
| 889 | 859 | <type name="Colorspace" c:type="GdkColorspace"/> | |
| 890 | 860 | </parameter> | |
| 891 | 861 | <parameter name="has_alpha" transfer-ownership="none"> | |
| 892 | 862 | <doc xml:space="preserve" | |
| 893 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 863 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 894 | 864 | line="33">Whether the data has an opacity channel</doc> | |
| 895 | 865 | <type name="gboolean" c:type="gboolean"/> | |
| 896 | 866 | </parameter> | |
| 897 | 867 | <parameter name="bits_per_sample" transfer-ownership="none"> | |
| 898 | 868 | <doc xml:space="preserve" | |
| 899 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 869 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 900 | 870 | line="34">Number of bits per sample</doc> | |
| 901 | 871 | <type name="gint" c:type="int"/> | |
| 902 | 872 | </parameter> | |
| 903 | 873 | <parameter name="width" transfer-ownership="none"> | |
| 904 | 874 | <doc xml:space="preserve" | |
| 905 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 875 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 906 | 876 | line="35">Width of the image in pixels, must be > 0</doc> | |
| 907 | 877 | <type name="gint" c:type="int"/> | |
| 908 | 878 | </parameter> | |
| 909 | 879 | <parameter name="height" transfer-ownership="none"> | |
| 910 | 880 | <doc xml:space="preserve" | |
| 911 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 881 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 912 | 882 | line="36">Height of the image in pixels, must be > 0</doc> | |
| 913 | 883 | <type name="gint" c:type="int"/> | |
| 914 | 884 | </parameter> | |
| 915 | 885 | <parameter name="rowstride" transfer-ownership="none"> | |
| 916 | 886 | <doc xml:space="preserve" | |
| 917 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 887 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 918 | 888 | line="37">Distance in bytes between row starts</doc> | |
| 919 | 889 | <type name="gint" c:type="int"/> | |
| 920 | 890 | </parameter> | |
| @@ -925,7 +895,7 @@ See also: [ctor@GdkPixbuf.Pixbuf.new_from_bytes]</doc> | |||
| 925 | 895 | scope="async" | |
| 926 | 896 | closure="8"> | |
| 927 | 897 | <doc xml:space="preserve" | |
| 928 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 898 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 929 | 899 | line="38">Function used to free the data when the pixbuf's reference count | |
| 930 | 900 | drops to zero, or %NULL if the data should not be freed</doc> | |
| 931 | 901 | <type name="PixbufDestroyNotify" c:type="GdkPixbufDestroyNotify"/> | |
| @@ -935,7 +905,7 @@ drops to zero, or %NULL if the data should not be freed</doc> | |||
| 935 | 905 | nullable="1" | |
| 936 | 906 | allow-none="1"> | |
| 937 | 907 | <doc xml:space="preserve" | |
| 938 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 908 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 939 | 909 | line="40">Closure data to pass to the destroy notification function</doc> | |
| 940 | 910 | <type name="gpointer" c:type="gpointer"/> | |
| 941 | 911 | </parameter> | |
| @@ -945,7 +915,7 @@ drops to zero, or %NULL if the data should not be freed</doc> | |||
| 945 | 915 | c:identifier="gdk_pixbuf_new_from_file" | |
| 946 | 916 | throws="1"> | |
| 947 | 917 | <doc xml:space="preserve" | |
| 948 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 918 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 949 | 919 | line="1089">Creates a new pixbuf by loading an image from a file. | |
| 950 | 920 | ||
| 951 | 921 | The file format is detected automatically. | |
| @@ -958,18 +928,17 @@ If `NULL` is returned, then @error will be set. Possible errors are: | |||
| 958 | 928 | - the image buffer contains invalid data | |
| 959 | 929 | ||
| 960 | 930 | The error domains are `GDK_PIXBUF_ERROR` and `G_FILE_ERROR`.</doc> | |
| 961 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 962 | - | line="252"/> | |
| 931 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="252"/> | |
| 963 | 932 | <return-value transfer-ownership="full" nullable="1"> | |
| 964 | 933 | <doc xml:space="preserve" | |
| 965 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 934 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 966 | 935 | line="1108">A newly-created pixbuf</doc> | |
| 967 | 936 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 968 | 937 | </return-value> | |
| 969 | 938 | <parameters> | |
| 970 | 939 | <parameter name="filename" transfer-ownership="none"> | |
| 971 | 940 | <doc xml:space="preserve" | |
| 972 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 941 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 973 | 942 | line="1091">Name of file to load, in the GLib file | |
| 974 | 943 | name encoding</doc> | |
| 975 | 944 | <type name="filename" c:type="const char*"/> | |
| @@ -981,7 +950,7 @@ The error domains are `GDK_PIXBUF_ERROR` and `G_FILE_ERROR`.</doc> | |||
| 981 | 950 | version="2.6" | |
| 982 | 951 | throws="1"> | |
| 983 | 952 | <doc xml:space="preserve" | |
| 984 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 953 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 985 | 954 | line="1337">Creates a new pixbuf by loading an image from a file. | |
| 986 | 955 | ||
| 987 | 956 | The file format is detected automatically. | |
| @@ -1004,37 +973,36 @@ the image to be scaled to the exact given width. When not preserving | |||
| 1004 | 973 | aspect ratio, a `width` or `height` of -1 means to not scale the image | |
| 1005 | 974 | at all in that dimension. Negative values for `width` and `height` are | |
| 1006 | 975 | allowed since 2.8.</doc> | |
| 1007 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1008 | - | line="260"/> | |
| 976 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="260"/> | |
| 1009 | 977 | <return-value transfer-ownership="full" nullable="1"> | |
| 1010 | 978 | <doc xml:space="preserve" | |
| 1011 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 979 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1012 | 980 | line="1369">A newly-created pixbuf</doc> | |
| 1013 | 981 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1014 | 982 | </return-value> | |
| 1015 | 983 | <parameters> | |
| 1016 | 984 | <parameter name="filename" transfer-ownership="none"> | |
| 1017 | 985 | <doc xml:space="preserve" | |
| 1018 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 986 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1019 | 987 | line="1339">Name of file to load, in the GLib file | |
| 1020 | 988 | name encoding</doc> | |
| 1021 | 989 | <type name="filename" c:type="const char*"/> | |
| 1022 | 990 | </parameter> | |
| 1023 | 991 | <parameter name="width" transfer-ownership="none"> | |
| 1024 | 992 | <doc xml:space="preserve" | |
| 1025 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 993 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1026 | 994 | line="1341">The width the image should have or -1 to not constrain the width</doc> | |
| 1027 | 995 | <type name="gint" c:type="int"/> | |
| 1028 | 996 | </parameter> | |
| 1029 | 997 | <parameter name="height" transfer-ownership="none"> | |
| 1030 | 998 | <doc xml:space="preserve" | |
| 1031 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 999 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1032 | 1000 | line="1342">The height the image should have or -1 to not constrain the height</doc> | |
| 1033 | 1001 | <type name="gint" c:type="int"/> | |
| 1034 | 1002 | </parameter> | |
| 1035 | 1003 | <parameter name="preserve_aspect_ratio" transfer-ownership="none"> | |
| 1036 | 1004 | <doc xml:space="preserve" | |
| 1037 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1005 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1038 | 1006 | line="1343">`TRUE` to preserve the image's aspect ratio</doc> | |
| 1039 | 1007 | <type name="gboolean" c:type="gboolean"/> | |
| 1040 | 1008 | </parameter> | |
| @@ -1045,7 +1013,7 @@ allowed since 2.8.</doc> | |||
| 1045 | 1013 | version="2.4" | |
| 1046 | 1014 | throws="1"> | |
| 1047 | 1015 | <doc xml:space="preserve" | |
| 1048 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1016 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1049 | 1017 | line="1210">Creates a new pixbuf by loading an image from a file. | |
| 1050 | 1018 | ||
| 1051 | 1019 | The file format is detected automatically. | |
| @@ -1064,31 +1032,30 @@ the image's aspect ratio. Note that the returned pixbuf may be smaller | |||
| 1064 | 1032 | than `width` x `height`, if the aspect ratio requires it. To load | |
| 1065 | 1033 | and image at the requested size, regardless of aspect ratio, use | |
| 1066 | 1034 | [ctor@GdkPixbuf.Pixbuf.new_from_file_at_scale].</doc> | |
| 1067 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1068 | - | line="255"/> | |
| 1035 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="255"/> | |
| 1069 | 1036 | <return-value transfer-ownership="full" nullable="1"> | |
| 1070 | 1037 | <doc xml:space="preserve" | |
| 1071 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1038 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1072 | 1039 | line="1237">A newly-created pixbuf</doc> | |
| 1073 | 1040 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1074 | 1041 | </return-value> | |
| 1075 | 1042 | <parameters> | |
| 1076 | 1043 | <parameter name="filename" transfer-ownership="none"> | |
| 1077 | 1044 | <doc xml:space="preserve" | |
| 1078 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1045 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1079 | 1046 | line="1212">Name of file to load, in the GLib file | |
| 1080 | 1047 | name encoding</doc> | |
| 1081 | 1048 | <type name="filename" c:type="const char*"/> | |
| 1082 | 1049 | </parameter> | |
| 1083 | 1050 | <parameter name="width" transfer-ownership="none"> | |
| 1084 | 1051 | <doc xml:space="preserve" | |
| 1085 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1052 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1086 | 1053 | line="1214">The width the image should have or -1 to not constrain the width</doc> | |
| 1087 | 1054 | <type name="gint" c:type="int"/> | |
| 1088 | 1055 | </parameter> | |
| 1089 | 1056 | <parameter name="height" transfer-ownership="none"> | |
| 1090 | 1057 | <doc xml:space="preserve" | |
| 1091 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1058 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1092 | 1059 | line="1215">The height the image should have or -1 to not constrain the height</doc> | |
| 1093 | 1060 | <type name="gint" c:type="int"/> | |
| 1094 | 1061 | </parameter> | |
| @@ -1100,7 +1067,7 @@ and image at the requested size, regardless of aspect ratio, use | |||
| 1100 | 1067 | deprecated-version="2.32" | |
| 1101 | 1068 | throws="1"> | |
| 1102 | 1069 | <doc xml:space="preserve" | |
| 1103 | - | filename="../gdk-pixbuf/gdk-pixdata.c" | |
| 1070 | + | filename="gdk-pixbuf/gdk-pixdata.c" | |
| 1104 | 1071 | line="951">Creates a `GdkPixbuf` from a flat representation that is suitable for | |
| 1105 | 1072 | storing as inline data in a program. | |
| 1106 | 1073 | ||
| @@ -1135,25 +1102,24 @@ For non-const inline data, you could get out of memory. For untrusted | |||
| 1135 | 1102 | inline data located at runtime, you could have corrupt inline data in | |
| 1136 | 1103 | addition.</doc> | |
| 1137 | 1104 | <doc-deprecated xml:space="preserve">Use `GResource` instead.</doc-deprecated> | |
| 1138 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1139 | - | line="298"/> | |
| 1105 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="298"/> | |
| 1140 | 1106 | <return-value transfer-ownership="full"> | |
| 1141 | 1107 | <doc xml:space="preserve" | |
| 1142 | - | filename="../gdk-pixbuf/gdk-pixdata.c" | |
| 1108 | + | filename="gdk-pixbuf/gdk-pixdata.c" | |
| 1143 | 1109 | line="995">A newly-created pixbuf</doc> | |
| 1144 | 1110 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1145 | 1111 | </return-value> | |
| 1146 | 1112 | <parameters> | |
| 1147 | 1113 | <parameter name="data_length" transfer-ownership="none"> | |
| 1148 | 1114 | <doc xml:space="preserve" | |
| 1149 | - | filename="../gdk-pixbuf/gdk-pixdata.c" | |
| 1115 | + | filename="gdk-pixbuf/gdk-pixdata.c" | |
| 1150 | 1116 | line="953">Length in bytes of the `data` argument or -1 to | |
| 1151 | 1117 | disable length checks</doc> | |
| 1152 | 1118 | <type name="gint" c:type="gint"/> | |
| 1153 | 1119 | </parameter> | |
| 1154 | 1120 | <parameter name="data" transfer-ownership="none"> | |
| 1155 | 1121 | <doc xml:space="preserve" | |
| 1156 | - | filename="../gdk-pixbuf/gdk-pixdata.c" | |
| 1122 | + | filename="gdk-pixbuf/gdk-pixdata.c" | |
| 1157 | 1123 | line="955">Byte data containing a | |
| 1158 | 1124 | serialized `GdkPixdata` structure</doc> | |
| 1159 | 1125 | <array length="0" zero-terminated="0" c:type="const guint8*"> | |
| @@ -1162,7 +1128,7 @@ addition.</doc> | |||
| 1162 | 1128 | </parameter> | |
| 1163 | 1129 | <parameter name="copy_pixels" transfer-ownership="none"> | |
| 1164 | 1130 | <doc xml:space="preserve" | |
| 1165 | - | filename="../gdk-pixbuf/gdk-pixdata.c" | |
| 1131 | + | filename="gdk-pixbuf/gdk-pixdata.c" | |
| 1166 | 1132 | line="957">Whether to copy the pixel data, or use direct pointers | |
| 1167 | 1133 | `data` for the resulting pixbuf</doc> | |
| 1168 | 1134 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -1174,23 +1140,22 @@ addition.</doc> | |||
| 1174 | 1140 | version="2.26" | |
| 1175 | 1141 | throws="1"> | |
| 1176 | 1142 | <doc xml:space="preserve" | |
| 1177 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1143 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1178 | 1144 | line="1793">Creates a new pixbuf by loading an image from an resource. | |
| 1179 | 1145 | ||
| 1180 | 1146 | The file format is detected automatically. If `NULL` is returned, then | |
| 1181 | 1147 | @error will be set.</doc> | |
| 1182 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1183 | - | line="266"/> | |
| 1148 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="266"/> | |
| 1184 | 1149 | <return-value transfer-ownership="full" nullable="1"> | |
| 1185 | 1150 | <doc xml:space="preserve" | |
| 1186 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1151 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1187 | 1152 | line="1803">A newly-created pixbuf</doc> | |
| 1188 | 1153 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1189 | 1154 | </return-value> | |
| 1190 | 1155 | <parameters> | |
| 1191 | 1156 | <parameter name="resource_path" transfer-ownership="none"> | |
| 1192 | 1157 | <doc xml:space="preserve" | |
| 1193 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1158 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1194 | 1159 | line="1795">the path of the resource file</doc> | |
| 1195 | 1160 | <type name="utf8" c:type="const char*"/> | |
| 1196 | 1161 | </parameter> | |
| @@ -1201,7 +1166,7 @@ The file format is detected automatically. If `NULL` is returned, then | |||
| 1201 | 1166 | version="2.26" | |
| 1202 | 1167 | throws="1"> | |
| 1203 | 1168 | <doc xml:space="preserve" | |
| 1204 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1169 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1205 | 1170 | line="1827">Creates a new pixbuf by loading an image from an resource. | |
| 1206 | 1171 | ||
| 1207 | 1172 | The file format is detected automatically. If `NULL` is returned, then | |
| @@ -1215,36 +1180,35 @@ exact given width. When not preserving aspect ratio, a @width or | |||
| 1215 | 1180 | @height of -1 means to not scale the image at all in that dimension. | |
| 1216 | 1181 | ||
| 1217 | 1182 | The stream is not closed.</doc> | |
| 1218 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1219 | - | line="269"/> | |
| 1183 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="269"/> | |
| 1220 | 1184 | <return-value transfer-ownership="full" nullable="1"> | |
| 1221 | 1185 | <doc xml:space="preserve" | |
| 1222 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1186 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1223 | 1187 | line="1849">A newly-created pixbuf</doc> | |
| 1224 | 1188 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1225 | 1189 | </return-value> | |
| 1226 | 1190 | <parameters> | |
| 1227 | 1191 | <parameter name="resource_path" transfer-ownership="none"> | |
| 1228 | 1192 | <doc xml:space="preserve" | |
| 1229 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1193 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1230 | 1194 | line="1829">the path of the resource file</doc> | |
| 1231 | 1195 | <type name="utf8" c:type="const char*"/> | |
| 1232 | 1196 | </parameter> | |
| 1233 | 1197 | <parameter name="width" transfer-ownership="none"> | |
| 1234 | 1198 | <doc xml:space="preserve" | |
| 1235 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1199 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1236 | 1200 | line="1830">The width the image should have or -1 to not constrain the width</doc> | |
| 1237 | 1201 | <type name="gint" c:type="int"/> | |
| 1238 | 1202 | </parameter> | |
| 1239 | 1203 | <parameter name="height" transfer-ownership="none"> | |
| 1240 | 1204 | <doc xml:space="preserve" | |
| 1241 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1205 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1242 | 1206 | line="1831">The height the image should have or -1 to not constrain the height</doc> | |
| 1243 | 1207 | <type name="gint" c:type="int"/> | |
| 1244 | 1208 | </parameter> | |
| 1245 | 1209 | <parameter name="preserve_aspect_ratio" transfer-ownership="none"> | |
| 1246 | 1210 | <doc xml:space="preserve" | |
| 1247 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1211 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1248 | 1212 | line="1832">`TRUE` to preserve the image's aspect ratio</doc> | |
| 1249 | 1213 | <type name="gboolean" c:type="gboolean"/> | |
| 1250 | 1214 | </parameter> | |
| @@ -1255,7 +1219,7 @@ The stream is not closed.</doc> | |||
| 1255 | 1219 | version="2.14" | |
| 1256 | 1220 | throws="1"> | |
| 1257 | 1221 | <doc xml:space="preserve" | |
| 1258 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1222 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1259 | 1223 | line="1717">Creates a new pixbuf by loading an image from an input stream. | |
| 1260 | 1224 | ||
| 1261 | 1225 | The file format is detected automatically. | |
| @@ -1268,18 +1232,17 @@ returned. Other possible errors are in the `GDK_PIXBUF_ERROR` and | |||
| 1268 | 1232 | `G_IO_ERROR` domains. | |
| 1269 | 1233 | ||
| 1270 | 1234 | The stream is not closed.</doc> | |
| 1271 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1272 | - | line="409"/> | |
| 1235 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="409"/> | |
| 1273 | 1236 | <return-value transfer-ownership="full" nullable="1"> | |
| 1274 | 1237 | <doc xml:space="preserve" | |
| 1275 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1238 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1276 | 1239 | line="1736">A newly-created pixbuf</doc> | |
| 1277 | 1240 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1278 | 1241 | </return-value> | |
| 1279 | 1242 | <parameters> | |
| 1280 | 1243 | <parameter name="stream" transfer-ownership="none"> | |
| 1281 | 1244 | <doc xml:space="preserve" | |
| 1282 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1245 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1283 | 1246 | line="1719">a `GInputStream` to load the pixbuf from</doc> | |
| 1284 | 1247 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 1285 | 1248 | </parameter> | |
| @@ -1288,7 +1251,7 @@ The stream is not closed.</doc> | |||
| 1288 | 1251 | nullable="1" | |
| 1289 | 1252 | allow-none="1"> | |
| 1290 | 1253 | <doc xml:space="preserve" | |
| 1291 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1254 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1292 | 1255 | line="1720">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1293 | 1256 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 1294 | 1257 | </parameter> | |
| @@ -1299,7 +1262,7 @@ The stream is not closed.</doc> | |||
| 1299 | 1262 | version="2.14" | |
| 1300 | 1263 | throws="1"> | |
| 1301 | 1264 | <doc xml:space="preserve" | |
| 1302 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1265 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1303 | 1266 | line="1543">Creates a new pixbuf by loading an image from an input stream. | |
| 1304 | 1267 | ||
| 1305 | 1268 | The file format is detected automatically. If `NULL` is returned, then | |
| @@ -1321,36 +1284,35 @@ When not preserving aspect ratio, a `width` or `height` of -1 means to not | |||
| 1321 | 1284 | scale the image at all in that dimension. | |
| 1322 | 1285 | ||
| 1323 | 1286 | The stream is not closed.</doc> | |
| 1324 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1325 | - | line="424"/> | |
| 1287 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="424"/> | |
| 1326 | 1288 | <return-value transfer-ownership="full" nullable="1"> | |
| 1327 | 1289 | <doc xml:space="preserve" | |
| 1328 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1290 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1329 | 1291 | line="1574">A newly-created pixbuf</doc> | |
| 1330 | 1292 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1331 | 1293 | </return-value> | |
| 1332 | 1294 | <parameters> | |
| 1333 | 1295 | <parameter name="stream" transfer-ownership="none"> | |
| 1334 | 1296 | <doc xml:space="preserve" | |
| 1335 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1297 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1336 | 1298 | line="1545">a `GInputStream` to load the pixbuf from</doc> | |
| 1337 | 1299 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 1338 | 1300 | </parameter> | |
| 1339 | 1301 | <parameter name="width" transfer-ownership="none"> | |
| 1340 | 1302 | <doc xml:space="preserve" | |
| 1341 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1303 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1342 | 1304 | line="1546">The width the image should have or -1 to not constrain the width</doc> | |
| 1343 | 1305 | <type name="gint" c:type="gint"/> | |
| 1344 | 1306 | </parameter> | |
| 1345 | 1307 | <parameter name="height" transfer-ownership="none"> | |
| 1346 | 1308 | <doc xml:space="preserve" | |
| 1347 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1309 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1348 | 1310 | line="1547">The height the image should have or -1 to not constrain the height</doc> | |
| 1349 | 1311 | <type name="gint" c:type="gint"/> | |
| 1350 | 1312 | </parameter> | |
| 1351 | 1313 | <parameter name="preserve_aspect_ratio" transfer-ownership="none"> | |
| 1352 | 1314 | <doc xml:space="preserve" | |
| 1353 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1315 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1354 | 1316 | line="1548">`TRUE` to preserve the image's aspect ratio</doc> | |
| 1355 | 1317 | <type name="gboolean" c:type="gboolean"/> | |
| 1356 | 1318 | </parameter> | |
| @@ -1359,7 +1321,7 @@ The stream is not closed.</doc> | |||
| 1359 | 1321 | nullable="1" | |
| 1360 | 1322 | allow-none="1"> | |
| 1361 | 1323 | <doc xml:space="preserve" | |
| 1362 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1324 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1363 | 1325 | line="1549">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1364 | 1326 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 1365 | 1327 | </parameter> | |
| @@ -1370,21 +1332,20 @@ The stream is not closed.</doc> | |||
| 1370 | 1332 | version="2.24" | |
| 1371 | 1333 | throws="1"> | |
| 1372 | 1334 | <doc xml:space="preserve" | |
| 1373 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1335 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1374 | 1336 | line="1914">Finishes an asynchronous pixbuf creation operation started with | |
| 1375 | 1337 | gdk_pixbuf_new_from_stream_async().</doc> | |
| 1376 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1377 | - | line="420"/> | |
| 1338 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="420"/> | |
| 1378 | 1339 | <return-value transfer-ownership="full" nullable="1"> | |
| 1379 | 1340 | <doc xml:space="preserve" | |
| 1380 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1341 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1381 | 1342 | line="1922">the newly created pixbuf</doc> | |
| 1382 | 1343 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1383 | 1344 | </return-value> | |
| 1384 | 1345 | <parameters> | |
| 1385 | 1346 | <parameter name="async_result" transfer-ownership="none"> | |
| 1386 | 1347 | <doc xml:space="preserve" | |
| 1387 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1348 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1388 | 1349 | line="1916">a `GAsyncResult`</doc> | |
| 1389 | 1350 | <type name="Gio.AsyncResult" c:type="GAsyncResult*"/> | |
| 1390 | 1351 | </parameter> | |
| @@ -1393,23 +1354,22 @@ gdk_pixbuf_new_from_stream_async().</doc> | |||
| 1393 | 1354 | <constructor name="new_from_xpm_data" | |
| 1394 | 1355 | c:identifier="gdk_pixbuf_new_from_xpm_data"> | |
| 1395 | 1356 | <doc xml:space="preserve" | |
| 1396 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1357 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1397 | 1358 | line="2148">Creates a new pixbuf by parsing XPM data in memory. | |
| 1398 | 1359 | ||
| 1399 | 1360 | This data is commonly the result of including an XPM file into a | |
| 1400 | 1361 | program's C source.</doc> | |
| 1401 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1402 | - | line="294"/> | |
| 1403 | - | <return-value transfer-ownership="full"> | |
| 1362 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="294"/> | |
| 1363 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 1404 | 1364 | <doc xml:space="preserve" | |
| 1405 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1365 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1406 | 1366 | line="2157">A newly-created pixbuf</doc> | |
| 1407 | 1367 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1408 | 1368 | </return-value> | |
| 1409 | 1369 | <parameters> | |
| 1410 | 1370 | <parameter name="data" transfer-ownership="none"> | |
| 1411 | 1371 | <doc xml:space="preserve" | |
| 1412 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1372 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1413 | 1373 | line="2150">Pointer to inline XPM data.</doc> | |
| 1414 | 1374 | <array c:type="const char**"> | |
| 1415 | 1375 | <type name="utf8" c:type="char*"/> | |
| @@ -1421,48 +1381,47 @@ program's C source.</doc> | |||
| 1421 | 1381 | c:identifier="gdk_pixbuf_calculate_rowstride" | |
| 1422 | 1382 | version="2.36.8"> | |
| 1423 | 1383 | <doc xml:space="preserve" | |
| 1424 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 1384 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 1425 | 1385 | line="557">Calculates the rowstride that an image created with those values would | |
| 1426 | 1386 | have. | |
| 1427 | 1387 | ||
| 1428 | 1388 | This function is useful for front-ends and backends that want to check | |
| 1429 | 1389 | image values without needing to create a `GdkPixbuf`.</doc> | |
| 1430 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1431 | - | line="210"/> | |
| 1390 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="210"/> | |
| 1432 | 1391 | <return-value transfer-ownership="none"> | |
| 1433 | 1392 | <doc xml:space="preserve" | |
| 1434 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 1393 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 1435 | 1394 | line="571">the rowstride for the given values, or -1 in case of error.</doc> | |
| 1436 | 1395 | <type name="gint" c:type="gint"/> | |
| 1437 | 1396 | </return-value> | |
| 1438 | 1397 | <parameters> | |
| 1439 | 1398 | <parameter name="colorspace" transfer-ownership="none"> | |
| 1440 | 1399 | <doc xml:space="preserve" | |
| 1441 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 1400 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 1442 | 1401 | line="559">Color space for image</doc> | |
| 1443 | 1402 | <type name="Colorspace" c:type="GdkColorspace"/> | |
| 1444 | 1403 | </parameter> | |
| 1445 | 1404 | <parameter name="has_alpha" transfer-ownership="none"> | |
| 1446 | 1405 | <doc xml:space="preserve" | |
| 1447 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 1406 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 1448 | 1407 | line="560">Whether the image should have transparency information</doc> | |
| 1449 | 1408 | <type name="gboolean" c:type="gboolean"/> | |
| 1450 | 1409 | </parameter> | |
| 1451 | 1410 | <parameter name="bits_per_sample" transfer-ownership="none"> | |
| 1452 | 1411 | <doc xml:space="preserve" | |
| 1453 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 1412 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 1454 | 1413 | line="561">Number of bits per color sample</doc> | |
| 1455 | 1414 | <type name="gint" c:type="int"/> | |
| 1456 | 1415 | </parameter> | |
| 1457 | 1416 | <parameter name="width" transfer-ownership="none"> | |
| 1458 | 1417 | <doc xml:space="preserve" | |
| 1459 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 1418 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 1460 | 1419 | line="562">Width of image in pixels, must be > 0</doc> | |
| 1461 | 1420 | <type name="gint" c:type="int"/> | |
| 1462 | 1421 | </parameter> | |
| 1463 | 1422 | <parameter name="height" transfer-ownership="none"> | |
| 1464 | 1423 | <doc xml:space="preserve" | |
| 1465 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 1424 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 1466 | 1425 | line="563">Height of image in pixels, must be > 0</doc> | |
| 1467 | 1426 | <type name="gint" c:type="int"/> | |
| 1468 | 1427 | </parameter> | |
| @@ -1470,14 +1429,15 @@ image values without needing to create a `GdkPixbuf`.</doc> | |||
| 1470 | 1429 | </function> | |
| 1471 | 1430 | <function name="get_file_info" | |
| 1472 | 1431 | c:identifier="gdk_pixbuf_get_file_info" | |
| 1473 | - | version="2.4"> | |
| 1432 | + | version="2.4" | |
| 1433 | + | glib:async-func="get_file_info_async"> | |
| 1474 | 1434 | <doc xml:space="preserve" | |
| 1475 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1435 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1476 | 1436 | line="1964">Parses an image file far enough to determine its format and size.</doc> | |
| 1477 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="77"/> | |
| 1437 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="77"/> | |
| 1478 | 1438 | <return-value transfer-ownership="none" nullable="1"> | |
| 1479 | 1439 | <doc xml:space="preserve" | |
| 1480 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1440 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1481 | 1441 | line="1972">A `GdkPixbufFormat` describing | |
| 1482 | 1442 | the image format of the file</doc> | |
| 1483 | 1443 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| @@ -1485,7 +1445,7 @@ image values without needing to create a `GdkPixbuf`.</doc> | |||
| 1485 | 1445 | <parameters> | |
| 1486 | 1446 | <parameter name="filename" transfer-ownership="none"> | |
| 1487 | 1447 | <doc xml:space="preserve" | |
| 1488 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1448 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1489 | 1449 | line="1966">The name of the file to identify.</doc> | |
| 1490 | 1450 | <type name="filename" c:type="const gchar*"/> | |
| 1491 | 1451 | </parameter> | |
| @@ -1496,7 +1456,7 @@ image values without needing to create a `GdkPixbuf`.</doc> | |||
| 1496 | 1456 | optional="1" | |
| 1497 | 1457 | allow-none="1"> | |
| 1498 | 1458 | <doc xml:space="preserve" | |
| 1499 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1459 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1500 | 1460 | line="1967">Return location for the width of the image</doc> | |
| 1501 | 1461 | <type name="gint" c:type="gint*"/> | |
| 1502 | 1462 | </parameter> | |
| @@ -1507,7 +1467,7 @@ image values without needing to create a `GdkPixbuf`.</doc> | |||
| 1507 | 1467 | optional="1" | |
| 1508 | 1468 | allow-none="1"> | |
| 1509 | 1469 | <doc xml:space="preserve" | |
| 1510 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1470 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1511 | 1471 | line="1968">Return location for the height of the image</doc> | |
| 1512 | 1472 | <type name="gint" c:type="gint*"/> | |
| 1513 | 1473 | </parameter> | |
| @@ -1515,9 +1475,11 @@ image values without needing to create a `GdkPixbuf`.</doc> | |||
| 1515 | 1475 | </function> | |
| 1516 | 1476 | <function name="get_file_info_async" | |
| 1517 | 1477 | c:identifier="gdk_pixbuf_get_file_info_async" | |
| 1518 | - | version="2.32"> | |
| 1478 | + | version="2.32" | |
| 1479 | + | glib:finish-func="get_file_info_finish" | |
| 1480 | + | glib:sync-func="get_file_info"> | |
| 1519 | 1481 | <doc xml:space="preserve" | |
| 1520 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1482 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1521 | 1483 | line="2062">Asynchronously parses an image file far enough to determine its | |
| 1522 | 1484 | format and size. | |
| 1523 | 1485 | ||
| @@ -1527,14 +1489,14 @@ version of this function. | |||
| 1527 | 1489 | When the operation is finished, @callback will be called in the | |
| 1528 | 1490 | main thread. You can then call gdk_pixbuf_get_file_info_finish() to | |
| 1529 | 1491 | get the result of the operation.</doc> | |
| 1530 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="81"/> | |
| 1492 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="81"/> | |
| 1531 | 1493 | <return-value transfer-ownership="none"> | |
| 1532 | 1494 | <type name="none" c:type="void"/> | |
| 1533 | 1495 | </return-value> | |
| 1534 | 1496 | <parameters> | |
| 1535 | 1497 | <parameter name="filename" transfer-ownership="none"> | |
| 1536 | 1498 | <doc xml:space="preserve" | |
| 1537 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1499 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1538 | 1500 | line="2064">The name of the file to identify</doc> | |
| 1539 | 1501 | <type name="filename" c:type="const gchar*"/> | |
| 1540 | 1502 | </parameter> | |
| @@ -1543,7 +1505,7 @@ get the result of the operation.</doc> | |||
| 1543 | 1505 | nullable="1" | |
| 1544 | 1506 | allow-none="1"> | |
| 1545 | 1507 | <doc xml:space="preserve" | |
| 1546 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1508 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1547 | 1509 | line="2065">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1548 | 1510 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 1549 | 1511 | </parameter> | |
| @@ -1554,7 +1516,7 @@ get the result of the operation.</doc> | |||
| 1554 | 1516 | scope="async" | |
| 1555 | 1517 | closure="3"> | |
| 1556 | 1518 | <doc xml:space="preserve" | |
| 1557 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1519 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1558 | 1520 | line="2066">a `GAsyncReadyCallback` to call when the file info is available</doc> | |
| 1559 | 1521 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 1560 | 1522 | </parameter> | |
| @@ -1563,7 +1525,7 @@ get the result of the operation.</doc> | |||
| 1563 | 1525 | nullable="1" | |
| 1564 | 1526 | allow-none="1"> | |
| 1565 | 1527 | <doc xml:space="preserve" | |
| 1566 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1528 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1567 | 1529 | line="2067">the data to pass to the callback function</doc> | |
| 1568 | 1530 | <type name="gpointer" c:type="gpointer"/> | |
| 1569 | 1531 | </parameter> | |
| @@ -1574,13 +1536,13 @@ get the result of the operation.</doc> | |||
| 1574 | 1536 | version="2.32" | |
| 1575 | 1537 | throws="1"> | |
| 1576 | 1538 | <doc xml:space="preserve" | |
| 1577 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1539 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1578 | 1540 | line="2105">Finishes an asynchronous pixbuf parsing operation started with | |
| 1579 | 1541 | gdk_pixbuf_get_file_info_async().</doc> | |
| 1580 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="86"/> | |
| 1542 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="86"/> | |
| 1581 | 1543 | <return-value transfer-ownership="none" nullable="1"> | |
| 1582 | 1544 | <doc xml:space="preserve" | |
| 1583 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1545 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1584 | 1546 | line="2115">A `GdkPixbufFormat` describing the | |
| 1585 | 1547 | image format of the file</doc> | |
| 1586 | 1548 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| @@ -1588,7 +1550,7 @@ gdk_pixbuf_get_file_info_async().</doc> | |||
| 1588 | 1550 | <parameters> | |
| 1589 | 1551 | <parameter name="async_result" transfer-ownership="none"> | |
| 1590 | 1552 | <doc xml:space="preserve" | |
| 1591 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1553 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1592 | 1554 | line="2107">a `GAsyncResult`</doc> | |
| 1593 | 1555 | <type name="Gio.AsyncResult" c:type="GAsyncResult*"/> | |
| 1594 | 1556 | </parameter> | |
| @@ -1597,7 +1559,7 @@ gdk_pixbuf_get_file_info_async().</doc> | |||
| 1597 | 1559 | caller-allocates="0" | |
| 1598 | 1560 | transfer-ownership="full"> | |
| 1599 | 1561 | <doc xml:space="preserve" | |
| 1600 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1562 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1601 | 1563 | line="2108">Return location for the width of the image, or `NULL`</doc> | |
| 1602 | 1564 | <type name="gint" c:type="gint*"/> | |
| 1603 | 1565 | </parameter> | |
| @@ -1606,7 +1568,7 @@ gdk_pixbuf_get_file_info_async().</doc> | |||
| 1606 | 1568 | caller-allocates="0" | |
| 1607 | 1569 | transfer-ownership="full"> | |
| 1608 | 1570 | <doc xml:space="preserve" | |
| 1609 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1571 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1610 | 1572 | line="2109">Return location for the height of the image, or `NULL`</doc> | |
| 1611 | 1573 | <type name="gint" c:type="gint*"/> | |
| 1612 | 1574 | </parameter> | |
| @@ -1616,13 +1578,13 @@ gdk_pixbuf_get_file_info_async().</doc> | |||
| 1616 | 1578 | c:identifier="gdk_pixbuf_get_formats" | |
| 1617 | 1579 | version="2.2"> | |
| 1618 | 1580 | <doc xml:space="preserve" | |
| 1619 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1581 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1620 | 1582 | line="3426">Obtains the available information about the image formats supported | |
| 1621 | 1583 | by GdkPixbuf.</doc> | |
| 1622 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="52"/> | |
| 1584 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="52"/> | |
| 1623 | 1585 | <return-value transfer-ownership="container"> | |
| 1624 | 1586 | <doc xml:space="preserve" | |
| 1625 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1587 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1626 | 1588 | line="3432">A list of | |
| 1627 | 1589 | support image formats.</doc> | |
| 1628 | 1590 | <type name="GLib.SList" c:type="GSList*"> | |
| @@ -1635,7 +1597,7 @@ by GdkPixbuf.</doc> | |||
| 1635 | 1597 | version="2.40" | |
| 1636 | 1598 | throws="1"> | |
| 1637 | 1599 | <doc xml:space="preserve" | |
| 1638 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1600 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1639 | 1601 | line="561">Initalizes the gdk-pixbuf loader modules referenced by the `loaders.cache` | |
| 1640 | 1602 | file present inside that directory. | |
| 1641 | 1603 | ||
| @@ -1649,14 +1611,14 @@ broader image file types coverage, such as image viewers, would be | |||
| 1649 | 1611 | expected to ship the gdk-pixbuf modules in a separate location, bundled | |
| 1650 | 1612 | with the application in a separate directory from the OS or runtime- | |
| 1651 | 1613 | provided modules.</doc> | |
| 1652 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="45"/> | |
| 1614 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="45"/> | |
| 1653 | 1615 | <return-value transfer-ownership="none"> | |
| 1654 | 1616 | <type name="gboolean" c:type="gboolean"/> | |
| 1655 | 1617 | </return-value> | |
| 1656 | 1618 | <parameters> | |
| 1657 | 1619 | <parameter name="path" transfer-ownership="none"> | |
| 1658 | 1620 | <doc xml:space="preserve" | |
| 1659 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1621 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1660 | 1622 | line="563">Path to directory where the `loaders.cache` is installed</doc> | |
| 1661 | 1623 | <type name="utf8" c:type="const char*"/> | |
| 1662 | 1624 | </parameter> | |
| @@ -1664,9 +1626,10 @@ provided modules.</doc> | |||
| 1664 | 1626 | </function> | |
| 1665 | 1627 | <function name="new_from_stream_async" | |
| 1666 | 1628 | c:identifier="gdk_pixbuf_new_from_stream_async" | |
| 1667 | - | version="2.24"> | |
| 1629 | + | version="2.24" | |
| 1630 | + | glib:finish-func="new_from_stream_finish"> | |
| 1668 | 1631 | <doc xml:space="preserve" | |
| 1669 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1632 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1670 | 1633 | line="1872">Creates a new pixbuf by asynchronously loading an image from an input stream. | |
| 1671 | 1634 | ||
| 1672 | 1635 | For more details see gdk_pixbuf_new_from_stream(), which is the synchronous | |
| @@ -1675,15 +1638,14 @@ version of this function. | |||
| 1675 | 1638 | When the operation is finished, @callback will be called in the main thread. | |
| 1676 | 1639 | You can then call gdk_pixbuf_new_from_stream_finish() to get the result of | |
| 1677 | 1640 | the operation.</doc> | |
| 1678 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1679 | - | line="414"/> | |
| 1641 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="414"/> | |
| 1680 | 1642 | <return-value transfer-ownership="none"> | |
| 1681 | 1643 | <type name="none" c:type="void"/> | |
| 1682 | 1644 | </return-value> | |
| 1683 | 1645 | <parameters> | |
| 1684 | 1646 | <parameter name="stream" transfer-ownership="none"> | |
| 1685 | 1647 | <doc xml:space="preserve" | |
| 1686 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1648 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1687 | 1649 | line="1874">a `GInputStream` from which to load the pixbuf</doc> | |
| 1688 | 1650 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 1689 | 1651 | </parameter> | |
| @@ -1692,7 +1654,7 @@ the operation.</doc> | |||
| 1692 | 1654 | nullable="1" | |
| 1693 | 1655 | allow-none="1"> | |
| 1694 | 1656 | <doc xml:space="preserve" | |
| 1695 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1657 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1696 | 1658 | line="1875">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1697 | 1659 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 1698 | 1660 | </parameter> | |
| @@ -1703,7 +1665,7 @@ the operation.</doc> | |||
| 1703 | 1665 | scope="async" | |
| 1704 | 1666 | closure="3"> | |
| 1705 | 1667 | <doc xml:space="preserve" | |
| 1706 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1668 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1707 | 1669 | line="1876">a `GAsyncReadyCallback` to call when the pixbuf is loaded</doc> | |
| 1708 | 1670 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 1709 | 1671 | </parameter> | |
| @@ -1712,7 +1674,7 @@ the operation.</doc> | |||
| 1712 | 1674 | nullable="1" | |
| 1713 | 1675 | allow-none="1"> | |
| 1714 | 1676 | <doc xml:space="preserve" | |
| 1715 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1677 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1716 | 1678 | line="1877">the data to pass to the callback function</doc> | |
| 1717 | 1679 | <type name="gpointer" c:type="gpointer"/> | |
| 1718 | 1680 | </parameter> | |
| @@ -1722,7 +1684,7 @@ the operation.</doc> | |||
| 1722 | 1684 | c:identifier="gdk_pixbuf_new_from_stream_at_scale_async" | |
| 1723 | 1685 | version="2.24"> | |
| 1724 | 1686 | <doc xml:space="preserve" | |
| 1725 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1687 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1726 | 1688 | line="1655">Creates a new pixbuf by asynchronously loading an image from an input stream. | |
| 1727 | 1689 | ||
| 1728 | 1690 | For more details see gdk_pixbuf_new_from_stream_at_scale(), which is the synchronous | |
| @@ -1730,33 +1692,32 @@ version of this function. | |||
| 1730 | 1692 | ||
| 1731 | 1693 | When the operation is finished, @callback will be called in the main thread. | |
| 1732 | 1694 | You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the operation.</doc> | |
| 1733 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1734 | - | line="432"/> | |
| 1695 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="432"/> | |
| 1735 | 1696 | <return-value transfer-ownership="none"> | |
| 1736 | 1697 | <type name="none" c:type="void"/> | |
| 1737 | 1698 | </return-value> | |
| 1738 | 1699 | <parameters> | |
| 1739 | 1700 | <parameter name="stream" transfer-ownership="none"> | |
| 1740 | 1701 | <doc xml:space="preserve" | |
| 1741 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1702 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1742 | 1703 | line="1657">a `GInputStream` from which to load the pixbuf</doc> | |
| 1743 | 1704 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 1744 | 1705 | </parameter> | |
| 1745 | 1706 | <parameter name="width" transfer-ownership="none"> | |
| 1746 | 1707 | <doc xml:space="preserve" | |
| 1747 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1708 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1748 | 1709 | line="1658">the width the image should have or -1 to not constrain the width</doc> | |
| 1749 | 1710 | <type name="gint" c:type="gint"/> | |
| 1750 | 1711 | </parameter> | |
| 1751 | 1712 | <parameter name="height" transfer-ownership="none"> | |
| 1752 | 1713 | <doc xml:space="preserve" | |
| 1753 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1714 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1754 | 1715 | line="1659">the height the image should have or -1 to not constrain the height</doc> | |
| 1755 | 1716 | <type name="gint" c:type="gint"/> | |
| 1756 | 1717 | </parameter> | |
| 1757 | 1718 | <parameter name="preserve_aspect_ratio" transfer-ownership="none"> | |
| 1758 | 1719 | <doc xml:space="preserve" | |
| 1759 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1720 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1760 | 1721 | line="1660">`TRUE` to preserve the image's aspect ratio</doc> | |
| 1761 | 1722 | <type name="gboolean" c:type="gboolean"/> | |
| 1762 | 1723 | </parameter> | |
| @@ -1765,7 +1726,7 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o | |||
| 1765 | 1726 | nullable="1" | |
| 1766 | 1727 | allow-none="1"> | |
| 1767 | 1728 | <doc xml:space="preserve" | |
| 1768 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1729 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1769 | 1730 | line="1661">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1770 | 1731 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 1771 | 1732 | </parameter> | |
| @@ -1776,7 +1737,7 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o | |||
| 1776 | 1737 | scope="async" | |
| 1777 | 1738 | closure="6"> | |
| 1778 | 1739 | <doc xml:space="preserve" | |
| 1779 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1740 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1780 | 1741 | line="1662">a `GAsyncReadyCallback` to call when the pixbuf is loaded</doc> | |
| 1781 | 1742 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 1782 | 1743 | </parameter> | |
| @@ -1785,7 +1746,7 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o | |||
| 1785 | 1746 | nullable="1" | |
| 1786 | 1747 | allow-none="1"> | |
| 1787 | 1748 | <doc xml:space="preserve" | |
| 1788 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1749 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1789 | 1750 | line="1663">the data to pass to the callback function</doc> | |
| 1790 | 1751 | <type name="gpointer" c:type="gpointer"/> | |
| 1791 | 1752 | </parameter> | |
| @@ -1796,21 +1757,20 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o | |||
| 1796 | 1757 | version="2.24" | |
| 1797 | 1758 | throws="1"> | |
| 1798 | 1759 | <doc xml:space="preserve" | |
| 1799 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1760 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1800 | 1761 | line="3199">Finishes an asynchronous pixbuf save operation started with | |
| 1801 | 1762 | gdk_pixbuf_save_to_stream_async().</doc> | |
| 1802 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1803 | - | line="458"/> | |
| 1763 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="458"/> | |
| 1804 | 1764 | <return-value transfer-ownership="none"> | |
| 1805 | 1765 | <doc xml:space="preserve" | |
| 1806 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1766 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1807 | 1767 | line="3207">`TRUE` if the pixbuf was saved successfully, `FALSE` if an error was set.</doc> | |
| 1808 | 1768 | <type name="gboolean" c:type="gboolean"/> | |
| 1809 | 1769 | </return-value> | |
| 1810 | 1770 | <parameters> | |
| 1811 | 1771 | <parameter name="async_result" transfer-ownership="none"> | |
| 1812 | 1772 | <doc xml:space="preserve" | |
| 1813 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1773 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1814 | 1774 | line="3201">a `GAsyncResult`</doc> | |
| 1815 | 1775 | <type name="Gio.AsyncResult" c:type="GAsyncResult*"/> | |
| 1816 | 1776 | </parameter> | |
| @@ -1818,7 +1778,7 @@ gdk_pixbuf_save_to_stream_async().</doc> | |||
| 1818 | 1778 | </function> | |
| 1819 | 1779 | <method name="add_alpha" c:identifier="gdk_pixbuf_add_alpha"> | |
| 1820 | 1780 | <doc xml:space="preserve" | |
| 1821 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1781 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1822 | 1782 | line="29">Takes an existing pixbuf and adds an alpha channel to it. | |
| 1823 | 1783 | ||
| 1824 | 1784 | If the existing pixbuf already had an alpha channel, the channel | |
| @@ -1832,42 +1792,41 @@ pixels will become fully transparent. | |||
| 1832 | 1792 | ||
| 1833 | 1793 | If `substitute_color` is `FALSE`, then the (`r`, `g`, `b`) arguments | |
| 1834 | 1794 | will be ignored.</doc> | |
| 1835 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1836 | - | line="482"/> | |
| 1837 | - | <return-value transfer-ownership="full"> | |
| 1795 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="482"/> | |
| 1796 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 1838 | 1797 | <doc xml:space="preserve" | |
| 1839 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1798 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1840 | 1799 | line="51">A newly-created pixbuf</doc> | |
| 1841 | 1800 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1842 | 1801 | </return-value> | |
| 1843 | 1802 | <parameters> | |
| 1844 | 1803 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 1845 | 1804 | <doc xml:space="preserve" | |
| 1846 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1805 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1847 | 1806 | line="31">A #GdkPixbuf.</doc> | |
| 1848 | 1807 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 1849 | 1808 | </instance-parameter> | |
| 1850 | 1809 | <parameter name="substitute_color" transfer-ownership="none"> | |
| 1851 | 1810 | <doc xml:space="preserve" | |
| 1852 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1811 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1853 | 1812 | line="32">Whether to set a color to zero opacity.</doc> | |
| 1854 | 1813 | <type name="gboolean" c:type="gboolean"/> | |
| 1855 | 1814 | </parameter> | |
| 1856 | 1815 | <parameter name="r" transfer-ownership="none"> | |
| 1857 | 1816 | <doc xml:space="preserve" | |
| 1858 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1817 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1859 | 1818 | line="33">Red value to substitute.</doc> | |
| 1860 | 1819 | <type name="guint8" c:type="guchar"/> | |
| 1861 | 1820 | </parameter> | |
| 1862 | 1821 | <parameter name="g" transfer-ownership="none"> | |
| 1863 | 1822 | <doc xml:space="preserve" | |
| 1864 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1823 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1865 | 1824 | line="34">Green value to substitute.</doc> | |
| 1866 | 1825 | <type name="guint8" c:type="guchar"/> | |
| 1867 | 1826 | </parameter> | |
| 1868 | 1827 | <parameter name="b" transfer-ownership="none"> | |
| 1869 | 1828 | <doc xml:space="preserve" | |
| 1870 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1829 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1871 | 1830 | line="35">Blue value to substitute.</doc> | |
| 1872 | 1831 | <type name="guint8" c:type="guchar"/> | |
| 1873 | 1832 | </parameter> | |
| @@ -1877,7 +1836,7 @@ will be ignored.</doc> | |||
| 1877 | 1836 | c:identifier="gdk_pixbuf_apply_embedded_orientation" | |
| 1878 | 1837 | version="2.12"> | |
| 1879 | 1838 | <doc xml:space="preserve" | |
| 1880 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1839 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1881 | 1840 | line="273">Takes an existing pixbuf and checks for the presence of an | |
| 1882 | 1841 | associated "orientation" option. | |
| 1883 | 1842 | ||
| @@ -1888,18 +1847,17 @@ transforms performed by libtiff). | |||
| 1888 | 1847 | ||
| 1889 | 1848 | If an orientation option/tag is present, the appropriate transform | |
| 1890 | 1849 | will be performed so that the pixbuf is oriented correctly.</doc> | |
| 1891 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1892 | - | line="502"/> | |
| 1850 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="502"/> | |
| 1893 | 1851 | <return-value transfer-ownership="full" nullable="1"> | |
| 1894 | 1852 | <doc xml:space="preserve" | |
| 1895 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1853 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1896 | 1854 | line="288">A newly-created pixbuf</doc> | |
| 1897 | 1855 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1898 | 1856 | </return-value> | |
| 1899 | 1857 | <parameters> | |
| 1900 | 1858 | <instance-parameter name="src" transfer-ownership="none"> | |
| 1901 | 1859 | <doc xml:space="preserve" | |
| 1902 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1860 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1903 | 1861 | line="275">a pixbuf with an orientation option</doc> | |
| 1904 | 1862 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1905 | 1863 | </instance-parameter> | |
| @@ -1907,7 +1865,7 @@ will be performed so that the pixbuf is oriented correctly.</doc> | |||
| 1907 | 1865 | </method> | |
| 1908 | 1866 | <method name="composite" c:identifier="gdk_pixbuf_composite"> | |
| 1909 | 1867 | <doc xml:space="preserve" | |
| 1910 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1868 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1911 | 1869 | line="91">Creates a transformation of the source image @src by scaling by | |
| 1912 | 1870 | @scale_x and @scale_y then translating by @offset_x and @offset_y. | |
| 1913 | 1871 | ||
| @@ -1921,7 +1879,7 @@ image, the data at the edges of the source image is replicated | |||
| 1921 | 1879 | to infinity. | |
| 1922 | 1880 | ||
| 1923 | 1881 | </doc> | |
| 1924 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 1882 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 1925 | 1883 | line="111"/> | |
| 1926 | 1884 | <return-value transfer-ownership="none"> | |
| 1927 | 1885 | <type name="none" c:type="void"/> | |
| @@ -1929,73 +1887,73 @@ to infinity. | |||
| 1929 | 1887 | <parameters> | |
| 1930 | 1888 | <instance-parameter name="src" transfer-ownership="none"> | |
| 1931 | 1889 | <doc xml:space="preserve" | |
| 1932 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1890 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1933 | 1891 | line="93">a #GdkPixbuf</doc> | |
| 1934 | 1892 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 1935 | 1893 | </instance-parameter> | |
| 1936 | 1894 | <parameter name="dest" transfer-ownership="none"> | |
| 1937 | 1895 | <doc xml:space="preserve" | |
| 1938 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1896 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1939 | 1897 | line="94">the #GdkPixbuf into which to render the results</doc> | |
| 1940 | 1898 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1941 | 1899 | </parameter> | |
| 1942 | 1900 | <parameter name="dest_x" transfer-ownership="none"> | |
| 1943 | 1901 | <doc xml:space="preserve" | |
| 1944 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1902 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1945 | 1903 | line="95">the left coordinate for region to render</doc> | |
| 1946 | 1904 | <type name="gint" c:type="int"/> | |
| 1947 | 1905 | </parameter> | |
| 1948 | 1906 | <parameter name="dest_y" transfer-ownership="none"> | |
| 1949 | 1907 | <doc xml:space="preserve" | |
| 1950 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1908 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1951 | 1909 | line="96">the top coordinate for region to render</doc> | |
| 1952 | 1910 | <type name="gint" c:type="int"/> | |
| 1953 | 1911 | </parameter> | |
| 1954 | 1912 | <parameter name="dest_width" transfer-ownership="none"> | |
| 1955 | 1913 | <doc xml:space="preserve" | |
| 1956 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1914 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1957 | 1915 | line="97">the width of the region to render</doc> | |
| 1958 | 1916 | <type name="gint" c:type="int"/> | |
| 1959 | 1917 | </parameter> | |
| 1960 | 1918 | <parameter name="dest_height" transfer-ownership="none"> | |
| 1961 | 1919 | <doc xml:space="preserve" | |
| 1962 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1920 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1963 | 1921 | line="98">the height of the region to render</doc> | |
| 1964 | 1922 | <type name="gint" c:type="int"/> | |
| 1965 | 1923 | </parameter> | |
| 1966 | 1924 | <parameter name="offset_x" transfer-ownership="none"> | |
| 1967 | 1925 | <doc xml:space="preserve" | |
| 1968 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1926 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1969 | 1927 | line="99">the offset in the X direction (currently rounded to an integer)</doc> | |
| 1970 | 1928 | <type name="gdouble" c:type="double"/> | |
| 1971 | 1929 | </parameter> | |
| 1972 | 1930 | <parameter name="offset_y" transfer-ownership="none"> | |
| 1973 | 1931 | <doc xml:space="preserve" | |
| 1974 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1932 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1975 | 1933 | line="100">the offset in the Y direction (currently rounded to an integer)</doc> | |
| 1976 | 1934 | <type name="gdouble" c:type="double"/> | |
| 1977 | 1935 | </parameter> | |
| 1978 | 1936 | <parameter name="scale_x" transfer-ownership="none"> | |
| 1979 | 1937 | <doc xml:space="preserve" | |
| 1980 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1938 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1981 | 1939 | line="101">the scale factor in the X direction</doc> | |
| 1982 | 1940 | <type name="gdouble" c:type="double"/> | |
| 1983 | 1941 | </parameter> | |
| 1984 | 1942 | <parameter name="scale_y" transfer-ownership="none"> | |
| 1985 | 1943 | <doc xml:space="preserve" | |
| 1986 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1944 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1987 | 1945 | line="102">the scale factor in the Y direction</doc> | |
| 1988 | 1946 | <type name="gdouble" c:type="double"/> | |
| 1989 | 1947 | </parameter> | |
| 1990 | 1948 | <parameter name="interp_type" transfer-ownership="none"> | |
| 1991 | 1949 | <doc xml:space="preserve" | |
| 1992 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1950 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1993 | 1951 | line="103">the interpolation type for the transformation.</doc> | |
| 1994 | 1952 | <type name="InterpType" c:type="GdkInterpType"/> | |
| 1995 | 1953 | </parameter> | |
| 1996 | 1954 | <parameter name="overall_alpha" transfer-ownership="none"> | |
| 1997 | 1955 | <doc xml:space="preserve" | |
| 1998 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1956 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1999 | 1957 | line="104">overall alpha for source image (0..255)</doc> | |
| 2000 | 1958 | <type name="gint" c:type="int"/> | |
| 2001 | 1959 | </parameter> | |
| @@ -2003,7 +1961,7 @@ to infinity. | |||
| 2003 | 1961 | </method> | |
| 2004 | 1962 | <method name="composite_color" c:identifier="gdk_pixbuf_composite_color"> | |
| 2005 | 1963 | <doc xml:space="preserve" | |
| 2006 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1964 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2007 | 1965 | line="158">Creates a transformation of the source image @src by scaling by | |
| 2008 | 1966 | @scale_x and @scale_y then translating by @offset_x and @offset_y, | |
| 2009 | 1967 | then alpha blends the rectangle (@dest_x ,@dest_y, @dest_width, | |
| @@ -2016,7 +1974,7 @@ path is used which omits the alpha blending and just performs the scaling. | |||
| 2016 | 1974 | ||
| 2017 | 1975 | See gdk_pixbuf_composite_color_simple() for a simpler variant of this | |
| 2018 | 1976 | function suitable for many tasks.</doc> | |
| 2019 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 1977 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 2020 | 1978 | line="124"/> | |
| 2021 | 1979 | <return-value transfer-ownership="none"> | |
| 2022 | 1980 | <type name="none" c:type="void"/> | |
| @@ -2024,103 +1982,103 @@ function suitable for many tasks.</doc> | |||
| 2024 | 1982 | <parameters> | |
| 2025 | 1983 | <instance-parameter name="src" transfer-ownership="none"> | |
| 2026 | 1984 | <doc xml:space="preserve" | |
| 2027 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1985 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2028 | 1986 | line="160">a #GdkPixbuf</doc> | |
| 2029 | 1987 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2030 | 1988 | </instance-parameter> | |
| 2031 | 1989 | <parameter name="dest" transfer-ownership="none"> | |
| 2032 | 1990 | <doc xml:space="preserve" | |
| 2033 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1991 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2034 | 1992 | line="161">the #GdkPixbuf into which to render the results</doc> | |
| 2035 | 1993 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2036 | 1994 | </parameter> | |
| 2037 | 1995 | <parameter name="dest_x" transfer-ownership="none"> | |
| 2038 | 1996 | <doc xml:space="preserve" | |
| 2039 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1997 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2040 | 1998 | line="162">the left coordinate for region to render</doc> | |
| 2041 | 1999 | <type name="gint" c:type="int"/> | |
| 2042 | 2000 | </parameter> | |
| 2043 | 2001 | <parameter name="dest_y" transfer-ownership="none"> | |
| 2044 | 2002 | <doc xml:space="preserve" | |
| 2045 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2003 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2046 | 2004 | line="163">the top coordinate for region to render</doc> | |
| 2047 | 2005 | <type name="gint" c:type="int"/> | |
| 2048 | 2006 | </parameter> | |
| 2049 | 2007 | <parameter name="dest_width" transfer-ownership="none"> | |
| 2050 | 2008 | <doc xml:space="preserve" | |
| 2051 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2009 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2052 | 2010 | line="164">the width of the region to render</doc> | |
| 2053 | 2011 | <type name="gint" c:type="int"/> | |
| 2054 | 2012 | </parameter> | |
| 2055 | 2013 | <parameter name="dest_height" transfer-ownership="none"> | |
| 2056 | 2014 | <doc xml:space="preserve" | |
| 2057 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2015 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2058 | 2016 | line="165">the height of the region to render</doc> | |
| 2059 | 2017 | <type name="gint" c:type="int"/> | |
| 2060 | 2018 | </parameter> | |
| 2061 | 2019 | <parameter name="offset_x" transfer-ownership="none"> | |
| 2062 | 2020 | <doc xml:space="preserve" | |
| 2063 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2021 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2064 | 2022 | line="166">the offset in the X direction (currently rounded to an integer)</doc> | |
| 2065 | 2023 | <type name="gdouble" c:type="double"/> | |
| 2066 | 2024 | </parameter> | |
| 2067 | 2025 | <parameter name="offset_y" transfer-ownership="none"> | |
| 2068 | 2026 | <doc xml:space="preserve" | |
| 2069 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2027 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2070 | 2028 | line="167">the offset in the Y direction (currently rounded to an integer)</doc> | |
| 2071 | 2029 | <type name="gdouble" c:type="double"/> | |
| 2072 | 2030 | </parameter> | |
| 2073 | 2031 | <parameter name="scale_x" transfer-ownership="none"> | |
| 2074 | 2032 | <doc xml:space="preserve" | |
| 2075 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2033 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2076 | 2034 | line="168">the scale factor in the X direction</doc> | |
| 2077 | 2035 | <type name="gdouble" c:type="double"/> | |
| 2078 | 2036 | </parameter> | |
| 2079 | 2037 | <parameter name="scale_y" transfer-ownership="none"> | |
| 2080 | 2038 | <doc xml:space="preserve" | |
| 2081 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2039 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2082 | 2040 | line="169">the scale factor in the Y direction</doc> | |
| 2083 | 2041 | <type name="gdouble" c:type="double"/> | |
| 2084 | 2042 | </parameter> | |
| 2085 | 2043 | <parameter name="interp_type" transfer-ownership="none"> | |
| 2086 | 2044 | <doc xml:space="preserve" | |
| 2087 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2045 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2088 | 2046 | line="170">the interpolation type for the transformation.</doc> | |
| 2089 | 2047 | <type name="InterpType" c:type="GdkInterpType"/> | |
| 2090 | 2048 | </parameter> | |
| 2091 | 2049 | <parameter name="overall_alpha" transfer-ownership="none"> | |
| 2092 | 2050 | <doc xml:space="preserve" | |
| 2093 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2051 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2094 | 2052 | line="171">overall alpha for source image (0..255)</doc> | |
| 2095 | 2053 | <type name="gint" c:type="int"/> | |
| 2096 | 2054 | </parameter> | |
| 2097 | 2055 | <parameter name="check_x" transfer-ownership="none"> | |
| 2098 | 2056 | <doc xml:space="preserve" | |
| 2099 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2057 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2100 | 2058 | line="172">the X offset for the checkboard (origin of checkboard is at -@check_x, -@check_y)</doc> | |
| 2101 | 2059 | <type name="gint" c:type="int"/> | |
| 2102 | 2060 | </parameter> | |
| 2103 | 2061 | <parameter name="check_y" transfer-ownership="none"> | |
| 2104 | 2062 | <doc xml:space="preserve" | |
| 2105 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2063 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2106 | 2064 | line="173">the Y offset for the checkboard</doc> | |
| 2107 | 2065 | <type name="gint" c:type="int"/> | |
| 2108 | 2066 | </parameter> | |
| 2109 | 2067 | <parameter name="check_size" transfer-ownership="none"> | |
| 2110 | 2068 | <doc xml:space="preserve" | |
| 2111 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2069 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2112 | 2070 | line="174">the size of checks in the checkboard (must be a power of two)</doc> | |
| 2113 | 2071 | <type name="gint" c:type="int"/> | |
| 2114 | 2072 | </parameter> | |
| 2115 | 2073 | <parameter name="color1" transfer-ownership="none"> | |
| 2116 | 2074 | <doc xml:space="preserve" | |
| 2117 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2075 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2118 | 2076 | line="175">the color of check at upper left</doc> | |
| 2119 | 2077 | <type name="guint32" c:type="guint32"/> | |
| 2120 | 2078 | </parameter> | |
| 2121 | 2079 | <parameter name="color2" transfer-ownership="none"> | |
| 2122 | 2080 | <doc xml:space="preserve" | |
| 2123 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2081 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2124 | 2082 | line="176">the color of the other check</doc> | |
| 2125 | 2083 | <type name="guint32" c:type="guint32"/> | |
| 2126 | 2084 | </parameter> | |
| @@ -2129,64 +2087,64 @@ function suitable for many tasks.</doc> | |||
| 2129 | 2087 | <method name="composite_color_simple" | |
| 2130 | 2088 | c:identifier="gdk_pixbuf_composite_color_simple"> | |
| 2131 | 2089 | <doc xml:space="preserve" | |
| 2132 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2090 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2133 | 2091 | line="292">Creates a new pixbuf by scaling `src` to `dest_width` x `dest_height` | |
| 2134 | 2092 | and alpha blending the result with a checkboard of colors `color1` | |
| 2135 | 2093 | and `color2`.</doc> | |
| 2136 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 2094 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 2137 | 2095 | line="149"/> | |
| 2138 | 2096 | <return-value transfer-ownership="full" nullable="1"> | |
| 2139 | 2097 | <doc xml:space="preserve" | |
| 2140 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2098 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2141 | 2099 | line="307">the new pixbuf</doc> | |
| 2142 | 2100 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2143 | 2101 | </return-value> | |
| 2144 | 2102 | <parameters> | |
| 2145 | 2103 | <instance-parameter name="src" transfer-ownership="none"> | |
| 2146 | 2104 | <doc xml:space="preserve" | |
| 2147 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2105 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2148 | 2106 | line="294">a #GdkPixbuf</doc> | |
| 2149 | 2107 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2150 | 2108 | </instance-parameter> | |
| 2151 | 2109 | <parameter name="dest_width" transfer-ownership="none"> | |
| 2152 | 2110 | <doc xml:space="preserve" | |
| 2153 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2111 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2154 | 2112 | line="295">the width of destination image</doc> | |
| 2155 | 2113 | <type name="gint" c:type="int"/> | |
| 2156 | 2114 | </parameter> | |
| 2157 | 2115 | <parameter name="dest_height" transfer-ownership="none"> | |
| 2158 | 2116 | <doc xml:space="preserve" | |
| 2159 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2117 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2160 | 2118 | line="296">the height of destination image</doc> | |
| 2161 | 2119 | <type name="gint" c:type="int"/> | |
| 2162 | 2120 | </parameter> | |
| 2163 | 2121 | <parameter name="interp_type" transfer-ownership="none"> | |
| 2164 | 2122 | <doc xml:space="preserve" | |
| 2165 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2123 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2166 | 2124 | line="297">the interpolation type for the transformation.</doc> | |
| 2167 | 2125 | <type name="InterpType" c:type="GdkInterpType"/> | |
| 2168 | 2126 | </parameter> | |
| 2169 | 2127 | <parameter name="overall_alpha" transfer-ownership="none"> | |
| 2170 | 2128 | <doc xml:space="preserve" | |
| 2171 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2129 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2172 | 2130 | line="298">overall alpha for source image (0..255)</doc> | |
| 2173 | 2131 | <type name="gint" c:type="int"/> | |
| 2174 | 2132 | </parameter> | |
| 2175 | 2133 | <parameter name="check_size" transfer-ownership="none"> | |
| 2176 | 2134 | <doc xml:space="preserve" | |
| 2177 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2135 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2178 | 2136 | line="299">the size of checks in the checkboard (must be a power of two)</doc> | |
| 2179 | 2137 | <type name="gint" c:type="int"/> | |
| 2180 | 2138 | </parameter> | |
| 2181 | 2139 | <parameter name="color1" transfer-ownership="none"> | |
| 2182 | 2140 | <doc xml:space="preserve" | |
| 2183 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2141 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2184 | 2142 | line="300">the color of check at upper left</doc> | |
| 2185 | 2143 | <type name="guint32" c:type="guint32"/> | |
| 2186 | 2144 | </parameter> | |
| 2187 | 2145 | <parameter name="color2" transfer-ownership="none"> | |
| 2188 | 2146 | <doc xml:space="preserve" | |
| 2189 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2147 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2190 | 2148 | line="301">the color of the other check</doc> | |
| 2191 | 2149 | <type name="guint32" c:type="guint32"/> | |
| 2192 | 2150 | </parameter> | |
| @@ -2194,24 +2152,23 @@ and `color2`.</doc> | |||
| 2194 | 2152 | </method> | |
| 2195 | 2153 | <method name="copy" c:identifier="gdk_pixbuf_copy"> | |
| 2196 | 2154 | <doc xml:space="preserve" | |
| 2197 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2155 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2198 | 2156 | line="643">Creates a new `GdkPixbuf` with a copy of the information in the specified | |
| 2199 | 2157 | `pixbuf`. | |
| 2200 | 2158 | ||
| 2201 | 2159 | Note that this does not copy the options set on the original `GdkPixbuf`, | |
| 2202 | 2160 | use gdk_pixbuf_copy_options() for this.</doc> | |
| 2203 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2204 | - | line="218"/> | |
| 2161 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="218"/> | |
| 2205 | 2162 | <return-value transfer-ownership="full" nullable="1"> | |
| 2206 | 2163 | <doc xml:space="preserve" | |
| 2207 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2164 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2208 | 2165 | line="653">A newly-created pixbuf</doc> | |
| 2209 | 2166 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2210 | 2167 | </return-value> | |
| 2211 | 2168 | <parameters> | |
| 2212 | 2169 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2213 | 2170 | <doc xml:space="preserve" | |
| 2214 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2171 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2215 | 2172 | line="645">A pixbuf.</doc> | |
| 2216 | 2173 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2217 | 2174 | </instance-parameter> | |
| @@ -2219,7 +2176,7 @@ use gdk_pixbuf_copy_options() for this.</doc> | |||
| 2219 | 2176 | </method> | |
| 2220 | 2177 | <method name="copy_area" c:identifier="gdk_pixbuf_copy_area"> | |
| 2221 | 2178 | <doc xml:space="preserve" | |
| 2222 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2179 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2223 | 2180 | line="121">Copies a rectangular area from `src_pixbuf` to `dest_pixbuf`. | |
| 2224 | 2181 | ||
| 2225 | 2182 | Conversion of pixbuf formats is done automatically. | |
| @@ -2227,57 +2184,56 @@ Conversion of pixbuf formats is done automatically. | |||
| 2227 | 2184 | If the source rectangle overlaps the destination rectangle on the | |
| 2228 | 2185 | same pixbuf, it will be overwritten during the copy operation. | |
| 2229 | 2186 | Therefore, you can not use this function to scroll a pixbuf.</doc> | |
| 2230 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2231 | - | line="487"/> | |
| 2187 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="487"/> | |
| 2232 | 2188 | <return-value transfer-ownership="none"> | |
| 2233 | 2189 | <type name="none" c:type="void"/> | |
| 2234 | 2190 | </return-value> | |
| 2235 | 2191 | <parameters> | |
| 2236 | 2192 | <instance-parameter name="src_pixbuf" transfer-ownership="none"> | |
| 2237 | 2193 | <doc xml:space="preserve" | |
| 2238 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2194 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2239 | 2195 | line="123">Source pixbuf.</doc> | |
| 2240 | 2196 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2241 | 2197 | </instance-parameter> | |
| 2242 | 2198 | <parameter name="src_x" transfer-ownership="none"> | |
| 2243 | 2199 | <doc xml:space="preserve" | |
| 2244 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2200 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2245 | 2201 | line="124">Source X coordinate within @src_pixbuf.</doc> | |
| 2246 | 2202 | <type name="gint" c:type="int"/> | |
| 2247 | 2203 | </parameter> | |
| 2248 | 2204 | <parameter name="src_y" transfer-ownership="none"> | |
| 2249 | 2205 | <doc xml:space="preserve" | |
| 2250 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2206 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2251 | 2207 | line="125">Source Y coordinate within @src_pixbuf.</doc> | |
| 2252 | 2208 | <type name="gint" c:type="int"/> | |
| 2253 | 2209 | </parameter> | |
| 2254 | 2210 | <parameter name="width" transfer-ownership="none"> | |
| 2255 | 2211 | <doc xml:space="preserve" | |
| 2256 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2212 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2257 | 2213 | line="126">Width of the area to copy.</doc> | |
| 2258 | 2214 | <type name="gint" c:type="int"/> | |
| 2259 | 2215 | </parameter> | |
| 2260 | 2216 | <parameter name="height" transfer-ownership="none"> | |
| 2261 | 2217 | <doc xml:space="preserve" | |
| 2262 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2218 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2263 | 2219 | line="127">Height of the area to copy.</doc> | |
| 2264 | 2220 | <type name="gint" c:type="int"/> | |
| 2265 | 2221 | </parameter> | |
| 2266 | 2222 | <parameter name="dest_pixbuf" transfer-ownership="none"> | |
| 2267 | 2223 | <doc xml:space="preserve" | |
| 2268 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2224 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2269 | 2225 | line="128">Destination pixbuf.</doc> | |
| 2270 | 2226 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2271 | 2227 | </parameter> | |
| 2272 | 2228 | <parameter name="dest_x" transfer-ownership="none"> | |
| 2273 | 2229 | <doc xml:space="preserve" | |
| 2274 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2230 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2275 | 2231 | line="129">X coordinate within @dest_pixbuf.</doc> | |
| 2276 | 2232 | <type name="gint" c:type="int"/> | |
| 2277 | 2233 | </parameter> | |
| 2278 | 2234 | <parameter name="dest_y" transfer-ownership="none"> | |
| 2279 | 2235 | <doc xml:space="preserve" | |
| 2280 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2236 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2281 | 2237 | line="130">Y coordinate within @dest_pixbuf.</doc> | |
| 2282 | 2238 | <type name="gint" c:type="int"/> | |
| 2283 | 2239 | </parameter> | |
| @@ -2287,31 +2243,30 @@ Therefore, you can not use this function to scroll a pixbuf.</doc> | |||
| 2287 | 2243 | c:identifier="gdk_pixbuf_copy_options" | |
| 2288 | 2244 | version="2.36"> | |
| 2289 | 2245 | <doc xml:space="preserve" | |
| 2290 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2246 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2291 | 2247 | line="1311">Copies the key/value pair options attached to a `GdkPixbuf` to another | |
| 2292 | 2248 | `GdkPixbuf`. | |
| 2293 | 2249 | ||
| 2294 | 2250 | This is useful to keep original metadata after having manipulated | |
| 2295 | 2251 | a file. However be careful to remove metadata which you've already | |
| 2296 | 2252 | applied, such as the "orientation" option after rotating the image.</doc> | |
| 2297 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2298 | - | line="518"/> | |
| 2253 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="518"/> | |
| 2299 | 2254 | <return-value transfer-ownership="none"> | |
| 2300 | 2255 | <doc xml:space="preserve" | |
| 2301 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2256 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2302 | 2257 | line="1323">`TRUE` on success.</doc> | |
| 2303 | 2258 | <type name="gboolean" c:type="gboolean"/> | |
| 2304 | 2259 | </return-value> | |
| 2305 | 2260 | <parameters> | |
| 2306 | 2261 | <instance-parameter name="src_pixbuf" transfer-ownership="none"> | |
| 2307 | 2262 | <doc xml:space="preserve" | |
| 2308 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2263 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2309 | 2264 | line="1313">the source pixbuf</doc> | |
| 2310 | 2265 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2311 | 2266 | </instance-parameter> | |
| 2312 | 2267 | <parameter name="dest_pixbuf" transfer-ownership="none"> | |
| 2313 | 2268 | <doc xml:space="preserve" | |
| 2314 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2269 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2315 | 2270 | line="1314">the destination pixbuf</doc> | |
| 2316 | 2271 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2317 | 2272 | </parameter> | |
| @@ -2319,27 +2274,26 @@ applied, such as the "orientation" option after rotating the image.</doc> | |||
| 2319 | 2274 | </method> | |
| 2320 | 2275 | <method name="fill" c:identifier="gdk_pixbuf_fill"> | |
| 2321 | 2276 | <doc xml:space="preserve" | |
| 2322 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2277 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2323 | 2278 | line="1043">Clears a pixbuf to the given RGBA value, converting the RGBA value into | |
| 2324 | 2279 | the pixbuf's pixel format. | |
| 2325 | 2280 | ||
| 2326 | 2281 | The alpha component will be ignored if the pixbuf doesn't have an alpha | |
| 2327 | 2282 | channel.</doc> | |
| 2328 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2329 | - | line="306"/> | |
| 2283 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="306"/> | |
| 2330 | 2284 | <return-value transfer-ownership="none"> | |
| 2331 | 2285 | <type name="none" c:type="void"/> | |
| 2332 | 2286 | </return-value> | |
| 2333 | 2287 | <parameters> | |
| 2334 | 2288 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2335 | 2289 | <doc xml:space="preserve" | |
| 2336 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2290 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2337 | 2291 | line="1045">a `GdkPixbuf`</doc> | |
| 2338 | 2292 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2339 | 2293 | </instance-parameter> | |
| 2340 | 2294 | <parameter name="pixel" transfer-ownership="none"> | |
| 2341 | 2295 | <doc xml:space="preserve" | |
| 2342 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2296 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2343 | 2297 | line="1046">RGBA pixel to used to clear (`0xffffffff` is opaque white, | |
| 2344 | 2298 | `0x00000000` transparent black)</doc> | |
| 2345 | 2299 | <type name="guint32" c:type="guint32"/> | |
| @@ -2348,27 +2302,27 @@ channel.</doc> | |||
| 2348 | 2302 | </method> | |
| 2349 | 2303 | <method name="flip" c:identifier="gdk_pixbuf_flip" version="2.6"> | |
| 2350 | 2304 | <doc xml:space="preserve" | |
| 2351 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2305 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2352 | 2306 | line="446">Flips a pixbuf horizontally or vertically and returns the | |
| 2353 | 2307 | result in a new pixbuf.</doc> | |
| 2354 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 2308 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 2355 | 2309 | line="162"/> | |
| 2356 | 2310 | <return-value transfer-ownership="full" nullable="1"> | |
| 2357 | 2311 | <doc xml:space="preserve" | |
| 2358 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2312 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2359 | 2313 | line="454">the new pixbuf</doc> | |
| 2360 | 2314 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2361 | 2315 | </return-value> | |
| 2362 | 2316 | <parameters> | |
| 2363 | 2317 | <instance-parameter name="src" transfer-ownership="none"> | |
| 2364 | 2318 | <doc xml:space="preserve" | |
| 2365 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2319 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2366 | 2320 | line="448">a #GdkPixbuf</doc> | |
| 2367 | 2321 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2368 | 2322 | </instance-parameter> | |
| 2369 | 2323 | <parameter name="horizontal" transfer-ownership="none"> | |
| 2370 | 2324 | <doc xml:space="preserve" | |
| 2371 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2325 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2372 | 2326 | line="449">`TRUE` to flip horizontally, `FALSE` to flip vertically</doc> | |
| 2373 | 2327 | <type name="gboolean" c:type="gboolean"/> | |
| 2374 | 2328 | </parameter> | |
| @@ -2378,20 +2332,19 @@ result in a new pixbuf.</doc> | |||
| 2378 | 2332 | c:identifier="gdk_pixbuf_get_bits_per_sample" | |
| 2379 | 2333 | glib:get-property="bits-per-sample"> | |
| 2380 | 2334 | <doc xml:space="preserve" | |
| 2381 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2335 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2382 | 2336 | line="795">Queries the number of bits per color sample in a pixbuf.</doc> | |
| 2383 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2384 | - | line="180"/> | |
| 2337 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="180"/> | |
| 2385 | 2338 | <return-value transfer-ownership="none"> | |
| 2386 | 2339 | <doc xml:space="preserve" | |
| 2387 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2340 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2388 | 2341 | line="801">Number of bits per color sample.</doc> | |
| 2389 | 2342 | <type name="gint" c:type="int"/> | |
| 2390 | 2343 | </return-value> | |
| 2391 | 2344 | <parameters> | |
| 2392 | 2345 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2393 | 2346 | <doc xml:space="preserve" | |
| 2394 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2347 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2395 | 2348 | line="797">A pixbuf.</doc> | |
| 2396 | 2349 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2397 | 2350 | </instance-parameter> | |
| @@ -2401,20 +2354,19 @@ result in a new pixbuf.</doc> | |||
| 2401 | 2354 | c:identifier="gdk_pixbuf_get_byte_length" | |
| 2402 | 2355 | version="2.26"> | |
| 2403 | 2356 | <doc xml:space="preserve" | |
| 2404 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2357 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2405 | 2358 | line="1008">Returns the length of the pixel data, in bytes.</doc> | |
| 2406 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2407 | - | line="190"/> | |
| 2359 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="190"/> | |
| 2408 | 2360 | <return-value transfer-ownership="none"> | |
| 2409 | 2361 | <doc xml:space="preserve" | |
| 2410 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2362 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2411 | 2363 | line="1014">The length of the pixel data.</doc> | |
| 2412 | 2364 | <type name="gsize" c:type="gsize"/> | |
| 2413 | 2365 | </return-value> | |
| 2414 | 2366 | <parameters> | |
| 2415 | 2367 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2416 | 2368 | <doc xml:space="preserve" | |
| 2417 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2369 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2418 | 2370 | line="1010">A pixbuf</doc> | |
| 2419 | 2371 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2420 | 2372 | </instance-parameter> | |
| @@ -2424,20 +2376,19 @@ result in a new pixbuf.</doc> | |||
| 2424 | 2376 | c:identifier="gdk_pixbuf_get_colorspace" | |
| 2425 | 2377 | glib:get-property="colorspace"> | |
| 2426 | 2378 | <doc xml:space="preserve" | |
| 2427 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2379 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2428 | 2380 | line="747">Queries the color space of a pixbuf.</doc> | |
| 2429 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2430 | - | line="174"/> | |
| 2381 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="174"/> | |
| 2431 | 2382 | <return-value transfer-ownership="none"> | |
| 2432 | 2383 | <doc xml:space="preserve" | |
| 2433 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2384 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2434 | 2385 | line="753">Color space.</doc> | |
| 2435 | 2386 | <type name="Colorspace" c:type="GdkColorspace"/> | |
| 2436 | 2387 | </return-value> | |
| 2437 | 2388 | <parameters> | |
| 2438 | 2389 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2439 | 2390 | <doc xml:space="preserve" | |
| 2440 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2391 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2441 | 2392 | line="749">A pixbuf.</doc> | |
| 2442 | 2393 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2443 | 2394 | </instance-parameter> | |
| @@ -2447,20 +2398,19 @@ result in a new pixbuf.</doc> | |||
| 2447 | 2398 | c:identifier="gdk_pixbuf_get_has_alpha" | |
| 2448 | 2399 | glib:get-property="has-alpha"> | |
| 2449 | 2400 | <doc xml:space="preserve" | |
| 2450 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2401 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2451 | 2402 | line="779">Queries whether a pixbuf has an alpha channel (opacity information).</doc> | |
| 2452 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2453 | - | line="178"/> | |
| 2403 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="178"/> | |
| 2454 | 2404 | <return-value transfer-ownership="none"> | |
| 2455 | 2405 | <doc xml:space="preserve" | |
| 2456 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2406 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2457 | 2407 | line="785">`TRUE` if it has an alpha channel, `FALSE` otherwise.</doc> | |
| 2458 | 2408 | <type name="gboolean" c:type="gboolean"/> | |
| 2459 | 2409 | </return-value> | |
| 2460 | 2410 | <parameters> | |
| 2461 | 2411 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2462 | 2412 | <doc xml:space="preserve" | |
| 2463 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2413 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2464 | 2414 | line="781">A pixbuf.</doc> | |
| 2465 | 2415 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2466 | 2416 | </instance-parameter> | |
| @@ -2470,20 +2420,19 @@ result in a new pixbuf.</doc> | |||
| 2470 | 2420 | c:identifier="gdk_pixbuf_get_height" | |
| 2471 | 2421 | glib:get-property="height"> | |
| 2472 | 2422 | <doc xml:space="preserve" | |
| 2473 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2423 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2474 | 2424 | line="975">Queries the height of a pixbuf.</doc> | |
| 2475 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2476 | - | line="186"/> | |
| 2425 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="186"/> | |
| 2477 | 2426 | <return-value transfer-ownership="none"> | |
| 2478 | 2427 | <doc xml:space="preserve" | |
| 2479 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2428 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2480 | 2429 | line="981">Height in pixels.</doc> | |
| 2481 | 2430 | <type name="gint" c:type="int"/> | |
| 2482 | 2431 | </return-value> | |
| 2483 | 2432 | <parameters> | |
| 2484 | 2433 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2485 | 2434 | <doc xml:space="preserve" | |
| 2486 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2435 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2487 | 2436 | line="977">A pixbuf.</doc> | |
| 2488 | 2437 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2489 | 2438 | </instance-parameter> | |
| @@ -2493,20 +2442,19 @@ result in a new pixbuf.</doc> | |||
| 2493 | 2442 | c:identifier="gdk_pixbuf_get_n_channels" | |
| 2494 | 2443 | glib:get-property="n-channels"> | |
| 2495 | 2444 | <doc xml:space="preserve" | |
| 2496 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2445 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2497 | 2446 | line="763">Queries the number of channels of a pixbuf.</doc> | |
| 2498 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2499 | - | line="176"/> | |
| 2447 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="176"/> | |
| 2500 | 2448 | <return-value transfer-ownership="none"> | |
| 2501 | 2449 | <doc xml:space="preserve" | |
| 2502 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2450 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2503 | 2451 | line="769">Number of channels.</doc> | |
| 2504 | 2452 | <type name="gint" c:type="int"/> | |
| 2505 | 2453 | </return-value> | |
| 2506 | 2454 | <parameters> | |
| 2507 | 2455 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2508 | 2456 | <doc xml:space="preserve" | |
| 2509 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2457 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2510 | 2458 | line="765">A pixbuf.</doc> | |
| 2511 | 2459 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2512 | 2460 | </instance-parameter> | |
| @@ -2514,7 +2462,7 @@ result in a new pixbuf.</doc> | |||
| 2514 | 2462 | </method> | |
| 2515 | 2463 | <method name="get_option" c:identifier="gdk_pixbuf_get_option"> | |
| 2516 | 2464 | <doc xml:space="preserve" | |
| 2517 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2465 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2518 | 2466 | line="1111">Looks up @key in the list of options that may have been attached to the | |
| 2519 | 2467 | @pixbuf when it was loaded, or that may have been attached by another | |
| 2520 | 2468 | function using gdk_pixbuf_set_option(). | |
| @@ -2530,24 +2478,23 @@ Since 2.32 the JPEG and PNG loaders set "x-dpi" and "y-dpi" if the file | |||
| 2530 | 2478 | contains image density information in dots per inch. | |
| 2531 | 2479 | Since 2.36.6, the JPEG loader sets the "comment" option with the comment | |
| 2532 | 2480 | EXIF tag.</doc> | |
| 2533 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2534 | - | line="510"/> | |
| 2481 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="510"/> | |
| 2535 | 2482 | <return-value transfer-ownership="none" nullable="1"> | |
| 2536 | 2483 | <doc xml:space="preserve" | |
| 2537 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2484 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2538 | 2485 | line="1132">the value associated with `key`</doc> | |
| 2539 | 2486 | <type name="utf8" c:type="const gchar*"/> | |
| 2540 | 2487 | </return-value> | |
| 2541 | 2488 | <parameters> | |
| 2542 | 2489 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2543 | 2490 | <doc xml:space="preserve" | |
| 2544 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2491 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2545 | 2492 | line="1113">a `GdkPixbuf`</doc> | |
| 2546 | 2493 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2547 | 2494 | </instance-parameter> | |
| 2548 | 2495 | <parameter name="key" transfer-ownership="none"> | |
| 2549 | 2496 | <doc xml:space="preserve" | |
| 2550 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2497 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2551 | 2498 | line="1114">a nul-terminated string.</doc> | |
| 2552 | 2499 | <type name="utf8" c:type="const gchar*"/> | |
| 2553 | 2500 | </parameter> | |
| @@ -2557,15 +2504,14 @@ EXIF tag.</doc> | |||
| 2557 | 2504 | c:identifier="gdk_pixbuf_get_options" | |
| 2558 | 2505 | version="2.32"> | |
| 2559 | 2506 | <doc xml:space="preserve" | |
| 2560 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2507 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2561 | 2508 | line="1156">Returns a `GHashTable` with a list of all the options that may have been | |
| 2562 | 2509 | attached to the `pixbuf` when it was loaded, or that may have been | |
| 2563 | 2510 | attached by another function using [method@GdkPixbuf.Pixbuf.set_option].</doc> | |
| 2564 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2565 | - | line="516"/> | |
| 2511 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="516"/> | |
| 2566 | 2512 | <return-value transfer-ownership="container"> | |
| 2567 | 2513 | <doc xml:space="preserve" | |
| 2568 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2514 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2569 | 2515 | line="1164">a #GHashTable | |
| 2570 | 2516 | of key/values pairs</doc> | |
| 2571 | 2517 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| @@ -2576,7 +2522,7 @@ attached by another function using [method@GdkPixbuf.Pixbuf.set_option].</doc> | |||
| 2576 | 2522 | <parameters> | |
| 2577 | 2523 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2578 | 2524 | <doc xml:space="preserve" | |
| 2579 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2525 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2580 | 2526 | line="1158">a `GdkPixbuf`</doc> | |
| 2581 | 2527 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2582 | 2528 | </instance-parameter> | |
| @@ -2587,7 +2533,7 @@ attached by another function using [method@GdkPixbuf.Pixbuf.set_option].</doc> | |||
| 2587 | 2533 | shadowed-by="get_pixels_with_length" | |
| 2588 | 2534 | glib:get-property="pixels"> | |
| 2589 | 2535 | <doc xml:space="preserve" | |
| 2590 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2536 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2591 | 2537 | line="811">Queries a pointer to the pixel data of a pixbuf. | |
| 2592 | 2538 | ||
| 2593 | 2539 | This function will cause an implicit copy of the pixbuf data if the | |
| @@ -2595,11 +2541,10 @@ pixbuf was created from read-only data. | |||
| 2595 | 2541 | ||
| 2596 | 2542 | Please see the section on [image data](class.Pixbuf.html#image-data) for information | |
| 2597 | 2543 | about how the pixel data is stored in memory.</doc> | |
| 2598 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2599 | - | line="182"/> | |
| 2544 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="182"/> | |
| 2600 | 2545 | <return-value transfer-ownership="none"> | |
| 2601 | 2546 | <doc xml:space="preserve" | |
| 2602 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2547 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2603 | 2548 | line="823">A pointer to the pixbuf's pixel data.</doc> | |
| 2604 | 2549 | <array zero-terminated="0" c:type="guchar*"> | |
| 2605 | 2550 | <type name="guint8" c:type="guchar"/> | |
| @@ -2608,7 +2553,7 @@ about how the pixel data is stored in memory.</doc> | |||
| 2608 | 2553 | <parameters> | |
| 2609 | 2554 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2610 | 2555 | <doc xml:space="preserve" | |
| 2611 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2556 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2612 | 2557 | line="813">A pixbuf.</doc> | |
| 2613 | 2558 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2614 | 2559 | </instance-parameter> | |
| @@ -2619,7 +2564,7 @@ about how the pixel data is stored in memory.</doc> | |||
| 2619 | 2564 | shadows="get_pixels" | |
| 2620 | 2565 | version="2.26"> | |
| 2621 | 2566 | <doc xml:space="preserve" | |
| 2622 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2567 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2623 | 2568 | line="857">Queries a pointer to the pixel data of a pixbuf. | |
| 2624 | 2569 | ||
| 2625 | 2570 | This function will cause an implicit copy of the pixbuf data if the | |
| @@ -2627,11 +2572,10 @@ pixbuf was created from read-only data. | |||
| 2627 | 2572 | ||
| 2628 | 2573 | Please see the section on [image data](class.Pixbuf.html#image-data) for information | |
| 2629 | 2574 | about how the pixel data is stored in memory.</doc> | |
| 2630 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2631 | - | line="193"/> | |
| 2575 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="193"/> | |
| 2632 | 2576 | <return-value transfer-ownership="none"> | |
| 2633 | 2577 | <doc xml:space="preserve" | |
| 2634 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2578 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2635 | 2579 | line="870">A pointer to the pixbuf's | |
| 2636 | 2580 | pixel data.</doc> | |
| 2637 | 2581 | <array length="0" zero-terminated="0" c:type="guchar*"> | |
| @@ -2641,7 +2585,7 @@ pixel data.</doc> | |||
| 2641 | 2585 | <parameters> | |
| 2642 | 2586 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2643 | 2587 | <doc xml:space="preserve" | |
| 2644 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2588 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2645 | 2589 | line="859">A pixbuf.</doc> | |
| 2646 | 2590 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2647 | 2591 | </instance-parameter> | |
| @@ -2650,7 +2594,7 @@ pixel data.</doc> | |||
| 2650 | 2594 | caller-allocates="0" | |
| 2651 | 2595 | transfer-ownership="full"> | |
| 2652 | 2596 | <doc xml:space="preserve" | |
| 2653 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2597 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2654 | 2598 | line="860">The length of the binary data.</doc> | |
| 2655 | 2599 | <type name="guint" c:type="guint*"/> | |
| 2656 | 2600 | </parameter> | |
| @@ -2660,21 +2604,20 @@ pixel data.</doc> | |||
| 2660 | 2604 | c:identifier="gdk_pixbuf_get_rowstride" | |
| 2661 | 2605 | glib:get-property="rowstride"> | |
| 2662 | 2606 | <doc xml:space="preserve" | |
| 2663 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2607 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2664 | 2608 | line="991">Queries the rowstride of a pixbuf, which is the number of bytes between | |
| 2665 | 2609 | the start of a row and the start of the next row.</doc> | |
| 2666 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2667 | - | line="188"/> | |
| 2610 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="188"/> | |
| 2668 | 2611 | <return-value transfer-ownership="none"> | |
| 2669 | 2612 | <doc xml:space="preserve" | |
| 2670 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2613 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2671 | 2614 | line="998">Distance between row starts.</doc> | |
| 2672 | 2615 | <type name="gint" c:type="int"/> | |
| 2673 | 2616 | </return-value> | |
| 2674 | 2617 | <parameters> | |
| 2675 | 2618 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2676 | 2619 | <doc xml:space="preserve" | |
| 2677 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2620 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2678 | 2621 | line="993">A pixbuf.</doc> | |
| 2679 | 2622 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2680 | 2623 | </instance-parameter> | |
| @@ -2684,20 +2627,19 @@ the start of a row and the start of the next row.</doc> | |||
| 2684 | 2627 | c:identifier="gdk_pixbuf_get_width" | |
| 2685 | 2628 | glib:get-property="width"> | |
| 2686 | 2629 | <doc xml:space="preserve" | |
| 2687 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2630 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2688 | 2631 | line="959">Queries the width of a pixbuf.</doc> | |
| 2689 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2690 | - | line="184"/> | |
| 2632 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="184"/> | |
| 2691 | 2633 | <return-value transfer-ownership="none"> | |
| 2692 | 2634 | <doc xml:space="preserve" | |
| 2693 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2635 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2694 | 2636 | line="965">Width in pixels.</doc> | |
| 2695 | 2637 | <type name="gint" c:type="int"/> | |
| 2696 | 2638 | </return-value> | |
| 2697 | 2639 | <parameters> | |
| 2698 | 2640 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2699 | 2641 | <doc xml:space="preserve" | |
| 2700 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2642 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2701 | 2643 | line="961">A pixbuf.</doc> | |
| 2702 | 2644 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2703 | 2645 | </instance-parameter> | |
| @@ -2705,7 +2647,7 @@ the start of a row and the start of the next row.</doc> | |||
| 2705 | 2647 | </method> | |
| 2706 | 2648 | <method name="new_subpixbuf" c:identifier="gdk_pixbuf_new_subpixbuf"> | |
| 2707 | 2649 | <doc xml:space="preserve" | |
| 2708 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2650 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2709 | 2651 | line="685">Creates a new pixbuf which represents a sub-region of `src_pixbuf`. | |
| 2710 | 2652 | ||
| 2711 | 2653 | The new pixbuf shares its pixels with the original pixbuf, so | |
| @@ -2715,42 +2657,41 @@ pixbuf is finalized. | |||
| 2715 | 2657 | ||
| 2716 | 2658 | Note that if `src_pixbuf` is read-only, this function will force it | |
| 2717 | 2659 | to be mutable.</doc> | |
| 2718 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2719 | - | line="222"/> | |
| 2660 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="222"/> | |
| 2720 | 2661 | <return-value transfer-ownership="full"> | |
| 2721 | 2662 | <doc xml:space="preserve" | |
| 2722 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2663 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2723 | 2664 | line="703">a new pixbuf</doc> | |
| 2724 | 2665 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2725 | 2666 | </return-value> | |
| 2726 | 2667 | <parameters> | |
| 2727 | 2668 | <instance-parameter name="src_pixbuf" transfer-ownership="none"> | |
| 2728 | 2669 | <doc xml:space="preserve" | |
| 2729 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2670 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2730 | 2671 | line="687">a `GdkPixbuf`</doc> | |
| 2731 | 2672 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2732 | 2673 | </instance-parameter> | |
| 2733 | 2674 | <parameter name="src_x" transfer-ownership="none"> | |
| 2734 | 2675 | <doc xml:space="preserve" | |
| 2735 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2676 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2736 | 2677 | line="688">X coord in @src_pixbuf</doc> | |
| 2737 | 2678 | <type name="gint" c:type="int"/> | |
| 2738 | 2679 | </parameter> | |
| 2739 | 2680 | <parameter name="src_y" transfer-ownership="none"> | |
| 2740 | 2681 | <doc xml:space="preserve" | |
| 2741 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2682 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2742 | 2683 | line="689">Y coord in @src_pixbuf</doc> | |
| 2743 | 2684 | <type name="gint" c:type="int"/> | |
| 2744 | 2685 | </parameter> | |
| 2745 | 2686 | <parameter name="width" transfer-ownership="none"> | |
| 2746 | 2687 | <doc xml:space="preserve" | |
| 2747 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2688 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2748 | 2689 | line="690">width of region in @src_pixbuf</doc> | |
| 2749 | 2690 | <type name="gint" c:type="int"/> | |
| 2750 | 2691 | </parameter> | |
| 2751 | 2692 | <parameter name="height" transfer-ownership="none"> | |
| 2752 | 2693 | <doc xml:space="preserve" | |
| 2753 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2694 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2754 | 2695 | line="691">height of region in @src_pixbuf</doc> | |
| 2755 | 2696 | <type name="gint" c:type="int"/> | |
| 2756 | 2697 | </parameter> | |
| @@ -2760,17 +2701,16 @@ to be mutable.</doc> | |||
| 2760 | 2701 | c:identifier="gdk_pixbuf_read_pixel_bytes" | |
| 2761 | 2702 | version="2.32"> | |
| 2762 | 2703 | <doc xml:space="preserve" | |
| 2763 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2704 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2764 | 2705 | line="924">Provides a #GBytes buffer containing the raw pixel data; the data | |
| 2765 | 2706 | must not be modified. | |
| 2766 | 2707 | ||
| 2767 | 2708 | This function allows skipping the implicit copy that must be made | |
| 2768 | 2709 | if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |
| 2769 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2770 | - | line="199"/> | |
| 2710 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="199"/> | |
| 2771 | 2711 | <return-value transfer-ownership="full"> | |
| 2772 | 2712 | <doc xml:space="preserve" | |
| 2773 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2713 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2774 | 2714 | line="934">A new reference to a read-only copy of | |
| 2775 | 2715 | the pixel data. Note that for mutable pixbufs, this function will | |
| 2776 | 2716 | incur a one-time copy of the pixel data for conversion into the | |
| @@ -2780,7 +2720,7 @@ if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |||
| 2780 | 2720 | <parameters> | |
| 2781 | 2721 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2782 | 2722 | <doc xml:space="preserve" | |
| 2783 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2723 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2784 | 2724 | line="926">A pixbuf</doc> | |
| 2785 | 2725 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2786 | 2726 | </instance-parameter> | |
| @@ -2790,23 +2730,22 @@ if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |||
| 2790 | 2730 | c:identifier="gdk_pixbuf_read_pixels" | |
| 2791 | 2731 | version="2.32"> | |
| 2792 | 2732 | <doc xml:space="preserve" | |
| 2793 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2733 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2794 | 2734 | line="890">Provides a read-only pointer to the raw pixel data. | |
| 2795 | 2735 | ||
| 2796 | 2736 | This function allows skipping the implicit copy that must be made | |
| 2797 | 2737 | if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |
| 2798 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2799 | - | line="197"/> | |
| 2738 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="197"/> | |
| 2800 | 2739 | <return-value transfer-ownership="none"> | |
| 2801 | 2740 | <doc xml:space="preserve" | |
| 2802 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2741 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2803 | 2742 | line="899">a read-only pointer to the raw pixel data</doc> | |
| 2804 | 2743 | <type name="guint8" c:type="const guint8*"/> | |
| 2805 | 2744 | </return-value> | |
| 2806 | 2745 | <parameters> | |
| 2807 | 2746 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2808 | 2747 | <doc xml:space="preserve" | |
| 2809 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2748 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2810 | 2749 | line="892">A pixbuf</doc> | |
| 2811 | 2750 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2812 | 2751 | </instance-parameter> | |
| @@ -2818,21 +2757,20 @@ if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |||
| 2818 | 2757 | deprecated="1" | |
| 2819 | 2758 | deprecated-version="2.0"> | |
| 2820 | 2759 | <doc xml:space="preserve" | |
| 2821 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2760 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2822 | 2761 | line="414">Adds a reference to a pixbuf.</doc> | |
| 2823 | 2762 | <doc-deprecated xml:space="preserve">Use g_object_ref().</doc-deprecated> | |
| 2824 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2825 | - | line="166"/> | |
| 2763 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="166"/> | |
| 2826 | 2764 | <return-value> | |
| 2827 | 2765 | <doc xml:space="preserve" | |
| 2828 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2766 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2829 | 2767 | line="420">The same as the @pixbuf argument.</doc> | |
| 2830 | 2768 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2831 | 2769 | </return-value> | |
| 2832 | 2770 | <parameters> | |
| 2833 | 2771 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2834 | 2772 | <doc xml:space="preserve" | |
| 2835 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2773 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2836 | 2774 | line="416">A pixbuf.</doc> | |
| 2837 | 2775 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2838 | 2776 | </instance-parameter> | |
| @@ -2842,26 +2780,25 @@ if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |||
| 2842 | 2780 | c:identifier="gdk_pixbuf_remove_option" | |
| 2843 | 2781 | version="2.36"> | |
| 2844 | 2782 | <doc xml:space="preserve" | |
| 2845 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2783 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2846 | 2784 | line="1191">Removes the key/value pair option attached to a `GdkPixbuf`.</doc> | |
| 2847 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2848 | - | line="513"/> | |
| 2785 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="513"/> | |
| 2849 | 2786 | <return-value transfer-ownership="none"> | |
| 2850 | 2787 | <doc xml:space="preserve" | |
| 2851 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2788 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2852 | 2789 | line="1198">`TRUE` if an option was removed, `FALSE` if not.</doc> | |
| 2853 | 2790 | <type name="gboolean" c:type="gboolean"/> | |
| 2854 | 2791 | </return-value> | |
| 2855 | 2792 | <parameters> | |
| 2856 | 2793 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2857 | 2794 | <doc xml:space="preserve" | |
| 2858 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2795 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2859 | 2796 | line="1193">a `GdkPixbuf`</doc> | |
| 2860 | 2797 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2861 | 2798 | </instance-parameter> | |
| 2862 | 2799 | <parameter name="key" transfer-ownership="none"> | |
| 2863 | 2800 | <doc xml:space="preserve" | |
| 2864 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2801 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2865 | 2802 | line="1194">a nul-terminated string representing the key to remove.</doc> | |
| 2866 | 2803 | <type name="utf8" c:type="const gchar*"/> | |
| 2867 | 2804 | </parameter> | |
| @@ -2871,29 +2808,29 @@ if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |||
| 2871 | 2808 | c:identifier="gdk_pixbuf_rotate_simple" | |
| 2872 | 2809 | version="2.6"> | |
| 2873 | 2810 | <doc xml:space="preserve" | |
| 2874 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2811 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2875 | 2812 | line="340">Rotates a pixbuf by a multiple of 90 degrees, and returns the | |
| 2876 | 2813 | result in a new pixbuf. | |
| 2877 | 2814 | ||
| 2878 | 2815 | If `angle` is 0, this function will return a copy of `src`.</doc> | |
| 2879 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 2816 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 2880 | 2817 | line="159"/> | |
| 2881 | 2818 | <return-value transfer-ownership="full" nullable="1"> | |
| 2882 | 2819 | <doc xml:space="preserve" | |
| 2883 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2820 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2884 | 2821 | line="350">the new pixbuf</doc> | |
| 2885 | 2822 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2886 | 2823 | </return-value> | |
| 2887 | 2824 | <parameters> | |
| 2888 | 2825 | <instance-parameter name="src" transfer-ownership="none"> | |
| 2889 | 2826 | <doc xml:space="preserve" | |
| 2890 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2827 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2891 | 2828 | line="342">a #GdkPixbuf</doc> | |
| 2892 | 2829 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2893 | 2830 | </instance-parameter> | |
| 2894 | 2831 | <parameter name="angle" transfer-ownership="none"> | |
| 2895 | 2832 | <doc xml:space="preserve" | |
| 2896 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2833 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2897 | 2834 | line="343">the angle to rotate by</doc> | |
| 2898 | 2835 | <type name="PixbufRotation" c:type="GdkPixbufRotation"/> | |
| 2899 | 2836 | </parameter> | |
| @@ -2902,7 +2839,7 @@ If `angle` is 0, this function will return a copy of `src`.</doc> | |||
| 2902 | 2839 | <method name="saturate_and_pixelate" | |
| 2903 | 2840 | c:identifier="gdk_pixbuf_saturate_and_pixelate"> | |
| 2904 | 2841 | <doc xml:space="preserve" | |
| 2905 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2842 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2906 | 2843 | line="172">Modifies saturation and optionally pixelates `src`, placing the result in | |
| 2907 | 2844 | `dest`. | |
| 2908 | 2845 | ||
| @@ -2917,33 +2854,32 @@ saturation is reduced (the image turns toward grayscale); if greater than | |||
| 2917 | 2854 | ||
| 2918 | 2855 | If `pixelate` is `TRUE`, then pixels are faded in a checkerboard pattern to | |
| 2919 | 2856 | create a pixelated image.</doc> | |
| 2920 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2921 | - | line="495"/> | |
| 2857 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="495"/> | |
| 2922 | 2858 | <return-value transfer-ownership="none"> | |
| 2923 | 2859 | <type name="none" c:type="void"/> | |
| 2924 | 2860 | </return-value> | |
| 2925 | 2861 | <parameters> | |
| 2926 | 2862 | <instance-parameter name="src" transfer-ownership="none"> | |
| 2927 | 2863 | <doc xml:space="preserve" | |
| 2928 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2864 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2929 | 2865 | line="174">source image</doc> | |
| 2930 | 2866 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2931 | 2867 | </instance-parameter> | |
| 2932 | 2868 | <parameter name="dest" transfer-ownership="none"> | |
| 2933 | 2869 | <doc xml:space="preserve" | |
| 2934 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2870 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2935 | 2871 | line="175">place to write modified version of @src</doc> | |
| 2936 | 2872 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2937 | 2873 | </parameter> | |
| 2938 | 2874 | <parameter name="saturation" transfer-ownership="none"> | |
| 2939 | 2875 | <doc xml:space="preserve" | |
| 2940 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2876 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2941 | 2877 | line="176">saturation factor</doc> | |
| 2942 | 2878 | <type name="gfloat" c:type="gfloat"/> | |
| 2943 | 2879 | </parameter> | |
| 2944 | 2880 | <parameter name="pixelate" transfer-ownership="none"> | |
| 2945 | 2881 | <doc xml:space="preserve" | |
| 2946 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2882 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2947 | 2883 | line="177">whether to pixelate</doc> | |
| 2948 | 2884 | <type name="gboolean" c:type="gboolean"/> | |
| 2949 | 2885 | </parameter> | |
| @@ -2951,7 +2887,7 @@ create a pixelated image.</doc> | |||
| 2951 | 2887 | </method> | |
| 2952 | 2888 | <method name="save" c:identifier="gdk_pixbuf_save" introspectable="0"> | |
| 2953 | 2889 | <doc xml:space="preserve" | |
| 2954 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2890 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2955 | 2891 | line="2416">Saves pixbuf to a file in format @type. By default, "jpeg", "png", "ico" | |
| 2956 | 2892 | and "bmp" are possible file formats to save in, but more formats may be | |
| 2957 | 2893 | installed. The list of all writable formats can be determined in the | |
| @@ -3023,30 +2959,29 @@ TIFF images recognize: | |||
| 3023 | 2959 | ICO images can be saved in depth 16, 24, or 32, by using the "depth" | |
| 3024 | 2960 | parameter. When the ICO saver is given "x_hot" and "y_hot" parameters, | |
| 3025 | 2961 | it produces a CUR instead of an ICO.</doc> | |
| 3026 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3027 | - | line="319"/> | |
| 2962 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="319"/> | |
| 3028 | 2963 | <return-value transfer-ownership="none"> | |
| 3029 | 2964 | <doc xml:space="preserve" | |
| 3030 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2965 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3031 | 2966 | line="2496">`TRUE` on success, and `FALSE` otherwise</doc> | |
| 3032 | 2967 | <type name="gboolean" c:type="gboolean"/> | |
| 3033 | 2968 | </return-value> | |
| 3034 | 2969 | <parameters> | |
| 3035 | 2970 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3036 | 2971 | <doc xml:space="preserve" | |
| 3037 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2972 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3038 | 2973 | line="2418">a `GdkPixbuf`.</doc> | |
| 3039 | 2974 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3040 | 2975 | </instance-parameter> | |
| 3041 | 2976 | <parameter name="filename" transfer-ownership="none"> | |
| 3042 | 2977 | <doc xml:space="preserve" | |
| 3043 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2978 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3044 | 2979 | line="2419">name of file to save.</doc> | |
| 3045 | 2980 | <type name="filename" c:type="const char*"/> | |
| 3046 | 2981 | </parameter> | |
| 3047 | 2982 | <parameter name="type" transfer-ownership="none"> | |
| 3048 | 2983 | <doc xml:space="preserve" | |
| 3049 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2984 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3050 | 2985 | line="2420">name of file format.</doc> | |
| 3051 | 2986 | <type name="utf8" c:type="const char*"/> | |
| 3052 | 2987 | </parameter> | |
| @@ -3055,13 +2990,13 @@ it produces a CUR instead of an ICO.</doc> | |||
| 3055 | 2990 | nullable="1" | |
| 3056 | 2991 | allow-none="1"> | |
| 3057 | 2992 | <doc xml:space="preserve" | |
| 3058 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2993 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3059 | 2994 | line="2421">return location for error</doc> | |
| 3060 | 2995 | <type name="GLib.Error" c:type="GError**"/> | |
| 3061 | 2996 | </parameter> | |
| 3062 | 2997 | <parameter name="..." transfer-ownership="none"> | |
| 3063 | 2998 | <doc xml:space="preserve" | |
| 3064 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2999 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3065 | 3000 | line="2422">list of key-value save options, followed by `NULL`</doc> | |
| 3066 | 3001 | <varargs/> | |
| 3067 | 3002 | </parameter> | |
| @@ -3072,7 +3007,7 @@ it produces a CUR instead of an ICO.</doc> | |||
| 3072 | 3007 | version="2.4" | |
| 3073 | 3008 | introspectable="0"> | |
| 3074 | 3009 | <doc xml:space="preserve" | |
| 3075 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3010 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3076 | 3011 | line="2753">Saves pixbuf to a new buffer in format `type`, which is currently "jpeg", | |
| 3077 | 3012 | "png", "tiff", "ico" or "bmp". | |
| 3078 | 3013 | ||
| @@ -3087,18 +3022,17 @@ If @error is set, `FALSE` will be returned and @buffer will be set to | |||
| 3087 | 3022 | domain. | |
| 3088 | 3023 | ||
| 3089 | 3024 | See `gdk_pixbuf_save()` for more details.</doc> | |
| 3090 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3091 | - | line="392"/> | |
| 3025 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="392"/> | |
| 3092 | 3026 | <return-value transfer-ownership="none"> | |
| 3093 | 3027 | <doc xml:space="preserve" | |
| 3094 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3028 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3095 | 3029 | line="2778">whether an error was set</doc> | |
| 3096 | 3030 | <type name="gboolean" c:type="gboolean"/> | |
| 3097 | 3031 | </return-value> | |
| 3098 | 3032 | <parameters> | |
| 3099 | 3033 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3100 | 3034 | <doc xml:space="preserve" | |
| 3101 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3035 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3102 | 3036 | line="2755">a `GdkPixbuf`.</doc> | |
| 3103 | 3037 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3104 | 3038 | </instance-parameter> | |
| @@ -3107,7 +3041,7 @@ See `gdk_pixbuf_save()` for more details.</doc> | |||
| 3107 | 3041 | caller-allocates="0" | |
| 3108 | 3042 | transfer-ownership="full"> | |
| 3109 | 3043 | <doc xml:space="preserve" | |
| 3110 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3044 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3111 | 3045 | line="2756">location to receive a pointer | |
| 3112 | 3046 | to the new buffer.</doc> | |
| 3113 | 3047 | <array length="1" zero-terminated="0" c:type="gchar**"> | |
| @@ -3119,13 +3053,13 @@ See `gdk_pixbuf_save()` for more details.</doc> | |||
| 3119 | 3053 | caller-allocates="0" | |
| 3120 | 3054 | transfer-ownership="full"> | |
| 3121 | 3055 | <doc xml:space="preserve" | |
| 3122 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3056 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3123 | 3057 | line="2758">location to receive the size of the new buffer.</doc> | |
| 3124 | 3058 | <type name="gsize" c:type="gsize*"/> | |
| 3125 | 3059 | </parameter> | |
| 3126 | 3060 | <parameter name="type" transfer-ownership="none"> | |
| 3127 | 3061 | <doc xml:space="preserve" | |
| 3128 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3062 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3129 | 3063 | line="2759">name of file format.</doc> | |
| 3130 | 3064 | <type name="utf8" c:type="const char*"/> | |
| 3131 | 3065 | </parameter> | |
| @@ -3134,13 +3068,13 @@ See `gdk_pixbuf_save()` for more details.</doc> | |||
| 3134 | 3068 | nullable="1" | |
| 3135 | 3069 | allow-none="1"> | |
| 3136 | 3070 | <doc xml:space="preserve" | |
| 3137 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3071 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3138 | 3072 | line="2760">return location for error, or `NULL`</doc> | |
| 3139 | 3073 | <type name="GLib.Error" c:type="GError**"/> | |
| 3140 | 3074 | </parameter> | |
| 3141 | 3075 | <parameter name="..." transfer-ownership="none"> | |
| 3142 | 3076 | <doc xml:space="preserve" | |
| 3143 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3077 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3144 | 3078 | line="2761">list of key-value save options</doc> | |
| 3145 | 3079 | <varargs/> | |
| 3146 | 3080 | </parameter> | |
| @@ -3151,25 +3085,24 @@ See `gdk_pixbuf_save()` for more details.</doc> | |||
| 3151 | 3085 | version="2.4" | |
| 3152 | 3086 | throws="1"> | |
| 3153 | 3087 | <doc xml:space="preserve" | |
| 3154 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3088 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3155 | 3089 | line="2846">Vector version of `gdk_pixbuf_save_to_buffer()`. | |
| 3156 | 3090 | ||
| 3157 | 3091 | Saves pixbuf to a new buffer in format @type, which is currently "jpeg", | |
| 3158 | 3092 | "tiff", "png", "ico" or "bmp". | |
| 3159 | 3093 | ||
| 3160 | 3094 | See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |
| 3161 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3162 | - | line="400"/> | |
| 3095 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="400"/> | |
| 3163 | 3096 | <return-value transfer-ownership="none"> | |
| 3164 | 3097 | <doc xml:space="preserve" | |
| 3165 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3098 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3166 | 3099 | line="2864">whether an error was set</doc> | |
| 3167 | 3100 | <type name="gboolean" c:type="gboolean"/> | |
| 3168 | 3101 | </return-value> | |
| 3169 | 3102 | <parameters> | |
| 3170 | 3103 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3171 | 3104 | <doc xml:space="preserve" | |
| 3172 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3105 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3173 | 3106 | line="2848">a `GdkPixbuf`.</doc> | |
| 3174 | 3107 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3175 | 3108 | </instance-parameter> | |
| @@ -3178,7 +3111,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |||
| 3178 | 3111 | caller-allocates="0" | |
| 3179 | 3112 | transfer-ownership="full"> | |
| 3180 | 3113 | <doc xml:space="preserve" | |
| 3181 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3114 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3182 | 3115 | line="2849"> | |
| 3183 | 3116 | location to receive a pointer to the new buffer.</doc> | |
| 3184 | 3117 | <array length="1" zero-terminated="0" c:type="gchar**"> | |
| @@ -3190,13 +3123,13 @@ See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |||
| 3190 | 3123 | caller-allocates="0" | |
| 3191 | 3124 | transfer-ownership="full"> | |
| 3192 | 3125 | <doc xml:space="preserve" | |
| 3193 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3126 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3194 | 3127 | line="2851">location to receive the size of the new buffer.</doc> | |
| 3195 | 3128 | <type name="gsize" c:type="gsize*"/> | |
| 3196 | 3129 | </parameter> | |
| 3197 | 3130 | <parameter name="type" transfer-ownership="none"> | |
| 3198 | 3131 | <doc xml:space="preserve" | |
| 3199 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3132 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3200 | 3133 | line="2852">name of file format.</doc> | |
| 3201 | 3134 | <type name="utf8" c:type="const char*"/> | |
| 3202 | 3135 | </parameter> | |
| @@ -3205,7 +3138,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |||
| 3205 | 3138 | nullable="1" | |
| 3206 | 3139 | allow-none="1"> | |
| 3207 | 3140 | <doc xml:space="preserve" | |
| 3208 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3141 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3209 | 3142 | line="2853">name of options to set</doc> | |
| 3210 | 3143 | <array c:type="char**"> | |
| 3211 | 3144 | <type name="utf8"/> | |
| @@ -3216,7 +3149,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |||
| 3216 | 3149 | nullable="1" | |
| 3217 | 3150 | allow-none="1"> | |
| 3218 | 3151 | <doc xml:space="preserve" | |
| 3219 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3152 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3220 | 3153 | line="2854">values for named options</doc> | |
| 3221 | 3154 | <array c:type="char**"> | |
| 3222 | 3155 | <type name="utf8"/> | |
| @@ -3229,7 +3162,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |||
| 3229 | 3162 | version="2.4" | |
| 3230 | 3163 | introspectable="0"> | |
| 3231 | 3164 | <doc xml:space="preserve" | |
| 3232 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3165 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3233 | 3166 | line="2640">Saves pixbuf in format `type` by feeding the produced data to a | |
| 3234 | 3167 | callback. | |
| 3235 | 3168 | ||
| @@ -3241,18 +3174,17 @@ include those in the `GDK_PIXBUF_ERROR` domain and whatever the save | |||
| 3241 | 3174 | function generates. | |
| 3242 | 3175 | ||
| 3243 | 3176 | See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |
| 3244 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3245 | - | line="373"/> | |
| 3177 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="373"/> | |
| 3246 | 3178 | <return-value transfer-ownership="none"> | |
| 3247 | 3179 | <doc xml:space="preserve" | |
| 3248 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3180 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3249 | 3181 | line="2662">whether an error was set</doc> | |
| 3250 | 3182 | <type name="gboolean" c:type="gboolean"/> | |
| 3251 | 3183 | </return-value> | |
| 3252 | 3184 | <parameters> | |
| 3253 | 3185 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3254 | 3186 | <doc xml:space="preserve" | |
| 3255 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3187 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3256 | 3188 | line="2642">a `GdkPixbuf`.</doc> | |
| 3257 | 3189 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3258 | 3190 | </instance-parameter> | |
| @@ -3261,7 +3193,7 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3261 | 3193 | scope="call" | |
| 3262 | 3194 | closure="1"> | |
| 3263 | 3195 | <doc xml:space="preserve" | |
| 3264 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3196 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3265 | 3197 | line="2643">a function that is called to save each block of data that | |
| 3266 | 3198 | the save routine generates.</doc> | |
| 3267 | 3199 | <type name="PixbufSaveFunc" c:type="GdkPixbufSaveFunc"/> | |
| @@ -3271,13 +3203,13 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3271 | 3203 | nullable="1" | |
| 3272 | 3204 | allow-none="1"> | |
| 3273 | 3205 | <doc xml:space="preserve" | |
| 3274 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3206 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3275 | 3207 | line="2645">user data to pass to the save function.</doc> | |
| 3276 | 3208 | <type name="gpointer" c:type="gpointer"/> | |
| 3277 | 3209 | </parameter> | |
| 3278 | 3210 | <parameter name="type" transfer-ownership="none"> | |
| 3279 | 3211 | <doc xml:space="preserve" | |
| 3280 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3212 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3281 | 3213 | line="2646">name of file format.</doc> | |
| 3282 | 3214 | <type name="utf8" c:type="const char*"/> | |
| 3283 | 3215 | </parameter> | |
| @@ -3286,13 +3218,13 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3286 | 3218 | nullable="1" | |
| 3287 | 3219 | allow-none="1"> | |
| 3288 | 3220 | <doc xml:space="preserve" | |
| 3289 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3221 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3290 | 3222 | line="2647">return location for error, or `NULL`</doc> | |
| 3291 | 3223 | <type name="GLib.Error" c:type="GError**"/> | |
| 3292 | 3224 | </parameter> | |
| 3293 | 3225 | <parameter name="..." transfer-ownership="none"> | |
| 3294 | 3226 | <doc xml:space="preserve" | |
| 3295 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3227 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3296 | 3228 | line="2648">list of key-value save options</doc> | |
| 3297 | 3229 | <varargs/> | |
| 3298 | 3230 | </parameter> | |
| @@ -3303,7 +3235,7 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3303 | 3235 | version="2.4" | |
| 3304 | 3236 | throws="1"> | |
| 3305 | 3237 | <doc xml:space="preserve" | |
| 3306 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3238 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3307 | 3239 | line="2697">Vector version of `gdk_pixbuf_save_to_callback()`. | |
| 3308 | 3240 | ||
| 3309 | 3241 | Saves pixbuf to a callback in format @type, which is currently "jpeg", | |
| @@ -3312,18 +3244,17 @@ Saves pixbuf to a callback in format @type, which is currently "jpeg", | |||
| 3312 | 3244 | If @error is set, `FALSE` will be returned. | |
| 3313 | 3245 | ||
| 3314 | 3246 | See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |
| 3315 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3316 | - | line="381"/> | |
| 3247 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="381"/> | |
| 3317 | 3248 | <return-value transfer-ownership="none"> | |
| 3318 | 3249 | <doc xml:space="preserve" | |
| 3319 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3250 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3320 | 3251 | line="2717">whether an error was set</doc> | |
| 3321 | 3252 | <type name="gboolean" c:type="gboolean"/> | |
| 3322 | 3253 | </return-value> | |
| 3323 | 3254 | <parameters> | |
| 3324 | 3255 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3325 | 3256 | <doc xml:space="preserve" | |
| 3326 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3257 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3327 | 3258 | line="2699">a `GdkPixbuf`.</doc> | |
| 3328 | 3259 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3329 | 3260 | </instance-parameter> | |
| @@ -3332,7 +3263,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |||
| 3332 | 3263 | scope="call" | |
| 3333 | 3264 | closure="1"> | |
| 3334 | 3265 | <doc xml:space="preserve" | |
| 3335 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3266 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3336 | 3267 | line="2700">a function that is called to save each block of data that | |
| 3337 | 3268 | the save routine generates.</doc> | |
| 3338 | 3269 | <type name="PixbufSaveFunc" c:type="GdkPixbufSaveFunc"/> | |
| @@ -3342,13 +3273,13 @@ See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |||
| 3342 | 3273 | nullable="1" | |
| 3343 | 3274 | allow-none="1"> | |
| 3344 | 3275 | <doc xml:space="preserve" | |
| 3345 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3276 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3346 | 3277 | line="2702">user data to pass to the save function.</doc> | |
| 3347 | 3278 | <type name="gpointer" c:type="gpointer"/> | |
| 3348 | 3279 | </parameter> | |
| 3349 | 3280 | <parameter name="type" transfer-ownership="none"> | |
| 3350 | 3281 | <doc xml:space="preserve" | |
| 3351 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3282 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3352 | 3283 | line="2703">name of file format.</doc> | |
| 3353 | 3284 | <type name="utf8" c:type="const char*"/> | |
| 3354 | 3285 | </parameter> | |
| @@ -3357,7 +3288,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |||
| 3357 | 3288 | nullable="1" | |
| 3358 | 3289 | allow-none="1"> | |
| 3359 | 3290 | <doc xml:space="preserve" | |
| 3360 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3291 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3361 | 3292 | line="2704">name of options to set</doc> | |
| 3362 | 3293 | <array c:type="char**"> | |
| 3363 | 3294 | <type name="utf8"/> | |
| @@ -3368,7 +3299,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |||
| 3368 | 3299 | nullable="1" | |
| 3369 | 3300 | allow-none="1"> | |
| 3370 | 3301 | <doc xml:space="preserve" | |
| 3371 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3302 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3372 | 3303 | line="2705">values for named options</doc> | |
| 3373 | 3304 | <array c:type="char**"> | |
| 3374 | 3305 | <type name="utf8"/> | |
| @@ -3381,7 +3312,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |||
| 3381 | 3312 | version="2.14" | |
| 3382 | 3313 | introspectable="0"> | |
| 3383 | 3314 | <doc xml:space="preserve" | |
| 3384 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3315 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3385 | 3316 | line="2990">Saves `pixbuf` to an output stream. | |
| 3386 | 3317 | ||
| 3387 | 3318 | Supported file formats are currently "jpeg", "tiff", "png", "ico" or | |
| @@ -3393,11 +3324,10 @@ will be returned. Other possible errors are in the `GDK_PIXBUF_ERROR` | |||
| 3393 | 3324 | and `G_IO_ERROR` domains. | |
| 3394 | 3325 | ||
| 3395 | 3326 | The stream is not closed at the end of this call.</doc> | |
| 3396 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3397 | - | line="441"/> | |
| 3327 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="441"/> | |
| 3398 | 3328 | <return-value transfer-ownership="none"> | |
| 3399 | 3329 | <doc xml:space="preserve" | |
| 3400 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3330 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3401 | 3331 | line="3011">`TRUE` if the pixbuf was saved successfully, `FALSE` if an | |
| 3402 | 3332 | error was set.</doc> | |
| 3403 | 3333 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -3405,19 +3335,19 @@ The stream is not closed at the end of this call.</doc> | |||
| 3405 | 3335 | <parameters> | |
| 3406 | 3336 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3407 | 3337 | <doc xml:space="preserve" | |
| 3408 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3338 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3409 | 3339 | line="2992">a `GdkPixbuf`</doc> | |
| 3410 | 3340 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3411 | 3341 | </instance-parameter> | |
| 3412 | 3342 | <parameter name="stream" transfer-ownership="none"> | |
| 3413 | 3343 | <doc xml:space="preserve" | |
| 3414 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3344 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3415 | 3345 | line="2993">a `GOutputStream` to save the pixbuf to</doc> | |
| 3416 | 3346 | <type name="Gio.OutputStream" c:type="GOutputStream*"/> | |
| 3417 | 3347 | </parameter> | |
| 3418 | 3348 | <parameter name="type" transfer-ownership="none"> | |
| 3419 | 3349 | <doc xml:space="preserve" | |
| 3420 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3350 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3421 | 3351 | line="2994">name of file format</doc> | |
| 3422 | 3352 | <type name="utf8" c:type="const char*"/> | |
| 3423 | 3353 | </parameter> | |
| @@ -3426,7 +3356,7 @@ The stream is not closed at the end of this call.</doc> | |||
| 3426 | 3356 | nullable="1" | |
| 3427 | 3357 | allow-none="1"> | |
| 3428 | 3358 | <doc xml:space="preserve" | |
| 3429 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3359 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3430 | 3360 | line="2995">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 3431 | 3361 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 3432 | 3362 | </parameter> | |
| @@ -3435,13 +3365,13 @@ The stream is not closed at the end of this call.</doc> | |||
| 3435 | 3365 | nullable="1" | |
| 3436 | 3366 | allow-none="1"> | |
| 3437 | 3367 | <doc xml:space="preserve" | |
| 3438 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3368 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3439 | 3369 | line="2996">return location for error, or `NULL`</doc> | |
| 3440 | 3370 | <type name="GLib.Error" c:type="GError**"/> | |
| 3441 | 3371 | </parameter> | |
| 3442 | 3372 | <parameter name="..." transfer-ownership="none"> | |
| 3443 | 3373 | <doc xml:space="preserve" | |
| 3444 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3374 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3445 | 3375 | line="2997">list of key-value save options</doc> | |
| 3446 | 3376 | <varargs/> | |
| 3447 | 3377 | </parameter> | |
| @@ -3452,7 +3382,7 @@ The stream is not closed at the end of this call.</doc> | |||
| 3452 | 3382 | version="2.24" | |
| 3453 | 3383 | introspectable="0"> | |
| 3454 | 3384 | <doc xml:space="preserve" | |
| 3455 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3385 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3456 | 3386 | line="3144">Saves `pixbuf` to an output stream asynchronously. | |
| 3457 | 3387 | ||
| 3458 | 3388 | For more details see gdk_pixbuf_save_to_stream(), which is the synchronous | |
| @@ -3462,27 +3392,26 @@ When the operation is finished, `callback` will be called in the main thread. | |||
| 3462 | 3392 | ||
| 3463 | 3393 | You can then call gdk_pixbuf_save_to_stream_finish() to get the result of | |
| 3464 | 3394 | the operation.</doc> | |
| 3465 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3466 | - | line="449"/> | |
| 3395 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="449"/> | |
| 3467 | 3396 | <return-value transfer-ownership="none"> | |
| 3468 | 3397 | <type name="none" c:type="void"/> | |
| 3469 | 3398 | </return-value> | |
| 3470 | 3399 | <parameters> | |
| 3471 | 3400 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3472 | 3401 | <doc xml:space="preserve" | |
| 3473 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3402 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3474 | 3403 | line="3146">a `GdkPixbuf`</doc> | |
| 3475 | 3404 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3476 | 3405 | </instance-parameter> | |
| 3477 | 3406 | <parameter name="stream" transfer-ownership="none"> | |
| 3478 | 3407 | <doc xml:space="preserve" | |
| 3479 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3408 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3480 | 3409 | line="3147">a `GOutputStream` to which to save the pixbuf</doc> | |
| 3481 | 3410 | <type name="Gio.OutputStream" c:type="GOutputStream*"/> | |
| 3482 | 3411 | </parameter> | |
| 3483 | 3412 | <parameter name="type" transfer-ownership="none"> | |
| 3484 | 3413 | <doc xml:space="preserve" | |
| 3485 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3414 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3486 | 3415 | line="3148">name of file format</doc> | |
| 3487 | 3416 | <type name="utf8" c:type="const gchar*"/> | |
| 3488 | 3417 | </parameter> | |
| @@ -3491,7 +3420,7 @@ the operation.</doc> | |||
| 3491 | 3420 | nullable="1" | |
| 3492 | 3421 | allow-none="1"> | |
| 3493 | 3422 | <doc xml:space="preserve" | |
| 3494 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3423 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3495 | 3424 | line="3149">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 3496 | 3425 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 3497 | 3426 | </parameter> | |
| @@ -3502,7 +3431,7 @@ the operation.</doc> | |||
| 3502 | 3431 | scope="async" | |
| 3503 | 3432 | closure="4"> | |
| 3504 | 3433 | <doc xml:space="preserve" | |
| 3505 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3434 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3506 | 3435 | line="3150">a `GAsyncReadyCallback` to call when the pixbuf is saved</doc> | |
| 3507 | 3436 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 3508 | 3437 | </parameter> | |
| @@ -3511,13 +3440,13 @@ the operation.</doc> | |||
| 3511 | 3440 | nullable="1" | |
| 3512 | 3441 | allow-none="1"> | |
| 3513 | 3442 | <doc xml:space="preserve" | |
| 3514 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3443 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3515 | 3444 | line="3151">the data to pass to the callback function</doc> | |
| 3516 | 3445 | <type name="gpointer" c:type="gpointer"/> | |
| 3517 | 3446 | </parameter> | |
| 3518 | 3447 | <parameter name="..." transfer-ownership="none"> | |
| 3519 | 3448 | <doc xml:space="preserve" | |
| 3520 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3449 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3521 | 3450 | line="3152">list of key-value save options</doc> | |
| 3522 | 3451 | <varargs/> | |
| 3523 | 3452 | </parameter> | |
| @@ -3528,18 +3457,17 @@ the operation.</doc> | |||
| 3528 | 3457 | version="2.36" | |
| 3529 | 3458 | throws="1"> | |
| 3530 | 3459 | <doc xml:space="preserve" | |
| 3531 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3460 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3532 | 3461 | line="2948">Saves `pixbuf` to an output stream. | |
| 3533 | 3462 | ||
| 3534 | 3463 | Supported file formats are currently "jpeg", "tiff", "png", "ico" or | |
| 3535 | 3464 | "bmp". | |
| 3536 | 3465 | ||
| 3537 | 3466 | See [method@GdkPixbuf.Pixbuf.save_to_stream] for more details.</doc> | |
| 3538 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3539 | - | line="472"/> | |
| 3467 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="472"/> | |
| 3540 | 3468 | <return-value transfer-ownership="none"> | |
| 3541 | 3469 | <doc xml:space="preserve" | |
| 3542 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3470 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3543 | 3471 | line="2965">`TRUE` if the pixbuf was saved successfully, `FALSE` if an | |
| 3544 | 3472 | error was set.</doc> | |
| 3545 | 3473 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -3547,19 +3475,19 @@ See [method@GdkPixbuf.Pixbuf.save_to_stream] for more details.</doc> | |||
| 3547 | 3475 | <parameters> | |
| 3548 | 3476 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3549 | 3477 | <doc xml:space="preserve" | |
| 3550 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3478 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3551 | 3479 | line="2950">a `GdkPixbuf`</doc> | |
| 3552 | 3480 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3553 | 3481 | </instance-parameter> | |
| 3554 | 3482 | <parameter name="stream" transfer-ownership="none"> | |
| 3555 | 3483 | <doc xml:space="preserve" | |
| 3556 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3484 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3557 | 3485 | line="2951">a `GOutputStream` to save the pixbuf to</doc> | |
| 3558 | 3486 | <type name="Gio.OutputStream" c:type="GOutputStream*"/> | |
| 3559 | 3487 | </parameter> | |
| 3560 | 3488 | <parameter name="type" transfer-ownership="none"> | |
| 3561 | 3489 | <doc xml:space="preserve" | |
| 3562 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3490 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3563 | 3491 | line="2952">name of file format</doc> | |
| 3564 | 3492 | <type name="utf8" c:type="const char*"/> | |
| 3565 | 3493 | </parameter> | |
| @@ -3568,7 +3496,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_stream] for more details.</doc> | |||
| 3568 | 3496 | nullable="1" | |
| 3569 | 3497 | allow-none="1"> | |
| 3570 | 3498 | <doc xml:space="preserve" | |
| 3571 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3499 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3572 | 3500 | line="2953">name of options to set</doc> | |
| 3573 | 3501 | <array c:type="char**"> | |
| 3574 | 3502 | <type name="utf8"/> | |
| @@ -3579,7 +3507,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_stream] for more details.</doc> | |||
| 3579 | 3507 | nullable="1" | |
| 3580 | 3508 | allow-none="1"> | |
| 3581 | 3509 | <doc xml:space="preserve" | |
| 3582 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3510 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3583 | 3511 | line="2954">values for named options</doc> | |
| 3584 | 3512 | <array c:type="char**"> | |
| 3585 | 3513 | <type name="utf8"/> | |
| @@ -3590,7 +3518,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_stream] for more details.</doc> | |||
| 3590 | 3518 | nullable="1" | |
| 3591 | 3519 | allow-none="1"> | |
| 3592 | 3520 | <doc xml:space="preserve" | |
| 3593 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3521 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3594 | 3522 | line="2955">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 3595 | 3523 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 3596 | 3524 | </parameter> | |
| @@ -3600,7 +3528,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_stream] for more details.</doc> | |||
| 3600 | 3528 | c:identifier="gdk_pixbuf_save_to_streamv_async" | |
| 3601 | 3529 | version="2.36"> | |
| 3602 | 3530 | <doc xml:space="preserve" | |
| 3603 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3531 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3604 | 3532 | line="3086">Saves `pixbuf` to an output stream asynchronously. | |
| 3605 | 3533 | ||
| 3606 | 3534 | For more details see gdk_pixbuf_save_to_streamv(), which is the synchronous | |
| @@ -3610,27 +3538,26 @@ When the operation is finished, `callback` will be called in the main thread. | |||
| 3610 | 3538 | ||
| 3611 | 3539 | You can then call gdk_pixbuf_save_to_stream_finish() to get the result of | |
| 3612 | 3540 | the operation.</doc> | |
| 3613 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3614 | - | line="462"/> | |
| 3541 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="462"/> | |
| 3615 | 3542 | <return-value transfer-ownership="none"> | |
| 3616 | 3543 | <type name="none" c:type="void"/> | |
| 3617 | 3544 | </return-value> | |
| 3618 | 3545 | <parameters> | |
| 3619 | 3546 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3620 | 3547 | <doc xml:space="preserve" | |
| 3621 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3548 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3622 | 3549 | line="3088">a `GdkPixbuf`</doc> | |
| 3623 | 3550 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3624 | 3551 | </instance-parameter> | |
| 3625 | 3552 | <parameter name="stream" transfer-ownership="none"> | |
| 3626 | 3553 | <doc xml:space="preserve" | |
| 3627 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3554 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3628 | 3555 | line="3089">a `GOutputStream` to which to save the pixbuf</doc> | |
| 3629 | 3556 | <type name="Gio.OutputStream" c:type="GOutputStream*"/> | |
| 3630 | 3557 | </parameter> | |
| 3631 | 3558 | <parameter name="type" transfer-ownership="none"> | |
| 3632 | 3559 | <doc xml:space="preserve" | |
| 3633 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3560 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3634 | 3561 | line="3090">name of file format</doc> | |
| 3635 | 3562 | <type name="utf8" c:type="const gchar*"/> | |
| 3636 | 3563 | </parameter> | |
| @@ -3639,7 +3566,7 @@ the operation.</doc> | |||
| 3639 | 3566 | nullable="1" | |
| 3640 | 3567 | allow-none="1"> | |
| 3641 | 3568 | <doc xml:space="preserve" | |
| 3642 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3569 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3643 | 3570 | line="3091">name of options to set</doc> | |
| 3644 | 3571 | <array c:type="gchar**"> | |
| 3645 | 3572 | <type name="utf8"/> | |
| @@ -3650,7 +3577,7 @@ the operation.</doc> | |||
| 3650 | 3577 | nullable="1" | |
| 3651 | 3578 | allow-none="1"> | |
| 3652 | 3579 | <doc xml:space="preserve" | |
| 3653 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3580 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3654 | 3581 | line="3092">values for named options</doc> | |
| 3655 | 3582 | <array c:type="gchar**"> | |
| 3656 | 3583 | <type name="utf8"/> | |
| @@ -3661,7 +3588,7 @@ the operation.</doc> | |||
| 3661 | 3588 | nullable="1" | |
| 3662 | 3589 | allow-none="1"> | |
| 3663 | 3590 | <doc xml:space="preserve" | |
| 3664 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3591 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3665 | 3592 | line="3093">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 3666 | 3593 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 3667 | 3594 | </parameter> | |
| @@ -3672,7 +3599,7 @@ the operation.</doc> | |||
| 3672 | 3599 | scope="async" | |
| 3673 | 3600 | closure="6"> | |
| 3674 | 3601 | <doc xml:space="preserve" | |
| 3675 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3602 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3676 | 3603 | line="3094">a `GAsyncReadyCallback` to call when the pixbuf is saved</doc> | |
| 3677 | 3604 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 3678 | 3605 | </parameter> | |
| @@ -3681,7 +3608,7 @@ the operation.</doc> | |||
| 3681 | 3608 | nullable="1" | |
| 3682 | 3609 | allow-none="1"> | |
| 3683 | 3610 | <doc xml:space="preserve" | |
| 3684 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3611 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3685 | 3612 | line="3095">the data to pass to the callback function</doc> | |
| 3686 | 3613 | <type name="gpointer" c:type="gpointer"/> | |
| 3687 | 3614 | </parameter> | |
| @@ -3689,7 +3616,7 @@ the operation.</doc> | |||
| 3689 | 3616 | </method> | |
| 3690 | 3617 | <method name="savev" c:identifier="gdk_pixbuf_savev" throws="1"> | |
| 3691 | 3618 | <doc xml:space="preserve" | |
| 3692 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3619 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3693 | 3620 | line="2528">Vector version of `gdk_pixbuf_save()`. | |
| 3694 | 3621 | ||
| 3695 | 3622 | Saves pixbuf to a file in `type`, which is currently "jpeg", "png", "tiff", "ico" or "bmp". | |
| @@ -3697,30 +3624,29 @@ Saves pixbuf to a file in `type`, which is currently "jpeg", "png", "tiff", "ico | |||
| 3697 | 3624 | If @error is set, `FALSE` will be returned. | |
| 3698 | 3625 | ||
| 3699 | 3626 | See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |
| 3700 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3701 | - | line="326"/> | |
| 3627 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="326"/> | |
| 3702 | 3628 | <return-value transfer-ownership="none"> | |
| 3703 | 3629 | <doc xml:space="preserve" | |
| 3704 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3630 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3705 | 3631 | line="2545">whether an error was set</doc> | |
| 3706 | 3632 | <type name="gboolean" c:type="gboolean"/> | |
| 3707 | 3633 | </return-value> | |
| 3708 | 3634 | <parameters> | |
| 3709 | 3635 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3710 | 3636 | <doc xml:space="preserve" | |
| 3711 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3637 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3712 | 3638 | line="2530">a `GdkPixbuf`.</doc> | |
| 3713 | 3639 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3714 | 3640 | </instance-parameter> | |
| 3715 | 3641 | <parameter name="filename" transfer-ownership="none"> | |
| 3716 | 3642 | <doc xml:space="preserve" | |
| 3717 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3643 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3718 | 3644 | line="2531">name of file to save.</doc> | |
| 3719 | 3645 | <type name="filename" c:type="const char*"/> | |
| 3720 | 3646 | </parameter> | |
| 3721 | 3647 | <parameter name="type" transfer-ownership="none"> | |
| 3722 | 3648 | <doc xml:space="preserve" | |
| 3723 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3649 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3724 | 3650 | line="2532">name of file format.</doc> | |
| 3725 | 3651 | <type name="utf8" c:type="const char*"/> | |
| 3726 | 3652 | </parameter> | |
| @@ -3729,7 +3655,7 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3729 | 3655 | nullable="1" | |
| 3730 | 3656 | allow-none="1"> | |
| 3731 | 3657 | <doc xml:space="preserve" | |
| 3732 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3658 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3733 | 3659 | line="2533">name of options to set</doc> | |
| 3734 | 3660 | <array c:type="char**"> | |
| 3735 | 3661 | <type name="utf8"/> | |
| @@ -3740,7 +3666,7 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3740 | 3666 | nullable="1" | |
| 3741 | 3667 | allow-none="1"> | |
| 3742 | 3668 | <doc xml:space="preserve" | |
| 3743 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3669 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3744 | 3670 | line="2534">values for named options</doc> | |
| 3745 | 3671 | <array c:type="char**"> | |
| 3746 | 3672 | <type name="utf8"/> | |
| @@ -3750,7 +3676,7 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3750 | 3676 | </method> | |
| 3751 | 3677 | <method name="scale" c:identifier="gdk_pixbuf_scale"> | |
| 3752 | 3678 | <doc xml:space="preserve" | |
| 3753 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3679 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3754 | 3680 | line="28">Creates a transformation of the source image @src by scaling by | |
| 3755 | 3681 | @scale_x and @scale_y then translating by @offset_x and @offset_y, | |
| 3756 | 3682 | then renders the rectangle (@dest_x, @dest_y, @dest_width, | |
| @@ -3764,7 +3690,7 @@ gdk_pixbuf_scale_simple() isn't powerful enough. | |||
| 3764 | 3690 | If the source rectangle overlaps the destination rectangle on the | |
| 3765 | 3691 | same pixbuf, it will be overwritten during the scaling which | |
| 3766 | 3692 | results in rendering artifacts.</doc> | |
| 3767 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 3693 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 3768 | 3694 | line="99"/> | |
| 3769 | 3695 | <return-value transfer-ownership="none"> | |
| 3770 | 3696 | <type name="none" c:type="void"/> | |
| @@ -3772,67 +3698,67 @@ results in rendering artifacts.</doc> | |||
| 3772 | 3698 | <parameters> | |
| 3773 | 3699 | <instance-parameter name="src" transfer-ownership="none"> | |
| 3774 | 3700 | <doc xml:space="preserve" | |
| 3775 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3701 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3776 | 3702 | line="30">a #GdkPixbuf</doc> | |
| 3777 | 3703 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 3778 | 3704 | </instance-parameter> | |
| 3779 | 3705 | <parameter name="dest" transfer-ownership="none"> | |
| 3780 | 3706 | <doc xml:space="preserve" | |
| 3781 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3707 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3782 | 3708 | line="31">the #GdkPixbuf into which to render the results</doc> | |
| 3783 | 3709 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3784 | 3710 | </parameter> | |
| 3785 | 3711 | <parameter name="dest_x" transfer-ownership="none"> | |
| 3786 | 3712 | <doc xml:space="preserve" | |
| 3787 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3713 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3788 | 3714 | line="32">the left coordinate for region to render</doc> | |
| 3789 | 3715 | <type name="gint" c:type="int"/> | |
| 3790 | 3716 | </parameter> | |
| 3791 | 3717 | <parameter name="dest_y" transfer-ownership="none"> | |
| 3792 | 3718 | <doc xml:space="preserve" | |
| 3793 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3719 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3794 | 3720 | line="33">the top coordinate for region to render</doc> | |
| 3795 | 3721 | <type name="gint" c:type="int"/> | |
| 3796 | 3722 | </parameter> | |
| 3797 | 3723 | <parameter name="dest_width" transfer-ownership="none"> | |
| 3798 | 3724 | <doc xml:space="preserve" | |
| 3799 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3725 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3800 | 3726 | line="34">the width of the region to render</doc> | |
| 3801 | 3727 | <type name="gint" c:type="int"/> | |
| 3802 | 3728 | </parameter> | |
| 3803 | 3729 | <parameter name="dest_height" transfer-ownership="none"> | |
| 3804 | 3730 | <doc xml:space="preserve" | |
| 3805 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3731 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3806 | 3732 | line="35">the height of the region to render</doc> | |
| 3807 | 3733 | <type name="gint" c:type="int"/> | |
| 3808 | 3734 | </parameter> | |
| 3809 | 3735 | <parameter name="offset_x" transfer-ownership="none"> | |
| 3810 | 3736 | <doc xml:space="preserve" | |
| 3811 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3737 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3812 | 3738 | line="36">the offset in the X direction (currently rounded to an integer)</doc> | |
| 3813 | 3739 | <type name="gdouble" c:type="double"/> | |
| 3814 | 3740 | </parameter> | |
| 3815 | 3741 | <parameter name="offset_y" transfer-ownership="none"> | |
| 3816 | 3742 | <doc xml:space="preserve" | |
| 3817 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3743 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3818 | 3744 | line="37">the offset in the Y direction (currently rounded to an integer)</doc> | |
| 3819 | 3745 | <type name="gdouble" c:type="double"/> | |
| 3820 | 3746 | </parameter> | |
| 3821 | 3747 | <parameter name="scale_x" transfer-ownership="none"> | |
| 3822 | 3748 | <doc xml:space="preserve" | |
| 3823 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3749 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3824 | 3750 | line="38">the scale factor in the X direction</doc> | |
| 3825 | 3751 | <type name="gdouble" c:type="double"/> | |
| 3826 | 3752 | </parameter> | |
| 3827 | 3753 | <parameter name="scale_y" transfer-ownership="none"> | |
| 3828 | 3754 | <doc xml:space="preserve" | |
| 3829 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3755 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3830 | 3756 | line="39">the scale factor in the Y direction</doc> | |
| 3831 | 3757 | <type name="gdouble" c:type="double"/> | |
| 3832 | 3758 | </parameter> | |
| 3833 | 3759 | <parameter name="interp_type" transfer-ownership="none"> | |
| 3834 | 3760 | <doc xml:space="preserve" | |
| 3835 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3761 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3836 | 3762 | line="40">the interpolation type for the transformation.</doc> | |
| 3837 | 3763 | <type name="InterpType" c:type="GdkInterpType"/> | |
| 3838 | 3764 | </parameter> | |
| @@ -3840,7 +3766,7 @@ results in rendering artifacts.</doc> | |||
| 3840 | 3766 | </method> | |
| 3841 | 3767 | <method name="scale_simple" c:identifier="gdk_pixbuf_scale_simple"> | |
| 3842 | 3768 | <doc xml:space="preserve" | |
| 3843 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3769 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3844 | 3770 | line="236">Create a new pixbuf containing a copy of `src` scaled to | |
| 3845 | 3771 | `dest_width` x `dest_height`. | |
| 3846 | 3772 | ||
| @@ -3859,36 +3785,36 @@ If `dest_width` and `dest_height` are equal to the width and height of | |||
| 3859 | 3785 | ||
| 3860 | 3786 | For more complicated scaling/alpha blending see [method@GdkPixbuf.Pixbuf.scale] | |
| 3861 | 3787 | and [method@GdkPixbuf.Pixbuf.composite].</doc> | |
| 3862 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 3788 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 3863 | 3789 | line="143"/> | |
| 3864 | 3790 | <return-value transfer-ownership="full" nullable="1"> | |
| 3865 | 3791 | <doc xml:space="preserve" | |
| 3866 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3792 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3867 | 3793 | line="262">the new pixbuf</doc> | |
| 3868 | 3794 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3869 | 3795 | </return-value> | |
| 3870 | 3796 | <parameters> | |
| 3871 | 3797 | <instance-parameter name="src" transfer-ownership="none"> | |
| 3872 | 3798 | <doc xml:space="preserve" | |
| 3873 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3799 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3874 | 3800 | line="238">a #GdkPixbuf</doc> | |
| 3875 | 3801 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 3876 | 3802 | </instance-parameter> | |
| 3877 | 3803 | <parameter name="dest_width" transfer-ownership="none"> | |
| 3878 | 3804 | <doc xml:space="preserve" | |
| 3879 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3805 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3880 | 3806 | line="239">the width of destination image</doc> | |
| 3881 | 3807 | <type name="gint" c:type="int"/> | |
| 3882 | 3808 | </parameter> | |
| 3883 | 3809 | <parameter name="dest_height" transfer-ownership="none"> | |
| 3884 | 3810 | <doc xml:space="preserve" | |
| 3885 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3811 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3886 | 3812 | line="240">the height of destination image</doc> | |
| 3887 | 3813 | <type name="gint" c:type="int"/> | |
| 3888 | 3814 | </parameter> | |
| 3889 | 3815 | <parameter name="interp_type" transfer-ownership="none"> | |
| 3890 | 3816 | <doc xml:space="preserve" | |
| 3891 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3817 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3892 | 3818 | line="241">the interpolation type for the transformation.</doc> | |
| 3893 | 3819 | <type name="InterpType" c:type="GdkInterpType"/> | |
| 3894 | 3820 | </parameter> | |
| @@ -3898,35 +3824,34 @@ and [method@GdkPixbuf.Pixbuf.composite].</doc> | |||
| 3898 | 3824 | c:identifier="gdk_pixbuf_set_option" | |
| 3899 | 3825 | version="2.2"> | |
| 3900 | 3826 | <doc xml:space="preserve" | |
| 3901 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3827 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3902 | 3828 | line="1257">Attaches a key/value pair as an option to a `GdkPixbuf`. | |
| 3903 | 3829 | ||
| 3904 | 3830 | If `key` already exists in the list of options attached to the `pixbuf`, | |
| 3905 | 3831 | the new value is ignored and `FALSE` is returned.</doc> | |
| 3906 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3907 | - | line="506"/> | |
| 3832 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="506"/> | |
| 3908 | 3833 | <return-value transfer-ownership="none"> | |
| 3909 | 3834 | <doc xml:space="preserve" | |
| 3910 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3835 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3911 | 3836 | line="1268">`TRUE` on success</doc> | |
| 3912 | 3837 | <type name="gboolean" c:type="gboolean"/> | |
| 3913 | 3838 | </return-value> | |
| 3914 | 3839 | <parameters> | |
| 3915 | 3840 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3916 | 3841 | <doc xml:space="preserve" | |
| 3917 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3842 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3918 | 3843 | line="1259">a `GdkPixbuf`</doc> | |
| 3919 | 3844 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3920 | 3845 | </instance-parameter> | |
| 3921 | 3846 | <parameter name="key" transfer-ownership="none"> | |
| 3922 | 3847 | <doc xml:space="preserve" | |
| 3923 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3848 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3924 | 3849 | line="1260">a nul-terminated string.</doc> | |
| 3925 | 3850 | <type name="utf8" c:type="const gchar*"/> | |
| 3926 | 3851 | </parameter> | |
| 3927 | 3852 | <parameter name="value" transfer-ownership="none"> | |
| 3928 | 3853 | <doc xml:space="preserve" | |
| 3929 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3854 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3930 | 3855 | line="1261">a nul-terminated string.</doc> | |
| 3931 | 3856 | <type name="utf8" c:type="const gchar*"/> | |
| 3932 | 3857 | </parameter> | |
| @@ -3938,18 +3863,17 @@ the new value is ignored and `FALSE` is returned.</doc> | |||
| 3938 | 3863 | deprecated="1" | |
| 3939 | 3864 | deprecated-version="2.0"> | |
| 3940 | 3865 | <doc xml:space="preserve" | |
| 3941 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3866 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3942 | 3867 | line="430">Removes a reference from a pixbuf.</doc> | |
| 3943 | 3868 | <doc-deprecated xml:space="preserve">Use g_object_unref().</doc-deprecated> | |
| 3944 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3945 | - | line="168"/> | |
| 3869 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="168"/> | |
| 3946 | 3870 | <return-value transfer-ownership="none"> | |
| 3947 | 3871 | <type name="none" c:type="void"/> | |
| 3948 | 3872 | </return-value> | |
| 3949 | 3873 | <parameters> | |
| 3950 | 3874 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3951 | 3875 | <doc xml:space="preserve" | |
| 3952 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3876 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3953 | 3877 | line="432">A pixbuf.</doc> | |
| 3954 | 3878 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3955 | 3879 | </instance-parameter> | |
| @@ -3959,9 +3883,10 @@ the new value is ignored and `FALSE` is returned.</doc> | |||
| 3959 | 3883 | writable="1" | |
| 3960 | 3884 | construct-only="1" | |
| 3961 | 3885 | transfer-ownership="none" | |
| 3962 | - | getter="get_bits_per_sample"> | |
| 3886 | + | getter="get_bits_per_sample" | |
| 3887 | + | default-value="8"> | |
| 3963 | 3888 | <doc xml:space="preserve" | |
| 3964 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3889 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3965 | 3890 | line="281">The number of bits per sample. | |
| 3966 | 3891 | ||
| 3967 | 3892 | Currently only 8 bit per sample are supported.</doc> | |
| @@ -3971,9 +3896,10 @@ Currently only 8 bit per sample are supported.</doc> | |||
| 3971 | 3896 | writable="1" | |
| 3972 | 3897 | construct-only="1" | |
| 3973 | 3898 | transfer-ownership="none" | |
| 3974 | - | getter="get_colorspace"> | |
| 3899 | + | getter="get_colorspace" | |
| 3900 | + | default-value="GDK_COLORSPACE_RGB"> | |
| 3975 | 3901 | <doc xml:space="preserve" | |
| 3976 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3902 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3977 | 3903 | line="254">The color space of the pixbuf. | |
| 3978 | 3904 | ||
| 3979 | 3905 | Currently, only `GDK_COLORSPACE_RGB` is supported.</doc> | |
| @@ -3983,9 +3909,10 @@ Currently, only `GDK_COLORSPACE_RGB` is supported.</doc> | |||
| 3983 | 3909 | writable="1" | |
| 3984 | 3910 | construct-only="1" | |
| 3985 | 3911 | transfer-ownership="none" | |
| 3986 | - | getter="get_has_alpha"> | |
| 3912 | + | getter="get_has_alpha" | |
| 3913 | + | default-value="FALSE"> | |
| 3987 | 3914 | <doc xml:space="preserve" | |
| 3988 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3915 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3989 | 3916 | line="269">Whether the pixbuf has an alpha channel.</doc> | |
| 3990 | 3917 | <type name="gboolean" c:type="gboolean"/> | |
| 3991 | 3918 | </property> | |
| @@ -3993,9 +3920,10 @@ Currently, only `GDK_COLORSPACE_RGB` is supported.</doc> | |||
| 3993 | 3920 | writable="1" | |
| 3994 | 3921 | construct-only="1" | |
| 3995 | 3922 | transfer-ownership="none" | |
| 3996 | - | getter="get_height"> | |
| 3923 | + | getter="get_height" | |
| 3924 | + | default-value="1"> | |
| 3997 | 3925 | <doc xml:space="preserve" | |
| 3998 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3926 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3999 | 3927 | line="311">The number of rows of the pixbuf.</doc> | |
| 4000 | 3928 | <type name="gint" c:type="gint"/> | |
| 4001 | 3929 | </property> | |
| @@ -4003,9 +3931,10 @@ Currently, only `GDK_COLORSPACE_RGB` is supported.</doc> | |||
| 4003 | 3931 | writable="1" | |
| 4004 | 3932 | construct-only="1" | |
| 4005 | 3933 | transfer-ownership="none" | |
| 4006 | - | getter="get_n_channels"> | |
| 3934 | + | getter="get_n_channels" | |
| 3935 | + | default-value="3"> | |
| 4007 | 3936 | <doc xml:space="preserve" | |
| 4008 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3937 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 4009 | 3938 | line="238">The number of samples per pixel. | |
| 4010 | 3939 | ||
| 4011 | 3940 | Currently, only 3 or 4 samples per pixel are supported.</doc> | |
| @@ -4023,7 +3952,7 @@ Currently, only 3 or 4 samples per pixel are supported.</doc> | |||
| 4023 | 3952 | transfer-ownership="none" | |
| 4024 | 3953 | getter="get_pixels"> | |
| 4025 | 3954 | <doc xml:space="preserve" | |
| 4026 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3955 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 4027 | 3956 | line="343">A pointer to the pixel data of the pixbuf.</doc> | |
| 4028 | 3957 | <type name="gpointer" c:type="gpointer"/> | |
| 4029 | 3958 | </property> | |
| @@ -4031,9 +3960,10 @@ Currently, only 3 or 4 samples per pixel are supported.</doc> | |||
| 4031 | 3960 | writable="1" | |
| 4032 | 3961 | construct-only="1" | |
| 4033 | 3962 | transfer-ownership="none" | |
| 4034 | - | getter="get_rowstride"> | |
| 3963 | + | getter="get_rowstride" | |
| 3964 | + | default-value="1"> | |
| 4035 | 3965 | <doc xml:space="preserve" | |
| 4036 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3966 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 4037 | 3967 | line="325">The number of bytes between the start of a row and | |
| 4038 | 3968 | the start of the next row. | |
| 4039 | 3969 | ||
| @@ -4045,9 +3975,10 @@ width of the pixbuf.</doc> | |||
| 4045 | 3975 | writable="1" | |
| 4046 | 3976 | construct-only="1" | |
| 4047 | 3977 | transfer-ownership="none" | |
| 4048 | - | getter="get_width"> | |
| 3978 | + | getter="get_width" | |
| 3979 | + | default-value="1"> | |
| 4049 | 3980 | <doc xml:space="preserve" | |
| 4050 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3981 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 4051 | 3982 | line="297">The number of columns of the pixbuf.</doc> | |
| 4052 | 3983 | <type name="gint" c:type="gint"/> | |
| 4053 | 3984 | </property> | |
| @@ -4059,7 +3990,7 @@ width of the pixbuf.</doc> | |||
| 4059 | 3990 | glib:get-type="gdk_pixbuf_alpha_mode_get_type" | |
| 4060 | 3991 | c:type="GdkPixbufAlphaMode"> | |
| 4061 | 3992 | <doc xml:space="preserve" | |
| 4062 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3993 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 4063 | 3994 | line="39">Control the alpha channel for drawables. | |
| 4064 | 3995 | ||
| 4065 | 3996 | These values can be passed to gdk_pixbuf_xlib_render_to_drawable_alpha() | |
| @@ -4081,7 +4012,7 @@ For now both cases fall back to a bilevel clipping mask.</doc> | |||
| 4081 | 4012 | glib:nick="bilevel" | |
| 4082 | 4013 | glib:name="GDK_PIXBUF_ALPHA_BILEVEL"> | |
| 4083 | 4014 | <doc xml:space="preserve" | |
| 4084 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 4015 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 4085 | 4016 | line="41">A bilevel clipping mask (black and white) | |
| 4086 | 4017 | will be created and used to draw the image. Pixels below 0.5 opacity | |
| 4087 | 4018 | will be considered fully transparent, and all others will be | |
| @@ -4093,7 +4024,7 @@ For now both cases fall back to a bilevel clipping mask.</doc> | |||
| 4093 | 4024 | glib:nick="full" | |
| 4094 | 4025 | glib:name="GDK_PIXBUF_ALPHA_FULL"> | |
| 4095 | 4026 | <doc xml:space="preserve" | |
| 4096 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 4027 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 4097 | 4028 | line="45">For now falls back to #GDK_PIXBUF_ALPHA_BILEVEL. | |
| 4098 | 4029 | In the future it will do full alpha compositing.</doc> | |
| 4099 | 4030 | </member> | |
| @@ -4106,7 +4037,7 @@ For now both cases fall back to a bilevel clipping mask.</doc> | |||
| 4106 | 4037 | glib:get-type="gdk_pixbuf_animation_get_type" | |
| 4107 | 4038 | glib:type-struct="PixbufAnimationClass"> | |
| 4108 | 4039 | <doc xml:space="preserve" | |
| 4109 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4040 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4110 | 4041 | line="32">An opaque object representing an animation. | |
| 4111 | 4042 | ||
| 4112 | 4043 | The GdkPixBuf library provides a simple mechanism to load and | |
| @@ -4120,13 +4051,13 @@ instructions for moving the sprite around a background. | |||
| 4120 | 4051 | To display an animation you don't need to understand its | |
| 4121 | 4052 | representation, however; you just ask `GdkPixbuf` what should | |
| 4122 | 4053 | be displayed at a given point in time.</doc> | |
| 4123 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4054 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4124 | 4055 | line="163"/> | |
| 4125 | 4056 | <constructor name="new_from_file" | |
| 4126 | 4057 | c:identifier="gdk_pixbuf_animation_new_from_file" | |
| 4127 | 4058 | throws="1"> | |
| 4128 | 4059 | <doc xml:space="preserve" | |
| 4129 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4060 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4130 | 4061 | line="147">Creates a new animation by loading it from a file. | |
| 4131 | 4062 | ||
| 4132 | 4063 | The file format is detected automatically. | |
| @@ -4135,18 +4066,18 @@ If the file's format does not support multi-frame images, then an animation | |||
| 4135 | 4066 | with a single frame will be created. | |
| 4136 | 4067 | ||
| 4137 | 4068 | Possible errors are in the `GDK_PIXBUF_ERROR` and `G_FILE_ERROR` domains.</doc> | |
| 4138 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4069 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4139 | 4070 | line="63"/> | |
| 4140 | 4071 | <return-value transfer-ownership="full" nullable="1"> | |
| 4141 | 4072 | <doc xml:space="preserve" | |
| 4142 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4073 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4143 | 4074 | line="162">A newly-created animation</doc> | |
| 4144 | 4075 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4145 | 4076 | </return-value> | |
| 4146 | 4077 | <parameters> | |
| 4147 | 4078 | <parameter name="filename" transfer-ownership="none"> | |
| 4148 | 4079 | <doc xml:space="preserve" | |
| 4149 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4080 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4150 | 4081 | line="149">Name of file to load, in the GLib file | |
| 4151 | 4082 | name encoding</doc> | |
| 4152 | 4083 | <type name="filename" c:type="const char*"/> | |
| @@ -4158,23 +4089,23 @@ Possible errors are in the `GDK_PIXBUF_ERROR` and `G_FILE_ERROR` domains.</doc> | |||
| 4158 | 4089 | version="2.28" | |
| 4159 | 4090 | throws="1"> | |
| 4160 | 4091 | <doc xml:space="preserve" | |
| 4161 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4092 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4162 | 4093 | line="504">Creates a new pixbuf animation by loading an image from an resource. | |
| 4163 | 4094 | ||
| 4164 | 4095 | The file format is detected automatically. If `NULL` is returned, then | |
| 4165 | 4096 | @error will be set.</doc> | |
| 4166 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4097 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4167 | 4098 | line="78"/> | |
| 4168 | 4099 | <return-value transfer-ownership="full" nullable="1"> | |
| 4169 | 4100 | <doc xml:space="preserve" | |
| 4170 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4101 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4171 | 4102 | line="514">A newly-created animation</doc> | |
| 4172 | 4103 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4173 | 4104 | </return-value> | |
| 4174 | 4105 | <parameters> | |
| 4175 | 4106 | <parameter name="resource_path" transfer-ownership="none"> | |
| 4176 | 4107 | <doc xml:space="preserve" | |
| 4177 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4108 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4178 | 4109 | line="506">the path of the resource file</doc> | |
| 4179 | 4110 | <type name="utf8" c:type="const char*"/> | |
| 4180 | 4111 | </parameter> | |
| @@ -4185,7 +4116,7 @@ The file format is detected automatically. If `NULL` is returned, then | |||
| 4185 | 4116 | version="2.28" | |
| 4186 | 4117 | throws="1"> | |
| 4187 | 4118 | <doc xml:space="preserve" | |
| 4188 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4119 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4189 | 4120 | line="346">Creates a new animation by loading it from an input stream. | |
| 4190 | 4121 | ||
| 4191 | 4122 | The file format is detected automatically. | |
| @@ -4198,18 +4129,18 @@ returned. Other possible errors are in the `GDK_PIXBUF_ERROR` and | |||
| 4198 | 4129 | `G_IO_ERROR` domains. | |
| 4199 | 4130 | ||
| 4200 | 4131 | The stream is not closed.</doc> | |
| 4201 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4132 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4202 | 4133 | line="66"/> | |
| 4203 | 4134 | <return-value transfer-ownership="full" nullable="1"> | |
| 4204 | 4135 | <doc xml:space="preserve" | |
| 4205 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4136 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4206 | 4137 | line="365">A newly-created animation</doc> | |
| 4207 | 4138 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4208 | 4139 | </return-value> | |
| 4209 | 4140 | <parameters> | |
| 4210 | 4141 | <parameter name="stream" transfer-ownership="none"> | |
| 4211 | 4142 | <doc xml:space="preserve" | |
| 4212 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4143 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4213 | 4144 | line="348">a `GInputStream` to load the pixbuf from</doc> | |
| 4214 | 4145 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 4215 | 4146 | </parameter> | |
| @@ -4218,7 +4149,7 @@ The stream is not closed.</doc> | |||
| 4218 | 4149 | nullable="1" | |
| 4219 | 4150 | allow-none="1"> | |
| 4220 | 4151 | <doc xml:space="preserve" | |
| 4221 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4152 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4222 | 4153 | line="349">optional `GCancellable` object</doc> | |
| 4223 | 4154 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 4224 | 4155 | </parameter> | |
| @@ -4229,21 +4160,21 @@ The stream is not closed.</doc> | |||
| 4229 | 4160 | version="2.28" | |
| 4230 | 4161 | throws="1"> | |
| 4231 | 4162 | <doc xml:space="preserve" | |
| 4232 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4163 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4233 | 4164 | line="479">Finishes an asynchronous pixbuf animation creation operation started with | |
| 4234 | 4165 | [func@GdkPixbuf.PixbufAnimation.new_from_stream_async].</doc> | |
| 4235 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4166 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4236 | 4167 | line="75"/> | |
| 4237 | 4168 | <return-value transfer-ownership="full" nullable="1"> | |
| 4238 | 4169 | <doc xml:space="preserve" | |
| 4239 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4170 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4240 | 4171 | line="487">the newly created animation</doc> | |
| 4241 | 4172 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4242 | 4173 | </return-value> | |
| 4243 | 4174 | <parameters> | |
| 4244 | 4175 | <parameter name="async_result" transfer-ownership="none"> | |
| 4245 | 4176 | <doc xml:space="preserve" | |
| 4246 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4177 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4247 | 4178 | line="481">a #GAsyncResult</doc> | |
| 4248 | 4179 | <type name="Gio.AsyncResult" c:type="GAsyncResult*"/> | |
| 4249 | 4180 | </parameter> | |
| @@ -4251,9 +4182,10 @@ The stream is not closed.</doc> | |||
| 4251 | 4182 | </constructor> | |
| 4252 | 4183 | <function name="new_from_stream_async" | |
| 4253 | 4184 | c:identifier="gdk_pixbuf_animation_new_from_stream_async" | |
| 4254 | - | version="2.28"> | |
| 4185 | + | version="2.28" | |
| 4186 | + | glib:finish-func="new_from_stream_finish"> | |
| 4255 | 4187 | <doc xml:space="preserve" | |
| 4256 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4188 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4257 | 4189 | line="443">Creates a new animation by asynchronously loading an image from an input stream. | |
| 4258 | 4190 | ||
| 4259 | 4191 | For more details see gdk_pixbuf_new_from_stream(), which is the synchronous | |
| @@ -4262,7 +4194,7 @@ version of this function. | |||
| 4262 | 4194 | When the operation is finished, `callback` will be called in the main thread. | |
| 4263 | 4195 | You can then call gdk_pixbuf_animation_new_from_stream_finish() to get the | |
| 4264 | 4196 | result of the operation.</doc> | |
| 4265 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4197 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4266 | 4198 | line="70"/> | |
| 4267 | 4199 | <return-value transfer-ownership="none"> | |
| 4268 | 4200 | <type name="none" c:type="void"/> | |
| @@ -4270,7 +4202,7 @@ result of the operation.</doc> | |||
| 4270 | 4202 | <parameters> | |
| 4271 | 4203 | <parameter name="stream" transfer-ownership="none"> | |
| 4272 | 4204 | <doc xml:space="preserve" | |
| 4273 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4205 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4274 | 4206 | line="445">a #GInputStream from which to load the animation</doc> | |
| 4275 | 4207 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 4276 | 4208 | </parameter> | |
| @@ -4279,7 +4211,7 @@ result of the operation.</doc> | |||
| 4279 | 4211 | nullable="1" | |
| 4280 | 4212 | allow-none="1"> | |
| 4281 | 4213 | <doc xml:space="preserve" | |
| 4282 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4214 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4283 | 4215 | line="446">optional #GCancellable object</doc> | |
| 4284 | 4216 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 4285 | 4217 | </parameter> | |
| @@ -4290,7 +4222,7 @@ result of the operation.</doc> | |||
| 4290 | 4222 | scope="async" | |
| 4291 | 4223 | closure="3"> | |
| 4292 | 4224 | <doc xml:space="preserve" | |
| 4293 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4225 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4294 | 4226 | line="447">a `GAsyncReadyCallback` to call when the pixbuf is loaded</doc> | |
| 4295 | 4227 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 4296 | 4228 | </parameter> | |
| @@ -4299,7 +4231,7 @@ result of the operation.</doc> | |||
| 4299 | 4231 | nullable="1" | |
| 4300 | 4232 | allow-none="1"> | |
| 4301 | 4233 | <doc xml:space="preserve" | |
| 4302 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4234 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4303 | 4235 | line="448">the data to pass to the callback function</doc> | |
| 4304 | 4236 | <type name="gpointer" c:type="gpointer"/> | |
| 4305 | 4237 | </parameter> | |
| @@ -4307,7 +4239,7 @@ result of the operation.</doc> | |||
| 4307 | 4239 | </function> | |
| 4308 | 4240 | <virtual-method name="get_iter" invoker="get_iter"> | |
| 4309 | 4241 | <doc xml:space="preserve" | |
| 4310 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4242 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4311 | 4243 | line="664">Get an iterator for displaying an animation. | |
| 4312 | 4244 | ||
| 4313 | 4245 | The iterator provides the frames that should be displayed at a | |
| @@ -4342,18 +4274,18 @@ the frame itself. So your timeout should be reinstalled after any | |||
| 4342 | 4274 | area_updated signal. | |
| 4343 | 4275 | ||
| 4344 | 4276 | A delay time of -1 is possible, indicating "infinite".</doc> | |
| 4345 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4277 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4346 | 4278 | line="161"/> | |
| 4347 | 4279 | <return-value transfer-ownership="full"> | |
| 4348 | 4280 | <doc xml:space="preserve" | |
| 4349 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4281 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4350 | 4282 | line="704">an iterator to move over the animation</doc> | |
| 4351 | 4283 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4352 | 4284 | </return-value> | |
| 4353 | 4285 | <parameters> | |
| 4354 | 4286 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4355 | 4287 | <doc xml:space="preserve" | |
| 4356 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4288 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4357 | 4289 | line="666">a #GdkPixbufAnimation</doc> | |
| 4358 | 4290 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4359 | 4291 | </instance-parameter> | |
| @@ -4362,14 +4294,17 @@ A delay time of -1 is possible, indicating "infinite".</doc> | |||
| 4362 | 4294 | nullable="1" | |
| 4363 | 4295 | allow-none="1"> | |
| 4364 | 4296 | <doc xml:space="preserve" | |
| 4365 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4297 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4366 | 4298 | line="667">time when the animation starts playing</doc> | |
| 4367 | 4299 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 4368 | 4300 | </parameter> | |
| 4369 | 4301 | </parameters> | |
| 4370 | 4302 | </virtual-method> | |
| 4371 | 4303 | <virtual-method name="get_size"> | |
| 4372 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4304 | + | <doc xml:space="preserve" | |
| 4305 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4306 | + | line="128">fills @width and @height with the frame size of the animation.</doc> | |
| 4307 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4373 | 4308 | line="157"/> | |
| 4374 | 4309 | <return-value transfer-ownership="none"> | |
| 4375 | 4310 | <type name="none" c:type="void"/> | |
| @@ -4388,7 +4323,7 @@ A delay time of -1 is possible, indicating "infinite".</doc> | |||
| 4388 | 4323 | </virtual-method> | |
| 4389 | 4324 | <virtual-method name="get_static_image" invoker="get_static_image"> | |
| 4390 | 4325 | <doc xml:space="preserve" | |
| 4391 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4326 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4392 | 4327 | line="593">Retrieves a static image for the animation. | |
| 4393 | 4328 | ||
| 4394 | 4329 | If an animation is really just a plain image (has only one frame), | |
| @@ -4400,18 +4335,18 @@ frame, or something more sophisticated depending on the file format. | |||
| 4400 | 4335 | ||
| 4401 | 4336 | If an animation hasn't loaded any frames yet, this function will | |
| 4402 | 4337 | return `NULL`.</doc> | |
| 4403 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4338 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4404 | 4339 | line="155"/> | |
| 4405 | 4340 | <return-value transfer-ownership="none"> | |
| 4406 | 4341 | <doc xml:space="preserve" | |
| 4407 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4342 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4408 | 4343 | line="609">unanimated image representing the animation</doc> | |
| 4409 | 4344 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 4410 | 4345 | </return-value> | |
| 4411 | 4346 | <parameters> | |
| 4412 | 4347 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4413 | 4348 | <doc xml:space="preserve" | |
| 4414 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4349 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4415 | 4350 | line="595">a #GdkPixbufAnimation</doc> | |
| 4416 | 4351 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4417 | 4352 | </instance-parameter> | |
| @@ -4419,25 +4354,25 @@ return `NULL`.</doc> | |||
| 4419 | 4354 | </virtual-method> | |
| 4420 | 4355 | <virtual-method name="is_static_image" invoker="is_static_image"> | |
| 4421 | 4356 | <doc xml:space="preserve" | |
| 4422 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4357 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4423 | 4358 | line="572">Checks whether the animation is a static image. | |
| 4424 | 4359 | ||
| 4425 | 4360 | If you load a file with gdk_pixbuf_animation_new_from_file() and it | |
| 4426 | 4361 | turns out to be a plain, unanimated image, then this function will | |
| 4427 | 4362 | return `TRUE`. Use gdk_pixbuf_animation_get_static_image() to retrieve | |
| 4428 | 4363 | the image.</doc> | |
| 4429 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4364 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4430 | 4365 | line="153"/> | |
| 4431 | 4366 | <return-value transfer-ownership="none"> | |
| 4432 | 4367 | <doc xml:space="preserve" | |
| 4433 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4368 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4434 | 4369 | line="583">`TRUE` if the "animation" was really just an image</doc> | |
| 4435 | 4370 | <type name="gboolean" c:type="gboolean"/> | |
| 4436 | 4371 | </return-value> | |
| 4437 | 4372 | <parameters> | |
| 4438 | 4373 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4439 | 4374 | <doc xml:space="preserve" | |
| 4440 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4375 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4441 | 4376 | line="574">a #GdkPixbufAnimation</doc> | |
| 4442 | 4377 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4443 | 4378 | </instance-parameter> | |
| @@ -4445,20 +4380,20 @@ the image.</doc> | |||
| 4445 | 4380 | </virtual-method> | |
| 4446 | 4381 | <method name="get_height" c:identifier="gdk_pixbuf_animation_get_height"> | |
| 4447 | 4382 | <doc xml:space="preserve" | |
| 4448 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4383 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4449 | 4384 | line="641">Queries the height of the bounding box of a pixbuf animation.</doc> | |
| 4450 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4385 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4451 | 4386 | line="92"/> | |
| 4452 | 4387 | <return-value transfer-ownership="none"> | |
| 4453 | 4388 | <doc xml:space="preserve" | |
| 4454 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4389 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4455 | 4390 | line="647">Height of the bounding box of the animation.</doc> | |
| 4456 | 4391 | <type name="gint" c:type="int"/> | |
| 4457 | 4392 | </return-value> | |
| 4458 | 4393 | <parameters> | |
| 4459 | 4394 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4460 | 4395 | <doc xml:space="preserve" | |
| 4461 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4396 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4462 | 4397 | line="643">An animation.</doc> | |
| 4463 | 4398 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4464 | 4399 | </instance-parameter> | |
| @@ -4466,7 +4401,7 @@ the image.</doc> | |||
| 4466 | 4401 | </method> | |
| 4467 | 4402 | <method name="get_iter" c:identifier="gdk_pixbuf_animation_get_iter"> | |
| 4468 | 4403 | <doc xml:space="preserve" | |
| 4469 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4404 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4470 | 4405 | line="664">Get an iterator for displaying an animation. | |
| 4471 | 4406 | ||
| 4472 | 4407 | The iterator provides the frames that should be displayed at a | |
| @@ -4501,18 +4436,18 @@ the frame itself. So your timeout should be reinstalled after any | |||
| 4501 | 4436 | area_updated signal. | |
| 4502 | 4437 | ||
| 4503 | 4438 | A delay time of -1 is possible, indicating "infinite".</doc> | |
| 4504 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4439 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4505 | 4440 | line="100"/> | |
| 4506 | 4441 | <return-value transfer-ownership="full"> | |
| 4507 | 4442 | <doc xml:space="preserve" | |
| 4508 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4443 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4509 | 4444 | line="704">an iterator to move over the animation</doc> | |
| 4510 | 4445 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4511 | 4446 | </return-value> | |
| 4512 | 4447 | <parameters> | |
| 4513 | 4448 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4514 | 4449 | <doc xml:space="preserve" | |
| 4515 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4450 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4516 | 4451 | line="666">a #GdkPixbufAnimation</doc> | |
| 4517 | 4452 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4518 | 4453 | </instance-parameter> | |
| @@ -4521,7 +4456,7 @@ A delay time of -1 is possible, indicating "infinite".</doc> | |||
| 4521 | 4456 | nullable="1" | |
| 4522 | 4457 | allow-none="1"> | |
| 4523 | 4458 | <doc xml:space="preserve" | |
| 4524 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4459 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4525 | 4460 | line="667">time when the animation starts playing</doc> | |
| 4526 | 4461 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 4527 | 4462 | </parameter> | |
| @@ -4530,7 +4465,7 @@ A delay time of -1 is possible, indicating "infinite".</doc> | |||
| 4530 | 4465 | <method name="get_static_image" | |
| 4531 | 4466 | c:identifier="gdk_pixbuf_animation_get_static_image"> | |
| 4532 | 4467 | <doc xml:space="preserve" | |
| 4533 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4468 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4534 | 4469 | line="593">Retrieves a static image for the animation. | |
| 4535 | 4470 | ||
| 4536 | 4471 | If an animation is really just a plain image (has only one frame), | |
| @@ -4542,18 +4477,18 @@ frame, or something more sophisticated depending on the file format. | |||
| 4542 | 4477 | ||
| 4543 | 4478 | If an animation hasn't loaded any frames yet, this function will | |
| 4544 | 4479 | return `NULL`.</doc> | |
| 4545 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4480 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4546 | 4481 | line="96"/> | |
| 4547 | 4482 | <return-value transfer-ownership="none"> | |
| 4548 | 4483 | <doc xml:space="preserve" | |
| 4549 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4484 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4550 | 4485 | line="609">unanimated image representing the animation</doc> | |
| 4551 | 4486 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 4552 | 4487 | </return-value> | |
| 4553 | 4488 | <parameters> | |
| 4554 | 4489 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4555 | 4490 | <doc xml:space="preserve" | |
| 4556 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4491 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4557 | 4492 | line="595">a #GdkPixbufAnimation</doc> | |
| 4558 | 4493 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4559 | 4494 | </instance-parameter> | |
| @@ -4561,20 +4496,20 @@ return `NULL`.</doc> | |||
| 4561 | 4496 | </method> | |
| 4562 | 4497 | <method name="get_width" c:identifier="gdk_pixbuf_animation_get_width"> | |
| 4563 | 4498 | <doc xml:space="preserve" | |
| 4564 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4499 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4565 | 4500 | line="619">Queries the width of the bounding box of a pixbuf animation.</doc> | |
| 4566 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4501 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4567 | 4502 | line="90"/> | |
| 4568 | 4503 | <return-value transfer-ownership="none"> | |
| 4569 | 4504 | <doc xml:space="preserve" | |
| 4570 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4505 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4571 | 4506 | line="625">Width of the bounding box of the animation.</doc> | |
| 4572 | 4507 | <type name="gint" c:type="int"/> | |
| 4573 | 4508 | </return-value> | |
| 4574 | 4509 | <parameters> | |
| 4575 | 4510 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4576 | 4511 | <doc xml:space="preserve" | |
| 4577 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4512 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4578 | 4513 | line="621">An animation.</doc> | |
| 4579 | 4514 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4580 | 4515 | </instance-parameter> | |
| @@ -4583,25 +4518,25 @@ return `NULL`.</doc> | |||
| 4583 | 4518 | <method name="is_static_image" | |
| 4584 | 4519 | c:identifier="gdk_pixbuf_animation_is_static_image"> | |
| 4585 | 4520 | <doc xml:space="preserve" | |
| 4586 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4521 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4587 | 4522 | line="572">Checks whether the animation is a static image. | |
| 4588 | 4523 | ||
| 4589 | 4524 | If you load a file with gdk_pixbuf_animation_new_from_file() and it | |
| 4590 | 4525 | turns out to be a plain, unanimated image, then this function will | |
| 4591 | 4526 | return `TRUE`. Use gdk_pixbuf_animation_get_static_image() to retrieve | |
| 4592 | 4527 | the image.</doc> | |
| 4593 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4528 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4594 | 4529 | line="94"/> | |
| 4595 | 4530 | <return-value transfer-ownership="none"> | |
| 4596 | 4531 | <doc xml:space="preserve" | |
| 4597 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4532 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4598 | 4533 | line="583">`TRUE` if the "animation" was really just an image</doc> | |
| 4599 | 4534 | <type name="gboolean" c:type="gboolean"/> | |
| 4600 | 4535 | </return-value> | |
| 4601 | 4536 | <parameters> | |
| 4602 | 4537 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4603 | 4538 | <doc xml:space="preserve" | |
| 4604 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4539 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4605 | 4540 | line="574">a #GdkPixbufAnimation</doc> | |
| 4606 | 4541 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4607 | 4542 | </instance-parameter> | |
| @@ -4613,21 +4548,21 @@ the image.</doc> | |||
| 4613 | 4548 | deprecated="1" | |
| 4614 | 4549 | deprecated-version="2.0"> | |
| 4615 | 4550 | <doc xml:space="preserve" | |
| 4616 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4551 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4617 | 4552 | line="542">Adds a reference to an animation.</doc> | |
| 4618 | 4553 | <doc-deprecated xml:space="preserve">Use g_object_ref().</doc-deprecated> | |
| 4619 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4554 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4620 | 4555 | line="84"/> | |
| 4621 | 4556 | <return-value> | |
| 4622 | 4557 | <doc xml:space="preserve" | |
| 4623 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4558 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4624 | 4559 | line="548">The same as the @animation argument.</doc> | |
| 4625 | 4560 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4626 | 4561 | </return-value> | |
| 4627 | 4562 | <parameters> | |
| 4628 | 4563 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4629 | 4564 | <doc xml:space="preserve" | |
| 4630 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4565 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4631 | 4566 | line="544">An animation.</doc> | |
| 4632 | 4567 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4633 | 4568 | </instance-parameter> | |
| @@ -4639,10 +4574,10 @@ the image.</doc> | |||
| 4639 | 4574 | deprecated="1" | |
| 4640 | 4575 | deprecated-version="2.0"> | |
| 4641 | 4576 | <doc xml:space="preserve" | |
| 4642 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4577 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4643 | 4578 | line="558">Removes a reference from an animation.</doc> | |
| 4644 | 4579 | <doc-deprecated xml:space="preserve">Use g_object_unref().</doc-deprecated> | |
| 4645 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4580 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4646 | 4581 | line="86"/> | |
| 4647 | 4582 | <return-value transfer-ownership="none"> | |
| 4648 | 4583 | <type name="none" c:type="void"/> | |
| @@ -4650,7 +4585,7 @@ the image.</doc> | |||
| 4650 | 4585 | <parameters> | |
| 4651 | 4586 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4652 | 4587 | <doc xml:space="preserve" | |
| 4653 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4588 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4654 | 4589 | line="560">An animation.</doc> | |
| 4655 | 4590 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4656 | 4591 | </instance-parameter> | |
| @@ -4664,32 +4599,35 @@ the image.</doc> | |||
| 4664 | 4599 | c:type="GdkPixbufAnimationClass" | |
| 4665 | 4600 | glib:is-gtype-struct-for="PixbufAnimation"> | |
| 4666 | 4601 | <doc xml:space="preserve" | |
| 4667 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4602 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4668 | 4603 | line="123">Modules supporting animations must derive a type from | |
| 4669 | 4604 | #GdkPixbufAnimation, providing suitable implementations of the | |
| 4670 | 4605 | virtual functions.</doc> | |
| 4671 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4606 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4672 | 4607 | line="163"/> | |
| 4673 | 4608 | <field name="parent_class"> | |
| 4674 | 4609 | <doc xml:space="preserve" | |
| 4675 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4610 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4676 | 4611 | line="125">the parent class</doc> | |
| 4677 | 4612 | <type name="GObject.ObjectClass" c:type="GObjectClass"/> | |
| 4678 | 4613 | </field> | |
| 4679 | 4614 | <field name="is_static_image"> | |
| 4615 | + | <doc xml:space="preserve" | |
| 4616 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4617 | + | line="126">returns whether the given animation is just a static image.</doc> | |
| 4680 | 4618 | <callback name="is_static_image"> | |
| 4681 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4619 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4682 | 4620 | line="153"/> | |
| 4683 | 4621 | <return-value transfer-ownership="none"> | |
| 4684 | 4622 | <doc xml:space="preserve" | |
| 4685 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4623 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4686 | 4624 | line="583">`TRUE` if the "animation" was really just an image</doc> | |
| 4687 | 4625 | <type name="gboolean" c:type="gboolean"/> | |
| 4688 | 4626 | </return-value> | |
| 4689 | 4627 | <parameters> | |
| 4690 | 4628 | <parameter name="animation" transfer-ownership="none"> | |
| 4691 | 4629 | <doc xml:space="preserve" | |
| 4692 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4630 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4693 | 4631 | line="574">a #GdkPixbufAnimation</doc> | |
| 4694 | 4632 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4695 | 4633 | </parameter> | |
| @@ -4697,19 +4635,22 @@ virtual functions.</doc> | |||
| 4697 | 4635 | </callback> | |
| 4698 | 4636 | </field> | |
| 4699 | 4637 | <field name="get_static_image"> | |
| 4638 | + | <doc xml:space="preserve" | |
| 4639 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4640 | + | line="127">returns a static image representing the given animation.</doc> | |
| 4700 | 4641 | <callback name="get_static_image"> | |
| 4701 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4642 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4702 | 4643 | line="155"/> | |
| 4703 | 4644 | <return-value transfer-ownership="none"> | |
| 4704 | 4645 | <doc xml:space="preserve" | |
| 4705 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4646 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4706 | 4647 | line="609">unanimated image representing the animation</doc> | |
| 4707 | 4648 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 4708 | 4649 | </return-value> | |
| 4709 | 4650 | <parameters> | |
| 4710 | 4651 | <parameter name="animation" transfer-ownership="none"> | |
| 4711 | 4652 | <doc xml:space="preserve" | |
| 4712 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4653 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4713 | 4654 | line="595">a #GdkPixbufAnimation</doc> | |
| 4714 | 4655 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4715 | 4656 | </parameter> | |
| @@ -4717,8 +4658,11 @@ virtual functions.</doc> | |||
| 4717 | 4658 | </callback> | |
| 4718 | 4659 | </field> | |
| 4719 | 4660 | <field name="get_size"> | |
| 4661 | + | <doc xml:space="preserve" | |
| 4662 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4663 | + | line="128">fills @width and @height with the frame size of the animation.</doc> | |
| 4720 | 4664 | <callback name="get_size"> | |
| 4721 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4665 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4722 | 4666 | line="157"/> | |
| 4723 | 4667 | <return-value transfer-ownership="none"> | |
| 4724 | 4668 | <type name="none" c:type="void"/> | |
| @@ -4737,19 +4681,22 @@ virtual functions.</doc> | |||
| 4737 | 4681 | </callback> | |
| 4738 | 4682 | </field> | |
| 4739 | 4683 | <field name="get_iter"> | |
| 4684 | + | <doc xml:space="preserve" | |
| 4685 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4686 | + | line="129">returns an iterator for the given animation.</doc> | |
| 4740 | 4687 | <callback name="get_iter"> | |
| 4741 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4688 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4742 | 4689 | line="161"/> | |
| 4743 | 4690 | <return-value transfer-ownership="full"> | |
| 4744 | 4691 | <doc xml:space="preserve" | |
| 4745 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4692 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4746 | 4693 | line="704">an iterator to move over the animation</doc> | |
| 4747 | 4694 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4748 | 4695 | </return-value> | |
| 4749 | 4696 | <parameters> | |
| 4750 | 4697 | <parameter name="animation" transfer-ownership="none"> | |
| 4751 | 4698 | <doc xml:space="preserve" | |
| 4752 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4699 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4753 | 4700 | line="666">a #GdkPixbufAnimation</doc> | |
| 4754 | 4701 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4755 | 4702 | </parameter> | |
| @@ -4758,7 +4705,7 @@ virtual functions.</doc> | |||
| 4758 | 4705 | nullable="1" | |
| 4759 | 4706 | allow-none="1"> | |
| 4760 | 4707 | <doc xml:space="preserve" | |
| 4761 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4708 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4762 | 4709 | line="667">time when the animation starts playing</doc> | |
| 4763 | 4710 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 4764 | 4711 | </parameter> | |
| @@ -4774,14 +4721,14 @@ virtual functions.</doc> | |||
| 4774 | 4721 | glib:get-type="gdk_pixbuf_animation_iter_get_type" | |
| 4775 | 4722 | glib:type-struct="PixbufAnimationIterClass"> | |
| 4776 | 4723 | <doc xml:space="preserve" | |
| 4777 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4724 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4778 | 4725 | line="50">An opaque object representing an iterator which points to a | |
| 4779 | 4726 | certain position in an animation.</doc> | |
| 4780 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4727 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4781 | 4728 | line="208"/> | |
| 4782 | 4729 | <virtual-method name="advance" invoker="advance"> | |
| 4783 | 4730 | <doc xml:space="preserve" | |
| 4784 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4731 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4785 | 4732 | line="813">Possibly advances an animation to a new frame. | |
| 4786 | 4733 | ||
| 4787 | 4734 | Chooses the frame based on the start time passed to | |
| @@ -4803,18 +4750,18 @@ If this function returns `FALSE`, there's no need to update the animation | |||
| 4803 | 4750 | display, assuming the display had been rendered prior to advancing; | |
| 4804 | 4751 | if `TRUE`, you need to call gdk_pixbuf_animation_iter_get_pixbuf() | |
| 4805 | 4752 | and update the display with the new pixbuf.</doc> | |
| 4806 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4753 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4807 | 4754 | line="206"/> | |
| 4808 | 4755 | <return-value transfer-ownership="none"> | |
| 4809 | 4756 | <doc xml:space="preserve" | |
| 4810 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4757 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4811 | 4758 | line="840">`TRUE` if the image may need updating</doc> | |
| 4812 | 4759 | <type name="gboolean" c:type="gboolean"/> | |
| 4813 | 4760 | </return-value> | |
| 4814 | 4761 | <parameters> | |
| 4815 | 4762 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4816 | 4763 | <doc xml:space="preserve" | |
| 4817 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4764 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4818 | 4765 | line="815">a #GdkPixbufAnimationIter</doc> | |
| 4819 | 4766 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4820 | 4767 | </instance-parameter> | |
| @@ -4823,7 +4770,7 @@ and update the display with the new pixbuf.</doc> | |||
| 4823 | 4770 | nullable="1" | |
| 4824 | 4771 | allow-none="1"> | |
| 4825 | 4772 | <doc xml:space="preserve" | |
| 4826 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4773 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4827 | 4774 | line="816">current time</doc> | |
| 4828 | 4775 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 4829 | 4776 | </parameter> | |
| @@ -4831,7 +4778,7 @@ and update the display with the new pixbuf.</doc> | |||
| 4831 | 4778 | </virtual-method> | |
| 4832 | 4779 | <virtual-method name="get_delay_time" invoker="get_delay_time"> | |
| 4833 | 4780 | <doc xml:space="preserve" | |
| 4834 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4781 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4835 | 4782 | line="735">Gets the number of milliseconds the current pixbuf should be displayed, | |
| 4836 | 4783 | or -1 if the current pixbuf should be displayed forever. | |
| 4837 | 4784 | ||
| @@ -4841,18 +4788,18 @@ so you can use a timeout to schedule the next update. | |||
| 4841 | 4788 | Note that some formats, like GIF, might clamp the timeout values in the | |
| 4842 | 4789 | image file to avoid updates that are just too quick. The minimum timeout | |
| 4843 | 4790 | for GIF images is currently 20 milliseconds.</doc> | |
| 4844 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4791 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4845 | 4792 | line="200"/> | |
| 4846 | 4793 | <return-value transfer-ownership="none"> | |
| 4847 | 4794 | <doc xml:space="preserve" | |
| 4848 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4795 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4849 | 4796 | line="749">delay time in milliseconds (thousandths of a second)</doc> | |
| 4850 | 4797 | <type name="gint" c:type="int"/> | |
| 4851 | 4798 | </return-value> | |
| 4852 | 4799 | <parameters> | |
| 4853 | 4800 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4854 | 4801 | <doc xml:space="preserve" | |
| 4855 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4802 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4856 | 4803 | line="737">an animation iterator</doc> | |
| 4857 | 4804 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4858 | 4805 | </instance-parameter> | |
| @@ -4860,7 +4807,7 @@ for GIF images is currently 20 milliseconds.</doc> | |||
| 4860 | 4807 | </virtual-method> | |
| 4861 | 4808 | <virtual-method name="get_pixbuf" invoker="get_pixbuf"> | |
| 4862 | 4809 | <doc xml:space="preserve" | |
| 4863 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4810 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4864 | 4811 | line="760">Gets the current pixbuf which should be displayed. | |
| 4865 | 4812 | ||
| 4866 | 4813 | The pixbuf might not be the same size as the animation itself | |
| @@ -4876,18 +4823,18 @@ gdk_pixbuf_animation_iter_advance(). | |||
| 4876 | 4823 | ||
| 4877 | 4824 | Copy the pixbuf to keep it (don't just add a reference), as it may get | |
| 4878 | 4825 | recycled as you advance the iterator.</doc> | |
| 4879 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4826 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4880 | 4827 | line="202"/> | |
| 4881 | 4828 | <return-value transfer-ownership="none"> | |
| 4882 | 4829 | <doc xml:space="preserve" | |
| 4883 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4830 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4884 | 4831 | line="780">the pixbuf to be displayed</doc> | |
| 4885 | 4832 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 4886 | 4833 | </return-value> | |
| 4887 | 4834 | <parameters> | |
| 4888 | 4835 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4889 | 4836 | <doc xml:space="preserve" | |
| 4890 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4837 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4891 | 4838 | line="762">an animation iterator</doc> | |
| 4892 | 4839 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4893 | 4840 | </instance-parameter> | |
| @@ -4896,25 +4843,25 @@ recycled as you advance the iterator.</doc> | |||
| 4896 | 4843 | <virtual-method name="on_currently_loading_frame" | |
| 4897 | 4844 | invoker="on_currently_loading_frame"> | |
| 4898 | 4845 | <doc xml:space="preserve" | |
| 4899 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4846 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4900 | 4847 | line="791">Used to determine how to respond to the area_updated signal on | |
| 4901 | 4848 | #GdkPixbufLoader when loading an animation. | |
| 4902 | 4849 | ||
| 4903 | 4850 | The `::area_updated` signal is emitted for an area of the frame currently | |
| 4904 | 4851 | streaming in to the loader. So if you're on the currently loading frame, | |
| 4905 | 4852 | you will need to redraw the screen for the updated area.</doc> | |
| 4906 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4853 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4907 | 4854 | line="204"/> | |
| 4908 | 4855 | <return-value transfer-ownership="none"> | |
| 4909 | 4856 | <doc xml:space="preserve" | |
| 4910 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4857 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4911 | 4858 | line="802">`TRUE` if the frame we're on is partially loaded, or the last frame</doc> | |
| 4912 | 4859 | <type name="gboolean" c:type="gboolean"/> | |
| 4913 | 4860 | </return-value> | |
| 4914 | 4861 | <parameters> | |
| 4915 | 4862 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4916 | 4863 | <doc xml:space="preserve" | |
| 4917 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4864 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4918 | 4865 | line="793">a #GdkPixbufAnimationIter</doc> | |
| 4919 | 4866 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4920 | 4867 | </instance-parameter> | |
| @@ -4922,7 +4869,7 @@ you will need to redraw the screen for the updated area.</doc> | |||
| 4922 | 4869 | </virtual-method> | |
| 4923 | 4870 | <method name="advance" c:identifier="gdk_pixbuf_animation_iter_advance"> | |
| 4924 | 4871 | <doc xml:space="preserve" | |
| 4925 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4872 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4926 | 4873 | line="813">Possibly advances an animation to a new frame. | |
| 4927 | 4874 | ||
| 4928 | 4875 | Chooses the frame based on the start time passed to | |
| @@ -4944,18 +4891,18 @@ If this function returns `FALSE`, there's no need to update the animation | |||
| 4944 | 4891 | display, assuming the display had been rendered prior to advancing; | |
| 4945 | 4892 | if `TRUE`, you need to call gdk_pixbuf_animation_iter_get_pixbuf() | |
| 4946 | 4893 | and update the display with the new pixbuf.</doc> | |
| 4947 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4894 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4948 | 4895 | line="114"/> | |
| 4949 | 4896 | <return-value transfer-ownership="none"> | |
| 4950 | 4897 | <doc xml:space="preserve" | |
| 4951 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4898 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4952 | 4899 | line="840">`TRUE` if the image may need updating</doc> | |
| 4953 | 4900 | <type name="gboolean" c:type="gboolean"/> | |
| 4954 | 4901 | </return-value> | |
| 4955 | 4902 | <parameters> | |
| 4956 | 4903 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4957 | 4904 | <doc xml:space="preserve" | |
| 4958 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4905 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4959 | 4906 | line="815">a #GdkPixbufAnimationIter</doc> | |
| 4960 | 4907 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4961 | 4908 | </instance-parameter> | |
| @@ -4964,7 +4911,7 @@ and update the display with the new pixbuf.</doc> | |||
| 4964 | 4911 | nullable="1" | |
| 4965 | 4912 | allow-none="1"> | |
| 4966 | 4913 | <doc xml:space="preserve" | |
| 4967 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4914 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4968 | 4915 | line="816">current time</doc> | |
| 4969 | 4916 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 4970 | 4917 | </parameter> | |
| @@ -4973,7 +4920,7 @@ and update the display with the new pixbuf.</doc> | |||
| 4973 | 4920 | <method name="get_delay_time" | |
| 4974 | 4921 | c:identifier="gdk_pixbuf_animation_iter_get_delay_time"> | |
| 4975 | 4922 | <doc xml:space="preserve" | |
| 4976 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4923 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4977 | 4924 | line="735">Gets the number of milliseconds the current pixbuf should be displayed, | |
| 4978 | 4925 | or -1 if the current pixbuf should be displayed forever. | |
| 4979 | 4926 | ||
| @@ -4983,18 +4930,18 @@ so you can use a timeout to schedule the next update. | |||
| 4983 | 4930 | Note that some formats, like GIF, might clamp the timeout values in the | |
| 4984 | 4931 | image file to avoid updates that are just too quick. The minimum timeout | |
| 4985 | 4932 | for GIF images is currently 20 milliseconds.</doc> | |
| 4986 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4933 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4987 | 4934 | line="107"/> | |
| 4988 | 4935 | <return-value transfer-ownership="none"> | |
| 4989 | 4936 | <doc xml:space="preserve" | |
| 4990 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4937 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4991 | 4938 | line="749">delay time in milliseconds (thousandths of a second)</doc> | |
| 4992 | 4939 | <type name="gint" c:type="int"/> | |
| 4993 | 4940 | </return-value> | |
| 4994 | 4941 | <parameters> | |
| 4995 | 4942 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4996 | 4943 | <doc xml:space="preserve" | |
| 4997 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4944 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4998 | 4945 | line="737">an animation iterator</doc> | |
| 4999 | 4946 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 5000 | 4947 | </instance-parameter> | |
| @@ -5003,7 +4950,7 @@ for GIF images is currently 20 milliseconds.</doc> | |||
| 5003 | 4950 | <method name="get_pixbuf" | |
| 5004 | 4951 | c:identifier="gdk_pixbuf_animation_iter_get_pixbuf"> | |
| 5005 | 4952 | <doc xml:space="preserve" | |
| 5006 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4953 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5007 | 4954 | line="760">Gets the current pixbuf which should be displayed. | |
| 5008 | 4955 | ||
| 5009 | 4956 | The pixbuf might not be the same size as the animation itself | |
| @@ -5019,18 +4966,18 @@ gdk_pixbuf_animation_iter_advance(). | |||
| 5019 | 4966 | ||
| 5020 | 4967 | Copy the pixbuf to keep it (don't just add a reference), as it may get | |
| 5021 | 4968 | recycled as you advance the iterator.</doc> | |
| 5022 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4969 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5023 | 4970 | line="109"/> | |
| 5024 | 4971 | <return-value transfer-ownership="none"> | |
| 5025 | 4972 | <doc xml:space="preserve" | |
| 5026 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4973 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5027 | 4974 | line="780">the pixbuf to be displayed</doc> | |
| 5028 | 4975 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 5029 | 4976 | </return-value> | |
| 5030 | 4977 | <parameters> | |
| 5031 | 4978 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 5032 | 4979 | <doc xml:space="preserve" | |
| 5033 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4980 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5034 | 4981 | line="762">an animation iterator</doc> | |
| 5035 | 4982 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 5036 | 4983 | </instance-parameter> | |
| @@ -5039,25 +4986,25 @@ recycled as you advance the iterator.</doc> | |||
| 5039 | 4986 | <method name="on_currently_loading_frame" | |
| 5040 | 4987 | c:identifier="gdk_pixbuf_animation_iter_on_currently_loading_frame"> | |
| 5041 | 4988 | <doc xml:space="preserve" | |
| 5042 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4989 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5043 | 4990 | line="791">Used to determine how to respond to the area_updated signal on | |
| 5044 | 4991 | #GdkPixbufLoader when loading an animation. | |
| 5045 | 4992 | ||
| 5046 | 4993 | The `::area_updated` signal is emitted for an area of the frame currently | |
| 5047 | 4994 | streaming in to the loader. So if you're on the currently loading frame, | |
| 5048 | 4995 | you will need to redraw the screen for the updated area.</doc> | |
| 5049 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4996 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5050 | 4997 | line="111"/> | |
| 5051 | 4998 | <return-value transfer-ownership="none"> | |
| 5052 | 4999 | <doc xml:space="preserve" | |
| 5053 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5000 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5054 | 5001 | line="802">`TRUE` if the frame we're on is partially loaded, or the last frame</doc> | |
| 5055 | 5002 | <type name="gboolean" c:type="gboolean"/> | |
| 5056 | 5003 | </return-value> | |
| 5057 | 5004 | <parameters> | |
| 5058 | 5005 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 5059 | 5006 | <doc xml:space="preserve" | |
| 5060 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5007 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5061 | 5008 | line="793">a #GdkPixbufAnimationIter</doc> | |
| 5062 | 5009 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 5063 | 5010 | </instance-parameter> | |
| @@ -5071,32 +5018,36 @@ you will need to redraw the screen for the updated area.</doc> | |||
| 5071 | 5018 | c:type="GdkPixbufAnimationIterClass" | |
| 5072 | 5019 | glib:is-gtype-struct-for="PixbufAnimationIter"> | |
| 5073 | 5020 | <doc xml:space="preserve" | |
| 5074 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5021 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5075 | 5022 | line="168">Modules supporting animations must derive a type from | |
| 5076 | 5023 | #GdkPixbufAnimationIter, providing suitable implementations of the | |
| 5077 | 5024 | virtual functions.</doc> | |
| 5078 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5025 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5079 | 5026 | line="208"/> | |
| 5080 | 5027 | <field name="parent_class"> | |
| 5081 | 5028 | <doc xml:space="preserve" | |
| 5082 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5029 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5083 | 5030 | line="170">the parent class</doc> | |
| 5084 | 5031 | <type name="GObject.ObjectClass" c:type="GObjectClass"/> | |
| 5085 | 5032 | </field> | |
| 5086 | 5033 | <field name="get_delay_time"> | |
| 5034 | + | <doc xml:space="preserve" | |
| 5035 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5036 | + | line="171">returns the time in milliseconds that the current frame | |
| 5037 | + | should be shown.</doc> | |
| 5087 | 5038 | <callback name="get_delay_time"> | |
| 5088 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5039 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5089 | 5040 | line="200"/> | |
| 5090 | 5041 | <return-value transfer-ownership="none"> | |
| 5091 | 5042 | <doc xml:space="preserve" | |
| 5092 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5043 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5093 | 5044 | line="749">delay time in milliseconds (thousandths of a second)</doc> | |
| 5094 | 5045 | <type name="gint" c:type="int"/> | |
| 5095 | 5046 | </return-value> | |
| 5096 | 5047 | <parameters> | |
| 5097 | 5048 | <parameter name="iter" transfer-ownership="none"> | |
| 5098 | 5049 | <doc xml:space="preserve" | |
| 5099 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5050 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5100 | 5051 | line="737">an animation iterator</doc> | |
| 5101 | 5052 | <type name="PixbufAnimationIter" | |
| 5102 | 5053 | c:type="GdkPixbufAnimationIter*"/> | |
| @@ -5105,19 +5056,22 @@ virtual functions.</doc> | |||
| 5105 | 5056 | </callback> | |
| 5106 | 5057 | </field> | |
| 5107 | 5058 | <field name="get_pixbuf"> | |
| 5059 | + | <doc xml:space="preserve" | |
| 5060 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5061 | + | line="173">returns the current frame.</doc> | |
| 5108 | 5062 | <callback name="get_pixbuf"> | |
| 5109 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5063 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5110 | 5064 | line="202"/> | |
| 5111 | 5065 | <return-value transfer-ownership="none"> | |
| 5112 | 5066 | <doc xml:space="preserve" | |
| 5113 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5067 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5114 | 5068 | line="780">the pixbuf to be displayed</doc> | |
| 5115 | 5069 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 5116 | 5070 | </return-value> | |
| 5117 | 5071 | <parameters> | |
| 5118 | 5072 | <parameter name="iter" transfer-ownership="none"> | |
| 5119 | 5073 | <doc xml:space="preserve" | |
| 5120 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5074 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5121 | 5075 | line="762">an animation iterator</doc> | |
| 5122 | 5076 | <type name="PixbufAnimationIter" | |
| 5123 | 5077 | c:type="GdkPixbufAnimationIter*"/> | |
| @@ -5126,19 +5080,23 @@ virtual functions.</doc> | |||
| 5126 | 5080 | </callback> | |
| 5127 | 5081 | </field> | |
| 5128 | 5082 | <field name="on_currently_loading_frame"> | |
| 5083 | + | <doc xml:space="preserve" | |
| 5084 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5085 | + | line="174">returns whether the current frame of @iter is | |
| 5086 | + | being loaded.</doc> | |
| 5129 | 5087 | <callback name="on_currently_loading_frame"> | |
| 5130 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5088 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5131 | 5089 | line="204"/> | |
| 5132 | 5090 | <return-value transfer-ownership="none"> | |
| 5133 | 5091 | <doc xml:space="preserve" | |
| 5134 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5092 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5135 | 5093 | line="802">`TRUE` if the frame we're on is partially loaded, or the last frame</doc> | |
| 5136 | 5094 | <type name="gboolean" c:type="gboolean"/> | |
| 5137 | 5095 | </return-value> | |
| 5138 | 5096 | <parameters> | |
| 5139 | 5097 | <parameter name="iter" transfer-ownership="none"> | |
| 5140 | 5098 | <doc xml:space="preserve" | |
| 5141 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5099 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5142 | 5100 | line="793">a #GdkPixbufAnimationIter</doc> | |
| 5143 | 5101 | <type name="PixbufAnimationIter" | |
| 5144 | 5102 | c:type="GdkPixbufAnimationIter*"/> | |
| @@ -5147,19 +5105,23 @@ virtual functions.</doc> | |||
| 5147 | 5105 | </callback> | |
| 5148 | 5106 | </field> | |
| 5149 | 5107 | <field name="advance"> | |
| 5108 | + | <doc xml:space="preserve" | |
| 5109 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5110 | + | line="176">advances the iterator to @current_time, possibly changing the | |
| 5111 | + | current frame.</doc> | |
| 5150 | 5112 | <callback name="advance"> | |
| 5151 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5113 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5152 | 5114 | line="206"/> | |
| 5153 | 5115 | <return-value transfer-ownership="none"> | |
| 5154 | 5116 | <doc xml:space="preserve" | |
| 5155 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5117 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5156 | 5118 | line="840">`TRUE` if the image may need updating</doc> | |
| 5157 | 5119 | <type name="gboolean" c:type="gboolean"/> | |
| 5158 | 5120 | </return-value> | |
| 5159 | 5121 | <parameters> | |
| 5160 | 5122 | <parameter name="iter" transfer-ownership="none"> | |
| 5161 | 5123 | <doc xml:space="preserve" | |
| 5162 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5124 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5163 | 5125 | line="815">a #GdkPixbufAnimationIter</doc> | |
| 5164 | 5126 | <type name="PixbufAnimationIter" | |
| 5165 | 5127 | c:type="GdkPixbufAnimationIter*"/> | |
| @@ -5169,7 +5131,7 @@ virtual functions.</doc> | |||
| 5169 | 5131 | nullable="1" | |
| 5170 | 5132 | allow-none="1"> | |
| 5171 | 5133 | <doc xml:space="preserve" | |
| 5172 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5134 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5173 | 5135 | line="816">current time</doc> | |
| 5174 | 5136 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 5175 | 5137 | </parameter> | |
| @@ -5179,7 +5141,7 @@ virtual functions.</doc> | |||
| 5179 | 5141 | </record> | |
| 5180 | 5142 | <callback name="PixbufDestroyNotify" c:type="GdkPixbufDestroyNotify"> | |
| 5181 | 5143 | <doc xml:space="preserve" | |
| 5182 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5144 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5183 | 5145 | line="96">A function of this type is responsible for freeing the pixel array | |
| 5184 | 5146 | of a pixbuf. | |
| 5185 | 5147 | ||
| @@ -5187,14 +5149,14 @@ The gdk_pixbuf_new_from_data() function lets you pass in a pre-allocated | |||
| 5187 | 5149 | pixel array so that a pixbuf can be created from it; in this case you | |
| 5188 | 5150 | will need to pass in a function of type `GdkPixbufDestroyNotify` so that | |
| 5189 | 5151 | the pixel data can be freed when the pixbuf is finalized.</doc> | |
| 5190 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" line="110"/> | |
| 5152 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="110"/> | |
| 5191 | 5153 | <return-value transfer-ownership="none"> | |
| 5192 | 5154 | <type name="none" c:type="void"/> | |
| 5193 | 5155 | </return-value> | |
| 5194 | 5156 | <parameters> | |
| 5195 | 5157 | <parameter name="pixels" transfer-ownership="none"> | |
| 5196 | 5158 | <doc xml:space="preserve" | |
| 5197 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5159 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5198 | 5160 | line="98">The pixel array of the pixbuf | |
| 5199 | 5161 | that is being finalized.</doc> | |
| 5200 | 5162 | <array zero-terminated="0" c:type="guchar*"> | |
| @@ -5207,7 +5169,7 @@ the pixel data can be freed when the pixbuf is finalized.</doc> | |||
| 5207 | 5169 | allow-none="1" | |
| 5208 | 5170 | closure="1"> | |
| 5209 | 5171 | <doc xml:space="preserve" | |
| 5210 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5172 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5211 | 5173 | line="100">User closure data.</doc> | |
| 5212 | 5174 | <type name="gpointer" c:type="gpointer"/> | |
| 5213 | 5175 | </parameter> | |
| @@ -5219,7 +5181,7 @@ the pixel data can be freed when the pixbuf is finalized.</doc> | |||
| 5219 | 5181 | c:type="GdkPixbufError" | |
| 5220 | 5182 | glib:error-domain="gdk-pixbuf-error-quark"> | |
| 5221 | 5183 | <doc xml:space="preserve" | |
| 5222 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5184 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5223 | 5185 | line="123">An error code in the `GDK_PIXBUF_ERROR` domain. | |
| 5224 | 5186 | ||
| 5225 | 5187 | Many gdk-pixbuf operations can cause errors in this domain, or in | |
| @@ -5230,7 +5192,7 @@ the `G_FILE_ERROR` domain.</doc> | |||
| 5230 | 5192 | glib:nick="corrupt-image" | |
| 5231 | 5193 | glib:name="GDK_PIXBUF_ERROR_CORRUPT_IMAGE"> | |
| 5232 | 5194 | <doc xml:space="preserve" | |
| 5233 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5195 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5234 | 5196 | line="125">An image file was broken somehow.</doc> | |
| 5235 | 5197 | </member> | |
| 5236 | 5198 | <member name="insufficient_memory" | |
| @@ -5239,7 +5201,7 @@ the `G_FILE_ERROR` domain.</doc> | |||
| 5239 | 5201 | glib:nick="insufficient-memory" | |
| 5240 | 5202 | glib:name="GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY"> | |
| 5241 | 5203 | <doc xml:space="preserve" | |
| 5242 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5204 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5243 | 5205 | line="126">Not enough memory.</doc> | |
| 5244 | 5206 | </member> | |
| 5245 | 5207 | <member name="bad_option" | |
| @@ -5248,7 +5210,7 @@ the `G_FILE_ERROR` domain.</doc> | |||
| 5248 | 5210 | glib:nick="bad-option" | |
| 5249 | 5211 | glib:name="GDK_PIXBUF_ERROR_BAD_OPTION"> | |
| 5250 | 5212 | <doc xml:space="preserve" | |
| 5251 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5213 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5252 | 5214 | line="127">A bad option was passed to a pixbuf save module.</doc> | |
| 5253 | 5215 | </member> | |
| 5254 | 5216 | <member name="unknown_type" | |
| @@ -5257,7 +5219,7 @@ the `G_FILE_ERROR` domain.</doc> | |||
| 5257 | 5219 | glib:nick="unknown-type" | |
| 5258 | 5220 | glib:name="GDK_PIXBUF_ERROR_UNKNOWN_TYPE"> | |
| 5259 | 5221 | <doc xml:space="preserve" | |
| 5260 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5222 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5261 | 5223 | line="128">Unknown image type.</doc> | |
| 5262 | 5224 | </member> | |
| 5263 | 5225 | <member name="unsupported_operation" | |
| @@ -5266,7 +5228,7 @@ the `G_FILE_ERROR` domain.</doc> | |||
| 5266 | 5228 | glib:nick="unsupported-operation" | |
| 5267 | 5229 | glib:name="GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION"> | |
| 5268 | 5230 | <doc xml:space="preserve" | |
| 5269 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5231 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5270 | 5232 | line="129">Don't know how to perform the | |
| 5271 | 5233 | given operation on the type of image at hand.</doc> | |
| 5272 | 5234 | </member> | |
| @@ -5276,7 +5238,7 @@ the `G_FILE_ERROR` domain.</doc> | |||
| 5276 | 5238 | glib:nick="failed" | |
| 5277 | 5239 | glib:name="GDK_PIXBUF_ERROR_FAILED"> | |
| 5278 | 5240 | <doc xml:space="preserve" | |
| 5279 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5241 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5280 | 5242 | line="131">Generic failure code, something went wrong.</doc> | |
| 5281 | 5243 | </member> | |
| 5282 | 5244 | <member name="incomplete_animation" | |
| @@ -5285,7 +5247,7 @@ the `G_FILE_ERROR` domain.</doc> | |||
| 5285 | 5247 | glib:nick="incomplete-animation" | |
| 5286 | 5248 | glib:name="GDK_PIXBUF_ERROR_INCOMPLETE_ANIMATION"> | |
| 5287 | 5249 | <doc xml:space="preserve" | |
| 5288 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5250 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5289 | 5251 | line="132">Only part of the animation was loaded.</doc> | |
| 5290 | 5252 | </member> | |
| 5291 | 5253 | <function name="quark" c:identifier="gdk_pixbuf_error_quark"> | |
| @@ -5301,40 +5263,40 @@ the `G_FILE_ERROR` domain.</doc> | |||
| 5301 | 5263 | glib:get-type="gdk_pixbuf_format_get_type" | |
| 5302 | 5264 | c:symbol-prefix="pixbuf_format"> | |
| 5303 | 5265 | <doc xml:space="preserve" | |
| 5304 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5266 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5305 | 5267 | line="443">A `GdkPixbufFormat` contains information about the image format accepted | |
| 5306 | 5268 | by a module. | |
| 5307 | 5269 | ||
| 5308 | 5270 | Only modules should access the fields directly, applications should | |
| 5309 | 5271 | use the `gdk_pixbuf_format_*` family of functions.</doc> | |
| 5310 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="475"/> | |
| 5272 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="475"/> | |
| 5311 | 5273 | <field name="name" writable="1"> | |
| 5312 | 5274 | <doc xml:space="preserve" | |
| 5313 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5275 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5314 | 5276 | line="445">the name of the image format</doc> | |
| 5315 | 5277 | <type name="utf8" c:type="gchar*"/> | |
| 5316 | 5278 | </field> | |
| 5317 | 5279 | <field name="signature" writable="1"> | |
| 5318 | 5280 | <doc xml:space="preserve" | |
| 5319 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5281 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5320 | 5282 | line="446">the signature of the module</doc> | |
| 5321 | 5283 | <type name="PixbufModulePattern" c:type="GdkPixbufModulePattern*"/> | |
| 5322 | 5284 | </field> | |
| 5323 | 5285 | <field name="domain" writable="1"> | |
| 5324 | 5286 | <doc xml:space="preserve" | |
| 5325 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5287 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5326 | 5288 | line="447">the message domain for the `description`</doc> | |
| 5327 | 5289 | <type name="utf8" c:type="gchar*"/> | |
| 5328 | 5290 | </field> | |
| 5329 | 5291 | <field name="description" writable="1"> | |
| 5330 | 5292 | <doc xml:space="preserve" | |
| 5331 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5293 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5332 | 5294 | line="448">a description of the image format</doc> | |
| 5333 | 5295 | <type name="utf8" c:type="gchar*"/> | |
| 5334 | 5296 | </field> | |
| 5335 | 5297 | <field name="mime_types" writable="1"> | |
| 5336 | 5298 | <doc xml:space="preserve" | |
| 5337 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5299 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5338 | 5300 | line="449">the MIME types for the image format</doc> | |
| 5339 | 5301 | <array c:type="gchar**"> | |
| 5340 | 5302 | <type name="utf8" c:type="gchar*"/> | |
| @@ -5342,7 +5304,7 @@ use the `gdk_pixbuf_format_*` family of functions.</doc> | |||
| 5342 | 5304 | </field> | |
| 5343 | 5305 | <field name="extensions" writable="1"> | |
| 5344 | 5306 | <doc xml:space="preserve" | |
| 5345 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5307 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5346 | 5308 | line="450">typical filename extensions for the | |
| 5347 | 5309 | image format</doc> | |
| 5348 | 5310 | <array c:type="gchar**"> | |
| @@ -5351,31 +5313,31 @@ use the `gdk_pixbuf_format_*` family of functions.</doc> | |||
| 5351 | 5313 | </field> | |
| 5352 | 5314 | <field name="flags" writable="1"> | |
| 5353 | 5315 | <doc xml:space="preserve" | |
| 5354 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5316 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5355 | 5317 | line="452">a combination of `GdkPixbufFormatFlags`</doc> | |
| 5356 | 5318 | <type name="guint32" c:type="guint32"/> | |
| 5357 | 5319 | </field> | |
| 5358 | 5320 | <field name="disabled" writable="1"> | |
| 5359 | 5321 | <doc xml:space="preserve" | |
| 5360 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5322 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5361 | 5323 | line="453">a boolean determining whether the loader is disabled`</doc> | |
| 5362 | 5324 | <type name="gboolean" c:type="gboolean"/> | |
| 5363 | 5325 | </field> | |
| 5364 | 5326 | <field name="license" writable="1"> | |
| 5365 | 5327 | <doc xml:space="preserve" | |
| 5366 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5328 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5367 | 5329 | line="454">a string containing license information, typically set to | |
| 5368 | 5330 | shorthands like "GPL", "LGPL", etc.</doc> | |
| 5369 | 5331 | <type name="utf8" c:type="gchar*"/> | |
| 5370 | 5332 | </field> | |
| 5371 | 5333 | <method name="copy" c:identifier="gdk_pixbuf_format_copy" version="2.22"> | |
| 5372 | 5334 | <doc xml:space="preserve" | |
| 5373 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5335 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5374 | 5336 | line="3452">Creates a copy of `format`.</doc> | |
| 5375 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="92"/> | |
| 5376 | - | <return-value transfer-ownership="full"> | |
| 5337 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="92"/> | |
| 5338 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 5377 | 5339 | <doc xml:space="preserve" | |
| 5378 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5340 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5379 | 5341 | line="3458">the newly allocated copy of a `GdkPixbufFormat`. Use | |
| 5380 | 5342 | gdk_pixbuf_format_free() to free the resources when done</doc> | |
| 5381 | 5343 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| @@ -5383,7 +5345,7 @@ use the `gdk_pixbuf_format_*` family of functions.</doc> | |||
| 5383 | 5345 | <parameters> | |
| 5384 | 5346 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5385 | 5347 | <doc xml:space="preserve" | |
| 5386 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5348 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5387 | 5349 | line="3454">a pixbuf format</doc> | |
| 5388 | 5350 | <type name="PixbufFormat" c:type="const GdkPixbufFormat*"/> | |
| 5389 | 5351 | </instance-parameter> | |
| @@ -5391,17 +5353,17 @@ use the `gdk_pixbuf_format_*` family of functions.</doc> | |||
| 5391 | 5353 | </method> | |
| 5392 | 5354 | <method name="free" c:identifier="gdk_pixbuf_format_free" version="2.22"> | |
| 5393 | 5355 | <doc xml:space="preserve" | |
| 5394 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5356 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5395 | 5357 | line="3472">Frees the resources allocated when copying a `GdkPixbufFormat` | |
| 5396 | 5358 | using gdk_pixbuf_format_copy()</doc> | |
| 5397 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="94"/> | |
| 5359 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="94"/> | |
| 5398 | 5360 | <return-value transfer-ownership="none"> | |
| 5399 | 5361 | <type name="none" c:type="void"/> | |
| 5400 | 5362 | </return-value> | |
| 5401 | 5363 | <parameters> | |
| 5402 | 5364 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5403 | 5365 | <doc xml:space="preserve" | |
| 5404 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5366 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5405 | 5367 | line="3474">a pixbuf format</doc> | |
| 5406 | 5368 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5407 | 5369 | </instance-parameter> | |
| @@ -5411,19 +5373,19 @@ using gdk_pixbuf_format_copy()</doc> | |||
| 5411 | 5373 | c:identifier="gdk_pixbuf_format_get_description" | |
| 5412 | 5374 | version="2.2"> | |
| 5413 | 5375 | <doc xml:space="preserve" | |
| 5414 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5376 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5415 | 5377 | line="3249">Returns a description of the format.</doc> | |
| 5416 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="56"/> | |
| 5417 | - | <return-value transfer-ownership="full"> | |
| 5378 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="56"/> | |
| 5379 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 5418 | 5380 | <doc xml:space="preserve" | |
| 5419 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5381 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5420 | 5382 | line="3255">a description of the format.</doc> | |
| 5421 | 5383 | <type name="utf8" c:type="gchar*"/> | |
| 5422 | 5384 | </return-value> | |
| 5423 | 5385 | <parameters> | |
| 5424 | 5386 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5425 | 5387 | <doc xml:space="preserve" | |
| 5426 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5388 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5427 | 5389 | line="3251">a `GdkPixbufFormat`</doc> | |
| 5428 | 5390 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5429 | 5391 | </instance-parameter> | |
| @@ -5433,13 +5395,13 @@ using gdk_pixbuf_format_copy()</doc> | |||
| 5433 | 5395 | c:identifier="gdk_pixbuf_format_get_extensions" | |
| 5434 | 5396 | version="2.2"> | |
| 5435 | 5397 | <doc xml:space="preserve" | |
| 5436 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5398 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5437 | 5399 | line="3293">Returns the filename extensions typically used for files in the | |
| 5438 | 5400 | given format.</doc> | |
| 5439 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="60"/> | |
| 5440 | - | <return-value transfer-ownership="full"> | |
| 5401 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="60"/> | |
| 5402 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 5441 | 5403 | <doc xml:space="preserve" | |
| 5442 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5404 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5443 | 5405 | line="3300">an array of | |
| 5444 | 5406 | filename extensions</doc> | |
| 5445 | 5407 | <array c:type="gchar**"> | |
| @@ -5449,7 +5411,7 @@ given format.</doc> | |||
| 5449 | 5411 | <parameters> | |
| 5450 | 5412 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5451 | 5413 | <doc xml:space="preserve" | |
| 5452 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5414 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5453 | 5415 | line="3295">a `GdkPixbufFormat`</doc> | |
| 5454 | 5416 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5455 | 5417 | </instance-parameter> | |
| @@ -5459,22 +5421,22 @@ given format.</doc> | |||
| 5459 | 5421 | c:identifier="gdk_pixbuf_format_get_license" | |
| 5460 | 5422 | version="2.6"> | |
| 5461 | 5423 | <doc xml:space="preserve" | |
| 5462 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5424 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5463 | 5425 | line="3397">Returns information about the license of the image loader for the format. | |
| 5464 | 5426 | ||
| 5465 | 5427 | The returned string should be a shorthand for a well known license, e.g. | |
| 5466 | 5428 | "LGPL", "GPL", "QPL", "GPL/QPL", or "other" to indicate some other license.</doc> | |
| 5467 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="74"/> | |
| 5468 | - | <return-value transfer-ownership="full"> | |
| 5429 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="74"/> | |
| 5430 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 5469 | 5431 | <doc xml:space="preserve" | |
| 5470 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5432 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5471 | 5433 | line="3406">a string describing the license of the pixbuf format</doc> | |
| 5472 | 5434 | <type name="utf8" c:type="gchar*"/> | |
| 5473 | 5435 | </return-value> | |
| 5474 | 5436 | <parameters> | |
| 5475 | 5437 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5476 | 5438 | <doc xml:space="preserve" | |
| 5477 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5439 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5478 | 5440 | line="3399">a pixbuf format</doc> | |
| 5479 | 5441 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5480 | 5442 | </instance-parameter> | |
| @@ -5484,12 +5446,12 @@ The returned string should be a shorthand for a well known license, e.g. | |||
| 5484 | 5446 | c:identifier="gdk_pixbuf_format_get_mime_types" | |
| 5485 | 5447 | version="2.2"> | |
| 5486 | 5448 | <doc xml:space="preserve" | |
| 5487 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5449 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5488 | 5450 | line="3275">Returns the mime types supported by the format.</doc> | |
| 5489 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="58"/> | |
| 5490 | - | <return-value transfer-ownership="full"> | |
| 5451 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="58"/> | |
| 5452 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 5491 | 5453 | <doc xml:space="preserve" | |
| 5492 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5454 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5493 | 5455 | line="3281">an array of mime types</doc> | |
| 5494 | 5456 | <array c:type="gchar**"> | |
| 5495 | 5457 | <type name="utf8"/> | |
| @@ -5498,7 +5460,7 @@ The returned string should be a shorthand for a well known license, e.g. | |||
| 5498 | 5460 | <parameters> | |
| 5499 | 5461 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5500 | 5462 | <doc xml:space="preserve" | |
| 5501 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5463 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5502 | 5464 | line="3277">a `GdkPixbufFormat`</doc> | |
| 5503 | 5465 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5504 | 5466 | </instance-parameter> | |
| @@ -5508,19 +5470,19 @@ The returned string should be a shorthand for a well known license, e.g. | |||
| 5508 | 5470 | c:identifier="gdk_pixbuf_format_get_name" | |
| 5509 | 5471 | version="2.2"> | |
| 5510 | 5472 | <doc xml:space="preserve" | |
| 5511 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5473 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5512 | 5474 | line="3231">Returns the name of the format.</doc> | |
| 5513 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="54"/> | |
| 5514 | - | <return-value transfer-ownership="full"> | |
| 5475 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="54"/> | |
| 5476 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 5515 | 5477 | <doc xml:space="preserve" | |
| 5516 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5478 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5517 | 5479 | line="3237">the name of the format.</doc> | |
| 5518 | 5480 | <type name="utf8" c:type="gchar*"/> | |
| 5519 | 5481 | </return-value> | |
| 5520 | 5482 | <parameters> | |
| 5521 | 5483 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5522 | 5484 | <doc xml:space="preserve" | |
| 5523 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5485 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5524 | 5486 | line="3233">a `GdkPixbufFormat`</doc> | |
| 5525 | 5487 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5526 | 5488 | </instance-parameter> | |
| @@ -5530,21 +5492,21 @@ The returned string should be a shorthand for a well known license, e.g. | |||
| 5530 | 5492 | c:identifier="gdk_pixbuf_format_is_disabled" | |
| 5531 | 5493 | version="2.6"> | |
| 5532 | 5494 | <doc xml:space="preserve" | |
| 5533 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5495 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5534 | 5496 | line="3353">Returns whether this image format is disabled. | |
| 5535 | 5497 | ||
| 5536 | 5498 | See gdk_pixbuf_format_set_disabled().</doc> | |
| 5537 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="69"/> | |
| 5499 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="69"/> | |
| 5538 | 5500 | <return-value transfer-ownership="none"> | |
| 5539 | 5501 | <doc xml:space="preserve" | |
| 5540 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5502 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5541 | 5503 | line="3361">whether this image format is disabled.</doc> | |
| 5542 | 5504 | <type name="gboolean" c:type="gboolean"/> | |
| 5543 | 5505 | </return-value> | |
| 5544 | 5506 | <parameters> | |
| 5545 | 5507 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5546 | 5508 | <doc xml:space="preserve" | |
| 5547 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5509 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5548 | 5510 | line="3355">a `GdkPixbufFormat`</doc> | |
| 5549 | 5511 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5550 | 5512 | </instance-parameter> | |
| @@ -5554,28 +5516,28 @@ See gdk_pixbuf_format_set_disabled().</doc> | |||
| 5554 | 5516 | c:identifier="gdk_pixbuf_format_is_save_option_supported" | |
| 5555 | 5517 | version="2.36"> | |
| 5556 | 5518 | <doc xml:space="preserve" | |
| 5557 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5519 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5558 | 5520 | line="3488">Returns `TRUE` if the save option specified by @option_key is supported when | |
| 5559 | 5521 | saving a pixbuf using the module implementing @format. | |
| 5560 | 5522 | ||
| 5561 | 5523 | See gdk_pixbuf_save() for more information about option keys.</doc> | |
| 5562 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="62"/> | |
| 5524 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="62"/> | |
| 5563 | 5525 | <return-value transfer-ownership="none"> | |
| 5564 | 5526 | <doc xml:space="preserve" | |
| 5565 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5527 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5566 | 5528 | line="3498">`TRUE` if the specified option is supported</doc> | |
| 5567 | 5529 | <type name="gboolean" c:type="gboolean"/> | |
| 5568 | 5530 | </return-value> | |
| 5569 | 5531 | <parameters> | |
| 5570 | 5532 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5571 | 5533 | <doc xml:space="preserve" | |
| 5572 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5534 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5573 | 5535 | line="3490">a pixbuf format</doc> | |
| 5574 | 5536 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5575 | 5537 | </instance-parameter> | |
| 5576 | 5538 | <parameter name="option_key" transfer-ownership="none"> | |
| 5577 | 5539 | <doc xml:space="preserve" | |
| 5578 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5540 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5579 | 5541 | line="3491">the name of an option</doc> | |
| 5580 | 5542 | <type name="utf8" c:type="const gchar*"/> | |
| 5581 | 5543 | </parameter> | |
| @@ -5585,23 +5547,23 @@ See gdk_pixbuf_save() for more information about option keys.</doc> | |||
| 5585 | 5547 | c:identifier="gdk_pixbuf_format_is_scalable" | |
| 5586 | 5548 | version="2.6"> | |
| 5587 | 5549 | <doc xml:space="preserve" | |
| 5588 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5550 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5589 | 5551 | line="3331">Returns whether this image format is scalable. | |
| 5590 | 5552 | ||
| 5591 | 5553 | If a file is in a scalable format, it is preferable to load it at | |
| 5592 | 5554 | the desired size, rather than loading it at the default size and | |
| 5593 | 5555 | scaling the resulting pixbuf to the desired size.</doc> | |
| 5594 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="67"/> | |
| 5556 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="67"/> | |
| 5595 | 5557 | <return-value transfer-ownership="none"> | |
| 5596 | 5558 | <doc xml:space="preserve" | |
| 5597 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5559 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5598 | 5560 | line="3341">whether this image format is scalable.</doc> | |
| 5599 | 5561 | <type name="gboolean" c:type="gboolean"/> | |
| 5600 | 5562 | </return-value> | |
| 5601 | 5563 | <parameters> | |
| 5602 | 5564 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5603 | 5565 | <doc xml:space="preserve" | |
| 5604 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5566 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5605 | 5567 | line="3333">a `GdkPixbufFormat`</doc> | |
| 5606 | 5568 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5607 | 5569 | </instance-parameter> | |
| @@ -5611,19 +5573,19 @@ scaling the resulting pixbuf to the desired size.</doc> | |||
| 5611 | 5573 | c:identifier="gdk_pixbuf_format_is_writable" | |
| 5612 | 5574 | version="2.2"> | |
| 5613 | 5575 | <doc xml:space="preserve" | |
| 5614 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5576 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5615 | 5577 | line="3313">Returns whether pixbufs can be saved in the given format.</doc> | |
| 5616 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="65"/> | |
| 5578 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="65"/> | |
| 5617 | 5579 | <return-value transfer-ownership="none"> | |
| 5618 | 5580 | <doc xml:space="preserve" | |
| 5619 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5581 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5620 | 5582 | line="3319">whether pixbufs can be saved in the given format.</doc> | |
| 5621 | 5583 | <type name="gboolean" c:type="gboolean"/> | |
| 5622 | 5584 | </return-value> | |
| 5623 | 5585 | <parameters> | |
| 5624 | 5586 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5625 | 5587 | <doc xml:space="preserve" | |
| 5626 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5588 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5627 | 5589 | line="3315">a `GdkPixbufFormat`</doc> | |
| 5628 | 5590 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5629 | 5591 | </instance-parameter> | |
| @@ -5633,7 +5595,7 @@ scaling the resulting pixbuf to the desired size.</doc> | |||
| 5633 | 5595 | c:identifier="gdk_pixbuf_format_set_disabled" | |
| 5634 | 5596 | version="2.6"> | |
| 5635 | 5597 | <doc xml:space="preserve" | |
| 5636 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5598 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5637 | 5599 | line="3373">Disables or enables an image format. | |
| 5638 | 5600 | ||
| 5639 | 5601 | If a format is disabled, GdkPixbuf won't use the image loader for | |
| @@ -5641,20 +5603,20 @@ this format to load images. | |||
| 5641 | 5603 | ||
| 5642 | 5604 | Applications can use this to avoid using image loaders with an | |
| 5643 | 5605 | inappropriate license, see gdk_pixbuf_format_get_license().</doc> | |
| 5644 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="71"/> | |
| 5606 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="71"/> | |
| 5645 | 5607 | <return-value transfer-ownership="none"> | |
| 5646 | 5608 | <type name="none" c:type="void"/> | |
| 5647 | 5609 | </return-value> | |
| 5648 | 5610 | <parameters> | |
| 5649 | 5611 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5650 | 5612 | <doc xml:space="preserve" | |
| 5651 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5613 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5652 | 5614 | line="3375">a `GdkPixbufFormat`</doc> | |
| 5653 | 5615 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5654 | 5616 | </instance-parameter> | |
| 5655 | 5617 | <parameter name="disabled" transfer-ownership="none"> | |
| 5656 | 5618 | <doc xml:space="preserve" | |
| 5657 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5619 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5658 | 5620 | line="3376">`TRUE` to disable the format @format</doc> | |
| 5659 | 5621 | <type name="gboolean" c:type="gboolean"/> | |
| 5660 | 5622 | </parameter> | |
| @@ -5665,29 +5627,29 @@ inappropriate license, see gdk_pixbuf_format_get_license().</doc> | |||
| 5665 | 5627 | version="2.2" | |
| 5666 | 5628 | c:type="GdkPixbufFormatFlags"> | |
| 5667 | 5629 | <doc xml:space="preserve" | |
| 5668 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5630 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5669 | 5631 | line="424">Flags which allow a module to specify further details about the supported | |
| 5670 | 5632 | operations.</doc> | |
| 5671 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="441"/> | |
| 5633 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="441"/> | |
| 5672 | 5634 | <member name="writable" | |
| 5673 | 5635 | value="1" | |
| 5674 | 5636 | c:identifier="GDK_PIXBUF_FORMAT_WRITABLE"> | |
| 5675 | 5637 | <doc xml:space="preserve" | |
| 5676 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5638 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5677 | 5639 | line="426">the module can write out images in the format.</doc> | |
| 5678 | 5640 | </member> | |
| 5679 | 5641 | <member name="scalable" | |
| 5680 | 5642 | value="2" | |
| 5681 | 5643 | c:identifier="GDK_PIXBUF_FORMAT_SCALABLE"> | |
| 5682 | 5644 | <doc xml:space="preserve" | |
| 5683 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5645 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5684 | 5646 | line="427">the image format is scalable</doc> | |
| 5685 | 5647 | </member> | |
| 5686 | 5648 | <member name="threadsafe" | |
| 5687 | 5649 | value="4" | |
| 5688 | 5650 | c:identifier="GDK_PIXBUF_FORMAT_THREADSAFE"> | |
| 5689 | 5651 | <doc xml:space="preserve" | |
| 5690 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5652 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5691 | 5653 | line="428">the module is threadsafe. gdk-pixbuf | |
| 5692 | 5654 | ignores modules that are not marked as threadsafe. (Since 2.28).</doc> | |
| 5693 | 5655 | </member> | |
| @@ -5700,7 +5662,7 @@ operations.</doc> | |||
| 5700 | 5662 | glib:get-type="gdk_pixbuf_loader_get_type" | |
| 5701 | 5663 | glib:type-struct="PixbufLoaderClass"> | |
| 5702 | 5664 | <doc xml:space="preserve" | |
| 5703 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5665 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5704 | 5666 | line="34">Incremental image loader. | |
| 5705 | 5667 | ||
| 5706 | 5668 | `GdkPixbufLoader` provides a way for applications to drive the | |
| @@ -5746,16 +5708,15 @@ get the [class@GdkPixbuf.PixbufAnimation] instance, and then call | |||
| 5746 | 5708 | and [method@GdkPixbuf.PixbufAnimation.get_iter] to get a | |
| 5747 | 5709 | [class@GdkPixbuf.PixbufAnimationIter] to retrieve the pixbuf for the | |
| 5748 | 5710 | desired time stamp.</doc> | |
| 5749 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" line="74"/> | |
| 5711 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="74"/> | |
| 5750 | 5712 | <constructor name="new" c:identifier="gdk_pixbuf_loader_new"> | |
| 5751 | 5713 | <doc xml:space="preserve" | |
| 5752 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5714 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5753 | 5715 | line="596">Creates a new pixbuf loader object.</doc> | |
| 5754 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5755 | - | line="79"/> | |
| 5716 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="79"/> | |
| 5756 | 5717 | <return-value transfer-ownership="full"> | |
| 5757 | 5718 | <doc xml:space="preserve" | |
| 5758 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5719 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5759 | 5720 | line="601">A newly-created pixbuf loader.</doc> | |
| 5760 | 5721 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5761 | 5722 | </return-value> | |
| @@ -5765,7 +5726,7 @@ desired time stamp.</doc> | |||
| 5765 | 5726 | version="2.4" | |
| 5766 | 5727 | throws="1"> | |
| 5767 | 5728 | <doc xml:space="preserve" | |
| 5768 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5729 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5769 | 5730 | line="654">Creates a new pixbuf loader object that always attempts to parse | |
| 5770 | 5731 | image data as if it were an image of MIME type @mime_type, instead of | |
| 5771 | 5732 | identifying the type automatically. | |
| @@ -5781,18 +5742,17 @@ are installed, but typically "image/png", "image/jpeg", "image/gif", | |||
| 5781 | 5742 | To obtain the full list of supported mime types, call | |
| 5782 | 5743 | gdk_pixbuf_format_get_mime_types() on each of the #GdkPixbufFormat | |
| 5783 | 5744 | structs returned by gdk_pixbuf_get_formats().</doc> | |
| 5784 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5785 | - | line="84"/> | |
| 5745 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="84"/> | |
| 5786 | 5746 | <return-value transfer-ownership="full"> | |
| 5787 | 5747 | <doc xml:space="preserve" | |
| 5788 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5748 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5789 | 5749 | line="675">A newly-created pixbuf loader.</doc> | |
| 5790 | 5750 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5791 | 5751 | </return-value> | |
| 5792 | 5752 | <parameters> | |
| 5793 | 5753 | <parameter name="mime_type" transfer-ownership="none"> | |
| 5794 | 5754 | <doc xml:space="preserve" | |
| 5795 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5755 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5796 | 5756 | line="656">the mime type to be loaded</doc> | |
| 5797 | 5757 | <type name="utf8" c:type="const char*"/> | |
| 5798 | 5758 | </parameter> | |
| @@ -5802,7 +5762,7 @@ structs returned by gdk_pixbuf_get_formats().</doc> | |||
| 5802 | 5762 | c:identifier="gdk_pixbuf_loader_new_with_type" | |
| 5803 | 5763 | throws="1"> | |
| 5804 | 5764 | <doc xml:space="preserve" | |
| 5805 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5765 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5806 | 5766 | line="609">Creates a new pixbuf loader object that always attempts to parse | |
| 5807 | 5767 | image data as if it were an image of type @image_type, instead of | |
| 5808 | 5768 | identifying the type automatically. | |
| @@ -5817,26 +5777,24 @@ are installed, but typically "png", "jpeg", "gif", "tiff" and | |||
| 5817 | 5777 | "xpm" are among the supported formats. To obtain the full list of | |
| 5818 | 5778 | supported image formats, call gdk_pixbuf_format_get_name() on each | |
| 5819 | 5779 | of the #GdkPixbufFormat structs returned by gdk_pixbuf_get_formats().</doc> | |
| 5820 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5821 | - | line="81"/> | |
| 5780 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="81"/> | |
| 5822 | 5781 | <return-value transfer-ownership="full"> | |
| 5823 | 5782 | <doc xml:space="preserve" | |
| 5824 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5783 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5825 | 5784 | line="629">A newly-created pixbuf loader.</doc> | |
| 5826 | 5785 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5827 | 5786 | </return-value> | |
| 5828 | 5787 | <parameters> | |
| 5829 | 5788 | <parameter name="image_type" transfer-ownership="none"> | |
| 5830 | 5789 | <doc xml:space="preserve" | |
| 5831 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5790 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5832 | 5791 | line="611">name of the image format to be loaded with the image</doc> | |
| 5833 | 5792 | <type name="utf8" c:type="const char*"/> | |
| 5834 | 5793 | </parameter> | |
| 5835 | 5794 | </parameters> | |
| 5836 | 5795 | </constructor> | |
| 5837 | 5796 | <virtual-method name="area_prepared"> | |
| 5838 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5839 | - | line="64"/> | |
| 5797 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="64"/> | |
| 5840 | 5798 | <return-value transfer-ownership="none"> | |
| 5841 | 5799 | <type name="none" c:type="void"/> | |
| 5842 | 5800 | </return-value> | |
| @@ -5847,8 +5805,7 @@ of the #GdkPixbufFormat structs returned by gdk_pixbuf_get_formats().</doc> | |||
| 5847 | 5805 | </parameters> | |
| 5848 | 5806 | </virtual-method> | |
| 5849 | 5807 | <virtual-method name="area_updated"> | |
| 5850 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5851 | - | line="67"/> | |
| 5808 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="67"/> | |
| 5852 | 5809 | <return-value transfer-ownership="none"> | |
| 5853 | 5810 | <type name="none" c:type="void"/> | |
| 5854 | 5811 | </return-value> | |
| @@ -5871,8 +5828,7 @@ of the #GdkPixbufFormat structs returned by gdk_pixbuf_get_formats().</doc> | |||
| 5871 | 5828 | </parameters> | |
| 5872 | 5829 | </virtual-method> | |
| 5873 | 5830 | <virtual-method name="closed"> | |
| 5874 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5875 | - | line="73"/> | |
| 5831 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="73"/> | |
| 5876 | 5832 | <return-value transfer-ownership="none"> | |
| 5877 | 5833 | <type name="none" c:type="void"/> | |
| 5878 | 5834 | </return-value> | |
| @@ -5883,8 +5839,7 @@ of the #GdkPixbufFormat structs returned by gdk_pixbuf_get_formats().</doc> | |||
| 5883 | 5839 | </parameters> | |
| 5884 | 5840 | </virtual-method> | |
| 5885 | 5841 | <virtual-method name="size_prepared"> | |
| 5886 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5887 | - | line="60"/> | |
| 5842 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="60"/> | |
| 5888 | 5843 | <return-value transfer-ownership="none"> | |
| 5889 | 5844 | <type name="none" c:type="void"/> | |
| 5890 | 5845 | </return-value> | |
| @@ -5902,7 +5857,7 @@ of the #GdkPixbufFormat structs returned by gdk_pixbuf_get_formats().</doc> | |||
| 5902 | 5857 | </virtual-method> | |
| 5903 | 5858 | <method name="close" c:identifier="gdk_pixbuf_loader_close" throws="1"> | |
| 5904 | 5859 | <doc xml:space="preserve" | |
| 5905 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5860 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5906 | 5861 | line="803">Informs a pixbuf loader that no further writes with | |
| 5907 | 5862 | gdk_pixbuf_loader_write() will occur, so that it can free its | |
| 5908 | 5863 | internal loading structures. | |
| @@ -5918,11 +5873,10 @@ passing `NULL` for `error` to ignore it is reasonable. | |||
| 5918 | 5873 | ||
| 5919 | 5874 | Remember that this function does not release a reference on the loader, so | |
| 5920 | 5875 | you will need to explicitly release any reference you hold.</doc> | |
| 5921 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5922 | - | line="104"/> | |
| 5876 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="104"/> | |
| 5923 | 5877 | <return-value transfer-ownership="none"> | |
| 5924 | 5878 | <doc xml:space="preserve" | |
| 5925 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5879 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5926 | 5880 | line="824">`TRUE` if all image data written so far was successfully | |
| 5927 | 5881 | passed out via the update_area signal</doc> | |
| 5928 | 5882 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -5930,7 +5884,7 @@ you will need to explicitly release any reference you hold.</doc> | |||
| 5930 | 5884 | <parameters> | |
| 5931 | 5885 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 5932 | 5886 | <doc xml:space="preserve" | |
| 5933 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5887 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5934 | 5888 | line="805">A pixbuf loader.</doc> | |
| 5935 | 5889 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5936 | 5890 | </instance-parameter> | |
| @@ -5939,7 +5893,7 @@ you will need to explicitly release any reference you hold.</doc> | |||
| 5939 | 5893 | <method name="get_animation" | |
| 5940 | 5894 | c:identifier="gdk_pixbuf_loader_get_animation"> | |
| 5941 | 5895 | <doc xml:space="preserve" | |
| 5942 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5896 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5943 | 5897 | line="775">Queries the #GdkPixbufAnimation that a pixbuf loader is currently creating. | |
| 5944 | 5898 | ||
| 5945 | 5899 | In general it only makes sense to call this function after the | |
| @@ -5948,11 +5902,10 @@ the loader. | |||
| 5948 | 5902 | ||
| 5949 | 5903 | If the loader doesn't have enough bytes yet, and hasn't emitted the `area-prepared` | |
| 5950 | 5904 | signal, this function will return `NULL`.</doc> | |
| 5951 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5952 | - | line="102"/> | |
| 5905 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="102"/> | |
| 5953 | 5906 | <return-value transfer-ownership="none" nullable="1"> | |
| 5954 | 5907 | <doc xml:space="preserve" | |
| 5955 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5908 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5956 | 5909 | line="788">The animation that the loader is | |
| 5957 | 5910 | currently loading</doc> | |
| 5958 | 5911 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| @@ -5960,7 +5913,7 @@ signal, this function will return `NULL`.</doc> | |||
| 5960 | 5913 | <parameters> | |
| 5961 | 5914 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 5962 | 5915 | <doc xml:space="preserve" | |
| 5963 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5916 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5964 | 5917 | line="777">A pixbuf loader</doc> | |
| 5965 | 5918 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5966 | 5919 | </instance-parameter> | |
| @@ -5970,21 +5923,20 @@ signal, this function will return `NULL`.</doc> | |||
| 5970 | 5923 | c:identifier="gdk_pixbuf_loader_get_format" | |
| 5971 | 5924 | version="2.2"> | |
| 5972 | 5925 | <doc xml:space="preserve" | |
| 5973 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5926 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5974 | 5927 | line="891">Obtains the available information about the format of the | |
| 5975 | 5928 | currently loading image file.</doc> | |
| 5976 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5977 | - | line="107"/> | |
| 5929 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="107"/> | |
| 5978 | 5930 | <return-value transfer-ownership="none" nullable="1"> | |
| 5979 | 5931 | <doc xml:space="preserve" | |
| 5980 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5932 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5981 | 5933 | line="898">A #GdkPixbufFormat</doc> | |
| 5982 | 5934 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5983 | 5935 | </return-value> | |
| 5984 | 5936 | <parameters> | |
| 5985 | 5937 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 5986 | 5938 | <doc xml:space="preserve" | |
| 5987 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5939 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5988 | 5940 | line="893">A pixbuf loader.</doc> | |
| 5989 | 5941 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5990 | 5942 | </instance-parameter> | |
| @@ -5992,7 +5944,7 @@ currently loading image file.</doc> | |||
| 5992 | 5944 | </method> | |
| 5993 | 5945 | <method name="get_pixbuf" c:identifier="gdk_pixbuf_loader_get_pixbuf"> | |
| 5994 | 5946 | <doc xml:space="preserve" | |
| 5995 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5947 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5996 | 5948 | line="737">Queries the #GdkPixbuf that a pixbuf loader is currently creating. | |
| 5997 | 5949 | ||
| 5998 | 5950 | In general it only makes sense to call this function after the | |
| @@ -6008,11 +5960,10 @@ so if you want to keep using it, you should acquire a reference to it. | |||
| 6008 | 5960 | ||
| 6009 | 5961 | Additionally, if the loader is an animation, it will return the "static | |
| 6010 | 5962 | image" of the animation (see gdk_pixbuf_animation_get_static_image()).</doc> | |
| 6011 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6012 | - | line="100"/> | |
| 5963 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="100"/> | |
| 6013 | 5964 | <return-value transfer-ownership="none" nullable="1"> | |
| 6014 | 5965 | <doc xml:space="preserve" | |
| 6015 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5966 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6016 | 5967 | line="757">The pixbuf that the loader is | |
| 6017 | 5968 | creating</doc> | |
| 6018 | 5969 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| @@ -6020,7 +5971,7 @@ image" of the animation (see gdk_pixbuf_animation_get_static_image()).</doc> | |||
| 6020 | 5971 | <parameters> | |
| 6021 | 5972 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 6022 | 5973 | <doc xml:space="preserve" | |
| 6023 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5974 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6024 | 5975 | line="739">A pixbuf loader.</doc> | |
| 6025 | 5976 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 6026 | 5977 | </instance-parameter> | |
| @@ -6030,7 +5981,7 @@ image" of the animation (see gdk_pixbuf_animation_get_static_image()).</doc> | |||
| 6030 | 5981 | c:identifier="gdk_pixbuf_loader_set_size" | |
| 6031 | 5982 | version="2.2"> | |
| 6032 | 5983 | <doc xml:space="preserve" | |
| 6033 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5984 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6034 | 5985 | line="260">Causes the image to be scaled while it is loaded. | |
| 6035 | 5986 | ||
| 6036 | 5987 | The desired image size can be determined relative to the original | |
| @@ -6039,27 +5990,26 @@ signal handler for the ::size-prepared signal. | |||
| 6039 | 5990 | ||
| 6040 | 5991 | Attempts to set the desired image size are ignored after the | |
| 6041 | 5992 | emission of the ::size-prepared signal.</doc> | |
| 6042 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6043 | - | line="87"/> | |
| 5993 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="87"/> | |
| 6044 | 5994 | <return-value transfer-ownership="none"> | |
| 6045 | 5995 | <type name="none" c:type="void"/> | |
| 6046 | 5996 | </return-value> | |
| 6047 | 5997 | <parameters> | |
| 6048 | 5998 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 6049 | 5999 | <doc xml:space="preserve" | |
| 6050 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6000 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6051 | 6001 | line="262">A pixbuf loader.</doc> | |
| 6052 | 6002 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 6053 | 6003 | </instance-parameter> | |
| 6054 | 6004 | <parameter name="width" transfer-ownership="none"> | |
| 6055 | 6005 | <doc xml:space="preserve" | |
| 6056 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6006 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6057 | 6007 | line="263">The desired width of the image being loaded.</doc> | |
| 6058 | 6008 | <type name="gint" c:type="int"/> | |
| 6059 | 6009 | </parameter> | |
| 6060 | 6010 | <parameter name="height" transfer-ownership="none"> | |
| 6061 | 6011 | <doc xml:space="preserve" | |
| 6062 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6012 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6063 | 6013 | line="264">The desired height of the image being loaded.</doc> | |
| 6064 | 6014 | <type name="gint" c:type="int"/> | |
| 6065 | 6015 | </parameter> | |
| @@ -6067,13 +6017,12 @@ emission of the ::size-prepared signal.</doc> | |||
| 6067 | 6017 | </method> | |
| 6068 | 6018 | <method name="write" c:identifier="gdk_pixbuf_loader_write" throws="1"> | |
| 6069 | 6019 | <doc xml:space="preserve" | |
| 6070 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6020 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6071 | 6021 | line="506">Parses the next `count` bytes in the given image buffer.</doc> | |
| 6072 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6073 | - | line="91"/> | |
| 6022 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="91"/> | |
| 6074 | 6023 | <return-value transfer-ownership="none"> | |
| 6075 | 6024 | <doc xml:space="preserve" | |
| 6076 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6025 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6077 | 6026 | line="515">`TRUE` if the write was successful, or | |
| 6078 | 6027 | `FALSE` if the loader cannot parse the buffer</doc> | |
| 6079 | 6028 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -6081,13 +6030,13 @@ emission of the ::size-prepared signal.</doc> | |||
| 6081 | 6030 | <parameters> | |
| 6082 | 6031 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 6083 | 6032 | <doc xml:space="preserve" | |
| 6084 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6033 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6085 | 6034 | line="508">A pixbuf loader.</doc> | |
| 6086 | 6035 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 6087 | 6036 | </instance-parameter> | |
| 6088 | 6037 | <parameter name="buf" transfer-ownership="none"> | |
| 6089 | 6038 | <doc xml:space="preserve" | |
| 6090 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6039 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6091 | 6040 | line="509">Pointer to image data.</doc> | |
| 6092 | 6041 | <array length="1" zero-terminated="0" c:type="const guchar*"> | |
| 6093 | 6042 | <type name="guint8" c:type="guchar"/> | |
| @@ -6095,7 +6044,7 @@ emission of the ::size-prepared signal.</doc> | |||
| 6095 | 6044 | </parameter> | |
| 6096 | 6045 | <parameter name="count" transfer-ownership="none"> | |
| 6097 | 6046 | <doc xml:space="preserve" | |
| 6098 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6047 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6099 | 6048 | line="510">Length of the @buf buffer in bytes.</doc> | |
| 6100 | 6049 | <type name="gsize" c:type="gsize"/> | |
| 6101 | 6050 | </parameter> | |
| @@ -6106,13 +6055,12 @@ emission of the ::size-prepared signal.</doc> | |||
| 6106 | 6055 | version="2.30" | |
| 6107 | 6056 | throws="1"> | |
| 6108 | 6057 | <doc xml:space="preserve" | |
| 6109 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6058 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6110 | 6059 | line="567">Parses the next contents of the given image buffer.</doc> | |
| 6111 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6112 | - | line="96"/> | |
| 6060 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="96"/> | |
| 6113 | 6061 | <return-value transfer-ownership="none"> | |
| 6114 | 6062 | <doc xml:space="preserve" | |
| 6115 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6063 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6116 | 6064 | line="575">`TRUE` if the write was successful, or `FALSE` if | |
| 6117 | 6065 | the loader cannot parse the buffer</doc> | |
| 6118 | 6066 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -6120,13 +6068,13 @@ emission of the ::size-prepared signal.</doc> | |||
| 6120 | 6068 | <parameters> | |
| 6121 | 6069 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 6122 | 6070 | <doc xml:space="preserve" | |
| 6123 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6071 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6124 | 6072 | line="569">A pixbuf loader.</doc> | |
| 6125 | 6073 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 6126 | 6074 | </instance-parameter> | |
| 6127 | 6075 | <parameter name="buffer" transfer-ownership="none"> | |
| 6128 | 6076 | <doc xml:space="preserve" | |
| 6129 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6077 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6130 | 6078 | line="570">The image data as a `GBytes` buffer.</doc> | |
| 6131 | 6079 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 6132 | 6080 | </parameter> | |
| @@ -6140,7 +6088,7 @@ emission of the ::size-prepared signal.</doc> | |||
| 6140 | 6088 | </field> | |
| 6141 | 6089 | <glib:signal name="area-prepared" when="last"> | |
| 6142 | 6090 | <doc xml:space="preserve" | |
| 6143 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6091 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6144 | 6092 | line="154">This signal is emitted when the pixbuf loader has allocated the | |
| 6145 | 6093 | pixbuf in the desired size. | |
| 6146 | 6094 | ||
| @@ -6153,7 +6101,7 @@ pixbuf.</doc> | |||
| 6153 | 6101 | </glib:signal> | |
| 6154 | 6102 | <glib:signal name="area-updated" when="last"> | |
| 6155 | 6103 | <doc xml:space="preserve" | |
| 6156 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6104 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6157 | 6105 | line="174">This signal is emitted when a significant area of the image being | |
| 6158 | 6106 | loaded has been updated. | |
| 6159 | 6107 | ||
| @@ -6168,25 +6116,25 @@ areas of an image that is being loaded.</doc> | |||
| 6168 | 6116 | <parameters> | |
| 6169 | 6117 | <parameter name="x" transfer-ownership="none"> | |
| 6170 | 6118 | <doc xml:space="preserve" | |
| 6171 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6119 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6172 | 6120 | line="177">X offset of upper-left corner of the updated area.</doc> | |
| 6173 | 6121 | <type name="gint" c:type="gint"/> | |
| 6174 | 6122 | </parameter> | |
| 6175 | 6123 | <parameter name="y" transfer-ownership="none"> | |
| 6176 | 6124 | <doc xml:space="preserve" | |
| 6177 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6125 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6178 | 6126 | line="178">Y offset of upper-left corner of the updated area.</doc> | |
| 6179 | 6127 | <type name="gint" c:type="gint"/> | |
| 6180 | 6128 | </parameter> | |
| 6181 | 6129 | <parameter name="width" transfer-ownership="none"> | |
| 6182 | 6130 | <doc xml:space="preserve" | |
| 6183 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6131 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6184 | 6132 | line="179">Width of updated area.</doc> | |
| 6185 | 6133 | <type name="gint" c:type="gint"/> | |
| 6186 | 6134 | </parameter> | |
| 6187 | 6135 | <parameter name="height" transfer-ownership="none"> | |
| 6188 | 6136 | <doc xml:space="preserve" | |
| 6189 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6137 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6190 | 6138 | line="180">Height of updated area.</doc> | |
| 6191 | 6139 | <type name="gint" c:type="gint"/> | |
| 6192 | 6140 | </parameter> | |
| @@ -6194,7 +6142,7 @@ areas of an image that is being loaded.</doc> | |||
| 6194 | 6142 | </glib:signal> | |
| 6195 | 6143 | <glib:signal name="closed" when="last"> | |
| 6196 | 6144 | <doc xml:space="preserve" | |
| 6197 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6145 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6198 | 6146 | line="204">This signal is emitted when gdk_pixbuf_loader_close() is called. | |
| 6199 | 6147 | ||
| 6200 | 6148 | It can be used by different parts of an application to receive | |
| @@ -6206,7 +6154,7 @@ drives it.</doc> | |||
| 6206 | 6154 | </glib:signal> | |
| 6207 | 6155 | <glib:signal name="size-prepared" when="last"> | |
| 6208 | 6156 | <doc xml:space="preserve" | |
| 6209 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6157 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6210 | 6158 | line="129">This signal is emitted when the pixbuf loader has been fed the | |
| 6211 | 6159 | initial amount of data that is required to figure out the size | |
| 6212 | 6160 | of the image that it will create. | |
| @@ -6220,13 +6168,13 @@ should be scaled.</doc> | |||
| 6220 | 6168 | <parameters> | |
| 6221 | 6169 | <parameter name="width" transfer-ownership="none"> | |
| 6222 | 6170 | <doc xml:space="preserve" | |
| 6223 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6171 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6224 | 6172 | line="132">the original width of the image</doc> | |
| 6225 | 6173 | <type name="gint" c:type="gint"/> | |
| 6226 | 6174 | </parameter> | |
| 6227 | 6175 | <parameter name="height" transfer-ownership="none"> | |
| 6228 | 6176 | <doc xml:space="preserve" | |
| 6229 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6177 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6230 | 6178 | line="133">the original height of the image</doc> | |
| 6231 | 6179 | <type name="gint" c:type="gint"/> | |
| 6232 | 6180 | </parameter> | |
| @@ -6236,13 +6184,13 @@ should be scaled.</doc> | |||
| 6236 | 6184 | <record name="PixbufLoaderClass" | |
| 6237 | 6185 | c:type="GdkPixbufLoaderClass" | |
| 6238 | 6186 | glib:is-gtype-struct-for="PixbufLoader"> | |
| 6239 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" line="74"/> | |
| 6187 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="74"/> | |
| 6240 | 6188 | <field name="parent_class"> | |
| 6241 | 6189 | <type name="GObject.ObjectClass" c:type="GObjectClass"/> | |
| 6242 | 6190 | </field> | |
| 6243 | 6191 | <field name="size_prepared"> | |
| 6244 | 6192 | <callback name="size_prepared"> | |
| 6245 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6193 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6246 | 6194 | line="60"/> | |
| 6247 | 6195 | <return-value transfer-ownership="none"> | |
| 6248 | 6196 | <type name="none" c:type="void"/> | |
| @@ -6262,7 +6210,7 @@ should be scaled.</doc> | |||
| 6262 | 6210 | </field> | |
| 6263 | 6211 | <field name="area_prepared"> | |
| 6264 | 6212 | <callback name="area_prepared"> | |
| 6265 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6213 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6266 | 6214 | line="64"/> | |
| 6267 | 6215 | <return-value transfer-ownership="none"> | |
| 6268 | 6216 | <type name="none" c:type="void"/> | |
| @@ -6276,7 +6224,7 @@ should be scaled.</doc> | |||
| 6276 | 6224 | </field> | |
| 6277 | 6225 | <field name="area_updated"> | |
| 6278 | 6226 | <callback name="area_updated"> | |
| 6279 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6227 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6280 | 6228 | line="67"/> | |
| 6281 | 6229 | <return-value transfer-ownership="none"> | |
| 6282 | 6230 | <type name="none" c:type="void"/> | |
| @@ -6302,7 +6250,7 @@ should be scaled.</doc> | |||
| 6302 | 6250 | </field> | |
| 6303 | 6251 | <field name="closed"> | |
| 6304 | 6252 | <callback name="closed"> | |
| 6305 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6253 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6306 | 6254 | line="73"/> | |
| 6307 | 6255 | <return-value transfer-ownership="none"> | |
| 6308 | 6256 | <type name="none" c:type="void"/> | |
| @@ -6317,7 +6265,7 @@ should be scaled.</doc> | |||
| 6317 | 6265 | </record> | |
| 6318 | 6266 | <record name="PixbufModule" c:type="GdkPixbufModule"> | |
| 6319 | 6267 | <doc xml:space="preserve" | |
| 6320 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6268 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6321 | 6269 | line="50">A `GdkPixbufModule` contains the necessary functions to load and save | |
| 6322 | 6270 | images in a certain file format. | |
| 6323 | 6271 | ||
| @@ -6363,97 +6311,96 @@ Installing a module is a two-step process: | |||
| 6363 | 6311 | - call `gdk-pixbuf-query-loaders` to update the module file (normally | |
| 6364 | 6312 | `$libdir/gdk-pixbuf-2.0/$version/loaders.cache`, unless overridden | |
| 6365 | 6313 | by the environment variable `GDK_PIXBUF_MODULE_FILE`)</doc> | |
| 6366 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="400"/> | |
| 6314 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="400"/> | |
| 6367 | 6315 | <field name="module_name" writable="1"> | |
| 6368 | 6316 | <doc xml:space="preserve" | |
| 6369 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6317 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6370 | 6318 | line="52">the name of the module, usually the same as the | |
| 6371 | 6319 | usual file extension for images of this type, eg. "xpm", "jpeg" or "png".</doc> | |
| 6372 | 6320 | <type name="utf8" c:type="char*"/> | |
| 6373 | 6321 | </field> | |
| 6374 | 6322 | <field name="module_path" writable="1"> | |
| 6375 | 6323 | <doc xml:space="preserve" | |
| 6376 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6324 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6377 | 6325 | line="54">the path from which the module is loaded.</doc> | |
| 6378 | 6326 | <type name="utf8" c:type="char*"/> | |
| 6379 | 6327 | </field> | |
| 6380 | 6328 | <field name="module" writable="1"> | |
| 6381 | 6329 | <doc xml:space="preserve" | |
| 6382 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6330 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6383 | 6331 | line="55">the loaded `GModule`.</doc> | |
| 6384 | 6332 | <type name="GModule.Module" c:type="GModule*"/> | |
| 6385 | 6333 | </field> | |
| 6386 | 6334 | <field name="info" writable="1"> | |
| 6387 | 6335 | <doc xml:space="preserve" | |
| 6388 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6336 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6389 | 6337 | line="56">a `GdkPixbufFormat` holding information about the module.</doc> | |
| 6390 | 6338 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 6391 | 6339 | </field> | |
| 6392 | 6340 | <field name="load" writable="1"> | |
| 6393 | 6341 | <doc xml:space="preserve" | |
| 6394 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6342 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6395 | 6343 | line="57">loads an image from a file.</doc> | |
| 6396 | 6344 | <type name="PixbufModuleLoadFunc" c:type="GdkPixbufModuleLoadFunc"/> | |
| 6397 | 6345 | </field> | |
| 6398 | 6346 | <field name="load_xpm_data" writable="1"> | |
| 6399 | 6347 | <doc xml:space="preserve" | |
| 6400 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6348 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6401 | 6349 | line="58">loads an image from data in memory.</doc> | |
| 6402 | 6350 | <type name="PixbufModuleLoadXpmDataFunc" | |
| 6403 | 6351 | c:type="GdkPixbufModuleLoadXpmDataFunc"/> | |
| 6404 | 6352 | </field> | |
| 6405 | 6353 | <field name="begin_load" introspectable="0" writable="1"> | |
| 6406 | 6354 | <doc xml:space="preserve" | |
| 6407 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6355 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6408 | 6356 | line="59">begins an incremental load.</doc> | |
| 6409 | 6357 | <type name="PixbufModuleBeginLoadFunc" | |
| 6410 | 6358 | c:type="GdkPixbufModuleBeginLoadFunc"/> | |
| 6411 | 6359 | </field> | |
| 6412 | 6360 | <field name="stop_load" writable="1"> | |
| 6413 | 6361 | <doc xml:space="preserve" | |
| 6414 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6362 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6415 | 6363 | line="60">stops an incremental load.</doc> | |
| 6416 | 6364 | <type name="PixbufModuleStopLoadFunc" | |
| 6417 | 6365 | c:type="GdkPixbufModuleStopLoadFunc"/> | |
| 6418 | 6366 | </field> | |
| 6419 | 6367 | <field name="load_increment" writable="1"> | |
| 6420 | 6368 | <doc xml:space="preserve" | |
| 6421 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6369 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6422 | 6370 | line="61">continues an incremental load.</doc> | |
| 6423 | 6371 | <type name="PixbufModuleIncrementLoadFunc" | |
| 6424 | 6372 | c:type="GdkPixbufModuleIncrementLoadFunc"/> | |
| 6425 | 6373 | </field> | |
| 6426 | 6374 | <field name="load_animation" writable="1"> | |
| 6427 | 6375 | <doc xml:space="preserve" | |
| 6428 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6376 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6429 | 6377 | line="62">loads an animation from a file.</doc> | |
| 6430 | 6378 | <type name="PixbufModuleLoadAnimationFunc" | |
| 6431 | 6379 | c:type="GdkPixbufModuleLoadAnimationFunc"/> | |
| 6432 | 6380 | </field> | |
| 6433 | 6381 | <field name="save" writable="1"> | |
| 6434 | 6382 | <doc xml:space="preserve" | |
| 6435 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6383 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6436 | 6384 | line="63">saves a `GdkPixbuf` to a file.</doc> | |
| 6437 | 6385 | <type name="PixbufModuleSaveFunc" c:type="GdkPixbufModuleSaveFunc"/> | |
| 6438 | 6386 | </field> | |
| 6439 | 6387 | <field name="save_to_callback" introspectable="0" writable="1"> | |
| 6440 | 6388 | <doc xml:space="preserve" | |
| 6441 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6389 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6442 | 6390 | line="64">saves a `GdkPixbuf` by calling the given `GdkPixbufSaveFunc`.</doc> | |
| 6443 | 6391 | <type name="PixbufModuleSaveCallbackFunc" | |
| 6444 | 6392 | c:type="GdkPixbufModuleSaveCallbackFunc"/> | |
| 6445 | 6393 | </field> | |
| 6446 | 6394 | <field name="is_save_option_supported" writable="1"> | |
| 6447 | 6395 | <doc xml:space="preserve" | |
| 6448 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6396 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6449 | 6397 | line="65">returns whether a save option key is supported by the module</doc> | |
| 6450 | 6398 | <type name="PixbufModuleSaveOptionSupportedFunc" | |
| 6451 | 6399 | c:type="GdkPixbufModuleSaveOptionSupportedFunc"/> | |
| 6452 | 6400 | </field> | |
| 6453 | 6401 | <field name="_reserved1" introspectable="0"> | |
| 6454 | 6402 | <callback name="_reserved1"> | |
| 6455 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6456 | - | line="396"/> | |
| 6403 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="396"/> | |
| 6457 | 6404 | <return-value transfer-ownership="none"> | |
| 6458 | 6405 | <type name="none" c:type="void"/> | |
| 6459 | 6406 | </return-value> | |
| @@ -6461,8 +6408,7 @@ Installing a module is a two-step process: | |||
| 6461 | 6408 | </field> | |
| 6462 | 6409 | <field name="_reserved2" introspectable="0"> | |
| 6463 | 6410 | <callback name="_reserved2"> | |
| 6464 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6465 | - | line="397"/> | |
| 6411 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="397"/> | |
| 6466 | 6412 | <return-value transfer-ownership="none"> | |
| 6467 | 6413 | <type name="none" c:type="void"/> | |
| 6468 | 6414 | </return-value> | |
| @@ -6470,8 +6416,7 @@ Installing a module is a two-step process: | |||
| 6470 | 6416 | </field> | |
| 6471 | 6417 | <field name="_reserved3" introspectable="0"> | |
| 6472 | 6418 | <callback name="_reserved3"> | |
| 6473 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6474 | - | line="398"/> | |
| 6419 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="398"/> | |
| 6475 | 6420 | <return-value transfer-ownership="none"> | |
| 6476 | 6421 | <type name="none" c:type="void"/> | |
| 6477 | 6422 | </return-value> | |
| @@ -6479,8 +6424,7 @@ Installing a module is a two-step process: | |||
| 6479 | 6424 | </field> | |
| 6480 | 6425 | <field name="_reserved4" introspectable="0"> | |
| 6481 | 6426 | <callback name="_reserved4"> | |
| 6482 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6483 | - | line="399"/> | |
| 6427 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="399"/> | |
| 6484 | 6428 | <return-value transfer-ownership="none"> | |
| 6485 | 6429 | <type name="none" c:type="void"/> | |
| 6486 | 6430 | </return-value> | |
| @@ -6492,7 +6436,7 @@ Installing a module is a two-step process: | |||
| 6492 | 6436 | introspectable="0" | |
| 6493 | 6437 | throws="1"> | |
| 6494 | 6438 | <doc xml:space="preserve" | |
| 6495 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6439 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6496 | 6440 | line="255">Sets up the image loading state. | |
| 6497 | 6441 | ||
| 6498 | 6442 | The image loader is responsible for storing the given function pointers | |
| @@ -6502,10 +6446,10 @@ The image loader should set up an internal state object, and return it | |||
| 6502 | 6446 | from this function; the state object will then be updated from the | |
| 6503 | 6447 | [callback@GdkPixbuf.PixbufModuleIncrementLoadFunc] callback, and will be freed | |
| 6504 | 6448 | by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |
| 6505 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="277"/> | |
| 6449 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="277"/> | |
| 6506 | 6450 | <return-value transfer-ownership="full" nullable="1"> | |
| 6507 | 6451 | <doc xml:space="preserve" | |
| 6508 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6452 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6509 | 6453 | line="273">the data to be passed to | |
| 6510 | 6454 | [callback@GdkPixbuf.PixbufModuleIncrementLoadFunc] | |
| 6511 | 6455 | and [callback@GdkPixbuf.PixbufModuleStopLoadFunc], or `NULL` in case of error</doc> | |
| @@ -6514,20 +6458,20 @@ by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |||
| 6514 | 6458 | <parameters> | |
| 6515 | 6459 | <parameter name="size_func" transfer-ownership="none"> | |
| 6516 | 6460 | <doc xml:space="preserve" | |
| 6517 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6461 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6518 | 6462 | line="257">the function to be called when the size is known</doc> | |
| 6519 | 6463 | <type name="PixbufModuleSizeFunc" c:type="GdkPixbufModuleSizeFunc"/> | |
| 6520 | 6464 | </parameter> | |
| 6521 | 6465 | <parameter name="prepared_func" transfer-ownership="none"> | |
| 6522 | 6466 | <doc xml:space="preserve" | |
| 6523 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6467 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6524 | 6468 | line="258">the function to be called when the data has been prepared</doc> | |
| 6525 | 6469 | <type name="PixbufModulePreparedFunc" | |
| 6526 | 6470 | c:type="GdkPixbufModulePreparedFunc"/> | |
| 6527 | 6471 | </parameter> | |
| 6528 | 6472 | <parameter name="updated_func" transfer-ownership="none" closure="3"> | |
| 6529 | 6473 | <doc xml:space="preserve" | |
| 6530 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6474 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6531 | 6475 | line="259">the function to be called when the data has been updated</doc> | |
| 6532 | 6476 | <type name="PixbufModuleUpdatedFunc" | |
| 6533 | 6477 | c:type="GdkPixbufModuleUpdatedFunc"/> | |
| @@ -6538,7 +6482,7 @@ by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |||
| 6538 | 6482 | allow-none="1" | |
| 6539 | 6483 | closure="3"> | |
| 6540 | 6484 | <doc xml:space="preserve" | |
| 6541 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6485 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6542 | 6486 | line="260">the data to be passed to the functions</doc> | |
| 6543 | 6487 | <type name="gpointer" c:type="gpointer"/> | |
| 6544 | 6488 | </parameter> | |
| @@ -6548,17 +6492,17 @@ by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |||
| 6548 | 6492 | c:type="GdkPixbufModuleFillInfoFunc" | |
| 6549 | 6493 | version="2.2"> | |
| 6550 | 6494 | <doc xml:space="preserve" | |
| 6551 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6495 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6552 | 6496 | line="413">Defines the type of the function used to fill a | |
| 6553 | 6497 | #GdkPixbufFormat structure with information about a module.</doc> | |
| 6554 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="422"/> | |
| 6498 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="422"/> | |
| 6555 | 6499 | <return-value transfer-ownership="none"> | |
| 6556 | 6500 | <type name="none" c:type="void"/> | |
| 6557 | 6501 | </return-value> | |
| 6558 | 6502 | <parameters> | |
| 6559 | 6503 | <parameter name="info" transfer-ownership="none"> | |
| 6560 | 6504 | <doc xml:space="preserve" | |
| 6561 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6505 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6562 | 6506 | line="415">a #GdkPixbufFormat.</doc> | |
| 6563 | 6507 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 6564 | 6508 | </parameter> | |
| @@ -6568,17 +6512,17 @@ by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |||
| 6568 | 6512 | c:type="GdkPixbufModuleFillVtableFunc" | |
| 6569 | 6513 | version="2.2"> | |
| 6570 | 6514 | <doc xml:space="preserve" | |
| 6571 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6515 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6572 | 6516 | line="402">Defines the type of the function used to set the vtable of a | |
| 6573 | 6517 | #GdkPixbufModule when it is loaded.</doc> | |
| 6574 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="411"/> | |
| 6518 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="411"/> | |
| 6575 | 6519 | <return-value transfer-ownership="none"> | |
| 6576 | 6520 | <type name="none" c:type="void"/> | |
| 6577 | 6521 | </return-value> | |
| 6578 | 6522 | <parameters> | |
| 6579 | 6523 | <parameter name="module" transfer-ownership="none"> | |
| 6580 | 6524 | <doc xml:space="preserve" | |
| 6581 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6525 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6582 | 6526 | line="404">a #GdkPixbufModule.</doc> | |
| 6583 | 6527 | <type name="PixbufModule" c:type="GdkPixbufModule*"/> | |
| 6584 | 6528 | </parameter> | |
| @@ -6588,12 +6532,12 @@ by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |||
| 6588 | 6532 | c:type="GdkPixbufModuleIncrementLoadFunc" | |
| 6589 | 6533 | throws="1"> | |
| 6590 | 6534 | <doc xml:space="preserve" | |
| 6591 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6535 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6592 | 6536 | line="297">Incrementally loads a buffer into the image data.</doc> | |
| 6593 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="308"/> | |
| 6537 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="308"/> | |
| 6594 | 6538 | <return-value transfer-ownership="none"> | |
| 6595 | 6539 | <doc xml:space="preserve" | |
| 6596 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6540 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6597 | 6541 | line="306">`TRUE` if the incremental load was successful</doc> | |
| 6598 | 6542 | <type name="gboolean" c:type="gboolean"/> | |
| 6599 | 6543 | </return-value> | |
| @@ -6603,13 +6547,13 @@ by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |||
| 6603 | 6547 | nullable="1" | |
| 6604 | 6548 | allow-none="1"> | |
| 6605 | 6549 | <doc xml:space="preserve" | |
| 6606 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6550 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6607 | 6551 | line="299">the state object created by [callback@GdkPixbuf.PixbufModuleBeginLoadFunc]</doc> | |
| 6608 | 6552 | <type name="gpointer" c:type="gpointer"/> | |
| 6609 | 6553 | </parameter> | |
| 6610 | 6554 | <parameter name="buf" transfer-ownership="none"> | |
| 6611 | 6555 | <doc xml:space="preserve" | |
| 6612 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6556 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6613 | 6557 | line="300">the data to load</doc> | |
| 6614 | 6558 | <array length="2" zero-terminated="0" c:type="const guchar*"> | |
| 6615 | 6559 | <type name="guint8"/> | |
| @@ -6617,7 +6561,7 @@ by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |||
| 6617 | 6561 | </parameter> | |
| 6618 | 6562 | <parameter name="size" transfer-ownership="none"> | |
| 6619 | 6563 | <doc xml:space="preserve" | |
| 6620 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6564 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6621 | 6565 | line="301">the length of the data to load</doc> | |
| 6622 | 6566 | <type name="guint" c:type="guint"/> | |
| 6623 | 6567 | </parameter> | |
| @@ -6627,14 +6571,14 @@ by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |||
| 6627 | 6571 | c:type="GdkPixbufModuleLoadAnimationFunc" | |
| 6628 | 6572 | throws="1"> | |
| 6629 | 6573 | <doc xml:space="preserve" | |
| 6630 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6574 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6631 | 6575 | line="241">Loads a file from a standard C file stream into a new `GdkPixbufAnimation`. | |
| 6632 | 6576 | ||
| 6633 | 6577 | In case of error, this function should return `NULL` and set the `error` argument.</doc> | |
| 6634 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="252"/> | |
| 6578 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="252"/> | |
| 6635 | 6579 | <return-value transfer-ownership="full"> | |
| 6636 | 6580 | <doc xml:space="preserve" | |
| 6637 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6581 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6638 | 6582 | line="250">a newly created `GdkPixbufAnimation` for the contents of the file</doc> | |
| 6639 | 6583 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 6640 | 6584 | </return-value> | |
| @@ -6644,7 +6588,7 @@ In case of error, this function should return `NULL` and set the `error` argumen | |||
| 6644 | 6588 | nullable="1" | |
| 6645 | 6589 | allow-none="1"> | |
| 6646 | 6590 | <doc xml:space="preserve" | |
| 6647 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6591 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6648 | 6592 | line="243">the file stream from which the image should be loaded</doc> | |
| 6649 | 6593 | <type name="gpointer" c:type="FILE*"/> | |
| 6650 | 6594 | </parameter> | |
| @@ -6654,14 +6598,14 @@ In case of error, this function should return `NULL` and set the `error` argumen | |||
| 6654 | 6598 | c:type="GdkPixbufModuleLoadFunc" | |
| 6655 | 6599 | throws="1"> | |
| 6656 | 6600 | <doc xml:space="preserve" | |
| 6657 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6601 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6658 | 6602 | line="217">Loads a file from a standard C file stream into a new `GdkPixbuf`. | |
| 6659 | 6603 | ||
| 6660 | 6604 | In case of error, this function should return `NULL` and set the `error` argument.</doc> | |
| 6661 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="228"/> | |
| 6605 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="228"/> | |
| 6662 | 6606 | <return-value transfer-ownership="full"> | |
| 6663 | 6607 | <doc xml:space="preserve" | |
| 6664 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6608 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6665 | 6609 | line="226">a newly created `GdkPixbuf` for the contents of the file</doc> | |
| 6666 | 6610 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 6667 | 6611 | </return-value> | |
| @@ -6671,7 +6615,7 @@ In case of error, this function should return `NULL` and set the `error` argumen | |||
| 6671 | 6615 | nullable="1" | |
| 6672 | 6616 | allow-none="1"> | |
| 6673 | 6617 | <doc xml:space="preserve" | |
| 6674 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6618 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6675 | 6619 | line="219">the file stream from which the image should be loaded</doc> | |
| 6676 | 6620 | <type name="gpointer" c:type="FILE*"/> | |
| 6677 | 6621 | </parameter> | |
| @@ -6680,19 +6624,19 @@ In case of error, this function should return `NULL` and set the `error` argumen | |||
| 6680 | 6624 | <callback name="PixbufModuleLoadXpmDataFunc" | |
| 6681 | 6625 | c:type="GdkPixbufModuleLoadXpmDataFunc"> | |
| 6682 | 6626 | <doc xml:space="preserve" | |
| 6683 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6627 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6684 | 6628 | line="231">Loads XPM data into a new `GdkPixbuf`.</doc> | |
| 6685 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="239"/> | |
| 6629 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="239"/> | |
| 6686 | 6630 | <return-value transfer-ownership="full"> | |
| 6687 | 6631 | <doc xml:space="preserve" | |
| 6688 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6632 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6689 | 6633 | line="237">a newly created `GdkPixbuf` for the XPM data</doc> | |
| 6690 | 6634 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 6691 | 6635 | </return-value> | |
| 6692 | 6636 | <parameters> | |
| 6693 | 6637 | <parameter name="data" transfer-ownership="none"> | |
| 6694 | 6638 | <doc xml:space="preserve" | |
| 6695 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6639 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6696 | 6640 | line="233">the XPM data</doc> | |
| 6697 | 6641 | <array c:type="const char**"> | |
| 6698 | 6642 | <type name="utf8" c:type="char*"/> | |
| @@ -6704,7 +6648,7 @@ In case of error, this function should return `NULL` and set the `error` argumen | |||
| 6704 | 6648 | c:type="GdkPixbufModulePattern" | |
| 6705 | 6649 | version="2.2"> | |
| 6706 | 6650 | <doc xml:space="preserve" | |
| 6707 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6651 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6708 | 6652 | line="170">The signature prefix for a module. | |
| 6709 | 6653 | ||
| 6710 | 6654 | The signature of a module is a set of prefixes. Prefixes are encoded as | |
| @@ -6735,23 +6679,23 @@ GdkPixbufModulePattern *signature[] = { | |||
| 6735 | 6679 | ||
| 6736 | 6680 | In the example above, the signature matches e.g. "auud\0" with | |
| 6737 | 6681 | relevance 100, and "blau" with relevance 90.</doc> | |
| 6738 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="215"/> | |
| 6682 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="215"/> | |
| 6739 | 6683 | <field name="prefix" writable="1"> | |
| 6740 | 6684 | <doc xml:space="preserve" | |
| 6741 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6685 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6742 | 6686 | line="172">the prefix for this pattern</doc> | |
| 6743 | 6687 | <type name="utf8" c:type="char*"/> | |
| 6744 | 6688 | </field> | |
| 6745 | 6689 | <field name="mask" writable="1"> | |
| 6746 | 6690 | <doc xml:space="preserve" | |
| 6747 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6691 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6748 | 6692 | line="173">mask containing bytes which modify how the prefix is matched against | |
| 6749 | 6693 | test data</doc> | |
| 6750 | 6694 | <type name="utf8" c:type="char*"/> | |
| 6751 | 6695 | </field> | |
| 6752 | 6696 | <field name="relevance" writable="1"> | |
| 6753 | 6697 | <doc xml:space="preserve" | |
| 6754 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6698 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6755 | 6699 | line="175">relevance of this pattern</doc> | |
| 6756 | 6700 | <type name="gint" c:type="int"/> | |
| 6757 | 6701 | </field> | |
| @@ -6760,27 +6704,27 @@ relevance 100, and "blau" with relevance 90.</doc> | |||
| 6760 | 6704 | c:type="GdkPixbufModulePreparedFunc" | |
| 6761 | 6705 | version="2.2"> | |
| 6762 | 6706 | <doc xml:space="preserve" | |
| 6763 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6707 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6764 | 6708 | line="126">Defines the type of the function that gets called once the initial | |
| 6765 | 6709 | setup of @pixbuf is done. | |
| 6766 | 6710 | ||
| 6767 | 6711 | #GdkPixbufLoader uses a function of this type to emit the | |
| 6768 | 6712 | "<link linkend="GdkPixbufLoader-area-prepared">area_prepared</link>" | |
| 6769 | 6713 | signal.</doc> | |
| 6770 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="141"/> | |
| 6714 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="141"/> | |
| 6771 | 6715 | <return-value transfer-ownership="none"> | |
| 6772 | 6716 | <type name="none" c:type="void"/> | |
| 6773 | 6717 | </return-value> | |
| 6774 | 6718 | <parameters> | |
| 6775 | 6719 | <parameter name="pixbuf" transfer-ownership="none"> | |
| 6776 | 6720 | <doc xml:space="preserve" | |
| 6777 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6721 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6778 | 6722 | line="128">the #GdkPixbuf that is currently being loaded.</doc> | |
| 6779 | 6723 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 6780 | 6724 | </parameter> | |
| 6781 | 6725 | <parameter name="anim" transfer-ownership="none"> | |
| 6782 | 6726 | <doc xml:space="preserve" | |
| 6783 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6727 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6784 | 6728 | line="129">if an animation is being loaded, the #GdkPixbufAnimation, else %NULL.</doc> | |
| 6785 | 6729 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 6786 | 6730 | </parameter> | |
| @@ -6790,7 +6734,7 @@ signal.</doc> | |||
| 6790 | 6734 | allow-none="1" | |
| 6791 | 6735 | closure="2"> | |
| 6792 | 6736 | <doc xml:space="preserve" | |
| 6793 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6737 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6794 | 6738 | line="130">the loader.</doc> | |
| 6795 | 6739 | <type name="gpointer" c:type="gpointer"/> | |
| 6796 | 6740 | </parameter> | |
| @@ -6801,16 +6745,16 @@ signal.</doc> | |||
| 6801 | 6745 | introspectable="0" | |
| 6802 | 6746 | throws="1"> | |
| 6803 | 6747 | <doc xml:space="preserve" | |
| 6804 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6748 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6805 | 6749 | line="336">Saves a `GdkPixbuf` by calling the provided function. | |
| 6806 | 6750 | ||
| 6807 | 6751 | The optional `option_keys` and `option_values` arrays contain the keys and | |
| 6808 | 6752 | values (in the same order) for attributes to be saved alongside the image | |
| 6809 | 6753 | data.</doc> | |
| 6810 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="354"/> | |
| 6754 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="354"/> | |
| 6811 | 6755 | <return-value transfer-ownership="none"> | |
| 6812 | 6756 | <doc xml:space="preserve" | |
| 6813 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6757 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6814 | 6758 | line="351">`TRUE` on success; in case of failure, `FALSE` is returned and | |
| 6815 | 6759 | the `error` is set</doc> | |
| 6816 | 6760 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -6818,7 +6762,7 @@ data.</doc> | |||
| 6818 | 6762 | <parameters> | |
| 6819 | 6763 | <parameter name="save_func" transfer-ownership="none" closure="1"> | |
| 6820 | 6764 | <doc xml:space="preserve" | |
| 6821 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6765 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6822 | 6766 | line="338">the function to call when saving</doc> | |
| 6823 | 6767 | <type name="PixbufSaveFunc" c:type="GdkPixbufSaveFunc"/> | |
| 6824 | 6768 | </parameter> | |
| @@ -6828,13 +6772,13 @@ data.</doc> | |||
| 6828 | 6772 | allow-none="1" | |
| 6829 | 6773 | closure="1"> | |
| 6830 | 6774 | <doc xml:space="preserve" | |
| 6831 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6775 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6832 | 6776 | line="339">the data to pass to @save_func</doc> | |
| 6833 | 6777 | <type name="gpointer" c:type="gpointer"/> | |
| 6834 | 6778 | </parameter> | |
| 6835 | 6779 | <parameter name="pixbuf" transfer-ownership="none"> | |
| 6836 | 6780 | <doc xml:space="preserve" | |
| 6837 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6781 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6838 | 6782 | line="340">the `GdkPixbuf` to save</doc> | |
| 6839 | 6783 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 6840 | 6784 | </parameter> | |
| @@ -6843,7 +6787,7 @@ data.</doc> | |||
| 6843 | 6787 | nullable="1" | |
| 6844 | 6788 | allow-none="1"> | |
| 6845 | 6789 | <doc xml:space="preserve" | |
| 6846 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6790 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6847 | 6791 | line="341">an array of option names</doc> | |
| 6848 | 6792 | <array c:type="gchar**"> | |
| 6849 | 6793 | <type name="utf8" c:type="gchar*"/> | |
| @@ -6854,7 +6798,7 @@ data.</doc> | |||
| 6854 | 6798 | nullable="1" | |
| 6855 | 6799 | allow-none="1"> | |
| 6856 | 6800 | <doc xml:space="preserve" | |
| 6857 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6801 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6858 | 6802 | line="342">an array of option values</doc> | |
| 6859 | 6803 | <array c:type="gchar**"> | |
| 6860 | 6804 | <type name="utf8" c:type="gchar*"/> | |
| @@ -6866,16 +6810,16 @@ data.</doc> | |||
| 6866 | 6810 | c:type="GdkPixbufModuleSaveFunc" | |
| 6867 | 6811 | throws="1"> | |
| 6868 | 6812 | <doc xml:space="preserve" | |
| 6869 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6813 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6870 | 6814 | line="313">Saves a `GdkPixbuf` into a standard C file stream. | |
| 6871 | 6815 | ||
| 6872 | 6816 | The optional `param_keys` and `param_values` arrays contain the keys and | |
| 6873 | 6817 | values (in the same order) for attributes to be saved alongside the image | |
| 6874 | 6818 | data.</doc> | |
| 6875 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="330"/> | |
| 6819 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="330"/> | |
| 6876 | 6820 | <return-value transfer-ownership="none"> | |
| 6877 | 6821 | <doc xml:space="preserve" | |
| 6878 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6822 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6879 | 6823 | line="327">`TRUE` on success; in case of failure, `FALSE` is returned and | |
| 6880 | 6824 | the `error` is set</doc> | |
| 6881 | 6825 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -6886,13 +6830,13 @@ data.</doc> | |||
| 6886 | 6830 | nullable="1" | |
| 6887 | 6831 | allow-none="1"> | |
| 6888 | 6832 | <doc xml:space="preserve" | |
| 6889 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6833 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6890 | 6834 | line="315">the file stream into which the image should be saved</doc> | |
| 6891 | 6835 | <type name="gpointer" c:type="FILE*"/> | |
| 6892 | 6836 | </parameter> | |
| 6893 | 6837 | <parameter name="pixbuf" transfer-ownership="none"> | |
| 6894 | 6838 | <doc xml:space="preserve" | |
| 6895 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6839 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6896 | 6840 | line="316">the image to save</doc> | |
| 6897 | 6841 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 6898 | 6842 | </parameter> | |
| @@ -6901,7 +6845,7 @@ data.</doc> | |||
| 6901 | 6845 | nullable="1" | |
| 6902 | 6846 | allow-none="1"> | |
| 6903 | 6847 | <doc xml:space="preserve" | |
| 6904 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6848 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6905 | 6849 | line="317">parameter keys to save</doc> | |
| 6906 | 6850 | <array c:type="gchar**"> | |
| 6907 | 6851 | <type name="utf8" c:type="gchar*"/> | |
| @@ -6912,7 +6856,7 @@ data.</doc> | |||
| 6912 | 6856 | nullable="1" | |
| 6913 | 6857 | allow-none="1"> | |
| 6914 | 6858 | <doc xml:space="preserve" | |
| 6915 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6859 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6916 | 6860 | line="318">parameter values to save</doc> | |
| 6917 | 6861 | <array c:type="gchar**"> | |
| 6918 | 6862 | <type name="utf8" c:type="gchar*"/> | |
| @@ -6923,19 +6867,19 @@ data.</doc> | |||
| 6923 | 6867 | <callback name="PixbufModuleSaveOptionSupportedFunc" | |
| 6924 | 6868 | c:type="GdkPixbufModuleSaveOptionSupportedFunc"> | |
| 6925 | 6869 | <doc xml:space="preserve" | |
| 6926 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6870 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6927 | 6871 | line="361">Checks whether the given `option_key` is supported when saving.</doc> | |
| 6928 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="369"/> | |
| 6872 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="369"/> | |
| 6929 | 6873 | <return-value transfer-ownership="none"> | |
| 6930 | 6874 | <doc xml:space="preserve" | |
| 6931 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6875 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6932 | 6876 | line="367">`TRUE` if the option is supported</doc> | |
| 6933 | 6877 | <type name="gboolean" c:type="gboolean"/> | |
| 6934 | 6878 | </return-value> | |
| 6935 | 6879 | <parameters> | |
| 6936 | 6880 | <parameter name="option_key" transfer-ownership="none"> | |
| 6937 | 6881 | <doc xml:space="preserve" | |
| 6938 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6882 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6939 | 6883 | line="363">the option key to check</doc> | |
| 6940 | 6884 | <type name="utf8" c:type="const gchar*"/> | |
| 6941 | 6885 | </parameter> | |
| @@ -6945,7 +6889,7 @@ data.</doc> | |||
| 6945 | 6889 | c:type="GdkPixbufModuleSizeFunc" | |
| 6946 | 6890 | version="2.2"> | |
| 6947 | 6891 | <doc xml:space="preserve" | |
| 6948 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6892 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6949 | 6893 | line="100">Defines the type of the function that gets called once the size | |
| 6950 | 6894 | of the loaded image is known. | |
| 6951 | 6895 | ||
| @@ -6959,20 +6903,20 @@ If the function sets @width or @height to zero, the module should interpret | |||
| 6959 | 6903 | this as a hint that it will be closed soon and shouldn't allocate further | |
| 6960 | 6904 | resources. This convention is used to implement gdk_pixbuf_get_file_info() | |
| 6961 | 6905 | efficiently.</doc> | |
| 6962 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="122"/> | |
| 6906 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="122"/> | |
| 6963 | 6907 | <return-value transfer-ownership="none"> | |
| 6964 | 6908 | <type name="none" c:type="void"/> | |
| 6965 | 6909 | </return-value> | |
| 6966 | 6910 | <parameters> | |
| 6967 | 6911 | <parameter name="width" transfer-ownership="none"> | |
| 6968 | 6912 | <doc xml:space="preserve" | |
| 6969 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6913 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6970 | 6914 | line="102">pointer to a location containing the current image width</doc> | |
| 6971 | 6915 | <type name="gint" c:type="gint*"/> | |
| 6972 | 6916 | </parameter> | |
| 6973 | 6917 | <parameter name="height" transfer-ownership="none"> | |
| 6974 | 6918 | <doc xml:space="preserve" | |
| 6975 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6919 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6976 | 6920 | line="103">pointer to a location containing the current image height</doc> | |
| 6977 | 6921 | <type name="gint" c:type="gint*"/> | |
| 6978 | 6922 | </parameter> | |
| @@ -6982,7 +6926,7 @@ efficiently.</doc> | |||
| 6982 | 6926 | allow-none="1" | |
| 6983 | 6927 | closure="2"> | |
| 6984 | 6928 | <doc xml:space="preserve" | |
| 6985 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6929 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6986 | 6930 | line="104">the loader.</doc> | |
| 6987 | 6931 | <type name="gpointer" c:type="gpointer"/> | |
| 6988 | 6932 | </parameter> | |
| @@ -6992,14 +6936,14 @@ efficiently.</doc> | |||
| 6992 | 6936 | c:type="GdkPixbufModuleStopLoadFunc" | |
| 6993 | 6937 | throws="1"> | |
| 6994 | 6938 | <doc xml:space="preserve" | |
| 6995 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6939 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6996 | 6940 | line="283">Finalizes the image loading state. | |
| 6997 | 6941 | ||
| 6998 | 6942 | This function is called on success and error states.</doc> | |
| 6999 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="294"/> | |
| 6943 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="294"/> | |
| 7000 | 6944 | <return-value transfer-ownership="none"> | |
| 7001 | 6945 | <doc xml:space="preserve" | |
| 7002 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6946 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7003 | 6947 | line="292">`TRUE` if the loading operation was successful</doc> | |
| 7004 | 6948 | <type name="gboolean" c:type="gboolean"/> | |
| 7005 | 6949 | </return-value> | |
| @@ -7009,7 +6953,7 @@ This function is called on success and error states.</doc> | |||
| 7009 | 6953 | nullable="1" | |
| 7010 | 6954 | allow-none="1"> | |
| 7011 | 6955 | <doc xml:space="preserve" | |
| 7012 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6956 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7013 | 6957 | line="285">the state object created by [callback@GdkPixbuf.PixbufModuleBeginLoadFunc]</doc> | |
| 7014 | 6958 | <type name="gpointer" c:type="gpointer"/> | |
| 7015 | 6959 | </parameter> | |
| @@ -7019,45 +6963,45 @@ This function is called on success and error states.</doc> | |||
| 7019 | 6963 | c:type="GdkPixbufModuleUpdatedFunc" | |
| 7020 | 6964 | version="2.2"> | |
| 7021 | 6965 | <doc xml:space="preserve" | |
| 7022 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6966 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7023 | 6967 | line="145">Defines the type of the function that gets called every time a region | |
| 7024 | 6968 | of @pixbuf is updated. | |
| 7025 | 6969 | ||
| 7026 | 6970 | #GdkPixbufLoader uses a function of this type to emit the | |
| 7027 | 6971 | "<link linkend="GdkPixbufLoader-area-updated">area_updated</link>" | |
| 7028 | 6972 | signal.</doc> | |
| 7029 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="163"/> | |
| 6973 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="163"/> | |
| 7030 | 6974 | <return-value transfer-ownership="none"> | |
| 7031 | 6975 | <type name="none" c:type="void"/> | |
| 7032 | 6976 | </return-value> | |
| 7033 | 6977 | <parameters> | |
| 7034 | 6978 | <parameter name="pixbuf" transfer-ownership="none"> | |
| 7035 | 6979 | <doc xml:space="preserve" | |
| 7036 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6980 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7037 | 6981 | line="147">the #GdkPixbuf that is currently being loaded.</doc> | |
| 7038 | 6982 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 7039 | 6983 | </parameter> | |
| 7040 | 6984 | <parameter name="x" transfer-ownership="none"> | |
| 7041 | 6985 | <doc xml:space="preserve" | |
| 7042 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6986 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7043 | 6987 | line="148">the X origin of the updated area.</doc> | |
| 7044 | 6988 | <type name="gint" c:type="int"/> | |
| 7045 | 6989 | </parameter> | |
| 7046 | 6990 | <parameter name="y" transfer-ownership="none"> | |
| 7047 | 6991 | <doc xml:space="preserve" | |
| 7048 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6992 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7049 | 6993 | line="149">the Y origin of the updated area.</doc> | |
| 7050 | 6994 | <type name="gint" c:type="int"/> | |
| 7051 | 6995 | </parameter> | |
| 7052 | 6996 | <parameter name="width" transfer-ownership="none"> | |
| 7053 | 6997 | <doc xml:space="preserve" | |
| 7054 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6998 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7055 | 6999 | line="150">the width of the updated area.</doc> | |
| 7056 | 7000 | <type name="gint" c:type="int"/> | |
| 7057 | 7001 | </parameter> | |
| 7058 | 7002 | <parameter name="height" transfer-ownership="none"> | |
| 7059 | 7003 | <doc xml:space="preserve" | |
| 7060 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7004 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7061 | 7005 | line="151">the height of the updated area.</doc> | |
| 7062 | 7006 | <type name="gint" c:type="int"/> | |
| 7063 | 7007 | </parameter> | |
| @@ -7067,7 +7011,7 @@ signal.</doc> | |||
| 7067 | 7011 | allow-none="1" | |
| 7068 | 7012 | closure="5"> | |
| 7069 | 7013 | <doc xml:space="preserve" | |
| 7070 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7014 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7071 | 7015 | line="152">the loader.</doc> | |
| 7072 | 7016 | <type name="gpointer" c:type="gpointer"/> | |
| 7073 | 7017 | </parameter> | |
| @@ -7079,7 +7023,7 @@ signal.</doc> | |||
| 7079 | 7023 | glib:type-name="GdkPixbufNonAnim" | |
| 7080 | 7024 | glib:get-type="gdk_pixbuf_non_anim_get_type"> | |
| 7081 | 7025 | <constructor name="new" c:identifier="gdk_pixbuf_non_anim_new"> | |
| 7082 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 7026 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 7083 | 7027 | line="215"/> | |
| 7084 | 7028 | <return-value transfer-ownership="full"> | |
| 7085 | 7029 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| @@ -7096,7 +7040,7 @@ signal.</doc> | |||
| 7096 | 7040 | glib:get-type="gdk_pixbuf_rotation_get_type" | |
| 7097 | 7041 | c:type="GdkPixbufRotation"> | |
| 7098 | 7042 | <doc xml:space="preserve" | |
| 7099 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7043 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7100 | 7044 | line="80">The possible rotations which can be passed to gdk_pixbuf_rotate_simple(). | |
| 7101 | 7045 | ||
| 7102 | 7046 | To make them easier to use, their numerical values are the actual degrees.</doc> | |
| @@ -7106,7 +7050,7 @@ To make them easier to use, their numerical values are the actual degrees.</doc> | |||
| 7106 | 7050 | glib:nick="none" | |
| 7107 | 7051 | glib:name="GDK_PIXBUF_ROTATE_NONE"> | |
| 7108 | 7052 | <doc xml:space="preserve" | |
| 7109 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7053 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7110 | 7054 | line="82">No rotation.</doc> | |
| 7111 | 7055 | </member> | |
| 7112 | 7056 | <member name="counterclockwise" | |
| @@ -7115,7 +7059,7 @@ To make them easier to use, their numerical values are the actual degrees.</doc> | |||
| 7115 | 7059 | glib:nick="counterclockwise" | |
| 7116 | 7060 | glib:name="GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE"> | |
| 7117 | 7061 | <doc xml:space="preserve" | |
| 7118 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7062 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7119 | 7063 | line="83">Rotate by 90 degrees.</doc> | |
| 7120 | 7064 | </member> | |
| 7121 | 7065 | <member name="upsidedown" | |
| @@ -7124,7 +7068,7 @@ To make them easier to use, their numerical values are the actual degrees.</doc> | |||
| 7124 | 7068 | glib:nick="upsidedown" | |
| 7125 | 7069 | glib:name="GDK_PIXBUF_ROTATE_UPSIDEDOWN"> | |
| 7126 | 7070 | <doc xml:space="preserve" | |
| 7127 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7071 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7128 | 7072 | line="84">Rotate by 180 degrees.</doc> | |
| 7129 | 7073 | </member> | |
| 7130 | 7074 | <member name="clockwise" | |
| @@ -7133,13 +7077,13 @@ To make them easier to use, their numerical values are the actual degrees.</doc> | |||
| 7133 | 7077 | glib:nick="clockwise" | |
| 7134 | 7078 | glib:name="GDK_PIXBUF_ROTATE_CLOCKWISE"> | |
| 7135 | 7079 | <doc xml:space="preserve" | |
| 7136 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7080 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7137 | 7081 | line="85">Rotate by 270 degrees.</doc> | |
| 7138 | 7082 | </member> | |
| 7139 | 7083 | </enumeration> | |
| 7140 | 7084 | <callback name="PixbufSaveFunc" c:type="GdkPixbufSaveFunc" version="2.4"> | |
| 7141 | 7085 | <doc xml:space="preserve" | |
| 7142 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7086 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7143 | 7087 | line="346">Save functions used by [method@GdkPixbuf.Pixbuf.save_to_callback]. | |
| 7144 | 7088 | ||
| 7145 | 7089 | This function is called once for each block of bytes that is "written" | |
| @@ -7148,17 +7092,17 @@ by `gdk_pixbuf_save_to_callback()`. | |||
| 7148 | 7092 | If successful it should return `TRUE`; if an error occurs it should set | |
| 7149 | 7093 | `error` and return `FALSE`, in which case `gdk_pixbuf_save_to_callback()` | |
| 7150 | 7094 | will fail with the same error.</doc> | |
| 7151 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" line="367"/> | |
| 7095 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="367"/> | |
| 7152 | 7096 | <return-value transfer-ownership="none"> | |
| 7153 | 7097 | <doc xml:space="preserve" | |
| 7154 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7098 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7155 | 7099 | line="362">`TRUE` if successful, `FALSE` otherwise</doc> | |
| 7156 | 7100 | <type name="gboolean" c:type="gboolean"/> | |
| 7157 | 7101 | </return-value> | |
| 7158 | 7102 | <parameters> | |
| 7159 | 7103 | <parameter name="buf" transfer-ownership="none"> | |
| 7160 | 7104 | <doc xml:space="preserve" | |
| 7161 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7105 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7162 | 7106 | line="348">bytes to be written.</doc> | |
| 7163 | 7107 | <array length="1" zero-terminated="0" c:type="const gchar*"> | |
| 7164 | 7108 | <type name="guint8"/> | |
| @@ -7166,7 +7110,7 @@ will fail with the same error.</doc> | |||
| 7166 | 7110 | </parameter> | |
| 7167 | 7111 | <parameter name="count" transfer-ownership="none"> | |
| 7168 | 7112 | <doc xml:space="preserve" | |
| 7169 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7113 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7170 | 7114 | line="349">number of bytes in @buf.</doc> | |
| 7171 | 7115 | <type name="gsize" c:type="gsize"/> | |
| 7172 | 7116 | </parameter> | |
| @@ -7175,7 +7119,7 @@ will fail with the same error.</doc> | |||
| 7175 | 7119 | caller-allocates="0" | |
| 7176 | 7120 | transfer-ownership="full"> | |
| 7177 | 7121 | <doc xml:space="preserve" | |
| 7178 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7122 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7179 | 7123 | line="350">A location to return an error.</doc> | |
| 7180 | 7124 | <type name="GLib.Error" c:type="GError**"/> | |
| 7181 | 7125 | </parameter> | |
| @@ -7185,7 +7129,7 @@ will fail with the same error.</doc> | |||
| 7185 | 7129 | allow-none="1" | |
| 7186 | 7130 | closure="3"> | |
| 7187 | 7131 | <doc xml:space="preserve" | |
| 7188 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7132 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7189 | 7133 | line="351">user data passed to gdk_pixbuf_save_to_callback().</doc> | |
| 7190 | 7134 | <type name="gpointer" c:type="gpointer"/> | |
| 7191 | 7135 | </parameter> | |
| @@ -7199,40 +7143,40 @@ will fail with the same error.</doc> | |||
| 7199 | 7143 | glib:get-type="gdk_pixbuf_simple_anim_get_type" | |
| 7200 | 7144 | glib:type-struct="PixbufSimpleAnimClass"> | |
| 7201 | 7145 | <doc xml:space="preserve" | |
| 7202 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7146 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7203 | 7147 | line="33">An opaque struct representing a simple animation.</doc> | |
| 7204 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7148 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7205 | 7149 | line="39"/> | |
| 7206 | 7150 | <constructor name="new" | |
| 7207 | 7151 | c:identifier="gdk_pixbuf_simple_anim_new" | |
| 7208 | 7152 | version="2.8"> | |
| 7209 | 7153 | <doc xml:space="preserve" | |
| 7210 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7154 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7211 | 7155 | line="413">Creates a new, empty animation.</doc> | |
| 7212 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7156 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7213 | 7157 | line="55"/> | |
| 7214 | 7158 | <return-value transfer-ownership="full"> | |
| 7215 | 7159 | <doc xml:space="preserve" | |
| 7216 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7160 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7217 | 7161 | line="421">a newly allocated #GdkPixbufSimpleAnim</doc> | |
| 7218 | 7162 | <type name="PixbufSimpleAnim" c:type="GdkPixbufSimpleAnim*"/> | |
| 7219 | 7163 | </return-value> | |
| 7220 | 7164 | <parameters> | |
| 7221 | 7165 | <parameter name="width" transfer-ownership="none"> | |
| 7222 | 7166 | <doc xml:space="preserve" | |
| 7223 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7167 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7224 | 7168 | line="415">the width of the animation</doc> | |
| 7225 | 7169 | <type name="gint" c:type="gint"/> | |
| 7226 | 7170 | </parameter> | |
| 7227 | 7171 | <parameter name="height" transfer-ownership="none"> | |
| 7228 | 7172 | <doc xml:space="preserve" | |
| 7229 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7173 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7230 | 7174 | line="416">the height of the animation</doc> | |
| 7231 | 7175 | <type name="gint" c:type="gint"/> | |
| 7232 | 7176 | </parameter> | |
| 7233 | 7177 | <parameter name="rate" transfer-ownership="none"> | |
| 7234 | 7178 | <doc xml:space="preserve" | |
| 7235 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7179 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7236 | 7180 | line="417">the speed of the animation, in frames per second</doc> | |
| 7237 | 7181 | <type name="gfloat" c:type="gfloat"/> | |
| 7238 | 7182 | </parameter> | |
| @@ -7242,11 +7186,11 @@ will fail with the same error.</doc> | |||
| 7242 | 7186 | c:identifier="gdk_pixbuf_simple_anim_add_frame" | |
| 7243 | 7187 | version="2.8"> | |
| 7244 | 7188 | <doc xml:space="preserve" | |
| 7245 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7189 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7246 | 7190 | line="440">Adds a new frame to @animation. The @pixbuf must | |
| 7247 | 7191 | have the dimensions specified when the animation | |
| 7248 | 7192 | was constructed.</doc> | |
| 7249 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7193 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7250 | 7194 | line="59"/> | |
| 7251 | 7195 | <return-value transfer-ownership="none"> | |
| 7252 | 7196 | <type name="none" c:type="void"/> | |
| @@ -7254,13 +7198,13 @@ was constructed.</doc> | |||
| 7254 | 7198 | <parameters> | |
| 7255 | 7199 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 7256 | 7200 | <doc xml:space="preserve" | |
| 7257 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7201 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7258 | 7202 | line="442">a #GdkPixbufSimpleAnim</doc> | |
| 7259 | 7203 | <type name="PixbufSimpleAnim" c:type="GdkPixbufSimpleAnim*"/> | |
| 7260 | 7204 | </instance-parameter> | |
| 7261 | 7205 | <parameter name="pixbuf" transfer-ownership="none"> | |
| 7262 | 7206 | <doc xml:space="preserve" | |
| 7263 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7207 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7264 | 7208 | line="443">the pixbuf to add</doc> | |
| 7265 | 7209 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 7266 | 7210 | </parameter> | |
| @@ -7271,20 +7215,20 @@ was constructed.</doc> | |||
| 7271 | 7215 | glib:get-property="loop" | |
| 7272 | 7216 | version="2.18"> | |
| 7273 | 7217 | <doc xml:space="preserve" | |
| 7274 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7218 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7275 | 7219 | line="531">Gets whether @animation should loop indefinitely when it reaches the end.</doc> | |
| 7276 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7220 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7277 | 7221 | line="65"/> | |
| 7278 | 7222 | <return-value transfer-ownership="none"> | |
| 7279 | 7223 | <doc xml:space="preserve" | |
| 7280 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7224 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7281 | 7225 | line="537">%TRUE if the animation loops forever, %FALSE otherwise</doc> | |
| 7282 | 7226 | <type name="gboolean" c:type="gboolean"/> | |
| 7283 | 7227 | </return-value> | |
| 7284 | 7228 | <parameters> | |
| 7285 | 7229 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 7286 | 7230 | <doc xml:space="preserve" | |
| 7287 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7231 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7288 | 7232 | line="533">a #GdkPixbufSimpleAnim</doc> | |
| 7289 | 7233 | <type name="PixbufSimpleAnim" c:type="GdkPixbufSimpleAnim*"/> | |
| 7290 | 7234 | </instance-parameter> | |
| @@ -7295,9 +7239,9 @@ was constructed.</doc> | |||
| 7295 | 7239 | glib:set-property="loop" | |
| 7296 | 7240 | version="2.18"> | |
| 7297 | 7241 | <doc xml:space="preserve" | |
| 7298 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7242 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7299 | 7243 | line="510">Sets whether @animation should loop indefinitely when it reaches the end.</doc> | |
| 7300 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7244 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7301 | 7245 | line="62"/> | |
| 7302 | 7246 | <return-value transfer-ownership="none"> | |
| 7303 | 7247 | <type name="none" c:type="void"/> | |
| @@ -7305,13 +7249,13 @@ was constructed.</doc> | |||
| 7305 | 7249 | <parameters> | |
| 7306 | 7250 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 7307 | 7251 | <doc xml:space="preserve" | |
| 7308 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7252 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7309 | 7253 | line="512">a #GdkPixbufSimpleAnim</doc> | |
| 7310 | 7254 | <type name="PixbufSimpleAnim" c:type="GdkPixbufSimpleAnim*"/> | |
| 7311 | 7255 | </instance-parameter> | |
| 7312 | 7256 | <parameter name="loop" transfer-ownership="none"> | |
| 7313 | 7257 | <doc xml:space="preserve" | |
| 7314 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7258 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7315 | 7259 | line="513">whether to loop the animation</doc> | |
| 7316 | 7260 | <type name="gboolean" c:type="gboolean"/> | |
| 7317 | 7261 | </parameter> | |
| @@ -7322,9 +7266,10 @@ was constructed.</doc> | |||
| 7322 | 7266 | writable="1" | |
| 7323 | 7267 | transfer-ownership="none" | |
| 7324 | 7268 | setter="set_loop" | |
| 7325 | - | getter="get_loop"> | |
| 7269 | + | getter="get_loop" | |
| 7270 | + | default-value="FALSE"> | |
| 7326 | 7271 | <doc xml:space="preserve" | |
| 7327 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7272 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7328 | 7273 | line="152">Whether the animation should loop when it reaches the end.</doc> | |
| 7329 | 7274 | <type name="gboolean" c:type="gboolean"/> | |
| 7330 | 7275 | </property> | |
| @@ -7332,8 +7277,9 @@ was constructed.</doc> | |||
| 7332 | 7277 | <record name="PixbufSimpleAnimClass" | |
| 7333 | 7278 | c:type="GdkPixbufSimpleAnimClass" | |
| 7334 | 7279 | disguised="1" | |
| 7280 | + | opaque="1" | |
| 7335 | 7281 | glib:is-gtype-struct-for="PixbufSimpleAnim"> | |
| 7336 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7282 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7337 | 7283 | line="39"/> | |
| 7338 | 7284 | </record> | |
| 7339 | 7285 | <class name="PixbufSimpleAnimIter" | |
M internal/gir/spec/Gio-2.0.gir +41474 -33338 large diff (74812 lines changed): collapsed
M internal/gir/spec/Graphene-1.0.gir +2 -0
| @@ -5,10 +5,12 @@ and/or use gtk-doc annotations. --> | |||
| 5 | 5 | <repository version="1.2" | |
| 6 | 6 | xmlns="http://www.gtk.org/introspection/core/1.0" | |
| 7 | 7 | xmlns:c="http://www.gtk.org/introspection/c/1.0" | |
| 8 | + | xmlns:doc="http://www.gtk.org/introspection/doc/1.0" | |
| 8 | 9 | xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> | |
| 9 | 10 | <include name="GObject" version="2.0"/> | |
| 10 | 11 | <package name="graphene-gobject-1.0"/> | |
| 11 | 12 | <c:include name="graphene-gobject.h"/> | |
| 13 | + | <doc:format name="unknown"/> | |
| 12 | 14 | <namespace name="Graphene" | |
| 13 | 15 | version="1.0" | |
| 14 | 16 | shared-library="libgraphene-1.0.so.0" | |
M internal/gir/spec/Gsk-4.0.gir +6999 -2530
| @@ -5,11 +5,13 @@ and/or use gtk-doc annotations. --> | |||
| 5 | 5 | <repository version="1.2" | |
| 6 | 6 | xmlns="http://www.gtk.org/introspection/core/1.0" | |
| 7 | 7 | xmlns:c="http://www.gtk.org/introspection/c/1.0" | |
| 8 | + | xmlns:doc="http://www.gtk.org/introspection/doc/1.0" | |
| 8 | 9 | xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> | |
| 9 | 10 | <include name="Gdk" version="4.0"/> | |
| 10 | 11 | <include name="Graphene" version="1.0"/> | |
| 11 | 12 | <package name="gtk4"/> | |
| 12 | 13 | <c:include name="gsk/gsk.h"/> | |
| 14 | + | <doc:format name="unknown"/> | |
| 13 | 15 | <namespace name="Gsk" | |
| 14 | 16 | version="4.0" | |
| 15 | 17 | shared-library="libgtk-4.so.1" | |
| @@ -19,7 +21,7 @@ and/or use gtk-doc annotations. --> | |||
| 19 | 21 | c:identifier="GSK_BROADWAY_RENDERER" | |
| 20 | 22 | introspectable="0"> | |
| 21 | 23 | <source-position filename="gsk/broadway/gskbroadwayrenderer.h" | |
| 22 | - | line="32"/> | |
| 24 | + | line="31"/> | |
| 23 | 25 | <parameters> | |
| 24 | 26 | <parameter name="obj"> | |
| 25 | 27 | </parameter> | |
| @@ -29,7 +31,7 @@ and/or use gtk-doc annotations. --> | |||
| 29 | 31 | c:identifier="GSK_BROADWAY_RENDERER_CLASS" | |
| 30 | 32 | introspectable="0"> | |
| 31 | 33 | <source-position filename="gsk/broadway/gskbroadwayrenderer.h" | |
| 32 | - | line="34"/> | |
| 34 | + | line="33"/> | |
| 33 | 35 | <parameters> | |
| 34 | 36 | <parameter name="klass"> | |
| 35 | 37 | </parameter> | |
| @@ -39,7 +41,7 @@ and/or use gtk-doc annotations. --> | |||
| 39 | 41 | c:identifier="GSK_BROADWAY_RENDERER_GET_CLASS" | |
| 40 | 42 | introspectable="0"> | |
| 41 | 43 | <source-position filename="gsk/broadway/gskbroadwayrenderer.h" | |
| 42 | - | line="36"/> | |
| 44 | + | line="35"/> | |
| 43 | 45 | <parameters> | |
| 44 | 46 | <parameter name="obj"> | |
| 45 | 47 | </parameter> | |
| @@ -51,7 +53,7 @@ and/or use gtk-doc annotations. --> | |||
| 51 | 53 | c:type="GskBlendMode"> | |
| 52 | 54 | <doc xml:space="preserve" | |
| 53 | 55 | filename="gsk/gskenums.h" | |
| 54 | - | line="104">The blend modes available for render nodes. | |
| 56 | + | line="149">The blend modes available for render nodes. | |
| 55 | 57 | ||
| 56 | 58 | The implementation of each blend mode is deferred to the | |
| 57 | 59 | rendering pipeline. | |
| @@ -65,7 +67,7 @@ on blending and blend modes.</doc> | |||
| 65 | 67 | glib:name="GSK_BLEND_MODE_DEFAULT"> | |
| 66 | 68 | <doc xml:space="preserve" | |
| 67 | 69 | filename="gsk/gskenums.h" | |
| 68 | - | line="106">The default blend mode, which specifies no blending</doc> | |
| 70 | + | line="151">The default blend mode, which specifies no blending</doc> | |
| 69 | 71 | </member> | |
| 70 | 72 | <member name="multiply" | |
| 71 | 73 | value="1" | |
| @@ -74,7 +76,7 @@ on blending and blend modes.</doc> | |||
| 74 | 76 | glib:name="GSK_BLEND_MODE_MULTIPLY"> | |
| 75 | 77 | <doc xml:space="preserve" | |
| 76 | 78 | filename="gsk/gskenums.h" | |
| 77 | - | line="107">The source color is multiplied by the destination | |
| 79 | + | line="152">The source color is multiplied by the destination | |
| 78 | 80 | and replaces the destination</doc> | |
| 79 | 81 | </member> | |
| 80 | 82 | <member name="screen" | |
| @@ -84,7 +86,7 @@ on blending and blend modes.</doc> | |||
| 84 | 86 | glib:name="GSK_BLEND_MODE_SCREEN"> | |
| 85 | 87 | <doc xml:space="preserve" | |
| 86 | 88 | filename="gsk/gskenums.h" | |
| 87 | - | line="109">Multiplies the complements of the destination and source | |
| 89 | + | line="154">Multiplies the complements of the destination and source | |
| 88 | 90 | color values, then complements the result.</doc> | |
| 89 | 91 | </member> | |
| 90 | 92 | <member name="overlay" | |
| @@ -94,7 +96,7 @@ on blending and blend modes.</doc> | |||
| 94 | 96 | glib:name="GSK_BLEND_MODE_OVERLAY"> | |
| 95 | 97 | <doc xml:space="preserve" | |
| 96 | 98 | filename="gsk/gskenums.h" | |
| 97 | - | line="111">Multiplies or screens the colors, depending on the | |
| 99 | + | line="156">Multiplies or screens the colors, depending on the | |
| 98 | 100 | destination color value. This is the inverse of hard-list</doc> | |
| 99 | 101 | </member> | |
| 100 | 102 | <member name="darken" | |
| @@ -104,7 +106,7 @@ on blending and blend modes.</doc> | |||
| 104 | 106 | glib:name="GSK_BLEND_MODE_DARKEN"> | |
| 105 | 107 | <doc xml:space="preserve" | |
| 106 | 108 | filename="gsk/gskenums.h" | |
| 107 | - | line="113">Selects the darker of the destination and source colors</doc> | |
| 109 | + | line="158">Selects the darker of the destination and source colors</doc> | |
| 108 | 110 | </member> | |
| 109 | 111 | <member name="lighten" | |
| 110 | 112 | value="5" | |
| @@ -113,7 +115,7 @@ on blending and blend modes.</doc> | |||
| 113 | 115 | glib:name="GSK_BLEND_MODE_LIGHTEN"> | |
| 114 | 116 | <doc xml:space="preserve" | |
| 115 | 117 | filename="gsk/gskenums.h" | |
| 116 | - | line="114">Selects the lighter of the destination and source colors</doc> | |
| 118 | + | line="159">Selects the lighter of the destination and source colors</doc> | |
| 117 | 119 | </member> | |
| 118 | 120 | <member name="color_dodge" | |
| 119 | 121 | value="6" | |
| @@ -122,7 +124,7 @@ on blending and blend modes.</doc> | |||
| 122 | 124 | glib:name="GSK_BLEND_MODE_COLOR_DODGE"> | |
| 123 | 125 | <doc xml:space="preserve" | |
| 124 | 126 | filename="gsk/gskenums.h" | |
| 125 | - | line="115">Brightens the destination color to reflect the source color</doc> | |
| 127 | + | line="160">Brightens the destination color to reflect the source color</doc> | |
| 126 | 128 | </member> | |
| 127 | 129 | <member name="color_burn" | |
| 128 | 130 | value="7" | |
| @@ -131,7 +133,7 @@ on blending and blend modes.</doc> | |||
| 131 | 133 | glib:name="GSK_BLEND_MODE_COLOR_BURN"> | |
| 132 | 134 | <doc xml:space="preserve" | |
| 133 | 135 | filename="gsk/gskenums.h" | |
| 134 | - | line="116">Darkens the destination color to reflect the source color</doc> | |
| 136 | + | line="161">Darkens the destination color to reflect the source color</doc> | |
| 135 | 137 | </member> | |
| 136 | 138 | <member name="hard_light" | |
| 137 | 139 | value="8" | |
| @@ -140,7 +142,7 @@ on blending and blend modes.</doc> | |||
| 140 | 142 | glib:name="GSK_BLEND_MODE_HARD_LIGHT"> | |
| 141 | 143 | <doc xml:space="preserve" | |
| 142 | 144 | filename="gsk/gskenums.h" | |
| 143 | - | line="117">Multiplies or screens the colors, depending on the source color value</doc> | |
| 145 | + | line="162">Multiplies or screens the colors, depending on the source color value</doc> | |
| 144 | 146 | </member> | |
| 145 | 147 | <member name="soft_light" | |
| 146 | 148 | value="9" | |
| @@ -149,7 +151,7 @@ on blending and blend modes.</doc> | |||
| 149 | 151 | glib:name="GSK_BLEND_MODE_SOFT_LIGHT"> | |
| 150 | 152 | <doc xml:space="preserve" | |
| 151 | 153 | filename="gsk/gskenums.h" | |
| 152 | - | line="118">Darkens or lightens the colors, depending on the source color value</doc> | |
| 154 | + | line="163">Darkens or lightens the colors, depending on the source color value</doc> | |
| 153 | 155 | </member> | |
| 154 | 156 | <member name="difference" | |
| 155 | 157 | value="10" | |
| @@ -158,7 +160,7 @@ on blending and blend modes.</doc> | |||
| 158 | 160 | glib:name="GSK_BLEND_MODE_DIFFERENCE"> | |
| 159 | 161 | <doc xml:space="preserve" | |
| 160 | 162 | filename="gsk/gskenums.h" | |
| 161 | - | line="119">Subtracts the darker of the two constituent colors from the lighter color</doc> | |
| 163 | + | line="164">Subtracts the darker of the two constituent colors from the lighter color</doc> | |
| 162 | 164 | </member> | |
| 163 | 165 | <member name="exclusion" | |
| 164 | 166 | value="11" | |
| @@ -167,7 +169,7 @@ on blending and blend modes.</doc> | |||
| 167 | 169 | glib:name="GSK_BLEND_MODE_EXCLUSION"> | |
| 168 | 170 | <doc xml:space="preserve" | |
| 169 | 171 | filename="gsk/gskenums.h" | |
| 170 | - | line="120">Produces an effect similar to that of the difference mode but lower in contrast</doc> | |
| 172 | + | line="165">Produces an effect similar to that of the difference mode but lower in contrast</doc> | |
| 171 | 173 | </member> | |
| 172 | 174 | <member name="color" | |
| 173 | 175 | value="12" | |
| @@ -176,7 +178,7 @@ on blending and blend modes.</doc> | |||
| 176 | 178 | glib:name="GSK_BLEND_MODE_COLOR"> | |
| 177 | 179 | <doc xml:space="preserve" | |
| 178 | 180 | filename="gsk/gskenums.h" | |
| 179 | - | line="121">Creates a color with the hue and saturation of the source color and the luminosity of the destination color</doc> | |
| 181 | + | line="166">Creates a color with the hue and saturation of the source color and the luminosity of the destination color</doc> | |
| 180 | 182 | </member> | |
| 181 | 183 | <member name="hue" | |
| 182 | 184 | value="13" | |
| @@ -185,7 +187,7 @@ on blending and blend modes.</doc> | |||
| 185 | 187 | glib:name="GSK_BLEND_MODE_HUE"> | |
| 186 | 188 | <doc xml:space="preserve" | |
| 187 | 189 | filename="gsk/gskenums.h" | |
| 188 | - | line="122">Creates a color with the hue of the source color and the saturation and luminosity of the destination color</doc> | |
| 190 | + | line="167">Creates a color with the hue of the source color and the saturation and luminosity of the destination color</doc> | |
| 189 | 191 | </member> | |
| 190 | 192 | <member name="saturation" | |
| 191 | 193 | value="14" | |
| @@ -194,7 +196,7 @@ on blending and blend modes.</doc> | |||
| 194 | 196 | glib:name="GSK_BLEND_MODE_SATURATION"> | |
| 195 | 197 | <doc xml:space="preserve" | |
| 196 | 198 | filename="gsk/gskenums.h" | |
| 197 | - | line="123">Creates a color with the saturation of the source color and the hue and luminosity of the destination color</doc> | |
| 199 | + | line="168">Creates a color with the saturation of the source color and the hue and luminosity of the destination color</doc> | |
| 198 | 200 | </member> | |
| 199 | 201 | <member name="luminosity" | |
| 200 | 202 | value="15" | |
| @@ -203,7 +205,7 @@ on blending and blend modes.</doc> | |||
| 203 | 205 | glib:name="GSK_BLEND_MODE_LUMINOSITY"> | |
| 204 | 206 | <doc xml:space="preserve" | |
| 205 | 207 | filename="gsk/gskenums.h" | |
| 206 | - | line="124">Creates a color with the luminosity of the source color and the hue and saturation of the destination color</doc> | |
| 208 | + | line="169">Creates a color with the luminosity of the source color and the hue and saturation of the destination color</doc> | |
| 207 | 209 | </member> | |
| 208 | 210 | </enumeration> | |
| 209 | 211 | <class name="BlendNode" | |
| @@ -215,36 +217,36 @@ on blending and blend modes.</doc> | |||
| 215 | 217 | glib:fundamental="1"> | |
| 216 | 218 | <doc xml:space="preserve" | |
| 217 | 219 | filename="gsk/gskrendernodeimpl.c" | |
| 218 | - | line="4055">A render node applying a blending function between its two child nodes.</doc> | |
| 220 | + | line="6766">A render node applying a blending function between its two child nodes.</doc> | |
| 219 | 221 | <constructor name="new" c:identifier="gsk_blend_node_new"> | |
| 220 | 222 | <doc xml:space="preserve" | |
| 221 | 223 | filename="gsk/gskrendernodeimpl.c" | |
| 222 | - | line="4162">Creates a `GskRenderNode` that will use @blend_mode to blend the @top | |
| 224 | + | line="6893">Creates a `GskRenderNode` that will use @blend_mode to blend the @top | |
| 223 | 225 | node onto the @bottom node.</doc> | |
| 224 | - | <source-position filename="gsk/gskrendernode.h" line="465"/> | |
| 226 | + | <source-position filename="gsk/gskrendernode.h" line="514"/> | |
| 225 | 227 | <return-value transfer-ownership="full"> | |
| 226 | 228 | <doc xml:space="preserve" | |
| 227 | 229 | filename="gsk/gskrendernodeimpl.c" | |
| 228 | - | line="4171">A new `GskRenderNode`</doc> | |
| 230 | + | line="6902">A new `GskRenderNode`</doc> | |
| 229 | 231 | <type name="BlendNode" c:type="GskRenderNode*"/> | |
| 230 | 232 | </return-value> | |
| 231 | 233 | <parameters> | |
| 232 | 234 | <parameter name="bottom" transfer-ownership="none"> | |
| 233 | 235 | <doc xml:space="preserve" | |
| 234 | 236 | filename="gsk/gskrendernodeimpl.c" | |
| 235 | - | line="4164">The bottom node to be drawn</doc> | |
| 237 | + | line="6895">The bottom node to be drawn</doc> | |
| 236 | 238 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 237 | 239 | </parameter> | |
| 238 | 240 | <parameter name="top" transfer-ownership="none"> | |
| 239 | 241 | <doc xml:space="preserve" | |
| 240 | 242 | filename="gsk/gskrendernodeimpl.c" | |
| 241 | - | line="4165">The node to be blended onto the @bottom node</doc> | |
| 243 | + | line="6896">The node to be blended onto the @bottom node</doc> | |
| 242 | 244 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 243 | 245 | </parameter> | |
| 244 | 246 | <parameter name="blend_mode" transfer-ownership="none"> | |
| 245 | 247 | <doc xml:space="preserve" | |
| 246 | 248 | filename="gsk/gskrendernodeimpl.c" | |
| 247 | - | line="4166">The blend mode to use</doc> | |
| 249 | + | line="6897">The blend mode to use</doc> | |
| 248 | 250 | <type name="BlendMode" c:type="GskBlendMode"/> | |
| 249 | 251 | </parameter> | |
| 250 | 252 | </parameters> | |
| @@ -253,19 +255,19 @@ node onto the @bottom node.</doc> | |||
| 253 | 255 | c:identifier="gsk_blend_node_get_blend_mode"> | |
| 254 | 256 | <doc xml:space="preserve" | |
| 255 | 257 | filename="gsk/gskrendernodeimpl.c" | |
| 256 | - | line="4231">Retrieves the blend mode used by @node.</doc> | |
| 257 | - | <source-position filename="gsk/gskrendernode.h" line="473"/> | |
| 258 | + | line="6965">Retrieves the blend mode used by @node.</doc> | |
| 259 | + | <source-position filename="gsk/gskrendernode.h" line="522"/> | |
| 258 | 260 | <return-value transfer-ownership="none"> | |
| 259 | 261 | <doc xml:space="preserve" | |
| 260 | 262 | filename="gsk/gskrendernodeimpl.c" | |
| 261 | - | line="4237">the blend mode</doc> | |
| 263 | + | line="6971">the blend mode</doc> | |
| 262 | 264 | <type name="BlendMode" c:type="GskBlendMode"/> | |
| 263 | 265 | </return-value> | |
| 264 | 266 | <parameters> | |
| 265 | 267 | <instance-parameter name="node" transfer-ownership="none"> | |
| 266 | 268 | <doc xml:space="preserve" | |
| 267 | 269 | filename="gsk/gskrendernodeimpl.c" | |
| 268 | - | line="4233">a blending `GskRenderNode`</doc> | |
| 270 | + | line="6967">a blending `GskRenderNode`</doc> | |
| 269 | 271 | <type name="BlendNode" c:type="const GskRenderNode*"/> | |
| 270 | 272 | </instance-parameter> | |
| 271 | 273 | </parameters> | |
| @@ -274,19 +276,19 @@ node onto the @bottom node.</doc> | |||
| 274 | 276 | c:identifier="gsk_blend_node_get_bottom_child"> | |
| 275 | 277 | <doc xml:space="preserve" | |
| 276 | 278 | filename="gsk/gskrendernodeimpl.c" | |
| 277 | - | line="4199">Retrieves the bottom `GskRenderNode` child of the @node.</doc> | |
| 278 | - | <source-position filename="gsk/gskrendernode.h" line="469"/> | |
| 279 | + | line="6933">Retrieves the bottom `GskRenderNode` child of the @node.</doc> | |
| 280 | + | <source-position filename="gsk/gskrendernode.h" line="518"/> | |
| 279 | 281 | <return-value transfer-ownership="none"> | |
| 280 | 282 | <doc xml:space="preserve" | |
| 281 | 283 | filename="gsk/gskrendernodeimpl.c" | |
| 282 | - | line="4205">the bottom child node</doc> | |
| 284 | + | line="6939">the bottom child node</doc> | |
| 283 | 285 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 284 | 286 | </return-value> | |
| 285 | 287 | <parameters> | |
| 286 | 288 | <instance-parameter name="node" transfer-ownership="none"> | |
| 287 | 289 | <doc xml:space="preserve" | |
| 288 | 290 | filename="gsk/gskrendernodeimpl.c" | |
| 289 | - | line="4201">a blending `GskRenderNode`</doc> | |
| 291 | + | line="6935">a blending `GskRenderNode`</doc> | |
| 290 | 292 | <type name="BlendNode" c:type="const GskRenderNode*"/> | |
| 291 | 293 | </instance-parameter> | |
| 292 | 294 | </parameters> | |
| @@ -294,19 +296,19 @@ node onto the @bottom node.</doc> | |||
| 294 | 296 | <method name="get_top_child" c:identifier="gsk_blend_node_get_top_child"> | |
| 295 | 297 | <doc xml:space="preserve" | |
| 296 | 298 | filename="gsk/gskrendernodeimpl.c" | |
| 297 | - | line="4215">Retrieves the top `GskRenderNode` child of the @node.</doc> | |
| 298 | - | <source-position filename="gsk/gskrendernode.h" line="471"/> | |
| 299 | + | line="6949">Retrieves the top `GskRenderNode` child of the @node.</doc> | |
| 300 | + | <source-position filename="gsk/gskrendernode.h" line="520"/> | |
| 299 | 301 | <return-value transfer-ownership="none"> | |
| 300 | 302 | <doc xml:space="preserve" | |
| 301 | 303 | filename="gsk/gskrendernodeimpl.c" | |
| 302 | - | line="4221">the top child node</doc> | |
| 304 | + | line="6955">the top child node</doc> | |
| 303 | 305 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 304 | 306 | </return-value> | |
| 305 | 307 | <parameters> | |
| 306 | 308 | <instance-parameter name="node" transfer-ownership="none"> | |
| 307 | 309 | <doc xml:space="preserve" | |
| 308 | 310 | filename="gsk/gskrendernodeimpl.c" | |
| 309 | - | line="4217">a blending `GskRenderNode`</doc> | |
| 311 | + | line="6951">a blending `GskRenderNode`</doc> | |
| 310 | 312 | <type name="BlendNode" c:type="const GskRenderNode*"/> | |
| 311 | 313 | </instance-parameter> | |
| 312 | 314 | </parameters> | |
| @@ -321,29 +323,29 @@ node onto the @bottom node.</doc> | |||
| 321 | 323 | glib:fundamental="1"> | |
| 322 | 324 | <doc xml:space="preserve" | |
| 323 | 325 | filename="gsk/gskrendernodeimpl.c" | |
| 324 | - | line="4665">A render node applying a blur effect to its single child.</doc> | |
| 326 | + | line="7544">A render node applying a blur effect to its single child.</doc> | |
| 325 | 327 | <constructor name="new" c:identifier="gsk_blur_node_new"> | |
| 326 | 328 | <doc xml:space="preserve" | |
| 327 | 329 | filename="gsk/gskrendernodeimpl.c" | |
| 328 | - | line="4909">Creates a render node that blurs the child.</doc> | |
| 329 | - | <source-position filename="gsk/gskrendernode.h" line="512"/> | |
| 330 | + | line="7811">Creates a render node that blurs the child.</doc> | |
| 331 | + | <source-position filename="gsk/gskrendernode.h" line="561"/> | |
| 330 | 332 | <return-value transfer-ownership="full"> | |
| 331 | 333 | <doc xml:space="preserve" | |
| 332 | 334 | filename="gsk/gskrendernodeimpl.c" | |
| 333 | - | line="4916">a new `GskRenderNode`</doc> | |
| 335 | + | line="7818">a new `GskRenderNode`</doc> | |
| 334 | 336 | <type name="BlurNode" c:type="GskRenderNode*"/> | |
| 335 | 337 | </return-value> | |
| 336 | 338 | <parameters> | |
| 337 | 339 | <parameter name="child" transfer-ownership="none"> | |
| 338 | 340 | <doc xml:space="preserve" | |
| 339 | 341 | filename="gsk/gskrendernodeimpl.c" | |
| 340 | - | line="4911">the child node to blur</doc> | |
| 342 | + | line="7813">the child node to blur</doc> | |
| 341 | 343 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 342 | 344 | </parameter> | |
| 343 | 345 | <parameter name="radius" transfer-ownership="none"> | |
| 344 | 346 | <doc xml:space="preserve" | |
| 345 | 347 | filename="gsk/gskrendernodeimpl.c" | |
| 346 | - | line="4912">the blur radius. Must be positive</doc> | |
| 348 | + | line="7814">the blur radius. Must be positive</doc> | |
| 347 | 349 | <type name="gfloat" c:type="float"/> | |
| 348 | 350 | </parameter> | |
| 349 | 351 | </parameters> | |
| @@ -351,19 +353,19 @@ node onto the @bottom node.</doc> | |||
| 351 | 353 | <method name="get_child" c:identifier="gsk_blur_node_get_child"> | |
| 352 | 354 | <doc xml:space="preserve" | |
| 353 | 355 | filename="gsk/gskrendernodeimpl.c" | |
| 354 | - | line="4948">Retrieves the child `GskRenderNode` of the blur @node.</doc> | |
| 355 | - | <source-position filename="gsk/gskrendernode.h" line="515"/> | |
| 356 | + | line="7849">Retrieves the child `GskRenderNode` of the blur @node.</doc> | |
| 357 | + | <source-position filename="gsk/gskrendernode.h" line="564"/> | |
| 356 | 358 | <return-value transfer-ownership="none"> | |
| 357 | 359 | <doc xml:space="preserve" | |
| 358 | 360 | filename="gsk/gskrendernodeimpl.c" | |
| 359 | - | line="4954">the blurred child node</doc> | |
| 361 | + | line="7855">the blurred child node</doc> | |
| 360 | 362 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 361 | 363 | </return-value> | |
| 362 | 364 | <parameters> | |
| 363 | 365 | <instance-parameter name="node" transfer-ownership="none"> | |
| 364 | 366 | <doc xml:space="preserve" | |
| 365 | 367 | filename="gsk/gskrendernodeimpl.c" | |
| 366 | - | line="4950">a blur `GskRenderNode`</doc> | |
| 368 | + | line="7851">a blur `GskRenderNode`</doc> | |
| 367 | 369 | <type name="BlurNode" c:type="const GskRenderNode*"/> | |
| 368 | 370 | </instance-parameter> | |
| 369 | 371 | </parameters> | |
| @@ -371,19 +373,19 @@ node onto the @bottom node.</doc> | |||
| 371 | 373 | <method name="get_radius" c:identifier="gsk_blur_node_get_radius"> | |
| 372 | 374 | <doc xml:space="preserve" | |
| 373 | 375 | filename="gsk/gskrendernodeimpl.c" | |
| 374 | - | line="4964">Retrieves the blur radius of the @node.</doc> | |
| 375 | - | <source-position filename="gsk/gskrendernode.h" line="517"/> | |
| 376 | + | line="7865">Retrieves the blur radius of the @node.</doc> | |
| 377 | + | <source-position filename="gsk/gskrendernode.h" line="566"/> | |
| 376 | 378 | <return-value transfer-ownership="none"> | |
| 377 | 379 | <doc xml:space="preserve" | |
| 378 | 380 | filename="gsk/gskrendernodeimpl.c" | |
| 379 | - | line="4970">the blur radius</doc> | |
| 381 | + | line="7871">the blur radius</doc> | |
| 380 | 382 | <type name="gfloat" c:type="float"/> | |
| 381 | 383 | </return-value> | |
| 382 | 384 | <parameters> | |
| 383 | 385 | <instance-parameter name="node" transfer-ownership="none"> | |
| 384 | 386 | <doc xml:space="preserve" | |
| 385 | 387 | filename="gsk/gskrendernodeimpl.c" | |
| 386 | - | line="4966">a blur `GskRenderNode`</doc> | |
| 388 | + | line="7867">a blur `GskRenderNode`</doc> | |
| 387 | 389 | <type name="BlurNode" c:type="const GskRenderNode*"/> | |
| 388 | 390 | </instance-parameter> | |
| 389 | 391 | </parameters> | |
| @@ -398,32 +400,32 @@ node onto the @bottom node.</doc> | |||
| 398 | 400 | glib:fundamental="1"> | |
| 399 | 401 | <doc xml:space="preserve" | |
| 400 | 402 | filename="gsk/gskrendernodeimpl.c" | |
| 401 | - | line="1152">A render node for a border.</doc> | |
| 403 | + | line="2276">A render node for a border.</doc> | |
| 402 | 404 | <constructor name="new" c:identifier="gsk_border_node_new"> | |
| 403 | 405 | <doc xml:space="preserve" | |
| 404 | 406 | filename="gsk/gskrendernodeimpl.c" | |
| 405 | - | line="1393">Creates a `GskRenderNode` that will stroke a border rectangle inside the | |
| 407 | + | line="2569">Creates a `GskRenderNode` that will stroke a border rectangle inside the | |
| 406 | 408 | given @outline. | |
| 407 | 409 | ||
| 408 | 410 | The 4 sides of the border can have different widths and colors.</doc> | |
| 409 | - | <source-position filename="gsk/gskrendernode.h" line="309"/> | |
| 411 | + | <source-position filename="gsk/gskrendernode.h" line="332"/> | |
| 410 | 412 | <return-value transfer-ownership="full"> | |
| 411 | 413 | <doc xml:space="preserve" | |
| 412 | 414 | filename="gsk/gskrendernodeimpl.c" | |
| 413 | - | line="1406">A new `GskRenderNode`</doc> | |
| 415 | + | line="2582">A new `GskRenderNode`</doc> | |
| 414 | 416 | <type name="BorderNode" c:type="GskRenderNode*"/> | |
| 415 | 417 | </return-value> | |
| 416 | 418 | <parameters> | |
| 417 | 419 | <parameter name="outline" transfer-ownership="none"> | |
| 418 | 420 | <doc xml:space="preserve" | |
| 419 | 421 | filename="gsk/gskrendernodeimpl.c" | |
| 420 | - | line="1395">a `GskRoundedRect` describing the outline of the border</doc> | |
| 422 | + | line="2571">a `GskRoundedRect` describing the outline of the border</doc> | |
| 421 | 423 | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 422 | 424 | </parameter> | |
| 423 | 425 | <parameter name="border_width" transfer-ownership="none"> | |
| 424 | 426 | <doc xml:space="preserve" | |
| 425 | 427 | filename="gsk/gskrendernodeimpl.c" | |
| 426 | - | line="1396">the stroke width of the border on | |
| 428 | + | line="2572">the stroke width of the border on | |
| 427 | 429 | the top, right, bottom and left side respectively.</doc> | |
| 428 | 430 | <array zero-terminated="0" c:type="const float*" fixed-size="4"> | |
| 429 | 431 | <type name="gfloat" c:type="float"/> | |
| @@ -432,7 +434,7 @@ The 4 sides of the border can have different widths and colors.</doc> | |||
| 432 | 434 | <parameter name="border_color" transfer-ownership="none"> | |
| 433 | 435 | <doc xml:space="preserve" | |
| 434 | 436 | filename="gsk/gskrendernodeimpl.c" | |
| 435 | - | line="1398">the color used on the top, right, | |
| 437 | + | line="2574">the color used on the top, right, | |
| 436 | 438 | bottom and left side.</doc> | |
| 437 | 439 | <array zero-terminated="0" c:type="const GdkRGBA*" fixed-size="4"> | |
| 438 | 440 | <type name="Gdk.RGBA" c:type="GdkRGBA"/> | |
| @@ -443,20 +445,22 @@ The 4 sides of the border can have different widths and colors.</doc> | |||
| 443 | 445 | <method name="get_colors" c:identifier="gsk_border_node_get_colors"> | |
| 444 | 446 | <doc xml:space="preserve" | |
| 445 | 447 | filename="gsk/gskrendernodeimpl.c" | |
| 446 | - | line="1376">Retrieves the colors of the border.</doc> | |
| 447 | - | <source-position filename="gsk/gskrendernode.h" line="317"/> | |
| 448 | + | line="2538">Retrieves the colors of the border.</doc> | |
| 449 | + | <source-position filename="gsk/gskrendernode.h" line="340"/> | |
| 448 | 450 | <return-value transfer-ownership="none"> | |
| 449 | 451 | <doc xml:space="preserve" | |
| 450 | 452 | filename="gsk/gskrendernodeimpl.c" | |
| 451 | - | line="1382">an array of 4 `GdkRGBA` structs | |
| 452 | - | for the top, right, bottom and left color of the border</doc> | |
| 453 | - | <type name="Gdk.RGBA" c:type="const GdkRGBA*"/> | |
| 453 | + | line="2544">an array of 4 `GdkRGBA` | |
| 454 | + | structs for the top, right, bottom and left color of the border</doc> | |
| 455 | + | <array zero-terminated="0" c:type="const GdkRGBA*" fixed-size="4"> | |
| 456 | + | <type name="Gdk.RGBA" c:type="GdkRGBA"/> | |
| 457 | + | </array> | |
| 454 | 458 | </return-value> | |
| 455 | 459 | <parameters> | |
| 456 | 460 | <instance-parameter name="node" transfer-ownership="none"> | |
| 457 | 461 | <doc xml:space="preserve" | |
| 458 | 462 | filename="gsk/gskrendernodeimpl.c" | |
| 459 | - | line="1378">a `GskRenderNode` for a border</doc> | |
| 463 | + | line="2540">a `GskRenderNode` for a border</doc> | |
| 460 | 464 | <type name="BorderNode" c:type="const GskRenderNode*"/> | |
| 461 | 465 | </instance-parameter> | |
| 462 | 466 | </parameters> | |
| @@ -464,19 +468,19 @@ The 4 sides of the border can have different widths and colors.</doc> | |||
| 464 | 468 | <method name="get_outline" c:identifier="gsk_border_node_get_outline"> | |
| 465 | 469 | <doc xml:space="preserve" | |
| 466 | 470 | filename="gsk/gskrendernodeimpl.c" | |
| 467 | - | line="1342">Retrieves the outline of the border.</doc> | |
| 468 | - | <source-position filename="gsk/gskrendernode.h" line="313"/> | |
| 471 | + | line="2504">Retrieves the outline of the border.</doc> | |
| 472 | + | <source-position filename="gsk/gskrendernode.h" line="336"/> | |
| 469 | 473 | <return-value transfer-ownership="none"> | |
| 470 | 474 | <doc xml:space="preserve" | |
| 471 | 475 | filename="gsk/gskrendernodeimpl.c" | |
| 472 | - | line="1348">the outline of the border</doc> | |
| 476 | + | line="2510">the outline of the border</doc> | |
| 473 | 477 | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 474 | 478 | </return-value> | |
| 475 | 479 | <parameters> | |
| 476 | 480 | <instance-parameter name="node" transfer-ownership="none"> | |
| 477 | 481 | <doc xml:space="preserve" | |
| 478 | 482 | filename="gsk/gskrendernodeimpl.c" | |
| 479 | - | line="1344">a `GskRenderNode` for a border</doc> | |
| 483 | + | line="2506">a `GskRenderNode` for a border</doc> | |
| 480 | 484 | <type name="BorderNode" c:type="const GskRenderNode*"/> | |
| 481 | 485 | </instance-parameter> | |
| 482 | 486 | </parameters> | |
| @@ -484,12 +488,12 @@ The 4 sides of the border can have different widths and colors.</doc> | |||
| 484 | 488 | <method name="get_widths" c:identifier="gsk_border_node_get_widths"> | |
| 485 | 489 | <doc xml:space="preserve" | |
| 486 | 490 | filename="gsk/gskrendernodeimpl.c" | |
| 487 | - | line="1358">Retrieves the stroke widths of the border.</doc> | |
| 488 | - | <source-position filename="gsk/gskrendernode.h" line="315"/> | |
| 491 | + | line="2520">Retrieves the stroke widths of the border.</doc> | |
| 492 | + | <source-position filename="gsk/gskrendernode.h" line="338"/> | |
| 489 | 493 | <return-value transfer-ownership="none"> | |
| 490 | 494 | <doc xml:space="preserve" | |
| 491 | 495 | filename="gsk/gskrendernodeimpl.c" | |
| 492 | - | line="1364">an array of 4 floats | |
| 496 | + | line="2526">an array of 4 floats | |
| 493 | 497 | for the top, right, bottom and left stroke width of the border, | |
| 494 | 498 | respectively</doc> | |
| 495 | 499 | <array zero-terminated="0" c:type="const float*" fixed-size="4"> | |
| @@ -500,7 +504,7 @@ The 4 sides of the border can have different widths and colors.</doc> | |||
| 500 | 504 | <instance-parameter name="node" transfer-ownership="none"> | |
| 501 | 505 | <doc xml:space="preserve" | |
| 502 | 506 | filename="gsk/gskrendernodeimpl.c" | |
| 503 | - | line="1360">a `GskRenderNode` for a border</doc> | |
| 507 | + | line="2522">a `GskRenderNode` for a border</doc> | |
| 504 | 508 | <type name="BorderNode" c:type="const GskRenderNode*"/> | |
| 505 | 509 | </instance-parameter> | |
| 506 | 510 | </parameters> | |
| @@ -513,12 +517,17 @@ The 4 sides of the border can have different widths and colors.</doc> | |||
| 513 | 517 | glib:type-name="GskBroadwayRenderer" | |
| 514 | 518 | glib:get-type="gsk_broadway_renderer_get_type" | |
| 515 | 519 | glib:type-struct="BroadwayRendererClass"> | |
| 520 | + | <doc xml:space="preserve" | |
| 521 | + | filename="gsk/broadway/gskbroadwayrenderer.c" | |
| 522 | + | line="14">A Broadway based renderer. | |
| 523 | + | ||
| 524 | + | See [class@Gsk.Renderer].</doc> | |
| 516 | 525 | <source-position filename="gsk/broadway/gskbroadwayrenderer.h" | |
| 517 | - | line="39"/> | |
| 526 | + | line="38"/> | |
| 518 | 527 | <constructor name="new" c:identifier="gsk_broadway_renderer_new"> | |
| 519 | 528 | <doc xml:space="preserve" | |
| 520 | 529 | filename="gsk/broadway/gskbroadwayrenderer.c" | |
| 521 | - | line="959">Creates a new Broadway renderer. | |
| 530 | + | line="987">Creates a new Broadway renderer. | |
| 522 | 531 | ||
| 523 | 532 | The Broadway renderer is the default renderer for the broadway backend. | |
| 524 | 533 | It will only work with broadway surfaces, otherwise it will fail the | |
| @@ -527,11 +536,11 @@ call to gsk_renderer_realize(). | |||
| 527 | 536 | This function is only available when GTK was compiled with Broadway | |
| 528 | 537 | support.</doc> | |
| 529 | 538 | <source-position filename="gsk/broadway/gskbroadwayrenderer.h" | |
| 530 | - | line="46"/> | |
| 539 | + | line="45"/> | |
| 531 | 540 | <return-value transfer-ownership="full"> | |
| 532 | 541 | <doc xml:space="preserve" | |
| 533 | 542 | filename="gsk/broadway/gskbroadwayrenderer.c" | |
| 534 | - | line="971">a new Broadway renderer.</doc> | |
| 543 | + | line="999">a new Broadway renderer.</doc> | |
| 535 | 544 | <type name="Renderer" c:type="GskRenderer*"/> | |
| 536 | 545 | </return-value> | |
| 537 | 546 | </constructor> | |
| @@ -539,14 +548,15 @@ support.</doc> | |||
| 539 | 548 | <record name="BroadwayRendererClass" | |
| 540 | 549 | c:type="GskBroadwayRendererClass" | |
| 541 | 550 | disguised="1" | |
| 551 | + | opaque="1" | |
| 542 | 552 | glib:is-gtype-struct-for="BroadwayRenderer"> | |
| 543 | 553 | <source-position filename="gsk/broadway/gskbroadwayrenderer.h" | |
| 544 | - | line="39"/> | |
| 554 | + | line="38"/> | |
| 545 | 555 | </record> | |
| 546 | 556 | <function-macro name="CAIRO_RENDERER" | |
| 547 | 557 | c:identifier="GSK_CAIRO_RENDERER" | |
| 548 | 558 | introspectable="0"> | |
| 549 | - | <source-position filename="gsk/gskcairorenderer.h" line="31"/> | |
| 559 | + | <source-position filename="gsk/gskcairorenderer.h" line="34"/> | |
| 550 | 560 | <parameters> | |
| 551 | 561 | <parameter name="obj"> | |
| 552 | 562 | </parameter> | |
| @@ -555,7 +565,7 @@ support.</doc> | |||
| 555 | 565 | <function-macro name="CAIRO_RENDERER_CLASS" | |
| 556 | 566 | c:identifier="GSK_CAIRO_RENDERER_CLASS" | |
| 557 | 567 | introspectable="0"> | |
| 558 | - | <source-position filename="gsk/gskcairorenderer.h" line="33"/> | |
| 568 | + | <source-position filename="gsk/gskcairorenderer.h" line="36"/> | |
| 559 | 569 | <parameters> | |
| 560 | 570 | <parameter name="klass"> | |
| 561 | 571 | </parameter> | |
| @@ -564,7 +574,7 @@ support.</doc> | |||
| 564 | 574 | <function-macro name="CAIRO_RENDERER_GET_CLASS" | |
| 565 | 575 | c:identifier="GSK_CAIRO_RENDERER_GET_CLASS" | |
| 566 | 576 | introspectable="0"> | |
| 567 | - | <source-position filename="gsk/gskcairorenderer.h" line="35"/> | |
| 577 | + | <source-position filename="gsk/gskcairorenderer.h" line="38"/> | |
| 568 | 578 | <parameters> | |
| 569 | 579 | <parameter name="obj"> | |
| 570 | 580 | </parameter> | |
| @@ -579,26 +589,26 @@ support.</doc> | |||
| 579 | 589 | glib:fundamental="1"> | |
| 580 | 590 | <doc xml:space="preserve" | |
| 581 | 591 | filename="gsk/gskrendernodeimpl.c" | |
| 582 | - | line="2443">A render node for a Cairo surface.</doc> | |
| 592 | + | line="4201">A render node for a Cairo surface.</doc> | |
| 583 | 593 | <constructor name="new" c:identifier="gsk_cairo_node_new"> | |
| 584 | 594 | <doc xml:space="preserve" | |
| 585 | 595 | filename="gsk/gskrendernodeimpl.c" | |
| 586 | - | line="2498">Creates a `GskRenderNode` that will render a cairo surface | |
| 596 | + | line="4288">Creates a `GskRenderNode` that will render a cairo surface | |
| 587 | 597 | into the area given by @bounds. | |
| 588 | 598 | ||
| 589 | 599 | You can draw to the cairo surface using [method@Gsk.CairoNode.get_draw_context].</doc> | |
| 590 | - | <source-position filename="gsk/gskrendernode.h" line="366"/> | |
| 600 | + | <source-position filename="gsk/gskrendernode.h" line="389"/> | |
| 591 | 601 | <return-value transfer-ownership="full"> | |
| 592 | 602 | <doc xml:space="preserve" | |
| 593 | 603 | filename="gsk/gskrendernodeimpl.c" | |
| 594 | - | line="2507">A new `GskRenderNode`</doc> | |
| 604 | + | line="4297">A new `GskRenderNode`</doc> | |
| 595 | 605 | <type name="CairoNode" c:type="GskRenderNode*"/> | |
| 596 | 606 | </return-value> | |
| 597 | 607 | <parameters> | |
| 598 | 608 | <parameter name="bounds" transfer-ownership="none"> | |
| 599 | 609 | <doc xml:space="preserve" | |
| 600 | 610 | filename="gsk/gskrendernodeimpl.c" | |
| 601 | - | line="2500">the rectangle to render to</doc> | |
| 611 | + | line="4290">the rectangle to render to</doc> | |
| 602 | 612 | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 603 | 613 | </parameter> | |
| 604 | 614 | </parameters> | |
| @@ -607,16 +617,16 @@ You can draw to the cairo surface using [method@Gsk.CairoNode.get_draw_context]. | |||
| 607 | 617 | c:identifier="gsk_cairo_node_get_draw_context"> | |
| 608 | 618 | <doc xml:space="preserve" | |
| 609 | 619 | filename="gsk/gskrendernodeimpl.c" | |
| 610 | - | line="2526">Creates a Cairo context for drawing using the surface associated | |
| 620 | + | line="4318">Creates a Cairo context for drawing using the surface associated | |
| 611 | 621 | to the render node. | |
| 612 | 622 | ||
| 613 | 623 | If no surface exists yet, a surface will be created optimized for | |
| 614 | 624 | rendering to @renderer.</doc> | |
| 615 | - | <source-position filename="gsk/gskrendernode.h" line="368"/> | |
| 625 | + | <source-position filename="gsk/gskrendernode.h" line="391"/> | |
| 616 | 626 | <return-value transfer-ownership="full"> | |
| 617 | 627 | <doc xml:space="preserve" | |
| 618 | 628 | filename="gsk/gskrendernodeimpl.c" | |
| 619 | - | line="2536">a Cairo context used for drawing; use | |
| 629 | + | line="4328">a Cairo context used for drawing; use | |
| 620 | 630 | cairo_destroy() when done drawing</doc> | |
| 621 | 631 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 622 | 632 | </return-value> | |
| @@ -624,7 +634,7 @@ rendering to @renderer.</doc> | |||
| 624 | 634 | <instance-parameter name="node" transfer-ownership="none"> | |
| 625 | 635 | <doc xml:space="preserve" | |
| 626 | 636 | filename="gsk/gskrendernodeimpl.c" | |
| 627 | - | line="2528">a `GskRenderNode` for a Cairo surface</doc> | |
| 637 | + | line="4320">a `GskRenderNode` for a Cairo surface</doc> | |
| 628 | 638 | <type name="CairoNode" c:type="GskRenderNode*"/> | |
| 629 | 639 | </instance-parameter> | |
| 630 | 640 | </parameters> | |
| @@ -632,19 +642,19 @@ rendering to @renderer.</doc> | |||
| 632 | 642 | <method name="get_surface" c:identifier="gsk_cairo_node_get_surface"> | |
| 633 | 643 | <doc xml:space="preserve" | |
| 634 | 644 | filename="gsk/gskrendernodeimpl.c" | |
| 635 | - | line="2480">Retrieves the Cairo surface used by the render node.</doc> | |
| 636 | - | <source-position filename="gsk/gskrendernode.h" line="370"/> | |
| 645 | + | line="4270">Retrieves the Cairo surface used by the render node.</doc> | |
| 646 | + | <source-position filename="gsk/gskrendernode.h" line="393"/> | |
| 637 | 647 | <return-value transfer-ownership="none"> | |
| 638 | 648 | <doc xml:space="preserve" | |
| 639 | 649 | filename="gsk/gskrendernodeimpl.c" | |
| 640 | - | line="2486">a Cairo surface</doc> | |
| 650 | + | line="4276">a Cairo surface</doc> | |
| 641 | 651 | <type name="cairo.Surface" c:type="cairo_surface_t*"/> | |
| 642 | 652 | </return-value> | |
| 643 | 653 | <parameters> | |
| 644 | 654 | <instance-parameter name="node" transfer-ownership="none"> | |
| 645 | 655 | <doc xml:space="preserve" | |
| 646 | 656 | filename="gsk/gskrendernodeimpl.c" | |
| 647 | - | line="2482">a `GskRenderNode` for a Cairo surface</doc> | |
| 657 | + | line="4272">a `GskRenderNode` for a Cairo surface</doc> | |
| 648 | 658 | <type name="CairoNode" c:type="GskRenderNode*"/> | |
| 649 | 659 | </instance-parameter> | |
| 650 | 660 | </parameters> | |
| @@ -659,15 +669,15 @@ rendering to @renderer.</doc> | |||
| 659 | 669 | glib:type-struct="CairoRendererClass"> | |
| 660 | 670 | <doc xml:space="preserve" | |
| 661 | 671 | filename="gsk/gskcairorenderer.h" | |
| 662 | - | line="37">A GSK renderer that is using cairo. | |
| 672 | + | line="40">Renders a GSK rendernode tree with cairo. | |
| 663 | 673 | ||
| 664 | 674 | Since it is using cairo, this renderer cannot support | |
| 665 | 675 | 3D transformations.</doc> | |
| 666 | - | <source-position filename="gsk/gskcairorenderer.h" line="46"/> | |
| 676 | + | <source-position filename="gsk/gskcairorenderer.h" line="49"/> | |
| 667 | 677 | <constructor name="new" c:identifier="gsk_cairo_renderer_new"> | |
| 668 | 678 | <doc xml:space="preserve" | |
| 669 | 679 | filename="gsk/gskcairorenderer.c" | |
| 670 | - | line="220">Creates a new Cairo renderer. | |
| 680 | + | line="198">Creates a new Cairo renderer. | |
| 671 | 681 | ||
| 672 | 682 | The Cairo renderer is the fallback renderer drawing in ways similar | |
| 673 | 683 | to how GTK 3 drew its content. Its primary use is as comparison tool. | |
| @@ -675,11 +685,11 @@ to how GTK 3 drew its content. Its primary use is as comparison tool. | |||
| 675 | 685 | The Cairo renderer is incomplete. It cannot render 3D transformed | |
| 676 | 686 | content and will instead render an error marker. Its usage should be | |
| 677 | 687 | avoided.</doc> | |
| 678 | - | <source-position filename="gsk/gskcairorenderer.h" line="52"/> | |
| 688 | + | <source-position filename="gsk/gskcairorenderer.h" line="55"/> | |
| 679 | 689 | <return-value transfer-ownership="full"> | |
| 680 | 690 | <doc xml:space="preserve" | |
| 681 | 691 | filename="gsk/gskcairorenderer.c" | |
| 682 | - | line="232">a new Cairo renderer.</doc> | |
| 692 | + | line="210">a new Cairo renderer.</doc> | |
| 683 | 693 | <type name="Renderer" c:type="GskRenderer*"/> | |
| 684 | 694 | </return-value> | |
| 685 | 695 | </constructor> | |
| @@ -687,8 +697,9 @@ avoided.</doc> | |||
| 687 | 697 | <record name="CairoRendererClass" | |
| 688 | 698 | c:type="GskCairoRendererClass" | |
| 689 | 699 | disguised="1" | |
| 700 | + | opaque="1" | |
| 690 | 701 | glib:is-gtype-struct-for="CairoRenderer"> | |
| 691 | - | <source-position filename="gsk/gskcairorenderer.h" line="46"/> | |
| 702 | + | <source-position filename="gsk/gskcairorenderer.h" line="49"/> | |
| 692 | 703 | </record> | |
| 693 | 704 | <class name="ClipNode" | |
| 694 | 705 | c:symbol-prefix="clip_node" | |
| @@ -699,30 +710,30 @@ avoided.</doc> | |||
| 699 | 710 | glib:fundamental="1"> | |
| 700 | 711 | <doc xml:space="preserve" | |
| 701 | 712 | filename="gsk/gskrendernodeimpl.c" | |
| 702 | - | line="3547">A render node applying a rectangular clip to its single child node.</doc> | |
| 713 | + | line="5642">A render node applying a rectangular clip to its single child node.</doc> | |
| 703 | 714 | <constructor name="new" c:identifier="gsk_clip_node_new"> | |
| 704 | 715 | <doc xml:space="preserve" | |
| 705 | 716 | filename="gsk/gskrendernodeimpl.c" | |
| 706 | - | line="3613">Creates a `GskRenderNode` that will clip the @child to the area | |
| 717 | + | line="5736">Creates a `GskRenderNode` that will clip the @child to the area | |
| 707 | 718 | given by @clip.</doc> | |
| 708 | - | <source-position filename="gsk/gskrendernode.h" line="431"/> | |
| 719 | + | <source-position filename="gsk/gskrendernode.h" line="454"/> | |
| 709 | 720 | <return-value transfer-ownership="full"> | |
| 710 | 721 | <doc xml:space="preserve" | |
| 711 | 722 | filename="gsk/gskrendernodeimpl.c" | |
| 712 | - | line="3621">A new `GskRenderNode`</doc> | |
| 723 | + | line="5744">A new `GskRenderNode`</doc> | |
| 713 | 724 | <type name="ClipNode" c:type="GskRenderNode*"/> | |
| 714 | 725 | </return-value> | |
| 715 | 726 | <parameters> | |
| 716 | 727 | <parameter name="child" transfer-ownership="none"> | |
| 717 | 728 | <doc xml:space="preserve" | |
| 718 | 729 | filename="gsk/gskrendernodeimpl.c" | |
| 719 | - | line="3615">The node to draw</doc> | |
| 730 | + | line="5738">The node to draw</doc> | |
| 720 | 731 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 721 | 732 | </parameter> | |
| 722 | 733 | <parameter name="clip" transfer-ownership="none"> | |
| 723 | 734 | <doc xml:space="preserve" | |
| 724 | 735 | filename="gsk/gskrendernodeimpl.c" | |
| 725 | - | line="3616">The clip to apply</doc> | |
| 736 | + | line="5739">The clip to apply</doc> | |
| 726 | 737 | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 727 | 738 | </parameter> | |
| 728 | 739 | </parameters> | |
| @@ -730,19 +741,19 @@ given by @clip.</doc> | |||
| 730 | 741 | <method name="get_child" c:identifier="gsk_clip_node_get_child"> | |
| 731 | 742 | <doc xml:space="preserve" | |
| 732 | 743 | filename="gsk/gskrendernodeimpl.c" | |
| 733 | - | line="3647">Gets the child node that is getting clipped by the given @node.</doc> | |
| 734 | - | <source-position filename="gsk/gskrendernode.h" line="434"/> | |
| 744 | + | line="5774">Gets the child node that is getting clipped by the given @node.</doc> | |
| 745 | + | <source-position filename="gsk/gskrendernode.h" line="457"/> | |
| 735 | 746 | <return-value transfer-ownership="none"> | |
| 736 | 747 | <doc xml:space="preserve" | |
| 737 | 748 | filename="gsk/gskrendernodeimpl.c" | |
| 738 | - | line="3653">The child that is getting clipped</doc> | |
| 749 | + | line="5780">The child that is getting clipped</doc> | |
| 739 | 750 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 740 | 751 | </return-value> | |
| 741 | 752 | <parameters> | |
| 742 | 753 | <instance-parameter name="node" transfer-ownership="none"> | |
| 743 | 754 | <doc xml:space="preserve" | |
| 744 | 755 | filename="gsk/gskrendernodeimpl.c" | |
| 745 | - | line="3649">a clip @GskRenderNode</doc> | |
| 756 | + | line="5776">a clip @GskRenderNode</doc> | |
| 746 | 757 | <type name="ClipNode" c:type="const GskRenderNode*"/> | |
| 747 | 758 | </instance-parameter> | |
| 748 | 759 | </parameters> | |
| @@ -750,19 +761,19 @@ given by @clip.</doc> | |||
| 750 | 761 | <method name="get_clip" c:identifier="gsk_clip_node_get_clip"> | |
| 751 | 762 | <doc xml:space="preserve" | |
| 752 | 763 | filename="gsk/gskrendernodeimpl.c" | |
| 753 | - | line="3663">Retrieves the clip rectangle for @node.</doc> | |
| 754 | - | <source-position filename="gsk/gskrendernode.h" line="436"/> | |
| 764 | + | line="5790">Retrieves the clip rectangle for @node.</doc> | |
| 765 | + | <source-position filename="gsk/gskrendernode.h" line="459"/> | |
| 755 | 766 | <return-value transfer-ownership="none"> | |
| 756 | 767 | <doc xml:space="preserve" | |
| 757 | 768 | filename="gsk/gskrendernodeimpl.c" | |
| 758 | - | line="3669">a clip rectangle</doc> | |
| 769 | + | line="5796">a clip rectangle</doc> | |
| 759 | 770 | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 760 | 771 | </return-value> | |
| 761 | 772 | <parameters> | |
| 762 | 773 | <instance-parameter name="node" transfer-ownership="none"> | |
| 763 | 774 | <doc xml:space="preserve" | |
| 764 | 775 | filename="gsk/gskrendernodeimpl.c" | |
| 765 | - | line="3665">a `GskClipNode`</doc> | |
| 776 | + | line="5792">a `GskClipNode`</doc> | |
| 766 | 777 | <type name="ClipNode" c:type="const GskRenderNode*"/> | |
| 767 | 778 | </instance-parameter> | |
| 768 | 779 | </parameters> | |
| @@ -777,42 +788,43 @@ given by @clip.</doc> | |||
| 777 | 788 | glib:fundamental="1"> | |
| 778 | 789 | <doc xml:space="preserve" | |
| 779 | 790 | filename="gsk/gskrendernodeimpl.c" | |
| 780 | - | line="3190">A render node controlling the color matrix of its single child node.</doc> | |
| 791 | + | line="5097">A render node controlling the color matrix of its single child node.</doc> | |
| 781 | 792 | <constructor name="new" c:identifier="gsk_color_matrix_node_new"> | |
| 782 | 793 | <doc xml:space="preserve" | |
| 783 | 794 | filename="gsk/gskrendernodeimpl.c" | |
| 784 | - | line="3319">Creates a `GskRenderNode` that will drawn the @child with | |
| 795 | + | line="5252">Creates a `GskRenderNode` that will drawn the @child with | |
| 785 | 796 | @color_matrix. | |
| 786 | 797 | ||
| 787 | - | In particular, the node will transform the operation | |
| 798 | + | In particular, the node will transform colors by applying | |
| 788 | 799 | ||
| 789 | - | pixel = color_matrix * pixel + color_offset | |
| 800 | + | pixel = transpose(color_matrix) * pixel + color_offset | |
| 790 | 801 | ||
| 791 | - | for every pixel.</doc> | |
| 792 | - | <source-position filename="gsk/gskrendernode.h" line="406"/> | |
| 802 | + | for every pixel. The transformation operates on unpremultiplied | |
| 803 | + | colors, with color components ordered R, G, B, A.</doc> | |
| 804 | + | <source-position filename="gsk/gskrendernode.h" line="429"/> | |
| 793 | 805 | <return-value transfer-ownership="full"> | |
| 794 | 806 | <doc xml:space="preserve" | |
| 795 | 807 | filename="gsk/gskrendernodeimpl.c" | |
| 796 | - | line="3334">A new `GskRenderNode`</doc> | |
| 808 | + | line="5268">A new `GskRenderNode`</doc> | |
| 797 | 809 | <type name="ColorMatrixNode" c:type="GskRenderNode*"/> | |
| 798 | 810 | </return-value> | |
| 799 | 811 | <parameters> | |
| 800 | 812 | <parameter name="child" transfer-ownership="none"> | |
| 801 | 813 | <doc xml:space="preserve" | |
| 802 | 814 | filename="gsk/gskrendernodeimpl.c" | |
| 803 | - | line="3321">The node to draw</doc> | |
| 815 | + | line="5254">The node to draw</doc> | |
| 804 | 816 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 805 | 817 | </parameter> | |
| 806 | 818 | <parameter name="color_matrix" transfer-ownership="none"> | |
| 807 | 819 | <doc xml:space="preserve" | |
| 808 | 820 | filename="gsk/gskrendernodeimpl.c" | |
| 809 | - | line="3322">The matrix to apply</doc> | |
| 821 | + | line="5255">The matrix to apply</doc> | |
| 810 | 822 | <type name="Graphene.Matrix" c:type="const graphene_matrix_t*"/> | |
| 811 | 823 | </parameter> | |
| 812 | 824 | <parameter name="color_offset" transfer-ownership="none"> | |
| 813 | 825 | <doc xml:space="preserve" | |
| 814 | 826 | filename="gsk/gskrendernodeimpl.c" | |
| 815 | - | line="3323">Values to add to the color</doc> | |
| 827 | + | line="5256">Values to add to the color</doc> | |
| 816 | 828 | <type name="Graphene.Vec4" c:type="const graphene_vec4_t*"/> | |
| 817 | 829 | </parameter> | |
| 818 | 830 | </parameters> | |
| @@ -820,19 +832,19 @@ for every pixel.</doc> | |||
| 820 | 832 | <method name="get_child" c:identifier="gsk_color_matrix_node_get_child"> | |
| 821 | 833 | <doc xml:space="preserve" | |
| 822 | 834 | filename="gsk/gskrendernodeimpl.c" | |
| 823 | - | line="3361">Gets the child node that is getting its colors modified by the given @node.</doc> | |
| 824 | - | <source-position filename="gsk/gskrendernode.h" line="410"/> | |
| 835 | + | line="5296">Gets the child node that is getting its colors modified by the given @node.</doc> | |
| 836 | + | <source-position filename="gsk/gskrendernode.h" line="433"/> | |
| 825 | 837 | <return-value transfer-ownership="none"> | |
| 826 | 838 | <doc xml:space="preserve" | |
| 827 | 839 | filename="gsk/gskrendernodeimpl.c" | |
| 828 | - | line="3367">The child that is getting its colors modified</doc> | |
| 840 | + | line="5302">The child that is getting its colors modified</doc> | |
| 829 | 841 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 830 | 842 | </return-value> | |
| 831 | 843 | <parameters> | |
| 832 | 844 | <instance-parameter name="node" transfer-ownership="none"> | |
| 833 | 845 | <doc xml:space="preserve" | |
| 834 | 846 | filename="gsk/gskrendernodeimpl.c" | |
| 835 | - | line="3363">a color matrix `GskRenderNode`</doc> | |
| 847 | + | line="5298">a color matrix `GskRenderNode`</doc> | |
| 836 | 848 | <type name="ColorMatrixNode" c:type="const GskRenderNode*"/> | |
| 837 | 849 | </instance-parameter> | |
| 838 | 850 | </parameters> | |
| @@ -841,19 +853,19 @@ for every pixel.</doc> | |||
| 841 | 853 | c:identifier="gsk_color_matrix_node_get_color_matrix"> | |
| 842 | 854 | <doc xml:space="preserve" | |
| 843 | 855 | filename="gsk/gskrendernodeimpl.c" | |
| 844 | - | line="3377">Retrieves the color matrix used by the @node.</doc> | |
| 845 | - | <source-position filename="gsk/gskrendernode.h" line="413"/> | |
| 856 | + | line="5312">Retrieves the color matrix used by the @node.</doc> | |
| 857 | + | <source-position filename="gsk/gskrendernode.h" line="436"/> | |
| 846 | 858 | <return-value transfer-ownership="none"> | |
| 847 | 859 | <doc xml:space="preserve" | |
| 848 | 860 | filename="gsk/gskrendernodeimpl.c" | |
| 849 | - | line="3383">a 4x4 color matrix</doc> | |
| 861 | + | line="5318">a 4x4 color matrix</doc> | |
| 850 | 862 | <type name="Graphene.Matrix" c:type="const graphene_matrix_t*"/> | |
| 851 | 863 | </return-value> | |
| 852 | 864 | <parameters> | |
| 853 | 865 | <instance-parameter name="node" transfer-ownership="none"> | |
| 854 | 866 | <doc xml:space="preserve" | |
| 855 | 867 | filename="gsk/gskrendernodeimpl.c" | |
| 856 | - | line="3379">a color matrix `GskRenderNode`</doc> | |
| 868 | + | line="5314">a color matrix `GskRenderNode`</doc> | |
| 857 | 869 | <type name="ColorMatrixNode" c:type="const GskRenderNode*"/> | |
| 858 | 870 | </instance-parameter> | |
| 859 | 871 | </parameters> | |
| @@ -862,19 +874,19 @@ for every pixel.</doc> | |||
| 862 | 874 | c:identifier="gsk_color_matrix_node_get_color_offset"> | |
| 863 | 875 | <doc xml:space="preserve" | |
| 864 | 876 | filename="gsk/gskrendernodeimpl.c" | |
| 865 | - | line="3393">Retrieves the color offset used by the @node.</doc> | |
| 866 | - | <source-position filename="gsk/gskrendernode.h" line="415"/> | |
| 877 | + | line="5328">Retrieves the color offset used by the @node.</doc> | |
| 878 | + | <source-position filename="gsk/gskrendernode.h" line="438"/> | |
| 867 | 879 | <return-value transfer-ownership="none"> | |
| 868 | 880 | <doc xml:space="preserve" | |
| 869 | 881 | filename="gsk/gskrendernodeimpl.c" | |
| 870 | - | line="3399">a color vector</doc> | |
| 882 | + | line="5334">a color vector</doc> | |
| 871 | 883 | <type name="Graphene.Vec4" c:type="const graphene_vec4_t*"/> | |
| 872 | 884 | </return-value> | |
| 873 | 885 | <parameters> | |
| 874 | 886 | <instance-parameter name="node" transfer-ownership="none"> | |
| 875 | 887 | <doc xml:space="preserve" | |
| 876 | 888 | filename="gsk/gskrendernodeimpl.c" | |
| 877 | - | line="3395">a color matrix `GskRenderNode`</doc> | |
| 889 | + | line="5330">a color matrix `GskRenderNode`</doc> | |
| 878 | 890 | <type name="ColorMatrixNode" c:type="const GskRenderNode*"/> | |
| 879 | 891 | </instance-parameter> | |
| 880 | 892 | </parameters> | |
| @@ -889,30 +901,30 @@ for every pixel.</doc> | |||
| 889 | 901 | glib:fundamental="1"> | |
| 890 | 902 | <doc xml:space="preserve" | |
| 891 | 903 | filename="gsk/gskrendernodeimpl.c" | |
| 892 | - | line="63">A render node for a solid color.</doc> | |
| 904 | + | line="154">A render node for a solid color.</doc> | |
| 893 | 905 | <constructor name="new" c:identifier="gsk_color_node_new"> | |
| 894 | 906 | <doc xml:space="preserve" | |
| 895 | 907 | filename="gsk/gskrendernodeimpl.c" | |
| 896 | - | line="120">Creates a `GskRenderNode` that will render the color specified by @rgba into | |
| 908 | + | line="256">Creates a `GskRenderNode` that will render the color specified by @rgba into | |
| 897 | 909 | the area given by @bounds.</doc> | |
| 898 | - | <source-position filename="gsk/gskrendernode.h" line="207"/> | |
| 910 | + | <source-position filename="gsk/gskrendernode.h" line="219"/> | |
| 899 | 911 | <return-value transfer-ownership="full"> | |
| 900 | 912 | <doc xml:space="preserve" | |
| 901 | 913 | filename="gsk/gskrendernodeimpl.c" | |
| 902 | - | line="128">A new `GskRenderNode`</doc> | |
| 914 | + | line="264">A new `GskRenderNode`</doc> | |
| 903 | 915 | <type name="ColorNode" c:type="GskRenderNode*"/> | |
| 904 | 916 | </return-value> | |
| 905 | 917 | <parameters> | |
| 906 | 918 | <parameter name="rgba" transfer-ownership="none"> | |
| 907 | 919 | <doc xml:space="preserve" | |
| 908 | 920 | filename="gsk/gskrendernodeimpl.c" | |
| 909 | - | line="122">a `GdkRGBA` specifying a color</doc> | |
| 921 | + | line="258">a `GdkRGBA` specifying a color</doc> | |
| 910 | 922 | <type name="Gdk.RGBA" c:type="const GdkRGBA*"/> | |
| 911 | 923 | </parameter> | |
| 912 | 924 | <parameter name="bounds" transfer-ownership="none"> | |
| 913 | 925 | <doc xml:space="preserve" | |
| 914 | 926 | filename="gsk/gskrendernodeimpl.c" | |
| 915 | - | line="123">the rectangle to render the color into</doc> | |
| 927 | + | line="259">the rectangle to render the color into</doc> | |
| 916 | 928 | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 917 | 929 | </parameter> | |
| 918 | 930 | </parameters> | |
| @@ -920,19 +932,22 @@ the area given by @bounds.</doc> | |||
| 920 | 932 | <method name="get_color" c:identifier="gsk_color_node_get_color"> | |
| 921 | 933 | <doc xml:space="preserve" | |
| 922 | 934 | filename="gsk/gskrendernodeimpl.c" | |
| 923 | - | line="102">Retrieves the color of the given @node.</doc> | |
| 924 | - | <source-position filename="gsk/gskrendernode.h" line="210"/> | |
| 935 | + | line="216">Retrieves the color of the given @node. | |
| 936 | + | ||
| 937 | + | The value returned by this function will not be correct | |
| 938 | + | if the render node was created for a non-sRGB color.</doc> | |
| 939 | + | <source-position filename="gsk/gskrendernode.h" line="222"/> | |
| 925 | 940 | <return-value transfer-ownership="none"> | |
| 926 | 941 | <doc xml:space="preserve" | |
| 927 | 942 | filename="gsk/gskrendernodeimpl.c" | |
| 928 | - | line="108">the color of the node</doc> | |
| 943 | + | line="225">the color of the node</doc> | |
| 929 | 944 | <type name="Gdk.RGBA" c:type="const GdkRGBA*"/> | |
| 930 | 945 | </return-value> | |
| 931 | 946 | <parameters> | |
| 932 | 947 | <instance-parameter name="node" transfer-ownership="none"> | |
| 933 | 948 | <doc xml:space="preserve" | |
| 934 | 949 | filename="gsk/gskrendernodeimpl.c" | |
| 935 | - | line="104">a `GskRenderNode`</doc> | |
| 950 | + | line="218">a `GskRenderNode`</doc> | |
| 936 | 951 | <type name="ColorNode" c:type="const GskRenderNode*"/> | |
| 937 | 952 | </instance-parameter> | |
| 938 | 953 | </parameters> | |
| @@ -941,18 +956,18 @@ the area given by @bounds.</doc> | |||
| 941 | 956 | <record name="ColorStop" c:type="GskColorStop"> | |
| 942 | 957 | <doc xml:space="preserve" | |
| 943 | 958 | filename="gsk/gskrendernode.h" | |
| 944 | - | line="43">A color stop in a gradient node.</doc> | |
| 945 | - | <source-position filename="gsk/gskrendernode.h" line="54"/> | |
| 959 | + | line="41">A color stop in a gradient node.</doc> | |
| 960 | + | <source-position filename="gsk/gskrendernode.h" line="52"/> | |
| 946 | 961 | <field name="offset" writable="1"> | |
| 947 | 962 | <doc xml:space="preserve" | |
| 948 | 963 | filename="gsk/gskrendernode.h" | |
| 949 | - | line="45">the offset of the color stop</doc> | |
| 964 | + | line="43">the offset of the color stop</doc> | |
| 950 | 965 | <type name="gfloat" c:type="float"/> | |
| 951 | 966 | </field> | |
| 952 | 967 | <field name="color" writable="1"> | |
| 953 | 968 | <doc xml:space="preserve" | |
| 954 | 969 | filename="gsk/gskrendernode.h" | |
| 955 | - | line="46">the color at the given offset</doc> | |
| 970 | + | line="44">the color at the given offset</doc> | |
| 956 | 971 | <type name="Gdk.RGBA" c:type="GdkRGBA"/> | |
| 957 | 972 | </field> | |
| 958 | 973 | </record> | |
| @@ -965,45 +980,45 @@ the area given by @bounds.</doc> | |||
| 965 | 980 | glib:fundamental="1"> | |
| 966 | 981 | <doc xml:space="preserve" | |
| 967 | 982 | filename="gsk/gskrendernodeimpl.c" | |
| 968 | - | line="795">A render node for a conic gradient.</doc> | |
| 983 | + | line="1691">A render node for a conic gradient.</doc> | |
| 969 | 984 | <constructor name="new" c:identifier="gsk_conic_gradient_node_new"> | |
| 970 | 985 | <doc xml:space="preserve" | |
| 971 | 986 | filename="gsk/gskrendernodeimpl.c" | |
| 972 | - | line="997">Creates a `GskRenderNode` that draws a conic gradient. | |
| 987 | + | line="1980">Creates a `GskRenderNode` that draws a conic gradient. | |
| 973 | 988 | ||
| 974 | 989 | The conic gradient | |
| 975 | 990 | starts around @center in the direction of @rotation. A rotation of 0 means | |
| 976 | 991 | that the gradient points up. Color stops are then added clockwise.</doc> | |
| 977 | - | <source-position filename="gsk/gskrendernode.h" line="250"/> | |
| 992 | + | <source-position filename="gsk/gskrendernode.h" line="273"/> | |
| 978 | 993 | <return-value transfer-ownership="full"> | |
| 979 | 994 | <doc xml:space="preserve" | |
| 980 | 995 | filename="gsk/gskrendernodeimpl.c" | |
| 981 | - | line="1014">A new `GskRenderNode`</doc> | |
| 996 | + | line="1997">A new `GskRenderNode`</doc> | |
| 982 | 997 | <type name="ConicGradientNode" c:type="GskRenderNode*"/> | |
| 983 | 998 | </return-value> | |
| 984 | 999 | <parameters> | |
| 985 | 1000 | <parameter name="bounds" transfer-ownership="none"> | |
| 986 | 1001 | <doc xml:space="preserve" | |
| 987 | 1002 | filename="gsk/gskrendernodeimpl.c" | |
| 988 | - | line="999">the bounds of the node</doc> | |
| 1003 | + | line="1982">the bounds of the node</doc> | |
| 989 | 1004 | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 990 | 1005 | </parameter> | |
| 991 | 1006 | <parameter name="center" transfer-ownership="none"> | |
| 992 | 1007 | <doc xml:space="preserve" | |
| 993 | 1008 | filename="gsk/gskrendernodeimpl.c" | |
| 994 | - | line="1000">the center of the gradient</doc> | |
| 1009 | + | line="1983">the center of the gradient</doc> | |
| 995 | 1010 | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 996 | 1011 | </parameter> | |
| 997 | 1012 | <parameter name="rotation" transfer-ownership="none"> | |
| 998 | 1013 | <doc xml:space="preserve" | |
| 999 | 1014 | filename="gsk/gskrendernodeimpl.c" | |
| 1000 | - | line="1001">the rotation of the gradient in degrees</doc> | |
| 1015 | + | line="1984">the rotation of the gradient in degrees</doc> | |
| 1001 | 1016 | <type name="gfloat" c:type="float"/> | |
| 1002 | 1017 | </parameter> | |
| 1003 | 1018 | <parameter name="color_stops" transfer-ownership="none"> | |
| 1004 | 1019 | <doc xml:space="preserve" | |
| 1005 | 1020 | filename="gsk/gskrendernodeimpl.c" | |
| 1006 | - | line="1002">a pointer to an array of | |
| 1021 | + | line="1985">a pointer to an array of | |
| 1007 | 1022 | `GskColorStop` defining the gradient. The offsets of all color stops | |
| 1008 | 1023 | must be increasing. The first stop's offset must be >= 0 and the last | |
| 1009 | 1024 | stop's offset must be <= 1.</doc> | |
| @@ -1014,7 +1029,7 @@ that the gradient points up. Color stops are then added clockwise.</doc> | |||
| 1014 | 1029 | <parameter name="n_color_stops" transfer-ownership="none"> | |
| 1015 | 1030 | <doc xml:space="preserve" | |
| 1016 | 1031 | filename="gsk/gskrendernodeimpl.c" | |
| 1017 | - | line="1006">the number of elements in @color_stops</doc> | |
| 1032 | + | line="1989">the number of elements in @color_stops</doc> | |
| 1018 | 1033 | <type name="gsize" c:type="gsize"/> | |
| 1019 | 1034 | </parameter> | |
| 1020 | 1035 | </parameters> | |
| @@ -1024,24 +1039,24 @@ that the gradient points up. Color stops are then added clockwise.</doc> | |||
| 1024 | 1039 | version="4.2"> | |
| 1025 | 1040 | <doc xml:space="preserve" | |
| 1026 | 1041 | filename="gsk/gskrendernodeimpl.c" | |
| 1027 | - | line="1127">Retrieves the angle for the gradient in radians, normalized in [0, 2 * PI]. | |
| 1042 | + | line="2250">Retrieves the angle for the gradient in radians, normalized in [0, 2 * PI]. | |
| 1028 | 1043 | ||
| 1029 | 1044 | The angle is starting at the top and going clockwise, as expressed | |
| 1030 | 1045 | in the css specification: | |
| 1031 | 1046 | ||
| 1032 | 1047 | angle = 90 - gsk_conic_gradient_node_get_rotation()</doc> | |
| 1033 | - | <source-position filename="gsk/gskrendernode.h" line="260"/> | |
| 1048 | + | <source-position filename="gsk/gskrendernode.h" line="283"/> | |
| 1034 | 1049 | <return-value transfer-ownership="none"> | |
| 1035 | 1050 | <doc xml:space="preserve" | |
| 1036 | 1051 | filename="gsk/gskrendernodeimpl.c" | |
| 1037 | - | line="1138">the angle for the gradient</doc> | |
| 1052 | + | line="2261">the angle for the gradient</doc> | |
| 1038 | 1053 | <type name="gfloat" c:type="float"/> | |
| 1039 | 1054 | </return-value> | |
| 1040 | 1055 | <parameters> | |
| 1041 | 1056 | <instance-parameter name="node" transfer-ownership="none"> | |
| 1042 | 1057 | <doc xml:space="preserve" | |
| 1043 | 1058 | filename="gsk/gskrendernodeimpl.c" | |
| 1044 | - | line="1129">a `GskRenderNode` for a conic gradient</doc> | |
| 1059 | + | line="2252">a `GskRenderNode` for a conic gradient</doc> | |
| 1045 | 1060 | <type name="ConicGradientNode" c:type="const GskRenderNode*"/> | |
| 1046 | 1061 | </instance-parameter> | |
| 1047 | 1062 | </parameters> | |
| @@ -1050,19 +1065,19 @@ in the css specification: | |||
| 1050 | 1065 | c:identifier="gsk_conic_gradient_node_get_center"> | |
| 1051 | 1066 | <doc xml:space="preserve" | |
| 1052 | 1067 | filename="gsk/gskrendernodeimpl.c" | |
| 1053 | - | line="1095">Retrieves the center pointer for the gradient.</doc> | |
| 1054 | - | <source-position filename="gsk/gskrendernode.h" line="256"/> | |
| 1068 | + | line="2218">Retrieves the center pointer for the gradient.</doc> | |
| 1069 | + | <source-position filename="gsk/gskrendernode.h" line="279"/> | |
| 1055 | 1070 | <return-value transfer-ownership="none"> | |
| 1056 | 1071 | <doc xml:space="preserve" | |
| 1057 | 1072 | filename="gsk/gskrendernodeimpl.c" | |
| 1058 | - | line="1101">the center point for the gradient</doc> | |
| 1073 | + | line="2224">the center point for the gradient</doc> | |
| 1059 | 1074 | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 1060 | 1075 | </return-value> | |
| 1061 | 1076 | <parameters> | |
| 1062 | 1077 | <instance-parameter name="node" transfer-ownership="none"> | |
| 1063 | 1078 | <doc xml:space="preserve" | |
| 1064 | 1079 | filename="gsk/gskrendernodeimpl.c" | |
| 1065 | - | line="1097">a `GskRenderNode` for a conic gradient</doc> | |
| 1080 | + | line="2220">a `GskRenderNode` for a conic gradient</doc> | |
| 1066 | 1081 | <type name="ConicGradientNode" c:type="const GskRenderNode*"/> | |
| 1067 | 1082 | </instance-parameter> | |
| 1068 | 1083 | </parameters> | |
| @@ -1071,12 +1086,12 @@ in the css specification: | |||
| 1071 | 1086 | c:identifier="gsk_conic_gradient_node_get_color_stops"> | |
| 1072 | 1087 | <doc xml:space="preserve" | |
| 1073 | 1088 | filename="gsk/gskrendernodeimpl.c" | |
| 1074 | - | line="1074">Retrieves the color stops in the gradient.</doc> | |
| 1075 | - | <source-position filename="gsk/gskrendernode.h" line="264"/> | |
| 1089 | + | line="2132">Retrieves the color stops in the gradient.</doc> | |
| 1090 | + | <source-position filename="gsk/gskrendernode.h" line="287"/> | |
| 1076 | 1091 | <return-value transfer-ownership="none"> | |
| 1077 | 1092 | <doc xml:space="preserve" | |
| 1078 | 1093 | filename="gsk/gskrendernodeimpl.c" | |
| 1079 | - | line="1081">the color stops in the gradient</doc> | |
| 1094 | + | line="2139">the color stops in the gradient</doc> | |
| 1080 | 1095 | <array length="0" zero-terminated="0" c:type="const GskColorStop*"> | |
| 1081 | 1096 | <type name="ColorStop" c:type="GskColorStop"/> | |
| 1082 | 1097 | </array> | |
| @@ -1085,7 +1100,7 @@ in the css specification: | |||
| 1085 | 1100 | <instance-parameter name="node" transfer-ownership="none"> | |
| 1086 | 1101 | <doc xml:space="preserve" | |
| 1087 | 1102 | filename="gsk/gskrendernodeimpl.c" | |
| 1088 | - | line="1076">a `GskRenderNode` for a conic gradient</doc> | |
| 1103 | + | line="2134">a `GskRenderNode` for a conic gradient</doc> | |
| 1089 | 1104 | <type name="ConicGradientNode" c:type="const GskRenderNode*"/> | |
| 1090 | 1105 | </instance-parameter> | |
| 1091 | 1106 | <parameter name="n_stops" | |
| @@ -1096,7 +1111,7 @@ in the css specification: | |||
| 1096 | 1111 | allow-none="1"> | |
| 1097 | 1112 | <doc xml:space="preserve" | |
| 1098 | 1113 | filename="gsk/gskrendernodeimpl.c" | |
| 1099 | - | line="1077">the number of color stops in the returned array</doc> | |
| 1114 | + | line="2135">the number of color stops in the returned array</doc> | |
| 1100 | 1115 | <type name="gsize" c:type="gsize*"/> | |
| 1101 | 1116 | </parameter> | |
| 1102 | 1117 | </parameters> | |
| @@ -1105,19 +1120,19 @@ in the css specification: | |||
| 1105 | 1120 | c:identifier="gsk_conic_gradient_node_get_n_color_stops"> | |
| 1106 | 1121 | <doc xml:space="preserve" | |
| 1107 | 1122 | filename="gsk/gskrendernodeimpl.c" | |
| 1108 | - | line="1058">Retrieves the number of color stops in the gradient.</doc> | |
| 1109 | - | <source-position filename="gsk/gskrendernode.h" line="262"/> | |
| 1123 | + | line="2116">Retrieves the number of color stops in the gradient.</doc> | |
| 1124 | + | <source-position filename="gsk/gskrendernode.h" line="285"/> | |
| 1110 | 1125 | <return-value transfer-ownership="none"> | |
| 1111 | 1126 | <doc xml:space="preserve" | |
| 1112 | 1127 | filename="gsk/gskrendernodeimpl.c" | |
| 1113 | - | line="1064">the number of color stops</doc> | |
| 1128 | + | line="2122">the number of color stops</doc> | |
| 1114 | 1129 | <type name="gsize" c:type="gsize"/> | |
| 1115 | 1130 | </return-value> | |
| 1116 | 1131 | <parameters> | |
| 1117 | 1132 | <instance-parameter name="node" transfer-ownership="none"> | |
| 1118 | 1133 | <doc xml:space="preserve" | |
| 1119 | 1134 | filename="gsk/gskrendernodeimpl.c" | |
| 1120 | - | line="1060">a `GskRenderNode` for a conic gradient</doc> | |
| 1135 | + | line="2118">a `GskRenderNode` for a conic gradient</doc> | |
| 1121 | 1136 | <type name="ConicGradientNode" c:type="const GskRenderNode*"/> | |
| 1122 | 1137 | </instance-parameter> | |
| 1123 | 1138 | </parameters> | |
| @@ -1126,19 +1141,19 @@ in the css specification: | |||
| 1126 | 1141 | c:identifier="gsk_conic_gradient_node_get_rotation"> | |
| 1127 | 1142 | <doc xml:space="preserve" | |
| 1128 | 1143 | filename="gsk/gskrendernodeimpl.c" | |
| 1129 | - | line="1111">Retrieves the rotation for the gradient in degrees.</doc> | |
| 1130 | - | <source-position filename="gsk/gskrendernode.h" line="258"/> | |
| 1144 | + | line="2234">Retrieves the rotation for the gradient in degrees.</doc> | |
| 1145 | + | <source-position filename="gsk/gskrendernode.h" line="281"/> | |
| 1131 | 1146 | <return-value transfer-ownership="none"> | |
| 1132 | 1147 | <doc xml:space="preserve" | |
| 1133 | 1148 | filename="gsk/gskrendernodeimpl.c" | |
| 1134 | - | line="1117">the rotation for the gradient</doc> | |
| 1149 | + | line="2240">the rotation for the gradient</doc> | |
| 1135 | 1150 | <type name="gfloat" c:type="float"/> | |
| 1136 | 1151 | </return-value> | |
| 1137 | 1152 | <parameters> | |
| 1138 | 1153 | <instance-parameter name="node" transfer-ownership="none"> | |
| 1139 | 1154 | <doc xml:space="preserve" | |
| 1140 | 1155 | filename="gsk/gskrendernodeimpl.c" | |
| 1141 | - | line="1113">a `GskRenderNode` for a conic gradient</doc> | |
| 1156 | + | line="2236">a `GskRenderNode` for a conic gradient</doc> | |
| 1142 | 1157 | <type name="ConicGradientNode" c:type="const GskRenderNode*"/> | |
| 1143 | 1158 | </instance-parameter> | |
| 1144 | 1159 | </parameters> | |
| @@ -1153,25 +1168,25 @@ in the css specification: | |||
| 1153 | 1168 | glib:fundamental="1"> | |
| 1154 | 1169 | <doc xml:space="preserve" | |
| 1155 | 1170 | filename="gsk/gskrendernodeimpl.c" | |
| 1156 | - | line="2581">A render node that can contain other render nodes.</doc> | |
| 1171 | + | line="4374">A render node that can contain other render nodes.</doc> | |
| 1157 | 1172 | <constructor name="new" c:identifier="gsk_container_node_new"> | |
| 1158 | 1173 | <doc xml:space="preserve" | |
| 1159 | 1174 | filename="gsk/gskrendernodeimpl.c" | |
| 1160 | - | line="2718">Creates a new `GskRenderNode` instance for holding the given @children. | |
| 1175 | + | line="4541">Creates a new `GskRenderNode` instance for holding the given @children. | |
| 1161 | 1176 | ||
| 1162 | 1177 | The new node will acquire a reference to each of the children.</doc> | |
| 1163 | - | <source-position filename="gsk/gskrendernode.h" line="375"/> | |
| 1178 | + | <source-position filename="gsk/gskrendernode.h" line="398"/> | |
| 1164 | 1179 | <return-value transfer-ownership="full"> | |
| 1165 | 1180 | <doc xml:space="preserve" | |
| 1166 | 1181 | filename="gsk/gskrendernodeimpl.c" | |
| 1167 | - | line="2727">the new `GskRenderNode`</doc> | |
| 1182 | + | line="4550">the new `GskRenderNode`</doc> | |
| 1168 | 1183 | <type name="ContainerNode" c:type="GskRenderNode*"/> | |
| 1169 | 1184 | </return-value> | |
| 1170 | 1185 | <parameters> | |
| 1171 | 1186 | <parameter name="children" transfer-ownership="none"> | |
| 1172 | 1187 | <doc xml:space="preserve" | |
| 1173 | 1188 | filename="gsk/gskrendernodeimpl.c" | |
| 1174 | - | line="2720">The children of the node</doc> | |
| 1189 | + | line="4543">The children of the node</doc> | |
| 1175 | 1190 | <array length="1" zero-terminated="0" c:type="GskRenderNode**"> | |
| 1176 | 1191 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 1177 | 1192 | </array> | |
| @@ -1179,7 +1194,7 @@ The new node will acquire a reference to each of the children.</doc> | |||
| 1179 | 1194 | <parameter name="n_children" transfer-ownership="none"> | |
| 1180 | 1195 | <doc xml:space="preserve" | |
| 1181 | 1196 | filename="gsk/gskrendernodeimpl.c" | |
| 1182 | - | line="2721">Number of children in the @children array</doc> | |
| 1197 | + | line="4544">Number of children in the @children array</doc> | |
| 1183 | 1198 | <type name="guint" c:type="guint"/> | |
| 1184 | 1199 | </parameter> | |
| 1185 | 1200 | </parameters> | |
| @@ -1187,25 +1202,25 @@ The new node will acquire a reference to each of the children.</doc> | |||
| 1187 | 1202 | <method name="get_child" c:identifier="gsk_container_node_get_child"> | |
| 1188 | 1203 | <doc xml:space="preserve" | |
| 1189 | 1204 | filename="gsk/gskrendernodeimpl.c" | |
| 1190 | - | line="2788">Gets one of the children of @container.</doc> | |
| 1191 | - | <source-position filename="gsk/gskrendernode.h" line="380"/> | |
| 1205 | + | line="4630">Gets one of the children of @container.</doc> | |
| 1206 | + | <source-position filename="gsk/gskrendernode.h" line="403"/> | |
| 1192 | 1207 | <return-value transfer-ownership="none"> | |
| 1193 | 1208 | <doc xml:space="preserve" | |
| 1194 | 1209 | filename="gsk/gskrendernodeimpl.c" | |
| 1195 | - | line="2795">the @idx'th child of @container</doc> | |
| 1210 | + | line="4637">the @idx'th child of @container</doc> | |
| 1196 | 1211 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 1197 | 1212 | </return-value> | |
| 1198 | 1213 | <parameters> | |
| 1199 | 1214 | <instance-parameter name="node" transfer-ownership="none"> | |
| 1200 | 1215 | <doc xml:space="preserve" | |
| 1201 | 1216 | filename="gsk/gskrendernodeimpl.c" | |
| 1202 | - | line="2790">a container `GskRenderNode`</doc> | |
| 1217 | + | line="4632">a container `GskRenderNode`</doc> | |
| 1203 | 1218 | <type name="ContainerNode" c:type="const GskRenderNode*"/> | |
| 1204 | 1219 | </instance-parameter> | |
| 1205 | 1220 | <parameter name="idx" transfer-ownership="none"> | |
| 1206 | 1221 | <doc xml:space="preserve" | |
| 1207 | 1222 | filename="gsk/gskrendernodeimpl.c" | |
| 1208 | - | line="2791">the position of the child to get</doc> | |
| 1223 | + | line="4633">the position of the child to get</doc> | |
| 1209 | 1224 | <type name="guint" c:type="guint"/> | |
| 1210 | 1225 | </parameter> | |
| 1211 | 1226 | </parameters> | |
| @@ -1214,19 +1229,19 @@ The new node will acquire a reference to each of the children.</doc> | |||
| 1214 | 1229 | c:identifier="gsk_container_node_get_n_children"> | |
| 1215 | 1230 | <doc xml:space="preserve" | |
| 1216 | 1231 | filename="gsk/gskrendernodeimpl.c" | |
| 1217 | - | line="2772">Retrieves the number of direct children of @node.</doc> | |
| 1218 | - | <source-position filename="gsk/gskrendernode.h" line="378"/> | |
| 1232 | + | line="4614">Retrieves the number of direct children of @node.</doc> | |
| 1233 | + | <source-position filename="gsk/gskrendernode.h" line="401"/> | |
| 1219 | 1234 | <return-value transfer-ownership="none"> | |
| 1220 | 1235 | <doc xml:space="preserve" | |
| 1221 | 1236 | filename="gsk/gskrendernodeimpl.c" | |
| 1222 | - | line="2778">the number of children of the `GskRenderNode`</doc> | |
| 1237 | + | line="4620">the number of children of the `GskRenderNode`</doc> | |
| 1223 | 1238 | <type name="guint" c:type="guint"/> | |
| 1224 | 1239 | </return-value> | |
| 1225 | 1240 | <parameters> | |
| 1226 | 1241 | <instance-parameter name="node" transfer-ownership="none"> | |
| 1227 | 1242 | <doc xml:space="preserve" | |
| 1228 | 1243 | filename="gsk/gskrendernodeimpl.c" | |
| 1229 | - | line="2774">a container `GskRenderNode`</doc> | |
| 1244 | + | line="4616">a container `GskRenderNode`</doc> | |
| 1230 | 1245 | <type name="ContainerNode" c:type="const GskRenderNode*"/> | |
| 1231 | 1246 | </instance-parameter> | |
| 1232 | 1247 | </parameters> | |
| @@ -1238,7 +1253,7 @@ The new node will acquire a reference to each of the children.</doc> | |||
| 1238 | 1253 | c:type="GskCorner"> | |
| 1239 | 1254 | <doc xml:space="preserve" | |
| 1240 | 1255 | filename="gsk/gskenums.h" | |
| 1241 | - | line="154">The corner indices used by `GskRoundedRect`.</doc> | |
| 1256 | + | line="199">The corner indices used by `GskRoundedRect`.</doc> | |
| 1242 | 1257 | <member name="top_left" | |
| 1243 | 1258 | value="0" | |
| 1244 | 1259 | c:identifier="GSK_CORNER_TOP_LEFT" | |
| @@ -1246,7 +1261,7 @@ The new node will acquire a reference to each of the children.</doc> | |||
| 1246 | 1261 | glib:name="GSK_CORNER_TOP_LEFT"> | |
| 1247 | 1262 | <doc xml:space="preserve" | |
| 1248 | 1263 | filename="gsk/gskenums.h" | |
| 1249 | - | line="156">The top left corner</doc> | |
| 1264 | + | line="201">The top left corner</doc> | |
| 1250 | 1265 | </member> | |
| 1251 | 1266 | <member name="top_right" | |
| 1252 | 1267 | value="1" | |
| @@ -1255,7 +1270,7 @@ The new node will acquire a reference to each of the children.</doc> | |||
| 1255 | 1270 | glib:name="GSK_CORNER_TOP_RIGHT"> | |
| 1256 | 1271 | <doc xml:space="preserve" | |
| 1257 | 1272 | filename="gsk/gskenums.h" | |
| 1258 | - | line="157">The top right corner</doc> | |
| 1273 | + | line="202">The top right corner</doc> | |
| 1259 | 1274 | </member> | |
| 1260 | 1275 | <member name="bottom_right" | |
| 1261 | 1276 | value="2" | |
| @@ -1264,7 +1279,7 @@ The new node will acquire a reference to each of the children.</doc> | |||
| 1264 | 1279 | glib:name="GSK_CORNER_BOTTOM_RIGHT"> | |
| 1265 | 1280 | <doc xml:space="preserve" | |
| 1266 | 1281 | filename="gsk/gskenums.h" | |
| 1267 | - | line="158">The bottom right corner</doc> | |
| 1282 | + | line="203">The bottom right corner</doc> | |
| 1268 | 1283 | </member> | |
| 1269 | 1284 | <member name="bottom_left" | |
| 1270 | 1285 | value="3" | |
| @@ -1273,7 +1288,7 @@ The new node will acquire a reference to each of the children.</doc> | |||
| 1273 | 1288 | glib:name="GSK_CORNER_BOTTOM_LEFT"> | |
| 1274 | 1289 | <doc xml:space="preserve" | |
| 1275 | 1290 | filename="gsk/gskenums.h" | |
| 1276 | - | line="159">The bottom left corner</doc> | |
| 1291 | + | line="204">The bottom left corner</doc> | |
| 1277 | 1292 | </member> | |
| 1278 | 1293 | </enumeration> | |
| 1279 | 1294 | <class name="CrossFadeNode" | |
| @@ -1285,35 +1300,35 @@ The new node will acquire a reference to each of the children.</doc> | |||
| 1285 | 1300 | glib:fundamental="1"> | |
| 1286 | 1301 | <doc xml:space="preserve" | |
| 1287 | 1302 | filename="gsk/gskrendernodeimpl.c" | |
| 1288 | - | line="4249">A render node cross fading between two child nodes.</doc> | |
| 1303 | + | line="6984">A render node cross fading between two child nodes.</doc> | |
| 1289 | 1304 | <constructor name="new" c:identifier="gsk_cross_fade_node_new"> | |
| 1290 | 1305 | <doc xml:space="preserve" | |
| 1291 | 1306 | filename="gsk/gskrendernodeimpl.c" | |
| 1292 | - | line="4313">Creates a `GskRenderNode` that will do a cross-fade between @start and @end.</doc> | |
| 1293 | - | <source-position filename="gsk/gskrendernode.h" line="478"/> | |
| 1307 | + | line="7080">Creates a `GskRenderNode` that will do a cross-fade between @start and @end.</doc> | |
| 1308 | + | <source-position filename="gsk/gskrendernode.h" line="527"/> | |
| 1294 | 1309 | <return-value transfer-ownership="full"> | |
| 1295 | 1310 | <doc xml:space="preserve" | |
| 1296 | 1311 | filename="gsk/gskrendernodeimpl.c" | |
| 1297 | - | line="4322">A new `GskRenderNode`</doc> | |
| 1312 | + | line="7089">A new `GskRenderNode`</doc> | |
| 1298 | 1313 | <type name="CrossFadeNode" c:type="GskRenderNode*"/> | |
| 1299 | 1314 | </return-value> | |
| 1300 | 1315 | <parameters> | |
| 1301 | 1316 | <parameter name="start" transfer-ownership="none"> | |
| 1302 | 1317 | <doc xml:space="preserve" | |
| 1303 | 1318 | filename="gsk/gskrendernodeimpl.c" | |
| 1304 | - | line="4315">The start node to be drawn</doc> | |
| 1319 | + | line="7082">The start node to be drawn</doc> | |
| 1305 | 1320 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 1306 | 1321 | </parameter> | |
| 1307 | 1322 | <parameter name="end" transfer-ownership="none"> | |
| 1308 | 1323 | <doc xml:space="preserve" | |
| 1309 | 1324 | filename="gsk/gskrendernodeimpl.c" | |
| 1310 | - | line="4316">The node to be cross_fadeed onto the @start node</doc> | |
| 1325 | + | line="7083">The node to be cross_fadeed onto the @start node</doc> | |
| 1311 | 1326 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 1312 | 1327 | </parameter> | |
| 1313 | 1328 | <parameter name="progress" transfer-ownership="none"> | |
| 1314 | 1329 | <doc xml:space="preserve" | |
| 1315 | 1330 | filename="gsk/gskrendernodeimpl.c" | |
| 1316 | - | line="4317">How far the fade has progressed from start to end. The value will | |
| 1331 | + | line="7084">How far the fade has progressed from start to end. The value will | |
| 1317 | 1332 | be clamped to the range [0 ... 1]</doc> | |
| 1318 | 1333 | <type name="gfloat" c:type="float"/> | |
| 1319 | 1334 | </parameter> | |
| @@ -1323,19 +1338,19 @@ The new node will acquire a reference to each of the children.</doc> | |||
| 1323 | 1338 | c:identifier="gsk_cross_fade_node_get_end_child"> | |
| 1324 | 1339 | <doc xml:space="preserve" | |
| 1325 | 1340 | filename="gsk/gskrendernodeimpl.c" | |
| 1326 | - | line="4366">Retrieves the child `GskRenderNode` at the end of the cross-fade.</doc> | |
| 1327 | - | <source-position filename="gsk/gskrendernode.h" line="484"/> | |
| 1341 | + | line="7138">Retrieves the child `GskRenderNode` at the end of the cross-fade.</doc> | |
| 1342 | + | <source-position filename="gsk/gskrendernode.h" line="533"/> | |
| 1328 | 1343 | <return-value transfer-ownership="none"> | |
| 1329 | 1344 | <doc xml:space="preserve" | |
| 1330 | 1345 | filename="gsk/gskrendernodeimpl.c" | |
| 1331 | - | line="4372">a `GskRenderNode`</doc> | |
| 1346 | + | line="7144">a `GskRenderNode`</doc> | |
| 1332 | 1347 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 1333 | 1348 | </return-value> | |
| 1334 | 1349 | <parameters> | |
| 1335 | 1350 | <instance-parameter name="node" transfer-ownership="none"> | |
| 1336 | 1351 | <doc xml:space="preserve" | |
| 1337 | 1352 | filename="gsk/gskrendernodeimpl.c" | |
| 1338 | - | line="4368">a cross-fading `GskRenderNode`</doc> | |
| 1353 | + | line="7140">a cross-fading `GskRenderNode`</doc> | |
| 1339 | 1354 | <type name="CrossFadeNode" c:type="const GskRenderNode*"/> | |
| 1340 | 1355 | </instance-parameter> | |
| 1341 | 1356 | </parameters> | |
| @@ -1344,19 +1359,19 @@ The new node will acquire a reference to each of the children.</doc> | |||
| 1344 | 1359 | c:identifier="gsk_cross_fade_node_get_progress"> | |
| 1345 | 1360 | <doc xml:space="preserve" | |
| 1346 | 1361 | filename="gsk/gskrendernodeimpl.c" | |
| 1347 | - | line="4382">Retrieves the progress value of the cross fade.</doc> | |
| 1348 | - | <source-position filename="gsk/gskrendernode.h" line="486"/> | |
| 1362 | + | line="7154">Retrieves the progress value of the cross fade.</doc> | |
| 1363 | + | <source-position filename="gsk/gskrendernode.h" line="535"/> | |
| 1349 | 1364 | <return-value transfer-ownership="none"> | |
| 1350 | 1365 | <doc xml:space="preserve" | |
| 1351 | 1366 | filename="gsk/gskrendernodeimpl.c" | |
| 1352 | - | line="4388">the progress value, between 0 and 1</doc> | |
| 1367 | + | line="7160">the progress value, between 0 and 1</doc> | |
| 1353 | 1368 | <type name="gfloat" c:type="float"/> | |
| 1354 | 1369 | </return-value> | |
| 1355 | 1370 | <parameters> | |
| 1356 | 1371 | <instance-parameter name="node" transfer-ownership="none"> | |
| 1357 | 1372 | <doc xml:space="preserve" | |
| 1358 | 1373 | filename="gsk/gskrendernodeimpl.c" | |
| 1359 | - | line="4384">a cross-fading `GskRenderNode`</doc> | |
| 1374 | + | line="7156">a cross-fading `GskRenderNode`</doc> | |
| 1360 | 1375 | <type name="CrossFadeNode" c:type="const GskRenderNode*"/> | |
| 1361 | 1376 | </instance-parameter> | |
| 1362 | 1377 | </parameters> | |
| @@ -1365,19 +1380,19 @@ The new node will acquire a reference to each of the children.</doc> | |||
| 1365 | 1380 | c:identifier="gsk_cross_fade_node_get_start_child"> | |
| 1366 | 1381 | <doc xml:space="preserve" | |
| 1367 | 1382 | filename="gsk/gskrendernodeimpl.c" | |
| 1368 | - | line="4350">Retrieves the child `GskRenderNode` at the beginning of the cross-fade.</doc> | |
| 1369 | - | <source-position filename="gsk/gskrendernode.h" line="482"/> | |
| 1383 | + | line="7122">Retrieves the child `GskRenderNode` at the beginning of the cross-fade.</doc> | |
| 1384 | + | <source-position filename="gsk/gskrendernode.h" line="531"/> | |
| 1370 | 1385 | <return-value transfer-ownership="none"> | |
| 1371 | 1386 | <doc xml:space="preserve" | |
| 1372 | 1387 | filename="gsk/gskrendernodeimpl.c" | |
| 1373 | - | line="4356">a `GskRenderNode`</doc> | |
| 1388 | + | line="7128">a `GskRenderNode`</doc> | |
| 1374 | 1389 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 1375 | 1390 | </return-value> | |
| 1376 | 1391 | <parameters> | |
| 1377 | 1392 | <instance-parameter name="node" transfer-ownership="none"> | |
| 1378 | 1393 | <doc xml:space="preserve" | |
| 1379 | 1394 | filename="gsk/gskrendernodeimpl.c" | |
| 1380 | - | line="4352">a cross-fading `GskRenderNode`</doc> | |
| 1395 | + | line="7124">a cross-fading `GskRenderNode`</doc> | |
| 1381 | 1396 | <type name="CrossFadeNode" c:type="const GskRenderNode*"/> | |
| 1382 | 1397 | </instance-parameter> | |
| 1383 | 1398 | </parameters> | |
| @@ -1392,33 +1407,33 @@ The new node will acquire a reference to each of the children.</doc> | |||
| 1392 | 1407 | glib:fundamental="1"> | |
| 1393 | 1408 | <doc xml:space="preserve" | |
| 1394 | 1409 | filename="gsk/gskrendernodeimpl.c" | |
| 1395 | - | line="4982">A render node that emits a debugging message when drawing its | |
| 1410 | + | line="8145">A render node that emits a debugging message when drawing its | |
| 1396 | 1411 | child node.</doc> | |
| 1397 | 1412 | <constructor name="new" c:identifier="gsk_debug_node_new"> | |
| 1398 | 1413 | <doc xml:space="preserve" | |
| 1399 | 1414 | filename="gsk/gskrendernodeimpl.c" | |
| 1400 | - | line="5038">Creates a `GskRenderNode` that will add debug information about | |
| 1415 | + | line="8226">Creates a `GskRenderNode` that will add debug information about | |
| 1401 | 1416 | the given @child. | |
| 1402 | 1417 | ||
| 1403 | 1418 | Adding this node has no visual effect.</doc> | |
| 1404 | - | <source-position filename="gsk/gskrendernode.h" line="197"/> | |
| 1419 | + | <source-position filename="gsk/gskrendernode.h" line="209"/> | |
| 1405 | 1420 | <return-value transfer-ownership="full"> | |
| 1406 | 1421 | <doc xml:space="preserve" | |
| 1407 | 1422 | filename="gsk/gskrendernodeimpl.c" | |
| 1408 | - | line="5048">A new `GskRenderNode`</doc> | |
| 1423 | + | line="8236">A new `GskRenderNode`</doc> | |
| 1409 | 1424 | <type name="DebugNode" c:type="GskRenderNode*"/> | |
| 1410 | 1425 | </return-value> | |
| 1411 | 1426 | <parameters> | |
| 1412 | 1427 | <parameter name="child" transfer-ownership="none"> | |
| 1413 | 1428 | <doc xml:space="preserve" | |
| 1414 | 1429 | filename="gsk/gskrendernodeimpl.c" | |
| 1415 | - | line="5040">The child to add debug info for</doc> | |
| 1430 | + | line="8228">The child to add debug info for</doc> | |
| 1416 | 1431 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 1417 | 1432 | </parameter> | |
| 1418 | 1433 | <parameter name="message" transfer-ownership="full"> | |
| 1419 | 1434 | <doc xml:space="preserve" | |
| 1420 | 1435 | filename="gsk/gskrendernodeimpl.c" | |
| 1421 | - | line="5041">The debug message</doc> | |
| 1436 | + | line="8229">The debug message</doc> | |
| 1422 | 1437 | <type name="utf8" c:type="char*"/> | |
| 1423 | 1438 | </parameter> | |
| 1424 | 1439 | </parameters> | |
| @@ -1426,19 +1441,19 @@ Adding this node has no visual effect.</doc> | |||
| 1426 | 1441 | <method name="get_child" c:identifier="gsk_debug_node_get_child"> | |
| 1427 | 1442 | <doc xml:space="preserve" | |
| 1428 | 1443 | filename="gsk/gskrendernodeimpl.c" | |
| 1429 | - | line="5073">Gets the child node that is getting drawn by the given @node.</doc> | |
| 1430 | - | <source-position filename="gsk/gskrendernode.h" line="200"/> | |
| 1444 | + | line="8263">Gets the child node that is getting drawn by the given @node.</doc> | |
| 1445 | + | <source-position filename="gsk/gskrendernode.h" line="212"/> | |
| 1431 | 1446 | <return-value transfer-ownership="none"> | |
| 1432 | 1447 | <doc xml:space="preserve" | |
| 1433 | 1448 | filename="gsk/gskrendernodeimpl.c" | |
| 1434 | - | line="5079">the child `GskRenderNode`</doc> | |
| 1449 | + | line="8269">the child `GskRenderNode`</doc> | |
| 1435 | 1450 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 1436 | 1451 | </return-value> | |
| 1437 | 1452 | <parameters> | |
| 1438 | 1453 | <instance-parameter name="node" transfer-ownership="none"> | |
| 1439 | 1454 | <doc xml:space="preserve" | |
| 1440 | 1455 | filename="gsk/gskrendernodeimpl.c" | |
| 1441 | - | line="5075">a debug `GskRenderNode`</doc> | |
| 1456 | + | line="8265">a debug `GskRenderNode`</doc> | |
| 1442 | 1457 | <type name="DebugNode" c:type="const GskRenderNode*"/> | |
| 1443 | 1458 | </instance-parameter> | |
| 1444 | 1459 | </parameters> | |
| @@ -1446,41 +1461,205 @@ Adding this node has no visual effect.</doc> | |||
| 1446 | 1461 | <method name="get_message" c:identifier="gsk_debug_node_get_message"> | |
| 1447 | 1462 | <doc xml:space="preserve" | |
| 1448 | 1463 | filename="gsk/gskrendernodeimpl.c" | |
| 1449 | - | line="5089">Gets the debug message that was set on this node</doc> | |
| 1450 | - | <source-position filename="gsk/gskrendernode.h" line="202"/> | |
| 1464 | + | line="8279">Gets the debug message that was set on this node</doc> | |
| 1465 | + | <source-position filename="gsk/gskrendernode.h" line="214"/> | |
| 1451 | 1466 | <return-value transfer-ownership="none"> | |
| 1452 | 1467 | <doc xml:space="preserve" | |
| 1453 | 1468 | filename="gsk/gskrendernodeimpl.c" | |
| 1454 | - | line="5095">The debug message</doc> | |
| 1469 | + | line="8285">The debug message</doc> | |
| 1455 | 1470 | <type name="utf8" c:type="const char*"/> | |
| 1456 | 1471 | </return-value> | |
| 1457 | 1472 | <parameters> | |
| 1458 | 1473 | <instance-parameter name="node" transfer-ownership="none"> | |
| 1459 | 1474 | <doc xml:space="preserve" | |
| 1460 | 1475 | filename="gsk/gskrendernodeimpl.c" | |
| 1461 | - | line="5091">a debug `GskRenderNode`</doc> | |
| 1476 | + | line="8281">a debug `GskRenderNode`</doc> | |
| 1462 | 1477 | <type name="DebugNode" c:type="const GskRenderNode*"/> | |
| 1463 | 1478 | </instance-parameter> | |
| 1464 | 1479 | </parameters> | |
| 1465 | 1480 | </method> | |
| 1466 | 1481 | </class> | |
| 1482 | + | <class name="FillNode" | |
| 1483 | + | c:symbol-prefix="fill_node" | |
| 1484 | + | c:type="GskFillNode" | |
| 1485 | + | version="4.14" | |
| 1486 | + | parent="RenderNode" | |
| 1487 | + | glib:type-name="GskFillNode" | |
| 1488 | + | glib:get-type="gsk_fill_node_get_type" | |
| 1489 | + | glib:fundamental="1"> | |
| 1490 | + | <doc xml:space="preserve" | |
| 1491 | + | filename="gsk/gskrendernodeimpl.c" | |
| 1492 | + | line="5993">A render node filling the area given by [struct@Gsk.Path] | |
| 1493 | + | and [enum@Gsk.FillRule] with the child node.</doc> | |
| 1494 | + | <constructor name="new" c:identifier="gsk_fill_node_new" version="4.14"> | |
| 1495 | + | <doc xml:space="preserve" | |
| 1496 | + | filename="gsk/gskrendernodeimpl.c" | |
| 1497 | + | line="6095">Creates a `GskRenderNode` that will fill the @child in the area | |
| 1498 | + | given by @path and @fill_rule.</doc> | |
| 1499 | + | <source-position filename="gsk/gskrendernode.h" line="474"/> | |
| 1500 | + | <return-value transfer-ownership="none"> | |
| 1501 | + | <doc xml:space="preserve" | |
| 1502 | + | filename="gsk/gskrendernodeimpl.c" | |
| 1503 | + | line="6104">A new `GskRenderNode`</doc> | |
| 1504 | + | <type name="FillNode" c:type="GskRenderNode*"/> | |
| 1505 | + | </return-value> | |
| 1506 | + | <parameters> | |
| 1507 | + | <parameter name="child" transfer-ownership="none"> | |
| 1508 | + | <doc xml:space="preserve" | |
| 1509 | + | filename="gsk/gskrendernodeimpl.c" | |
| 1510 | + | line="6097">The node to fill the area with</doc> | |
| 1511 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 1512 | + | </parameter> | |
| 1513 | + | <parameter name="path" transfer-ownership="none"> | |
| 1514 | + | <doc xml:space="preserve" | |
| 1515 | + | filename="gsk/gskrendernodeimpl.c" | |
| 1516 | + | line="6098">The path describing the area to fill</doc> | |
| 1517 | + | <type name="Path" c:type="GskPath*"/> | |
| 1518 | + | </parameter> | |
| 1519 | + | <parameter name="fill_rule" transfer-ownership="none"> | |
| 1520 | + | <doc xml:space="preserve" | |
| 1521 | + | filename="gsk/gskrendernodeimpl.c" | |
| 1522 | + | line="6099">The fill rule to use</doc> | |
| 1523 | + | <type name="FillRule" c:type="GskFillRule"/> | |
| 1524 | + | </parameter> | |
| 1525 | + | </parameters> | |
| 1526 | + | </constructor> | |
| 1527 | + | <method name="get_child" | |
| 1528 | + | c:identifier="gsk_fill_node_get_child" | |
| 1529 | + | version="4.14"> | |
| 1530 | + | <doc xml:space="preserve" | |
| 1531 | + | filename="gsk/gskrendernodeimpl.c" | |
| 1532 | + | line="6138">Gets the child node that is getting drawn by the given @node.</doc> | |
| 1533 | + | <source-position filename="gsk/gskrendernode.h" line="478"/> | |
| 1534 | + | <return-value transfer-ownership="none"> | |
| 1535 | + | <doc xml:space="preserve" | |
| 1536 | + | filename="gsk/gskrendernodeimpl.c" | |
| 1537 | + | line="6144">The child that is getting drawn</doc> | |
| 1538 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 1539 | + | </return-value> | |
| 1540 | + | <parameters> | |
| 1541 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 1542 | + | <doc xml:space="preserve" | |
| 1543 | + | filename="gsk/gskrendernodeimpl.c" | |
| 1544 | + | line="6140">a fill `GskRenderNode`</doc> | |
| 1545 | + | <type name="FillNode" c:type="const GskRenderNode*"/> | |
| 1546 | + | </instance-parameter> | |
| 1547 | + | </parameters> | |
| 1548 | + | </method> | |
| 1549 | + | <method name="get_fill_rule" | |
| 1550 | + | c:identifier="gsk_fill_node_get_fill_rule" | |
| 1551 | + | version="4.14"> | |
| 1552 | + | <doc xml:space="preserve" | |
| 1553 | + | filename="gsk/gskrendernodeimpl.c" | |
| 1554 | + | line="6179">Retrieves the fill rule used to determine how the path is filled.</doc> | |
| 1555 | + | <source-position filename="gsk/gskrendernode.h" line="482"/> | |
| 1556 | + | <return-value transfer-ownership="none"> | |
| 1557 | + | <doc xml:space="preserve" | |
| 1558 | + | filename="gsk/gskrendernodeimpl.c" | |
| 1559 | + | line="6185">a `GskFillRule`</doc> | |
| 1560 | + | <type name="FillRule" c:type="GskFillRule"/> | |
| 1561 | + | </return-value> | |
| 1562 | + | <parameters> | |
| 1563 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 1564 | + | <doc xml:space="preserve" | |
| 1565 | + | filename="gsk/gskrendernodeimpl.c" | |
| 1566 | + | line="6181">a fill `GskRenderNode`</doc> | |
| 1567 | + | <type name="FillNode" c:type="const GskRenderNode*"/> | |
| 1568 | + | </instance-parameter> | |
| 1569 | + | </parameters> | |
| 1570 | + | </method> | |
| 1571 | + | <method name="get_path" | |
| 1572 | + | c:identifier="gsk_fill_node_get_path" | |
| 1573 | + | version="4.14"> | |
| 1574 | + | <doc xml:space="preserve" | |
| 1575 | + | filename="gsk/gskrendernodeimpl.c" | |
| 1576 | + | line="6158">Retrieves the path used to describe the area filled with the contents of | |
| 1577 | + | the @node.</doc> | |
| 1578 | + | <source-position filename="gsk/gskrendernode.h" line="480"/> | |
| 1579 | + | <return-value transfer-ownership="none"> | |
| 1580 | + | <doc xml:space="preserve" | |
| 1581 | + | filename="gsk/gskrendernodeimpl.c" | |
| 1582 | + | line="6165">a `GskPath`</doc> | |
| 1583 | + | <type name="Path" c:type="GskPath*"/> | |
| 1584 | + | </return-value> | |
| 1585 | + | <parameters> | |
| 1586 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 1587 | + | <doc xml:space="preserve" | |
| 1588 | + | filename="gsk/gskrendernodeimpl.c" | |
| 1589 | + | line="6160">a fill `GskRenderNode`</doc> | |
| 1590 | + | <type name="FillNode" c:type="const GskRenderNode*"/> | |
| 1591 | + | </instance-parameter> | |
| 1592 | + | </parameters> | |
| 1593 | + | </method> | |
| 1594 | + | </class> | |
| 1595 | + | <enumeration name="FillRule" | |
| 1596 | + | version="4.14" | |
| 1597 | + | glib:type-name="GskFillRule" | |
| 1598 | + | glib:get-type="gsk_fill_rule_get_type" | |
| 1599 | + | c:type="GskFillRule"> | |
| 1600 | + | <doc xml:space="preserve" | |
| 1601 | + | filename="gsk/gskenums.h" | |
| 1602 | + | line="215">Specifies how paths are filled. | |
| 1603 | + | ||
| 1604 | + | Whether or not a point is included in the fill is determined by taking | |
| 1605 | + | a ray from that point to infinity and looking at intersections with the | |
| 1606 | + | path. The ray can be in any direction, as long as it doesn't pass through | |
| 1607 | + | the end point of a segment or have a tricky intersection such as | |
| 1608 | + | intersecting tangent to the path. | |
| 1609 | + | ||
| 1610 | + | (Note that filling is not actually implemented in this way. This | |
| 1611 | + | is just a description of the rule that is applied.) | |
| 1612 | + | ||
| 1613 | + | New entries may be added in future versions.</doc> | |
| 1614 | + | <member name="winding" | |
| 1615 | + | value="0" | |
| 1616 | + | c:identifier="GSK_FILL_RULE_WINDING" | |
| 1617 | + | glib:nick="winding" | |
| 1618 | + | glib:name="GSK_FILL_RULE_WINDING"> | |
| 1619 | + | <doc xml:space="preserve" | |
| 1620 | + | filename="gsk/gskenums.h" | |
| 1621 | + | line="217">If the path crosses the ray from | |
| 1622 | + | left-to-right, counts +1. If the path crosses the ray | |
| 1623 | + | from right to left, counts -1. (Left and right are determined | |
| 1624 | + | from the perspective of looking along the ray from the starting | |
| 1625 | + | point.) If the total count is non-zero, the point will be filled.</doc> | |
| 1626 | + | </member> | |
| 1627 | + | <member name="even_odd" | |
| 1628 | + | value="1" | |
| 1629 | + | c:identifier="GSK_FILL_RULE_EVEN_ODD" | |
| 1630 | + | glib:nick="even-odd" | |
| 1631 | + | glib:name="GSK_FILL_RULE_EVEN_ODD"> | |
| 1632 | + | <doc xml:space="preserve" | |
| 1633 | + | filename="gsk/gskenums.h" | |
| 1634 | + | line="222">Counts the total number of | |
| 1635 | + | intersections, without regard to the orientation of the contour. If | |
| 1636 | + | the total number of intersections is odd, the point will be | |
| 1637 | + | filled.</doc> | |
| 1638 | + | </member> | |
| 1639 | + | </enumeration> | |
| 1467 | 1640 | <class name="GLRenderer" | |
| 1468 | 1641 | c:symbol-prefix="gl_renderer" | |
| 1469 | 1642 | c:type="GskGLRenderer" | |
| 1643 | + | version="4.2" | |
| 1470 | 1644 | parent="Renderer" | |
| 1471 | 1645 | glib:type-name="GskGLRenderer" | |
| 1472 | 1646 | glib:get-type="gsk_gl_renderer_get_type" | |
| 1473 | 1647 | glib:type-struct="GLRendererClass"> | |
| 1474 | - | <source-position filename="gsk/gl/gskglrenderer.h" line="37"/> | |
| 1475 | - | <constructor name="new" c:identifier="gsk_gl_renderer_new" version="4.2"> | |
| 1648 | + | <doc xml:space="preserve" | |
| 1649 | + | filename="gsk/gpu/gskglrenderer.c" | |
| 1650 | + | line="17">Renders a GSK rendernode tree with OpenGL. | |
| 1651 | + | ||
| 1652 | + | See [class@Gsk.Renderer].</doc> | |
| 1653 | + | <source-position filename="gsk/gpu/gskglrenderer.h" line="34"/> | |
| 1654 | + | <constructor name="new" c:identifier="gsk_gl_renderer_new"> | |
| 1476 | 1655 | <doc xml:space="preserve" | |
| 1477 | - | filename="gsk/gl/gskglrenderer.c" | |
| 1478 | - | line="70">Creates a new `GskRenderer` using the new OpenGL renderer.</doc> | |
| 1479 | - | <source-position filename="gsk/gl/gskglrenderer.h" line="42"/> | |
| 1656 | + | filename="gsk/gpu/gskglrenderer.c" | |
| 1657 | + | line="177">Creates an instance of the GL renderer.</doc> | |
| 1658 | + | <source-position filename="gsk/gpu/gskglrenderer.h" line="37"/> | |
| 1480 | 1659 | <return-value transfer-ownership="full"> | |
| 1481 | 1660 | <doc xml:space="preserve" | |
| 1482 | - | filename="gsk/gl/gskglrenderer.c" | |
| 1483 | - | line="75">a new GL renderer</doc> | |
| 1661 | + | filename="gsk/gpu/gskglrenderer.c" | |
| 1662 | + | line="182">a GL renderer</doc> | |
| 1484 | 1663 | <type name="Renderer" c:type="GskRenderer*"/> | |
| 1485 | 1664 | </return-value> | |
| 1486 | 1665 | </constructor> | |
| @@ -1488,20 +1667,22 @@ Adding this node has no visual effect.</doc> | |||
| 1488 | 1667 | <record name="GLRendererClass" | |
| 1489 | 1668 | c:type="GskGLRendererClass" | |
| 1490 | 1669 | disguised="1" | |
| 1670 | + | opaque="1" | |
| 1491 | 1671 | glib:is-gtype-struct-for="GLRenderer"> | |
| 1492 | - | <source-position filename="gsk/gl/gskglrenderer.h" line="37"/> | |
| 1672 | + | <source-position filename="gsk/gpu/gskglrenderer.h" line="34"/> | |
| 1493 | 1673 | </record> | |
| 1494 | 1674 | <class name="GLShader" | |
| 1495 | 1675 | c:symbol-prefix="gl_shader" | |
| 1496 | 1676 | c:type="GskGLShader" | |
| 1677 | + | deprecated="1" | |
| 1678 | + | deprecated-version="4.16" | |
| 1497 | 1679 | parent="GObject.Object" | |
| 1498 | 1680 | glib:type-name="GskGLShader" | |
| 1499 | 1681 | glib:get-type="gsk_gl_shader_get_type" | |
| 1500 | 1682 | glib:type-struct="GLShaderClass"> | |
| 1501 | 1683 | <doc xml:space="preserve" | |
| 1502 | 1684 | filename="gsk/gskglshader.c" | |
| 1503 | - | line="19">A `GskGLShader` is a snippet of GLSL that is meant to run in the | |
| 1504 | - | fragment shader of the rendering pipeline. | |
| 1685 | + | line="19">Implements a fragment shader using GLSL. | |
| 1505 | 1686 | ||
| 1506 | 1687 | A fragment shader gets the coordinates being rendered as input and | |
| 1507 | 1688 | produces the pixel values for that particular pixel. Additionally, | |
| @@ -1586,7 +1767,7 @@ vec4 GskTexture(sampler2D sampler, vec2 texCoords); | |||
| 1586 | 1767 | ``` | |
| 1587 | 1768 | ||
| 1588 | 1769 | This samples a texture (e.g. u_texture1) at the specified | |
| 1589 | - | coordinates, and containes some helper ifdefs to ensure that | |
| 1770 | + | coordinates, and contains some helper ifdefs to ensure that | |
| 1590 | 1771 | it works on all OpenGL versions. | |
| 1591 | 1772 | ||
| 1592 | 1773 | You can compile the shader yourself using [method@Gsk.GLShader.compile], | |
| @@ -1613,54 +1794,74 @@ void mainImage(out vec4 fragColor, | |||
| 1613 | 1794 | fragColor = position * source1 + (1.0 - position) * source2; | |
| 1614 | 1795 | } | |
| 1615 | 1796 | ```</doc> | |
| 1616 | - | <source-position filename="gsk/gskglshader.h" line="45"/> | |
| 1797 | + | <doc-deprecated xml:space="preserve">This feature was deprecated in GTK 4.16 after the new | |
| 1798 | + | rendering infrastructure introduced in 4.14 did not support it. The lack | |
| 1799 | + | of Vulkan integration would have made it a very hard feature to support. | |
| 1800 | + | If you want to use OpenGL directly, you should look at | |
| 1801 | + | [GtkGLArea](../gtk4/class.GLArea.html), which uses a different approach | |
| 1802 | + | and is still well-supported.</doc-deprecated> | |
| 1803 | + | <source-position filename="gsk/gskglshader.h" line="49"/> | |
| 1617 | 1804 | <constructor name="new_from_bytes" | |
| 1618 | - | c:identifier="gsk_gl_shader_new_from_bytes"> | |
| 1805 | + | c:identifier="gsk_gl_shader_new_from_bytes" | |
| 1806 | + | deprecated="1" | |
| 1807 | + | deprecated-version="4.16"> | |
| 1619 | 1808 | <doc xml:space="preserve" | |
| 1620 | 1809 | filename="gsk/gskglshader.c" | |
| 1621 | - | line="481">Creates a `GskGLShader` that will render pixels using the specified code.</doc> | |
| 1622 | - | <source-position filename="gsk/gskglshader.h" line="48"/> | |
| 1810 | + | line="483">Creates a `GskGLShader` that will render pixels using the specified code.</doc> | |
| 1811 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 1812 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 1813 | + | for OpenGL rendering.</doc-deprecated> | |
| 1814 | + | <source-position filename="gsk/gskglshader.h" line="52"/> | |
| 1623 | 1815 | <return-value transfer-ownership="full"> | |
| 1624 | 1816 | <doc xml:space="preserve" | |
| 1625 | 1817 | filename="gsk/gskglshader.c" | |
| 1626 | - | line="487">A new `GskGLShader`</doc> | |
| 1818 | + | line="489">A new `GskGLShader`</doc> | |
| 1627 | 1819 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 1628 | 1820 | </return-value> | |
| 1629 | 1821 | <parameters> | |
| 1630 | 1822 | <parameter name="sourcecode" transfer-ownership="none"> | |
| 1631 | 1823 | <doc xml:space="preserve" | |
| 1632 | 1824 | filename="gsk/gskglshader.c" | |
| 1633 | - | line="483">GLSL sourcecode for the shader, as a `GBytes`</doc> | |
| 1825 | + | line="485">GLSL sourcecode for the shader, as a `GBytes`</doc> | |
| 1634 | 1826 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 1635 | 1827 | </parameter> | |
| 1636 | 1828 | </parameters> | |
| 1637 | 1829 | </constructor> | |
| 1638 | 1830 | <constructor name="new_from_resource" | |
| 1639 | - | c:identifier="gsk_gl_shader_new_from_resource"> | |
| 1831 | + | c:identifier="gsk_gl_shader_new_from_resource" | |
| 1832 | + | deprecated="1" | |
| 1833 | + | deprecated-version="4.16"> | |
| 1640 | 1834 | <doc xml:space="preserve" | |
| 1641 | 1835 | filename="gsk/gskglshader.c" | |
| 1642 | - | line="499">Creates a `GskGLShader` that will render pixels using the specified code.</doc> | |
| 1643 | - | <source-position filename="gsk/gskglshader.h" line="50"/> | |
| 1836 | + | line="505">Creates a `GskGLShader` that will render pixels using the specified code.</doc> | |
| 1837 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 1838 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 1839 | + | for OpenGL rendering.</doc-deprecated> | |
| 1840 | + | <source-position filename="gsk/gskglshader.h" line="54"/> | |
| 1644 | 1841 | <return-value transfer-ownership="full"> | |
| 1645 | 1842 | <doc xml:space="preserve" | |
| 1646 | 1843 | filename="gsk/gskglshader.c" | |
| 1647 | - | line="506">A new `GskGLShader`</doc> | |
| 1844 | + | line="512">A new `GskGLShader`</doc> | |
| 1648 | 1845 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 1649 | 1846 | </return-value> | |
| 1650 | 1847 | <parameters> | |
| 1651 | 1848 | <parameter name="resource_path" transfer-ownership="none"> | |
| 1652 | 1849 | <doc xml:space="preserve" | |
| 1653 | 1850 | filename="gsk/gskglshader.c" | |
| 1654 | - | line="501">path to a resource that contains the GLSL sourcecode for | |
| 1851 | + | line="507">path to a resource that contains the GLSL sourcecode for | |
| 1655 | 1852 | the shader</doc> | |
| 1656 | 1853 | <type name="utf8" c:type="const char*"/> | |
| 1657 | 1854 | </parameter> | |
| 1658 | 1855 | </parameters> | |
| 1659 | 1856 | </constructor> | |
| 1660 | - | <method name="compile" c:identifier="gsk_gl_shader_compile" throws="1"> | |
| 1857 | + | <method name="compile" | |
| 1858 | + | c:identifier="gsk_gl_shader_compile" | |
| 1859 | + | deprecated="1" | |
| 1860 | + | deprecated-version="4.16" | |
| 1861 | + | throws="1"> | |
| 1661 | 1862 | <doc xml:space="preserve" | |
| 1662 | 1863 | filename="gsk/gskglshader.c" | |
| 1663 | - | line="518">Tries to compile the @shader for the given @renderer. | |
| 1864 | + | line="528">Tries to compile the @shader for the given @renderer. | |
| 1664 | 1865 | ||
| 1665 | 1866 | If there is a problem, this function returns %FALSE and reports | |
| 1666 | 1867 | an error. You should use this function before relying on the shader | |
| @@ -1672,62 +1873,72 @@ change the current GL context) and requires the renderer to be | |||
| 1672 | 1873 | set up. This means that the widget has to be realized. Commonly you | |
| 1673 | 1874 | want to call this from the realize signal of a widget, or during | |
| 1674 | 1875 | widget snapshot.</doc> | |
| 1675 | - | <source-position filename="gsk/gskglshader.h" line="52"/> | |
| 1876 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 1877 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 1878 | + | for OpenGL rendering.</doc-deprecated> | |
| 1879 | + | <source-position filename="gsk/gskglshader.h" line="56"/> | |
| 1676 | 1880 | <return-value transfer-ownership="none"> | |
| 1677 | 1881 | <doc xml:space="preserve" | |
| 1678 | 1882 | filename="gsk/gskglshader.c" | |
| 1679 | - | line="537">%TRUE on success, %FALSE if an error occurred</doc> | |
| 1883 | + | line="547">%TRUE on success, %FALSE if an error occurred</doc> | |
| 1680 | 1884 | <type name="gboolean" c:type="gboolean"/> | |
| 1681 | 1885 | </return-value> | |
| 1682 | 1886 | <parameters> | |
| 1683 | 1887 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 1684 | 1888 | <doc xml:space="preserve" | |
| 1685 | 1889 | filename="gsk/gskglshader.c" | |
| 1686 | - | line="520">a `GskGLShader`</doc> | |
| 1890 | + | line="530">a `GskGLShader`</doc> | |
| 1687 | 1891 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 1688 | 1892 | </instance-parameter> | |
| 1689 | 1893 | <parameter name="renderer" transfer-ownership="none"> | |
| 1690 | 1894 | <doc xml:space="preserve" | |
| 1691 | 1895 | filename="gsk/gskglshader.c" | |
| 1692 | - | line="521">a `GskRenderer`</doc> | |
| 1896 | + | line="531">a `GskRenderer`</doc> | |
| 1693 | 1897 | <type name="Renderer" c:type="GskRenderer*"/> | |
| 1694 | 1898 | </parameter> | |
| 1695 | 1899 | </parameters> | |
| 1696 | 1900 | </method> | |
| 1697 | 1901 | <method name="find_uniform_by_name" | |
| 1698 | - | c:identifier="gsk_gl_shader_find_uniform_by_name"> | |
| 1902 | + | c:identifier="gsk_gl_shader_find_uniform_by_name" | |
| 1903 | + | deprecated="1" | |
| 1904 | + | deprecated-version="4.16"> | |
| 1699 | 1905 | <doc xml:space="preserve" | |
| 1700 | 1906 | filename="gsk/gskglshader.c" | |
| 1701 | - | line="643">Looks for a uniform by the name @name, and returns the index | |
| 1907 | + | line="674">Looks for a uniform by the name @name, and returns the index | |
| 1702 | 1908 | of the uniform, or -1 if it was not found.</doc> | |
| 1703 | - | <source-position filename="gsk/gskglshader.h" line="67"/> | |
| 1909 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 1910 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 1911 | + | for OpenGL rendering.</doc-deprecated> | |
| 1912 | + | <source-position filename="gsk/gskglshader.h" line="71"/> | |
| 1704 | 1913 | <return-value transfer-ownership="none"> | |
| 1705 | 1914 | <doc xml:space="preserve" | |
| 1706 | 1915 | filename="gsk/gskglshader.c" | |
| 1707 | - | line="651">The index of the uniform, or -1</doc> | |
| 1916 | + | line="682">The index of the uniform, or -1</doc> | |
| 1708 | 1917 | <type name="gint" c:type="int"/> | |
| 1709 | 1918 | </return-value> | |
| 1710 | 1919 | <parameters> | |
| 1711 | 1920 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 1712 | 1921 | <doc xml:space="preserve" | |
| 1713 | 1922 | filename="gsk/gskglshader.c" | |
| 1714 | - | line="645">a `GskGLShader`</doc> | |
| 1923 | + | line="676">a `GskGLShader`</doc> | |
| 1715 | 1924 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 1716 | 1925 | </instance-parameter> | |
| 1717 | 1926 | <parameter name="name" transfer-ownership="none"> | |
| 1718 | 1927 | <doc xml:space="preserve" | |
| 1719 | 1928 | filename="gsk/gskglshader.c" | |
| 1720 | - | line="646">uniform name</doc> | |
| 1929 | + | line="677">uniform name</doc> | |
| 1721 | 1930 | <type name="utf8" c:type="const char*"/> | |
| 1722 | 1931 | </parameter> | |
| 1723 | 1932 | </parameters> | |
| 1724 | 1933 | </method> | |
| 1725 | 1934 | <method name="format_args" | |
| 1726 | 1935 | c:identifier="gsk_gl_shader_format_args" | |
| 1727 | - | introspectable="0"> | |
| 1936 | + | introspectable="0" | |
| 1937 | + | deprecated="1" | |
| 1938 | + | deprecated-version="4.16"> | |
| 1728 | 1939 | <doc xml:space="preserve" | |
| 1729 | 1940 | filename="gsk/gskglshader.c" | |
| 1730 | - | line="1062">Formats the uniform data as needed for feeding the named uniforms | |
| 1941 | + | line="1141">Formats the uniform data as needed for feeding the named uniforms | |
| 1731 | 1942 | values into the shader. | |
| 1732 | 1943 | ||
| 1733 | 1944 | The argument list is a list of pairs of names, and values for the types | |
| @@ -1736,11 +1947,14 @@ primitive values and `graphene_vecN_t *` for vecN uniforms). | |||
| 1736 | 1947 | ||
| 1737 | 1948 | Any uniforms of the shader that are not included in the argument list | |
| 1738 | 1949 | are zero-initialized.</doc> | |
| 1739 | - | <source-position filename="gsk/gskglshader.h" line="85"/> | |
| 1950 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 1951 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 1952 | + | for OpenGL rendering.</doc-deprecated> | |
| 1953 | + | <source-position filename="gsk/gskglshader.h" line="89"/> | |
| 1740 | 1954 | <return-value transfer-ownership="full"> | |
| 1741 | 1955 | <doc xml:space="preserve" | |
| 1742 | 1956 | filename="gsk/gskglshader.c" | |
| 1743 | - | line="1078">A newly allocated block of data which can be | |
| 1957 | + | line="1157">A newly allocated block of data which can be | |
| 1744 | 1958 | passed to [ctor@Gsk.GLShaderNode.new].</doc> | |
| 1745 | 1959 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 1746 | 1960 | </return-value> | |
| @@ -1748,13 +1962,13 @@ are zero-initialized.</doc> | |||
| 1748 | 1962 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 1749 | 1963 | <doc xml:space="preserve" | |
| 1750 | 1964 | filename="gsk/gskglshader.c" | |
| 1751 | - | line="1064">a `GskGLShader`</doc> | |
| 1965 | + | line="1143">a `GskGLShader`</doc> | |
| 1752 | 1966 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 1753 | 1967 | </instance-parameter> | |
| 1754 | 1968 | <parameter name="..." transfer-ownership="none"> | |
| 1755 | 1969 | <doc xml:space="preserve" | |
| 1756 | 1970 | filename="gsk/gskglshader.c" | |
| 1757 | - | line="1065">name-Value pairs for the uniforms of @shader, ending with | |
| 1971 | + | line="1144">name-Value pairs for the uniforms of @shader, ending with | |
| 1758 | 1972 | a %NULL name</doc> | |
| 1759 | 1973 | <varargs/> | |
| 1760 | 1974 | </parameter> | |
| @@ -1762,10 +1976,12 @@ are zero-initialized.</doc> | |||
| 1762 | 1976 | </method> | |
| 1763 | 1977 | <method name="format_args_va" | |
| 1764 | 1978 | c:identifier="gsk_gl_shader_format_args_va" | |
| 1765 | - | introspectable="0"> | |
| 1979 | + | introspectable="0" | |
| 1980 | + | deprecated="1" | |
| 1981 | + | deprecated-version="4.16"> | |
| 1766 | 1982 | <doc xml:space="preserve" | |
| 1767 | 1983 | filename="gsk/gskglshader.c" | |
| 1768 | - | line="976">Formats the uniform data as needed for feeding the named uniforms | |
| 1984 | + | line="1051">Formats the uniform data as needed for feeding the named uniforms | |
| 1769 | 1985 | values into the shader. | |
| 1770 | 1986 | ||
| 1771 | 1987 | The argument list is a list of pairs of names, and values for the | |
| @@ -1776,11 +1992,14 @@ It is an error to pass a uniform name that is not declared by the shader. | |||
| 1776 | 1992 | ||
| 1777 | 1993 | Any uniforms of the shader that are not included in the argument list | |
| 1778 | 1994 | are zero-initialized.</doc> | |
| 1779 | - | <source-position filename="gsk/gskglshader.h" line="82"/> | |
| 1995 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 1996 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 1997 | + | for OpenGL rendering.</doc-deprecated> | |
| 1998 | + | <source-position filename="gsk/gskglshader.h" line="86"/> | |
| 1780 | 1999 | <return-value transfer-ownership="full"> | |
| 1781 | 2000 | <doc xml:space="preserve" | |
| 1782 | 2001 | filename="gsk/gskglshader.c" | |
| 1783 | - | line="994">A newly allocated block of data which can be | |
| 2002 | + | line="1069">A newly allocated block of data which can be | |
| 1784 | 2003 | passed to [ctor@Gsk.GLShaderNode.new].</doc> | |
| 1785 | 2004 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 1786 | 2005 | </return-value> | |
| @@ -1788,161 +2007,191 @@ are zero-initialized.</doc> | |||
| 1788 | 2007 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 1789 | 2008 | <doc xml:space="preserve" | |
| 1790 | 2009 | filename="gsk/gskglshader.c" | |
| 1791 | - | line="978">a `GskGLShader`</doc> | |
| 2010 | + | line="1053">a `GskGLShader`</doc> | |
| 1792 | 2011 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 1793 | 2012 | </instance-parameter> | |
| 1794 | 2013 | <parameter name="uniforms" transfer-ownership="none"> | |
| 1795 | 2014 | <doc xml:space="preserve" | |
| 1796 | 2015 | filename="gsk/gskglshader.c" | |
| 1797 | - | line="979">name-Value pairs for the uniforms of @shader, ending | |
| 2016 | + | line="1054">name-Value pairs for the uniforms of @shader, ending | |
| 1798 | 2017 | with a %NULL name</doc> | |
| 1799 | 2018 | <type name="va_list" c:type="va_list"/> | |
| 1800 | 2019 | </parameter> | |
| 1801 | 2020 | </parameters> | |
| 1802 | 2021 | </method> | |
| 1803 | - | <method name="get_arg_bool" c:identifier="gsk_gl_shader_get_arg_bool"> | |
| 2022 | + | <method name="get_arg_bool" | |
| 2023 | + | c:identifier="gsk_gl_shader_get_arg_bool" | |
| 2024 | + | deprecated="1" | |
| 2025 | + | deprecated-version="4.16"> | |
| 1804 | 2026 | <doc xml:space="preserve" | |
| 1805 | 2027 | filename="gsk/gskglshader.c" | |
| 1806 | - | line="844">Gets the value of the uniform @idx in the @args block. | |
| 2028 | + | line="903">Gets the value of the uniform @idx in the @args block. | |
| 1807 | 2029 | ||
| 1808 | 2030 | The uniform must be of bool type.</doc> | |
| 1809 | - | <source-position filename="gsk/gskglshader.h" line="101"/> | |
| 2031 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2032 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2033 | + | for OpenGL rendering.</doc-deprecated> | |
| 2034 | + | <source-position filename="gsk/gskglshader.h" line="105"/> | |
| 1810 | 2035 | <return-value transfer-ownership="none"> | |
| 1811 | 2036 | <doc xml:space="preserve" | |
| 1812 | 2037 | filename="gsk/gskglshader.c" | |
| 1813 | - | line="854">The value</doc> | |
| 2038 | + | line="913">The value</doc> | |
| 1814 | 2039 | <type name="gboolean" c:type="gboolean"/> | |
| 1815 | 2040 | </return-value> | |
| 1816 | 2041 | <parameters> | |
| 1817 | 2042 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 1818 | 2043 | <doc xml:space="preserve" | |
| 1819 | 2044 | filename="gsk/gskglshader.c" | |
| 1820 | - | line="846">a `GskGLShader`</doc> | |
| 2045 | + | line="905">a `GskGLShader`</doc> | |
| 1821 | 2046 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 1822 | 2047 | </instance-parameter> | |
| 1823 | 2048 | <parameter name="args" transfer-ownership="none"> | |
| 1824 | 2049 | <doc xml:space="preserve" | |
| 1825 | 2050 | filename="gsk/gskglshader.c" | |
| 1826 | - | line="847">uniform arguments</doc> | |
| 2051 | + | line="906">uniform arguments</doc> | |
| 1827 | 2052 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 1828 | 2053 | </parameter> | |
| 1829 | 2054 | <parameter name="idx" transfer-ownership="none"> | |
| 1830 | 2055 | <doc xml:space="preserve" | |
| 1831 | 2056 | filename="gsk/gskglshader.c" | |
| 1832 | - | line="848">index of the uniform</doc> | |
| 2057 | + | line="907">index of the uniform</doc> | |
| 1833 | 2058 | <type name="gint" c:type="int"/> | |
| 1834 | 2059 | </parameter> | |
| 1835 | 2060 | </parameters> | |
| 1836 | 2061 | </method> | |
| 1837 | - | <method name="get_arg_float" c:identifier="gsk_gl_shader_get_arg_float"> | |
| 2062 | + | <method name="get_arg_float" | |
| 2063 | + | c:identifier="gsk_gl_shader_get_arg_float" | |
| 2064 | + | deprecated="1" | |
| 2065 | + | deprecated-version="4.16"> | |
| 1838 | 2066 | <doc xml:space="preserve" | |
| 1839 | 2067 | filename="gsk/gskglshader.c" | |
| 1840 | - | line="745">Gets the value of the uniform @idx in the @args block. | |
| 2068 | + | line="792">Gets the value of the uniform @idx in the @args block. | |
| 1841 | 2069 | ||
| 1842 | 2070 | The uniform must be of float type.</doc> | |
| 1843 | - | <source-position filename="gsk/gskglshader.h" line="89"/> | |
| 2071 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2072 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2073 | + | for OpenGL rendering.</doc-deprecated> | |
| 2074 | + | <source-position filename="gsk/gskglshader.h" line="93"/> | |
| 1844 | 2075 | <return-value transfer-ownership="none"> | |
| 1845 | 2076 | <doc xml:space="preserve" | |
| 1846 | 2077 | filename="gsk/gskglshader.c" | |
| 1847 | - | line="755">The value</doc> | |
| 2078 | + | line="802">The value</doc> | |
| 1848 | 2079 | <type name="gfloat" c:type="float"/> | |
| 1849 | 2080 | </return-value> | |
| 1850 | 2081 | <parameters> | |
| 1851 | 2082 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 1852 | 2083 | <doc xml:space="preserve" | |
| 1853 | 2084 | filename="gsk/gskglshader.c" | |
| 1854 | - | line="747">a `GskGLShader`</doc> | |
| 2085 | + | line="794">a `GskGLShader`</doc> | |
| 1855 | 2086 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 1856 | 2087 | </instance-parameter> | |
| 1857 | 2088 | <parameter name="args" transfer-ownership="none"> | |
| 1858 | 2089 | <doc xml:space="preserve" | |
| 1859 | 2090 | filename="gsk/gskglshader.c" | |
| 1860 | - | line="748">uniform arguments</doc> | |
| 2091 | + | line="795">uniform arguments</doc> | |
| 1861 | 2092 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 1862 | 2093 | </parameter> | |
| 1863 | 2094 | <parameter name="idx" transfer-ownership="none"> | |
| 1864 | 2095 | <doc xml:space="preserve" | |
| 1865 | 2096 | filename="gsk/gskglshader.c" | |
| 1866 | - | line="749">index of the uniform</doc> | |
| 2097 | + | line="796">index of the uniform</doc> | |
| 1867 | 2098 | <type name="gint" c:type="int"/> | |
| 1868 | 2099 | </parameter> | |
| 1869 | 2100 | </parameters> | |
| 1870 | 2101 | </method> | |
| 1871 | - | <method name="get_arg_int" c:identifier="gsk_gl_shader_get_arg_int"> | |
| 2102 | + | <method name="get_arg_int" | |
| 2103 | + | c:identifier="gsk_gl_shader_get_arg_int" | |
| 2104 | + | deprecated="1" | |
| 2105 | + | deprecated-version="4.16"> | |
| 1872 | 2106 | <doc xml:space="preserve" | |
| 1873 | 2107 | filename="gsk/gskglshader.c" | |
| 1874 | - | line="778">Gets the value of the uniform @idx in the @args block. | |
| 2108 | + | line="829">Gets the value of the uniform @idx in the @args block. | |
| 1875 | 2109 | ||
| 1876 | 2110 | The uniform must be of int type.</doc> | |
| 1877 | - | <source-position filename="gsk/gskglshader.h" line="93"/> | |
| 2111 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2112 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2113 | + | for OpenGL rendering.</doc-deprecated> | |
| 2114 | + | <source-position filename="gsk/gskglshader.h" line="97"/> | |
| 1878 | 2115 | <return-value transfer-ownership="none"> | |
| 1879 | 2116 | <doc xml:space="preserve" | |
| 1880 | 2117 | filename="gsk/gskglshader.c" | |
| 1881 | - | line="788">The value</doc> | |
| 2118 | + | line="839">The value</doc> | |
| 1882 | 2119 | <type name="gint32" c:type="gint32"/> | |
| 1883 | 2120 | </return-value> | |
| 1884 | 2121 | <parameters> | |
| 1885 | 2122 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 1886 | 2123 | <doc xml:space="preserve" | |
| 1887 | 2124 | filename="gsk/gskglshader.c" | |
| 1888 | - | line="780">a `GskGLShader`</doc> | |
| 2125 | + | line="831">a `GskGLShader`</doc> | |
| 1889 | 2126 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 1890 | 2127 | </instance-parameter> | |
| 1891 | 2128 | <parameter name="args" transfer-ownership="none"> | |
| 1892 | 2129 | <doc xml:space="preserve" | |
| 1893 | 2130 | filename="gsk/gskglshader.c" | |
| 1894 | - | line="781">uniform arguments</doc> | |
| 2131 | + | line="832">uniform arguments</doc> | |
| 1895 | 2132 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 1896 | 2133 | </parameter> | |
| 1897 | 2134 | <parameter name="idx" transfer-ownership="none"> | |
| 1898 | 2135 | <doc xml:space="preserve" | |
| 1899 | 2136 | filename="gsk/gskglshader.c" | |
| 1900 | - | line="782">index of the uniform</doc> | |
| 2137 | + | line="833">index of the uniform</doc> | |
| 1901 | 2138 | <type name="gint" c:type="int"/> | |
| 1902 | 2139 | </parameter> | |
| 1903 | 2140 | </parameters> | |
| 1904 | 2141 | </method> | |
| 1905 | - | <method name="get_arg_uint" c:identifier="gsk_gl_shader_get_arg_uint"> | |
| 2142 | + | <method name="get_arg_uint" | |
| 2143 | + | c:identifier="gsk_gl_shader_get_arg_uint" | |
| 2144 | + | deprecated="1" | |
| 2145 | + | deprecated-version="4.16"> | |
| 1906 | 2146 | <doc xml:space="preserve" | |
| 1907 | 2147 | filename="gsk/gskglshader.c" | |
| 1908 | - | line="811">Gets the value of the uniform @idx in the @args block. | |
| 2148 | + | line="866">Gets the value of the uniform @idx in the @args block. | |
| 1909 | 2149 | ||
| 1910 | 2150 | The uniform must be of uint type.</doc> | |
| 1911 | - | <source-position filename="gsk/gskglshader.h" line="97"/> | |
| 2151 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2152 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2153 | + | for OpenGL rendering.</doc-deprecated> | |
| 2154 | + | <source-position filename="gsk/gskglshader.h" line="101"/> | |
| 1912 | 2155 | <return-value transfer-ownership="none"> | |
| 1913 | 2156 | <doc xml:space="preserve" | |
| 1914 | 2157 | filename="gsk/gskglshader.c" | |
| 1915 | - | line="821">The value</doc> | |
| 2158 | + | line="876">The value</doc> | |
| 1916 | 2159 | <type name="guint32" c:type="guint32"/> | |
| 1917 | 2160 | </return-value> | |
| 1918 | 2161 | <parameters> | |
| 1919 | 2162 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 1920 | 2163 | <doc xml:space="preserve" | |
| 1921 | 2164 | filename="gsk/gskglshader.c" | |
| 1922 | - | line="813">a `GskGLShader`</doc> | |
| 2165 | + | line="868">a `GskGLShader`</doc> | |
| 1923 | 2166 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 1924 | 2167 | </instance-parameter> | |
| 1925 | 2168 | <parameter name="args" transfer-ownership="none"> | |
| 1926 | 2169 | <doc xml:space="preserve" | |
| 1927 | 2170 | filename="gsk/gskglshader.c" | |
| 1928 | - | line="814">uniform arguments</doc> | |
| 2171 | + | line="869">uniform arguments</doc> | |
| 1929 | 2172 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 1930 | 2173 | </parameter> | |
| 1931 | 2174 | <parameter name="idx" transfer-ownership="none"> | |
| 1932 | 2175 | <doc xml:space="preserve" | |
| 1933 | 2176 | filename="gsk/gskglshader.c" | |
| 1934 | - | line="815">index of the uniform</doc> | |
| 2177 | + | line="870">index of the uniform</doc> | |
| 1935 | 2178 | <type name="gint" c:type="int"/> | |
| 1936 | 2179 | </parameter> | |
| 1937 | 2180 | </parameters> | |
| 1938 | 2181 | </method> | |
| 1939 | - | <method name="get_arg_vec2" c:identifier="gsk_gl_shader_get_arg_vec2"> | |
| 2182 | + | <method name="get_arg_vec2" | |
| 2183 | + | c:identifier="gsk_gl_shader_get_arg_vec2" | |
| 2184 | + | deprecated="1" | |
| 2185 | + | deprecated-version="4.16"> | |
| 1940 | 2186 | <doc xml:space="preserve" | |
| 1941 | 2187 | filename="gsk/gskglshader.c" | |
| 1942 | - | line="877">Gets the value of the uniform @idx in the @args block. | |
| 2188 | + | line="940">Gets the value of the uniform @idx in the @args block. | |
| 1943 | 2189 | ||
| 1944 | 2190 | The uniform must be of vec2 type.</doc> | |
| 1945 | - | <source-position filename="gsk/gskglshader.h" line="105"/> | |
| 2191 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2192 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2193 | + | for OpenGL rendering.</doc-deprecated> | |
| 2194 | + | <source-position filename="gsk/gskglshader.h" line="109"/> | |
| 1946 | 2195 | <return-value transfer-ownership="none"> | |
| 1947 | 2196 | <type name="none" c:type="void"/> | |
| 1948 | 2197 | </return-value> | |
| @@ -1950,36 +2199,42 @@ The uniform must be of vec2 type.</doc> | |||
| 1950 | 2199 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 1951 | 2200 | <doc xml:space="preserve" | |
| 1952 | 2201 | filename="gsk/gskglshader.c" | |
| 1953 | - | line="879">a `GskGLShader`</doc> | |
| 2202 | + | line="942">a `GskGLShader`</doc> | |
| 1954 | 2203 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 1955 | 2204 | </instance-parameter> | |
| 1956 | 2205 | <parameter name="args" transfer-ownership="none"> | |
| 1957 | 2206 | <doc xml:space="preserve" | |
| 1958 | 2207 | filename="gsk/gskglshader.c" | |
| 1959 | - | line="880">uniform arguments</doc> | |
| 2208 | + | line="943">uniform arguments</doc> | |
| 1960 | 2209 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 1961 | 2210 | </parameter> | |
| 1962 | 2211 | <parameter name="idx" transfer-ownership="none"> | |
| 1963 | 2212 | <doc xml:space="preserve" | |
| 1964 | 2213 | filename="gsk/gskglshader.c" | |
| 1965 | - | line="881">index of the uniform</doc> | |
| 2214 | + | line="944">index of the uniform</doc> | |
| 1966 | 2215 | <type name="gint" c:type="int"/> | |
| 1967 | 2216 | </parameter> | |
| 1968 | 2217 | <parameter name="out_value" transfer-ownership="none"> | |
| 1969 | 2218 | <doc xml:space="preserve" | |
| 1970 | 2219 | filename="gsk/gskglshader.c" | |
| 1971 | - | line="882">location to store the uniform value in</doc> | |
| 2220 | + | line="945">location to store the uniform value in</doc> | |
| 1972 | 2221 | <type name="Graphene.Vec2" c:type="graphene_vec2_t*"/> | |
| 1973 | 2222 | </parameter> | |
| 1974 | 2223 | </parameters> | |
| 1975 | 2224 | </method> | |
| 1976 | - | <method name="get_arg_vec3" c:identifier="gsk_gl_shader_get_arg_vec3"> | |
| 2225 | + | <method name="get_arg_vec3" | |
| 2226 | + | c:identifier="gsk_gl_shader_get_arg_vec3" | |
| 2227 | + | deprecated="1" | |
| 2228 | + | deprecated-version="4.16"> | |
| 1977 | 2229 | <doc xml:space="preserve" | |
| 1978 | 2230 | filename="gsk/gskglshader.c" | |
| 1979 | - | line="910">Gets the value of the uniform @idx in the @args block. | |
| 2231 | + | line="977">Gets the value of the uniform @idx in the @args block. | |
| 1980 | 2232 | ||
| 1981 | 2233 | The uniform must be of vec3 type.</doc> | |
| 1982 | - | <source-position filename="gsk/gskglshader.h" line="110"/> | |
| 2234 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2235 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2236 | + | for OpenGL rendering.</doc-deprecated> | |
| 2237 | + | <source-position filename="gsk/gskglshader.h" line="114"/> | |
| 1983 | 2238 | <return-value transfer-ownership="none"> | |
| 1984 | 2239 | <type name="none" c:type="void"/> | |
| 1985 | 2240 | </return-value> | |
| @@ -1987,36 +2242,42 @@ The uniform must be of vec3 type.</doc> | |||
| 1987 | 2242 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 1988 | 2243 | <doc xml:space="preserve" | |
| 1989 | 2244 | filename="gsk/gskglshader.c" | |
| 1990 | - | line="912">a `GskGLShader`</doc> | |
| 2245 | + | line="979">a `GskGLShader`</doc> | |
| 1991 | 2246 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 1992 | 2247 | </instance-parameter> | |
| 1993 | 2248 | <parameter name="args" transfer-ownership="none"> | |
| 1994 | 2249 | <doc xml:space="preserve" | |
| 1995 | 2250 | filename="gsk/gskglshader.c" | |
| 1996 | - | line="913">uniform arguments</doc> | |
| 2251 | + | line="980">uniform arguments</doc> | |
| 1997 | 2252 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 1998 | 2253 | </parameter> | |
| 1999 | 2254 | <parameter name="idx" transfer-ownership="none"> | |
| 2000 | 2255 | <doc xml:space="preserve" | |
| 2001 | 2256 | filename="gsk/gskglshader.c" | |
| 2002 | - | line="914">index of the uniform</doc> | |
| 2257 | + | line="981">index of the uniform</doc> | |
| 2003 | 2258 | <type name="gint" c:type="int"/> | |
| 2004 | 2259 | </parameter> | |
| 2005 | 2260 | <parameter name="out_value" transfer-ownership="none"> | |
| 2006 | 2261 | <doc xml:space="preserve" | |
| 2007 | 2262 | filename="gsk/gskglshader.c" | |
| 2008 | - | line="915">location to store the uniform value in</doc> | |
| 2263 | + | line="982">location to store the uniform value in</doc> | |
| 2009 | 2264 | <type name="Graphene.Vec3" c:type="graphene_vec3_t*"/> | |
| 2010 | 2265 | </parameter> | |
| 2011 | 2266 | </parameters> | |
| 2012 | 2267 | </method> | |
| 2013 | - | <method name="get_arg_vec4" c:identifier="gsk_gl_shader_get_arg_vec4"> | |
| 2268 | + | <method name="get_arg_vec4" | |
| 2269 | + | c:identifier="gsk_gl_shader_get_arg_vec4" | |
| 2270 | + | deprecated="1" | |
| 2271 | + | deprecated-version="4.16"> | |
| 2014 | 2272 | <doc xml:space="preserve" | |
| 2015 | 2273 | filename="gsk/gskglshader.c" | |
| 2016 | - | line="943">Gets the value of the uniform @idx in the @args block. | |
| 2274 | + | line="1014">Gets the value of the uniform @idx in the @args block. | |
| 2017 | 2275 | ||
| 2018 | 2276 | The uniform must be of vec4 type.</doc> | |
| 2019 | - | <source-position filename="gsk/gskglshader.h" line="115"/> | |
| 2277 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2278 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2279 | + | for OpenGL rendering.</doc-deprecated> | |
| 2280 | + | <source-position filename="gsk/gskglshader.h" line="119"/> | |
| 2020 | 2281 | <return-value transfer-ownership="none"> | |
| 2021 | 2282 | <type name="none" c:type="void"/> | |
| 2022 | 2283 | </return-value> | |
| @@ -2024,219 +2285,258 @@ The uniform must be of vec4 type.</doc> | |||
| 2024 | 2285 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 2025 | 2286 | <doc xml:space="preserve" | |
| 2026 | 2287 | filename="gsk/gskglshader.c" | |
| 2027 | - | line="945">a `GskGLShader`</doc> | |
| 2288 | + | line="1016">a `GskGLShader`</doc> | |
| 2028 | 2289 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 2029 | 2290 | </instance-parameter> | |
| 2030 | 2291 | <parameter name="args" transfer-ownership="none"> | |
| 2031 | 2292 | <doc xml:space="preserve" | |
| 2032 | 2293 | filename="gsk/gskglshader.c" | |
| 2033 | - | line="946">uniform arguments</doc> | |
| 2294 | + | line="1017">uniform arguments</doc> | |
| 2034 | 2295 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 2035 | 2296 | </parameter> | |
| 2036 | 2297 | <parameter name="idx" transfer-ownership="none"> | |
| 2037 | 2298 | <doc xml:space="preserve" | |
| 2038 | 2299 | filename="gsk/gskglshader.c" | |
| 2039 | - | line="947">index of the uniform</doc> | |
| 2300 | + | line="1018">index of the uniform</doc> | |
| 2040 | 2301 | <type name="gint" c:type="int"/> | |
| 2041 | 2302 | </parameter> | |
| 2042 | 2303 | <parameter name="out_value" transfer-ownership="none"> | |
| 2043 | 2304 | <doc xml:space="preserve" | |
| 2044 | 2305 | filename="gsk/gskglshader.c" | |
| 2045 | - | line="948">location to store set the uniform value in</doc> | |
| 2306 | + | line="1019">location to store set the uniform value in</doc> | |
| 2046 | 2307 | <type name="Graphene.Vec4" c:type="graphene_vec4_t*"/> | |
| 2047 | 2308 | </parameter> | |
| 2048 | 2309 | </parameters> | |
| 2049 | 2310 | </method> | |
| 2050 | - | <method name="get_args_size" c:identifier="gsk_gl_shader_get_args_size"> | |
| 2311 | + | <method name="get_args_size" | |
| 2312 | + | c:identifier="gsk_gl_shader_get_args_size" | |
| 2313 | + | deprecated="1" | |
| 2314 | + | deprecated-version="4.16"> | |
| 2051 | 2315 | <doc xml:space="preserve" | |
| 2052 | 2316 | filename="gsk/gskglshader.c" | |
| 2053 | - | line="715">Get the size of the data block used to specify arguments for this shader.</doc> | |
| 2054 | - | <source-position filename="gsk/gskglshader.h" line="76"/> | |
| 2317 | + | line="758">Get the size of the data block used to specify arguments for this shader.</doc> | |
| 2318 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2319 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2320 | + | for OpenGL rendering.</doc-deprecated> | |
| 2321 | + | <source-position filename="gsk/gskglshader.h" line="80"/> | |
| 2055 | 2322 | <return-value transfer-ownership="none"> | |
| 2056 | 2323 | <doc xml:space="preserve" | |
| 2057 | 2324 | filename="gsk/gskglshader.c" | |
| 2058 | - | line="721">The size of the data block</doc> | |
| 2325 | + | line="764">The size of the data block</doc> | |
| 2059 | 2326 | <type name="gsize" c:type="gsize"/> | |
| 2060 | 2327 | </return-value> | |
| 2061 | 2328 | <parameters> | |
| 2062 | 2329 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 2063 | 2330 | <doc xml:space="preserve" | |
| 2064 | 2331 | filename="gsk/gskglshader.c" | |
| 2065 | - | line="717">a `GskGLShader`</doc> | |
| 2332 | + | line="760">a `GskGLShader`</doc> | |
| 2066 | 2333 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 2067 | 2334 | </instance-parameter> | |
| 2068 | 2335 | </parameters> | |
| 2069 | 2336 | </method> | |
| 2070 | 2337 | <method name="get_n_textures" | |
| 2071 | - | c:identifier="gsk_gl_shader_get_n_textures"> | |
| 2338 | + | c:identifier="gsk_gl_shader_get_n_textures" | |
| 2339 | + | deprecated="1" | |
| 2340 | + | deprecated-version="4.16"> | |
| 2072 | 2341 | <doc xml:space="preserve" | |
| 2073 | 2342 | filename="gsk/gskglshader.c" | |
| 2074 | - | line="588">Returns the number of textures that the shader requires. | |
| 2343 | + | line="607">Returns the number of textures that the shader requires. | |
| 2075 | 2344 | ||
| 2076 | 2345 | This can be used to check that the a passed shader works | |
| 2077 | 2346 | in your usecase. It is determined by looking at the highest | |
| 2078 | 2347 | u_textureN value that the shader defines.</doc> | |
| 2079 | - | <source-position filename="gsk/gskglshader.h" line="60"/> | |
| 2348 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2349 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2350 | + | for OpenGL rendering.</doc-deprecated> | |
| 2351 | + | <source-position filename="gsk/gskglshader.h" line="64"/> | |
| 2080 | 2352 | <return-value transfer-ownership="none"> | |
| 2081 | 2353 | <doc xml:space="preserve" | |
| 2082 | 2354 | filename="gsk/gskglshader.c" | |
| 2083 | - | line="598">The number of texture inputs required by @shader</doc> | |
| 2355 | + | line="617">The number of texture inputs required by @shader</doc> | |
| 2084 | 2356 | <type name="gint" c:type="int"/> | |
| 2085 | 2357 | </return-value> | |
| 2086 | 2358 | <parameters> | |
| 2087 | 2359 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 2088 | 2360 | <doc xml:space="preserve" | |
| 2089 | 2361 | filename="gsk/gskglshader.c" | |
| 2090 | - | line="590">a `GskGLShader`</doc> | |
| 2362 | + | line="609">a `GskGLShader`</doc> | |
| 2091 | 2363 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 2092 | 2364 | </instance-parameter> | |
| 2093 | 2365 | </parameters> | |
| 2094 | 2366 | </method> | |
| 2095 | 2367 | <method name="get_n_uniforms" | |
| 2096 | - | c:identifier="gsk_gl_shader_get_n_uniforms"> | |
| 2368 | + | c:identifier="gsk_gl_shader_get_n_uniforms" | |
| 2369 | + | deprecated="1" | |
| 2370 | + | deprecated-version="4.16"> | |
| 2097 | 2371 | <doc xml:space="preserve" | |
| 2098 | 2372 | filename="gsk/gskglshader.c" | |
| 2099 | - | line="608">Get the number of declared uniforms for this shader.</doc> | |
| 2100 | - | <source-position filename="gsk/gskglshader.h" line="62"/> | |
| 2373 | + | line="631">Get the number of declared uniforms for this shader.</doc> | |
| 2374 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2375 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2376 | + | for OpenGL rendering.</doc-deprecated> | |
| 2377 | + | <source-position filename="gsk/gskglshader.h" line="66"/> | |
| 2101 | 2378 | <return-value transfer-ownership="none"> | |
| 2102 | 2379 | <doc xml:space="preserve" | |
| 2103 | 2380 | filename="gsk/gskglshader.c" | |
| 2104 | - | line="614">The number of declared uniforms</doc> | |
| 2381 | + | line="637">The number of declared uniforms</doc> | |
| 2105 | 2382 | <type name="gint" c:type="int"/> | |
| 2106 | 2383 | </return-value> | |
| 2107 | 2384 | <parameters> | |
| 2108 | 2385 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 2109 | 2386 | <doc xml:space="preserve" | |
| 2110 | 2387 | filename="gsk/gskglshader.c" | |
| 2111 | - | line="610">a `GskGLShader`</doc> | |
| 2388 | + | line="633">a `GskGLShader`</doc> | |
| 2112 | 2389 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 2113 | 2390 | </instance-parameter> | |
| 2114 | 2391 | </parameters> | |
| 2115 | 2392 | </method> | |
| 2116 | 2393 | <method name="get_resource" | |
| 2117 | 2394 | c:identifier="gsk_gl_shader_get_resource" | |
| 2118 | - | glib:get-property="resource"> | |
| 2119 | - | <attribute name="org.gtk.Method.get_property" value="resource"/> | |
| 2395 | + | glib:get-property="resource" | |
| 2396 | + | deprecated="1" | |
| 2397 | + | deprecated-version="4.16"> | |
| 2120 | 2398 | <doc xml:space="preserve" | |
| 2121 | 2399 | filename="gsk/gskglshader.c" | |
| 2122 | - | line="571">Gets the resource path for the GLSL sourcecode being used | |
| 2400 | + | line="586">Gets the resource path for the GLSL sourcecode being used | |
| 2123 | 2401 | to render this shader.</doc> | |
| 2124 | - | <source-position filename="gsk/gskglshader.h" line="58"/> | |
| 2402 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2403 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2404 | + | for OpenGL rendering.</doc-deprecated> | |
| 2405 | + | <source-position filename="gsk/gskglshader.h" line="62"/> | |
| 2125 | 2406 | <return-value transfer-ownership="none" nullable="1"> | |
| 2126 | 2407 | <doc xml:space="preserve" | |
| 2127 | 2408 | filename="gsk/gskglshader.c" | |
| 2128 | - | line="578">The resource path for the shader</doc> | |
| 2409 | + | line="593">The resource path for the shader</doc> | |
| 2129 | 2410 | <type name="utf8" c:type="const char*"/> | |
| 2130 | 2411 | </return-value> | |
| 2131 | 2412 | <parameters> | |
| 2132 | 2413 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 2133 | 2414 | <doc xml:space="preserve" | |
| 2134 | 2415 | filename="gsk/gskglshader.c" | |
| 2135 | - | line="573">a `GskGLShader`</doc> | |
| 2416 | + | line="588">a `GskGLShader`</doc> | |
| 2136 | 2417 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 2137 | 2418 | </instance-parameter> | |
| 2138 | 2419 | </parameters> | |
| 2139 | 2420 | </method> | |
| 2140 | 2421 | <method name="get_source" | |
| 2141 | 2422 | c:identifier="gsk_gl_shader_get_source" | |
| 2142 | - | glib:get-property="source"> | |
| 2143 | - | <attribute name="org.gtk.Method.get_property" value="source"/> | |
| 2423 | + | glib:get-property="source" | |
| 2424 | + | deprecated="1" | |
| 2425 | + | deprecated-version="4.16"> | |
| 2144 | 2426 | <doc xml:space="preserve" | |
| 2145 | 2427 | filename="gsk/gskglshader.c" | |
| 2146 | - | line="555">Gets the GLSL sourcecode being used to render this shader.</doc> | |
| 2147 | - | <source-position filename="gsk/gskglshader.h" line="56"/> | |
| 2428 | + | line="566">Gets the GLSL sourcecode being used to render this shader.</doc> | |
| 2429 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2430 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2431 | + | for OpenGL rendering.</doc-deprecated> | |
| 2432 | + | <source-position filename="gsk/gskglshader.h" line="60"/> | |
| 2148 | 2433 | <return-value transfer-ownership="none"> | |
| 2149 | 2434 | <doc xml:space="preserve" | |
| 2150 | 2435 | filename="gsk/gskglshader.c" | |
| 2151 | - | line="561">The source code for the shader</doc> | |
| 2436 | + | line="572">The source code for the shader</doc> | |
| 2152 | 2437 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 2153 | 2438 | </return-value> | |
| 2154 | 2439 | <parameters> | |
| 2155 | 2440 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 2156 | 2441 | <doc xml:space="preserve" | |
| 2157 | 2442 | filename="gsk/gskglshader.c" | |
| 2158 | - | line="557">a `GskGLShader`</doc> | |
| 2443 | + | line="568">a `GskGLShader`</doc> | |
| 2159 | 2444 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 2160 | 2445 | </instance-parameter> | |
| 2161 | 2446 | </parameters> | |
| 2162 | 2447 | </method> | |
| 2163 | 2448 | <method name="get_uniform_name" | |
| 2164 | - | c:identifier="gsk_gl_shader_get_uniform_name"> | |
| 2449 | + | c:identifier="gsk_gl_shader_get_uniform_name" | |
| 2450 | + | deprecated="1" | |
| 2451 | + | deprecated-version="4.16"> | |
| 2165 | 2452 | <doc xml:space="preserve" | |
| 2166 | 2453 | filename="gsk/gskglshader.c" | |
| 2167 | - | line="624">Get the name of the declared uniform for this shader at index @idx.</doc> | |
| 2168 | - | <source-position filename="gsk/gskglshader.h" line="64"/> | |
| 2454 | + | line="651">Get the name of the declared uniform for this shader at index @idx.</doc> | |
| 2455 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2456 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2457 | + | for OpenGL rendering.</doc-deprecated> | |
| 2458 | + | <source-position filename="gsk/gskglshader.h" line="68"/> | |
| 2169 | 2459 | <return-value transfer-ownership="none"> | |
| 2170 | 2460 | <doc xml:space="preserve" | |
| 2171 | 2461 | filename="gsk/gskglshader.c" | |
| 2172 | - | line="631">The name of the declared uniform</doc> | |
| 2462 | + | line="658">The name of the declared uniform</doc> | |
| 2173 | 2463 | <type name="utf8" c:type="const char*"/> | |
| 2174 | 2464 | </return-value> | |
| 2175 | 2465 | <parameters> | |
| 2176 | 2466 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 2177 | 2467 | <doc xml:space="preserve" | |
| 2178 | 2468 | filename="gsk/gskglshader.c" | |
| 2179 | - | line="626">a `GskGLShader`</doc> | |
| 2469 | + | line="653">a `GskGLShader`</doc> | |
| 2180 | 2470 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 2181 | 2471 | </instance-parameter> | |
| 2182 | 2472 | <parameter name="idx" transfer-ownership="none"> | |
| 2183 | 2473 | <doc xml:space="preserve" | |
| 2184 | 2474 | filename="gsk/gskglshader.c" | |
| 2185 | - | line="627">index of the uniform</doc> | |
| 2475 | + | line="654">index of the uniform</doc> | |
| 2186 | 2476 | <type name="gint" c:type="int"/> | |
| 2187 | 2477 | </parameter> | |
| 2188 | 2478 | </parameters> | |
| 2189 | 2479 | </method> | |
| 2190 | 2480 | <method name="get_uniform_offset" | |
| 2191 | - | c:identifier="gsk_gl_shader_get_uniform_offset"> | |
| 2481 | + | c:identifier="gsk_gl_shader_get_uniform_offset" | |
| 2482 | + | deprecated="1" | |
| 2483 | + | deprecated-version="4.16"> | |
| 2192 | 2484 | <doc xml:space="preserve" | |
| 2193 | 2485 | filename="gsk/gskglshader.c" | |
| 2194 | - | line="688">Get the offset into the data block where data for this uniforms is stored.</doc> | |
| 2195 | - | <source-position filename="gsk/gskglshader.h" line="73"/> | |
| 2486 | + | line="727">Get the offset into the data block where data for this uniforms is stored.</doc> | |
| 2487 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2488 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2489 | + | for OpenGL rendering.</doc-deprecated> | |
| 2490 | + | <source-position filename="gsk/gskglshader.h" line="77"/> | |
| 2196 | 2491 | <return-value transfer-ownership="none"> | |
| 2197 | 2492 | <doc xml:space="preserve" | |
| 2198 | 2493 | filename="gsk/gskglshader.c" | |
| 2199 | - | line="695">The data offset</doc> | |
| 2494 | + | line="734">The data offset</doc> | |
| 2200 | 2495 | <type name="gint" c:type="int"/> | |
| 2201 | 2496 | </return-value> | |
| 2202 | 2497 | <parameters> | |
| 2203 | 2498 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 2204 | 2499 | <doc xml:space="preserve" | |
| 2205 | 2500 | filename="gsk/gskglshader.c" | |
| 2206 | - | line="690">a `GskGLShader`</doc> | |
| 2501 | + | line="729">a `GskGLShader`</doc> | |
| 2207 | 2502 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 2208 | 2503 | </instance-parameter> | |
| 2209 | 2504 | <parameter name="idx" transfer-ownership="none"> | |
| 2210 | 2505 | <doc xml:space="preserve" | |
| 2211 | 2506 | filename="gsk/gskglshader.c" | |
| 2212 | - | line="691">index of the uniform</doc> | |
| 2507 | + | line="730">index of the uniform</doc> | |
| 2213 | 2508 | <type name="gint" c:type="int"/> | |
| 2214 | 2509 | </parameter> | |
| 2215 | 2510 | </parameters> | |
| 2216 | 2511 | </method> | |
| 2217 | 2512 | <method name="get_uniform_type" | |
| 2218 | - | c:identifier="gsk_gl_shader_get_uniform_type"> | |
| 2513 | + | c:identifier="gsk_gl_shader_get_uniform_type" | |
| 2514 | + | deprecated="1" | |
| 2515 | + | deprecated-version="4.16"> | |
| 2219 | 2516 | <doc xml:space="preserve" | |
| 2220 | 2517 | filename="gsk/gskglshader.c" | |
| 2221 | - | line="669">Get the type of the declared uniform for this shader at index @idx.</doc> | |
| 2222 | - | <source-position filename="gsk/gskglshader.h" line="70"/> | |
| 2518 | + | line="704">Get the type of the declared uniform for this shader at index @idx.</doc> | |
| 2519 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2520 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2521 | + | for OpenGL rendering.</doc-deprecated> | |
| 2522 | + | <source-position filename="gsk/gskglshader.h" line="74"/> | |
| 2223 | 2523 | <return-value transfer-ownership="none"> | |
| 2224 | 2524 | <doc xml:space="preserve" | |
| 2225 | 2525 | filename="gsk/gskglshader.c" | |
| 2226 | - | line="676">The type of the declared uniform</doc> | |
| 2526 | + | line="711">The type of the declared uniform</doc> | |
| 2227 | 2527 | <type name="GLUniformType" c:type="GskGLUniformType"/> | |
| 2228 | 2528 | </return-value> | |
| 2229 | 2529 | <parameters> | |
| 2230 | 2530 | <instance-parameter name="shader" transfer-ownership="none"> | |
| 2231 | 2531 | <doc xml:space="preserve" | |
| 2232 | 2532 | filename="gsk/gskglshader.c" | |
| 2233 | - | line="671">a `GskGLShader`</doc> | |
| 2533 | + | line="706">a `GskGLShader`</doc> | |
| 2234 | 2534 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 2235 | 2535 | </instance-parameter> | |
| 2236 | 2536 | <parameter name="idx" transfer-ownership="none"> | |
| 2237 | 2537 | <doc xml:space="preserve" | |
| 2238 | 2538 | filename="gsk/gskglshader.c" | |
| 2239 | - | line="672">index of the uniform</doc> | |
| 2539 | + | line="707">index of the uniform</doc> | |
| 2240 | 2540 | <type name="gint" c:type="int"/> | |
| 2241 | 2541 | </parameter> | |
| 2242 | 2542 | </parameters> | |
| @@ -2245,12 +2545,11 @@ to render this shader.</doc> | |||
| 2245 | 2545 | writable="1" | |
| 2246 | 2546 | construct-only="1" | |
| 2247 | 2547 | transfer-ownership="none" | |
| 2248 | - | getter="get_resource"> | |
| 2249 | - | <attribute name="org.gtk.Property.get" | |
| 2250 | - | value="gsk_gl_shader_get_resource"/> | |
| 2548 | + | getter="get_resource" | |
| 2549 | + | default-value="NULL"> | |
| 2251 | 2550 | <doc xml:space="preserve" | |
| 2252 | 2551 | filename="gsk/gskglshader.c" | |
| 2253 | - | line="457">Resource containing the source code for the shader. | |
| 2552 | + | line="459">Resource containing the source code for the shader. | |
| 2254 | 2553 | ||
| 2255 | 2554 | If the shader source is not coming from a resource, this | |
| 2256 | 2555 | will be %NULL.</doc> | |
| @@ -2261,13 +2560,16 @@ will be %NULL.</doc> | |||
| 2261 | 2560 | construct-only="1" | |
| 2262 | 2561 | transfer-ownership="none" | |
| 2263 | 2562 | getter="get_source"> | |
| 2563 | + | <doc xml:space="preserve" | |
| 2564 | + | filename="gsk/gskglshader.c" | |
| 2565 | + | line="447">The source code for the shader, as a `GBytes`.</doc> | |
| 2264 | 2566 | <type name="GLib.Bytes"/> | |
| 2265 | 2567 | </property> | |
| 2266 | 2568 | </class> | |
| 2267 | 2569 | <record name="GLShaderClass" | |
| 2268 | 2570 | c:type="GskGLShaderClass" | |
| 2269 | 2571 | glib:is-gtype-struct-for="GLShader"> | |
| 2270 | - | <source-position filename="gsk/gskglshader.h" line="45"/> | |
| 2572 | + | <source-position filename="gsk/gskglshader.h" line="49"/> | |
| 2271 | 2573 | <field name="parent_class"> | |
| 2272 | 2574 | <type name="GObject.ObjectClass" c:type="GObjectClass"/> | |
| 2273 | 2575 | </field> | |
| @@ -2281,11 +2583,14 @@ will be %NULL.</doc> | |||
| 2281 | 2583 | glib:fundamental="1"> | |
| 2282 | 2584 | <doc xml:space="preserve" | |
| 2283 | 2585 | filename="gsk/gskrendernodeimpl.c" | |
| 2284 | - | line="5107">A render node using a GL shader when drawing its children nodes.</doc> | |
| 2285 | - | <constructor name="new" c:identifier="gsk_gl_shader_node_new"> | |
| 2586 | + | line="8299">A render node using a GL shader when drawing its children nodes.</doc> | |
| 2587 | + | <constructor name="new" | |
| 2588 | + | c:identifier="gsk_gl_shader_node_new" | |
| 2589 | + | deprecated="1" | |
| 2590 | + | deprecated-version="4.16"> | |
| 2286 | 2591 | <doc xml:space="preserve" | |
| 2287 | 2592 | filename="gsk/gskrendernodeimpl.c" | |
| 2288 | - | line="5174">Creates a `GskRenderNode` that will render the given @shader into the | |
| 2593 | + | line="8382">Creates a `GskRenderNode` that will render the given @shader into the | |
| 2289 | 2594 | area given by @bounds. | |
| 2290 | 2595 | ||
| 2291 | 2596 | The @args is a block of data to use for uniform input, as per types and | |
| @@ -2302,30 +2607,33 @@ If the renderer doesn't support GL shaders, or if there is any problem | |||
| 2302 | 2607 | when compiling the shader, then the node will draw pink. You should use | |
| 2303 | 2608 | [method@Gsk.GLShader.compile] to ensure the @shader will work for the | |
| 2304 | 2609 | renderer before using it.</doc> | |
| 2305 | - | <source-position filename="gsk/gskrendernode.h" line="522"/> | |
| 2610 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2611 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2612 | + | for OpenGL rendering.</doc-deprecated> | |
| 2613 | + | <source-position filename="gsk/gskrendernode.h" line="586"/> | |
| 2306 | 2614 | <return-value transfer-ownership="full"> | |
| 2307 | 2615 | <doc xml:space="preserve" | |
| 2308 | 2616 | filename="gsk/gskrendernodeimpl.c" | |
| 2309 | - | line="5202">A new `GskRenderNode`</doc> | |
| 2617 | + | line="8410">A new `GskRenderNode`</doc> | |
| 2310 | 2618 | <type name="GLShaderNode" c:type="GskRenderNode*"/> | |
| 2311 | 2619 | </return-value> | |
| 2312 | 2620 | <parameters> | |
| 2313 | 2621 | <parameter name="shader" transfer-ownership="none"> | |
| 2314 | 2622 | <doc xml:space="preserve" | |
| 2315 | 2623 | filename="gsk/gskrendernodeimpl.c" | |
| 2316 | - | line="5176">the `GskGLShader`</doc> | |
| 2624 | + | line="8384">the `GskGLShader`</doc> | |
| 2317 | 2625 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 2318 | 2626 | </parameter> | |
| 2319 | 2627 | <parameter name="bounds" transfer-ownership="none"> | |
| 2320 | 2628 | <doc xml:space="preserve" | |
| 2321 | 2629 | filename="gsk/gskrendernodeimpl.c" | |
| 2322 | - | line="5177">the rectangle to render the shader into</doc> | |
| 2630 | + | line="8385">the rectangle to render the shader into</doc> | |
| 2323 | 2631 | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 2324 | 2632 | </parameter> | |
| 2325 | 2633 | <parameter name="args" transfer-ownership="none"> | |
| 2326 | 2634 | <doc xml:space="preserve" | |
| 2327 | 2635 | filename="gsk/gskrendernodeimpl.c" | |
| 2328 | - | line="5178">Arguments for the uniforms</doc> | |
| 2636 | + | line="8386">Arguments for the uniforms</doc> | |
| 2329 | 2637 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 2330 | 2638 | </parameter> | |
| 2331 | 2639 | <parameter name="children" | |
| @@ -2334,7 +2642,7 @@ renderer before using it.</doc> | |||
| 2334 | 2642 | allow-none="1"> | |
| 2335 | 2643 | <doc xml:space="preserve" | |
| 2336 | 2644 | filename="gsk/gskrendernodeimpl.c" | |
| 2337 | - | line="5179">array of child nodes, | |
| 2645 | + | line="8387">array of child nodes, | |
| 2338 | 2646 | these will be rendered to textures and used as input.</doc> | |
| 2339 | 2647 | <array length="4" zero-terminated="0" c:type="GskRenderNode**"> | |
| 2340 | 2648 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| @@ -2343,75 +2651,92 @@ renderer before using it.</doc> | |||
| 2343 | 2651 | <parameter name="n_children" transfer-ownership="none"> | |
| 2344 | 2652 | <doc xml:space="preserve" | |
| 2345 | 2653 | filename="gsk/gskrendernodeimpl.c" | |
| 2346 | - | line="5181">Length of @children (currenly the GL backend supports | |
| 2654 | + | line="8389">Length of @children (currently the GL backend supports | |
| 2347 | 2655 | up to 4 children)</doc> | |
| 2348 | 2656 | <type name="guint" c:type="guint"/> | |
| 2349 | 2657 | </parameter> | |
| 2350 | 2658 | </parameters> | |
| 2351 | 2659 | </constructor> | |
| 2352 | - | <method name="get_args" c:identifier="gsk_gl_shader_node_get_args"> | |
| 2660 | + | <method name="get_args" | |
| 2661 | + | c:identifier="gsk_gl_shader_node_get_args" | |
| 2662 | + | deprecated="1" | |
| 2663 | + | deprecated-version="4.16"> | |
| 2353 | 2664 | <doc xml:space="preserve" | |
| 2354 | 2665 | filename="gsk/gskrendernodeimpl.c" | |
| 2355 | - | line="5294">Gets args for the node.</doc> | |
| 2356 | - | <source-position filename="gsk/gskrendernode.h" line="533"/> | |
| 2666 | + | line="8518">Gets args for the node.</doc> | |
| 2667 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2668 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2669 | + | for OpenGL rendering.</doc-deprecated> | |
| 2670 | + | <source-position filename="gsk/gskrendernode.h" line="597"/> | |
| 2357 | 2671 | <return-value transfer-ownership="none"> | |
| 2358 | 2672 | <doc xml:space="preserve" | |
| 2359 | 2673 | filename="gsk/gskrendernodeimpl.c" | |
| 2360 | - | line="5300">A `GBytes` with the uniform arguments</doc> | |
| 2674 | + | line="8524">A `GBytes` with the uniform arguments</doc> | |
| 2361 | 2675 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 2362 | 2676 | </return-value> | |
| 2363 | 2677 | <parameters> | |
| 2364 | 2678 | <instance-parameter name="node" transfer-ownership="none"> | |
| 2365 | 2679 | <doc xml:space="preserve" | |
| 2366 | 2680 | filename="gsk/gskrendernodeimpl.c" | |
| 2367 | - | line="5296">a `GskRenderNode` for a gl shader</doc> | |
| 2681 | + | line="8520">a `GskRenderNode` for a gl shader</doc> | |
| 2368 | 2682 | <type name="GLShaderNode" c:type="const GskRenderNode*"/> | |
| 2369 | 2683 | </instance-parameter> | |
| 2370 | 2684 | </parameters> | |
| 2371 | 2685 | </method> | |
| 2372 | - | <method name="get_child" c:identifier="gsk_gl_shader_node_get_child"> | |
| 2686 | + | <method name="get_child" | |
| 2687 | + | c:identifier="gsk_gl_shader_node_get_child" | |
| 2688 | + | deprecated="1" | |
| 2689 | + | deprecated-version="4.16"> | |
| 2373 | 2690 | <doc xml:space="preserve" | |
| 2374 | 2691 | filename="gsk/gskrendernodeimpl.c" | |
| 2375 | - | line="5260">Gets one of the children.</doc> | |
| 2376 | - | <source-position filename="gsk/gskrendernode.h" line="530"/> | |
| 2692 | + | line="8480">Gets one of the children.</doc> | |
| 2693 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2694 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2695 | + | for OpenGL rendering.</doc-deprecated> | |
| 2696 | + | <source-position filename="gsk/gskrendernode.h" line="594"/> | |
| 2377 | 2697 | <return-value transfer-ownership="none"> | |
| 2378 | 2698 | <doc xml:space="preserve" | |
| 2379 | 2699 | filename="gsk/gskrendernodeimpl.c" | |
| 2380 | - | line="5267">the @idx'th child of @node</doc> | |
| 2700 | + | line="8487">the @idx'th child of @node</doc> | |
| 2381 | 2701 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 2382 | 2702 | </return-value> | |
| 2383 | 2703 | <parameters> | |
| 2384 | 2704 | <instance-parameter name="node" transfer-ownership="none"> | |
| 2385 | 2705 | <doc xml:space="preserve" | |
| 2386 | 2706 | filename="gsk/gskrendernodeimpl.c" | |
| 2387 | - | line="5262">a `GskRenderNode` for a gl shader</doc> | |
| 2707 | + | line="8482">a `GskRenderNode` for a gl shader</doc> | |
| 2388 | 2708 | <type name="GLShaderNode" c:type="const GskRenderNode*"/> | |
| 2389 | 2709 | </instance-parameter> | |
| 2390 | 2710 | <parameter name="idx" transfer-ownership="none"> | |
| 2391 | 2711 | <doc xml:space="preserve" | |
| 2392 | 2712 | filename="gsk/gskrendernodeimpl.c" | |
| 2393 | - | line="5263">the position of the child to get</doc> | |
| 2713 | + | line="8483">the position of the child to get</doc> | |
| 2394 | 2714 | <type name="guint" c:type="guint"/> | |
| 2395 | 2715 | </parameter> | |
| 2396 | 2716 | </parameters> | |
| 2397 | 2717 | </method> | |
| 2398 | 2718 | <method name="get_n_children" | |
| 2399 | - | c:identifier="gsk_gl_shader_node_get_n_children"> | |
| 2719 | + | c:identifier="gsk_gl_shader_node_get_n_children" | |
| 2720 | + | deprecated="1" | |
| 2721 | + | deprecated-version="4.16"> | |
| 2400 | 2722 | <doc xml:space="preserve" | |
| 2401 | 2723 | filename="gsk/gskrendernodeimpl.c" | |
| 2402 | - | line="5244">Returns the number of children</doc> | |
| 2403 | - | <source-position filename="gsk/gskrendernode.h" line="528"/> | |
| 2724 | + | line="8460">Returns the number of children</doc> | |
| 2725 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 2726 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 2727 | + | for OpenGL rendering.</doc-deprecated> | |
| 2728 | + | <source-position filename="gsk/gskrendernode.h" line="592"/> | |
| 2404 | 2729 | <return-value transfer-ownership="none"> | |
| 2405 | 2730 | <doc xml:space="preserve" | |
| 2406 | 2731 | filename="gsk/gskrendernodeimpl.c" | |
| 2407 | - | line="5250">The number of children</doc> | |
| 2732 | + | line="8466">The number of children</doc> | |
| 2408 | 2733 | <type name="guint" c:type="guint"/> | |
| 2409 | 2734 | </return-value> | |
| 2410 | 2735 | <parameters> | |
| 2411 | 2736 | <instance-parameter name="node" transfer-ownership="none"> | |
| 2412 | 2737 | <doc xml:space="preserve" | |
| 2413 | 2738 | filename="gsk/gskrendernodeimpl.c" | |
| 2414 | - | line="5246">a `GskRenderNode` for a gl shader</doc> | |
| 2739 | + | line="8462">a `GskRenderNode` for a gl shader</doc> | |
| 2415 | 2740 | <type name="GLShaderNode" c:type="const GskRenderNode*"/> | |
| 2416 | 2741 | </instance-parameter> | |
| 2417 | 2742 | </parameters> | |
| @@ -2419,32 +2744,33 @@ renderer before using it.</doc> | |||
| 2419 | 2744 | <method name="get_shader" c:identifier="gsk_gl_shader_node_get_shader"> | |
| 2420 | 2745 | <doc xml:space="preserve" | |
| 2421 | 2746 | filename="gsk/gskrendernodeimpl.c" | |
| 2422 | - | line="5278">Gets shader code for the node.</doc> | |
| 2423 | - | <source-position filename="gsk/gskrendernode.h" line="535"/> | |
| 2747 | + | line="8502">Gets shader code for the node.</doc> | |
| 2748 | + | <source-position filename="gsk/gskrendernode.h" line="599"/> | |
| 2424 | 2749 | <return-value transfer-ownership="none"> | |
| 2425 | 2750 | <doc xml:space="preserve" | |
| 2426 | 2751 | filename="gsk/gskrendernodeimpl.c" | |
| 2427 | - | line="5284">the `GskGLShader` shader</doc> | |
| 2752 | + | line="8508">the `GskGLShader` shader</doc> | |
| 2428 | 2753 | <type name="GLShader" c:type="GskGLShader*"/> | |
| 2429 | 2754 | </return-value> | |
| 2430 | 2755 | <parameters> | |
| 2431 | 2756 | <instance-parameter name="node" transfer-ownership="none"> | |
| 2432 | 2757 | <doc xml:space="preserve" | |
| 2433 | 2758 | filename="gsk/gskrendernodeimpl.c" | |
| 2434 | - | line="5280">a `GskRenderNode` for a gl shader</doc> | |
| 2759 | + | line="8504">a `GskRenderNode` for a gl shader</doc> | |
| 2435 | 2760 | <type name="GLShaderNode" c:type="const GskRenderNode*"/> | |
| 2436 | 2761 | </instance-parameter> | |
| 2437 | 2762 | </parameters> | |
| 2438 | 2763 | </method> | |
| 2439 | 2764 | </class> | |
| 2440 | 2765 | <enumeration name="GLUniformType" | |
| 2766 | + | deprecated="1" | |
| 2767 | + | deprecated-version="4.16" | |
| 2441 | 2768 | glib:type-name="GskGLUniformType" | |
| 2442 | 2769 | glib:get-type="gsk_gl_uniform_type_get_type" | |
| 2443 | 2770 | c:type="GskGLUniformType"> | |
| 2444 | 2771 | <doc xml:space="preserve" | |
| 2445 | 2772 | filename="gsk/gskenums.h" | |
| 2446 | - | line="225">This defines the types of the uniforms that `GskGLShaders` | |
| 2447 | - | declare. | |
| 2773 | + | line="427">Defines the types of the uniforms that `GskGLShaders` declare. | |
| 2448 | 2774 | ||
| 2449 | 2775 | It defines both what the type is called in the GLSL shader | |
| 2450 | 2776 | code, and what the corresponding C type is on the Gtk side.</doc> | |
| @@ -2455,7 +2781,7 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2455 | 2781 | glib:name="GSK_GL_UNIFORM_TYPE_NONE"> | |
| 2456 | 2782 | <doc xml:space="preserve" | |
| 2457 | 2783 | filename="gsk/gskenums.h" | |
| 2458 | - | line="227">No type, used for uninitialized or unspecified values.</doc> | |
| 2784 | + | line="429">No type, used for uninitialized or unspecified values.</doc> | |
| 2459 | 2785 | </member> | |
| 2460 | 2786 | <member name="float" | |
| 2461 | 2787 | value="1" | |
| @@ -2464,7 +2790,7 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2464 | 2790 | glib:name="GSK_GL_UNIFORM_TYPE_FLOAT"> | |
| 2465 | 2791 | <doc xml:space="preserve" | |
| 2466 | 2792 | filename="gsk/gskenums.h" | |
| 2467 | - | line="228">A float uniform</doc> | |
| 2793 | + | line="430">A float uniform</doc> | |
| 2468 | 2794 | </member> | |
| 2469 | 2795 | <member name="int" | |
| 2470 | 2796 | value="2" | |
| @@ -2473,7 +2799,7 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2473 | 2799 | glib:name="GSK_GL_UNIFORM_TYPE_INT"> | |
| 2474 | 2800 | <doc xml:space="preserve" | |
| 2475 | 2801 | filename="gsk/gskenums.h" | |
| 2476 | - | line="229">A GLSL int / gint32 uniform</doc> | |
| 2802 | + | line="431">A GLSL int / gint32 uniform</doc> | |
| 2477 | 2803 | </member> | |
| 2478 | 2804 | <member name="uint" | |
| 2479 | 2805 | value="3" | |
| @@ -2482,7 +2808,7 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2482 | 2808 | glib:name="GSK_GL_UNIFORM_TYPE_UINT"> | |
| 2483 | 2809 | <doc xml:space="preserve" | |
| 2484 | 2810 | filename="gsk/gskenums.h" | |
| 2485 | - | line="230">A GLSL uint / guint32 uniform</doc> | |
| 2811 | + | line="432">A GLSL uint / guint32 uniform</doc> | |
| 2486 | 2812 | </member> | |
| 2487 | 2813 | <member name="bool" | |
| 2488 | 2814 | value="4" | |
| @@ -2491,7 +2817,7 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2491 | 2817 | glib:name="GSK_GL_UNIFORM_TYPE_BOOL"> | |
| 2492 | 2818 | <doc xml:space="preserve" | |
| 2493 | 2819 | filename="gsk/gskenums.h" | |
| 2494 | - | line="231">A GLSL bool / gboolean uniform</doc> | |
| 2820 | + | line="433">A GLSL bool / gboolean uniform</doc> | |
| 2495 | 2821 | </member> | |
| 2496 | 2822 | <member name="vec2" | |
| 2497 | 2823 | value="5" | |
| @@ -2500,7 +2826,7 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2500 | 2826 | glib:name="GSK_GL_UNIFORM_TYPE_VEC2"> | |
| 2501 | 2827 | <doc xml:space="preserve" | |
| 2502 | 2828 | filename="gsk/gskenums.h" | |
| 2503 | - | line="232">A GLSL vec2 / graphene_vec2_t uniform</doc> | |
| 2829 | + | line="434">A GLSL vec2 / graphene_vec2_t uniform</doc> | |
| 2504 | 2830 | </member> | |
| 2505 | 2831 | <member name="vec3" | |
| 2506 | 2832 | value="6" | |
| @@ -2509,7 +2835,7 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2509 | 2835 | glib:name="GSK_GL_UNIFORM_TYPE_VEC3"> | |
| 2510 | 2836 | <doc xml:space="preserve" | |
| 2511 | 2837 | filename="gsk/gskenums.h" | |
| 2512 | - | line="233">A GLSL vec3 / graphene_vec3_t uniform</doc> | |
| 2838 | + | line="435">A GLSL vec3 / graphene_vec3_t uniform</doc> | |
| 2513 | 2839 | </member> | |
| 2514 | 2840 | <member name="vec4" | |
| 2515 | 2841 | value="7" | |
| @@ -2518,13 +2844,13 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2518 | 2844 | glib:name="GSK_GL_UNIFORM_TYPE_VEC4"> | |
| 2519 | 2845 | <doc xml:space="preserve" | |
| 2520 | 2846 | filename="gsk/gskenums.h" | |
| 2521 | - | line="234">A GLSL vec4 / graphene_vec4_t uniform</doc> | |
| 2847 | + | line="436">A GLSL vec4 / graphene_vec4_t uniform</doc> | |
| 2522 | 2848 | </member> | |
| 2523 | 2849 | </enumeration> | |
| 2524 | 2850 | <function-macro name="GL_RENDERER" | |
| 2525 | 2851 | c:identifier="GSK_GL_RENDERER" | |
| 2526 | 2852 | introspectable="0"> | |
| 2527 | - | <source-position filename="gsk/gl/gskglrenderer.h" line="30"/> | |
| 2853 | + | <source-position filename="gsk/gpu/gskglrenderer.h" line="27"/> | |
| 2528 | 2854 | <parameters> | |
| 2529 | 2855 | <parameter name="obj"> | |
| 2530 | 2856 | </parameter> | |
| @@ -2533,7 +2859,7 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2533 | 2859 | <function-macro name="GL_RENDERER_CLASS" | |
| 2534 | 2860 | c:identifier="GSK_GL_RENDERER_CLASS" | |
| 2535 | 2861 | introspectable="0"> | |
| 2536 | - | <source-position filename="gsk/gl/gskglrenderer.h" line="32"/> | |
| 2862 | + | <source-position filename="gsk/gpu/gskglrenderer.h" line="29"/> | |
| 2537 | 2863 | <parameters> | |
| 2538 | 2864 | <parameter name="klass"> | |
| 2539 | 2865 | </parameter> | |
| @@ -2542,7 +2868,7 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2542 | 2868 | <function-macro name="GL_RENDERER_GET_CLASS" | |
| 2543 | 2869 | c:identifier="GSK_GL_RENDERER_GET_CLASS" | |
| 2544 | 2870 | introspectable="0"> | |
| 2545 | - | <source-position filename="gsk/gl/gskglrenderer.h" line="34"/> | |
| 2871 | + | <source-position filename="gsk/gpu/gskglrenderer.h" line="31"/> | |
| 2546 | 2872 | <parameters> | |
| 2547 | 2873 | <parameter name="obj"> | |
| 2548 | 2874 | </parameter> | |
| @@ -2552,7 +2878,7 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2552 | 2878 | c:identifier="GSK_IS_BROADWAY_RENDERER" | |
| 2553 | 2879 | introspectable="0"> | |
| 2554 | 2880 | <source-position filename="gsk/broadway/gskbroadwayrenderer.h" | |
| 2555 | - | line="33"/> | |
| 2881 | + | line="32"/> | |
| 2556 | 2882 | <parameters> | |
| 2557 | 2883 | <parameter name="obj"> | |
| 2558 | 2884 | </parameter> | |
| @@ -2562,7 +2888,7 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2562 | 2888 | c:identifier="GSK_IS_BROADWAY_RENDERER_CLASS" | |
| 2563 | 2889 | introspectable="0"> | |
| 2564 | 2890 | <source-position filename="gsk/broadway/gskbroadwayrenderer.h" | |
| 2565 | - | line="35"/> | |
| 2891 | + | line="34"/> | |
| 2566 | 2892 | <parameters> | |
| 2567 | 2893 | <parameter name="klass"> | |
| 2568 | 2894 | </parameter> | |
| @@ -2571,7 +2897,7 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2571 | 2897 | <function-macro name="IS_CAIRO_RENDERER" | |
| 2572 | 2898 | c:identifier="GSK_IS_CAIRO_RENDERER" | |
| 2573 | 2899 | introspectable="0"> | |
| 2574 | - | <source-position filename="gsk/gskcairorenderer.h" line="32"/> | |
| 2900 | + | <source-position filename="gsk/gskcairorenderer.h" line="35"/> | |
| 2575 | 2901 | <parameters> | |
| 2576 | 2902 | <parameter name="obj"> | |
| 2577 | 2903 | </parameter> | |
| @@ -2580,7 +2906,7 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2580 | 2906 | <function-macro name="IS_CAIRO_RENDERER_CLASS" | |
| 2581 | 2907 | c:identifier="GSK_IS_CAIRO_RENDERER_CLASS" | |
| 2582 | 2908 | introspectable="0"> | |
| 2583 | - | <source-position filename="gsk/gskcairorenderer.h" line="34"/> | |
| 2909 | + | <source-position filename="gsk/gskcairorenderer.h" line="37"/> | |
| 2584 | 2910 | <parameters> | |
| 2585 | 2911 | <parameter name="klass"> | |
| 2586 | 2912 | </parameter> | |
| @@ -2589,7 +2915,7 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2589 | 2915 | <function-macro name="IS_GL_RENDERER" | |
| 2590 | 2916 | c:identifier="GSK_IS_GL_RENDERER" | |
| 2591 | 2917 | introspectable="0"> | |
| 2592 | - | <source-position filename="gsk/gl/gskglrenderer.h" line="31"/> | |
| 2918 | + | <source-position filename="gsk/gpu/gskglrenderer.h" line="28"/> | |
| 2593 | 2919 | <parameters> | |
| 2594 | 2920 | <parameter name="obj"> | |
| 2595 | 2921 | </parameter> | |
| @@ -2598,7 +2924,7 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2598 | 2924 | <function-macro name="IS_GL_RENDERER_CLASS" | |
| 2599 | 2925 | c:identifier="GSK_IS_GL_RENDERER_CLASS" | |
| 2600 | 2926 | introspectable="0"> | |
| 2601 | - | <source-position filename="gsk/gl/gskglrenderer.h" line="33"/> | |
| 2927 | + | <source-position filename="gsk/gpu/gskglrenderer.h" line="30"/> | |
| 2602 | 2928 | <parameters> | |
| 2603 | 2929 | <parameter name="klass"> | |
| 2604 | 2930 | </parameter> | |
| @@ -2607,7 +2933,7 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2607 | 2933 | <function-macro name="IS_RENDERER" | |
| 2608 | 2934 | c:identifier="GSK_IS_RENDERER" | |
| 2609 | 2935 | introspectable="0"> | |
| 2610 | - | <source-position filename="gsk/gskrenderer.h" line="34"/> | |
| 2936 | + | <source-position filename="gsk/gskrenderer.h" line="33"/> | |
| 2611 | 2937 | <parameters> | |
| 2612 | 2938 | <parameter name="obj"> | |
| 2613 | 2939 | </parameter> | |
| @@ -2616,12 +2942,30 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2616 | 2942 | <function-macro name="IS_RENDER_NODE" | |
| 2617 | 2943 | c:identifier="GSK_IS_RENDER_NODE" | |
| 2618 | 2944 | introspectable="0"> | |
| 2619 | - | <source-position filename="gsk/gskrendernode.h" line="35"/> | |
| 2945 | + | <source-position filename="gsk/gskrendernode.h" line="34"/> | |
| 2946 | + | <parameters> | |
| 2947 | + | <parameter name="obj"> | |
| 2948 | + | </parameter> | |
| 2949 | + | </parameters> | |
| 2950 | + | </function-macro> | |
| 2951 | + | <function-macro name="IS_VULKAN_RENDERER" | |
| 2952 | + | c:identifier="GSK_IS_VULKAN_RENDERER" | |
| 2953 | + | introspectable="0"> | |
| 2954 | + | <source-position filename="gsk/gpu/gskvulkanrenderer.h" line="28"/> | |
| 2620 | 2955 | <parameters> | |
| 2621 | 2956 | <parameter name="obj"> | |
| 2622 | 2957 | </parameter> | |
| 2623 | 2958 | </parameters> | |
| 2624 | 2959 | </function-macro> | |
| 2960 | + | <function-macro name="IS_VULKAN_RENDERER_CLASS" | |
| 2961 | + | c:identifier="GSK_IS_VULKAN_RENDERER_CLASS" | |
| 2962 | + | introspectable="0"> | |
| 2963 | + | <source-position filename="gsk/gpu/gskvulkanrenderer.h" line="30"/> | |
| 2964 | + | <parameters> | |
| 2965 | + | <parameter name="klass"> | |
| 2966 | + | </parameter> | |
| 2967 | + | </parameters> | |
| 2968 | + | </function-macro> | |
| 2625 | 2969 | <class name="InsetShadowNode" | |
| 2626 | 2970 | c:symbol-prefix="inset_shadow_node" | |
| 2627 | 2971 | c:type="GskInsetShadowNode" | |
| @@ -2631,54 +2975,54 @@ code, and what the corresponding C type is on the Gtk side.</doc> | |||
| 2631 | 2975 | glib:fundamental="1"> | |
| 2632 | 2976 | <doc xml:space="preserve" | |
| 2633 | 2977 | filename="gsk/gskrendernodeimpl.c" | |
| 2634 | - | line="1581">A render node for an inset shadow.</doc> | |
| 2978 | + | line="3146">A render node for an inset shadow.</doc> | |
| 2635 | 2979 | <constructor name="new" c:identifier="gsk_inset_shadow_node_new"> | |
| 2636 | 2980 | <doc xml:space="preserve" | |
| 2637 | 2981 | filename="gsk/gskrendernodeimpl.c" | |
| 2638 | - | line="1995">Creates a `GskRenderNode` that will render an inset shadow | |
| 2982 | + | line="3585">Creates a `GskRenderNode` that will render an inset shadow | |
| 2639 | 2983 | into the box given by @outline.</doc> | |
| 2640 | - | <source-position filename="gsk/gskrendernode.h" line="322"/> | |
| 2984 | + | <source-position filename="gsk/gskrendernode.h" line="345"/> | |
| 2641 | 2985 | <return-value transfer-ownership="full"> | |
| 2642 | 2986 | <doc xml:space="preserve" | |
| 2643 | 2987 | filename="gsk/gskrendernodeimpl.c" | |
| 2644 | - | line="2007">A new `GskRenderNode`</doc> | |
| 2988 | + | line="3597">A new `GskRenderNode`</doc> | |
| 2645 | 2989 | <type name="InsetShadowNode" c:type="GskRenderNode*"/> | |
| 2646 | 2990 | </return-value> | |
| 2647 | 2991 | <parameters> | |
| 2648 | 2992 | <parameter name="outline" transfer-ownership="none"> | |
| 2649 | 2993 | <doc xml:space="preserve" | |
| 2650 | 2994 | filename="gsk/gskrendernodeimpl.c" | |
| 2651 | - | line="1997">outline of the region containing the shadow</doc> | |
| 2995 | + | line="3587">outline of the region containing the shadow</doc> | |
| 2652 | 2996 | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 2653 | 2997 | </parameter> | |
| 2654 | 2998 | <parameter name="color" transfer-ownership="none"> | |
| 2655 | 2999 | <doc xml:space="preserve" | |
| 2656 | 3000 | filename="gsk/gskrendernodeimpl.c" | |
| 2657 | - | line="1998">color of the shadow</doc> | |
| 3001 | + | line="3588">color of the shadow</doc> | |
| 2658 | 3002 | <type name="Gdk.RGBA" c:type="const GdkRGBA*"/> | |
| 2659 | 3003 | </parameter> | |
| 2660 | 3004 | <parameter name="dx" transfer-ownership="none"> | |
| 2661 | 3005 | <doc xml:space="preserve" | |
| 2662 | 3006 | filename="gsk/gskrendernodeimpl.c" | |
| 2663 | - | line="1999">horizontal offset of shadow</doc> | |
| 3007 | + | line="3589">horizontal offset of shadow</doc> | |
| 2664 | 3008 | <type name="gfloat" c:type="float"/> | |
| 2665 | 3009 | </parameter> | |
| 2666 | 3010 | <parameter name="dy" transfer-ownership="none"> | |
| 2667 | 3011 | <doc xml:space="preserve" | |
| 2668 | 3012 | filename="gsk/gskrendernodeimpl.c" | |
| 2669 | - | line="2000">vertical offset of shadow</doc> | |
| 3013 | + | line="3590">vertical offset of shadow</doc> | |
| 2670 | 3014 | <type name="gfloat" c:type="float"/> | |
| 2671 | 3015 | </parameter> | |
| 2672 | 3016 | <parameter name="spread" transfer-ownership="none"> | |
| 2673 | 3017 | <doc xml:space="preserve" | |
| 2674 | 3018 | filename="gsk/gskrendernodeimpl.c" | |
| 2675 | - | line="2001">how far the shadow spreads towards the inside</doc> | |
| 3019 | + | line="3591">how far the shadow spreads towards the inside</doc> | |
| 2676 | 3020 | <type name="gfloat" c:type="float"/> | |
| 2677 | 3021 | </parameter> | |
| 2678 | 3022 | <parameter name="blur_radius" transfer-ownership="none"> | |
| 2679 | 3023 | <doc xml:space="preserve" | |
| 2680 | 3024 | filename="gsk/gskrendernodeimpl.c" | |
| 2681 | - | line="2002">how much blur to apply to the shadow</doc> | |
| 3025 | + | line="3592">how much blur to apply to the shadow</doc> | |
| 2682 | 3026 | <type name="gfloat" c:type="float"/> | |
| 2683 | 3027 | </parameter> | |
| 2684 | 3028 | </parameters> | |
| @@ -2687,19 +3031,19 @@ into the box given by @outline.</doc> | |||
| 2687 | 3031 | c:identifier="gsk_inset_shadow_node_get_blur_radius"> | |
| 2688 | 3032 | <doc xml:space="preserve" | |
| 2689 | 3033 | filename="gsk/gskrendernodeimpl.c" | |
| 2690 | - | line="2119">Retrieves the blur radius to apply to the shadow.</doc> | |
| 2691 | - | <source-position filename="gsk/gskrendernode.h" line="339"/> | |
| 3034 | + | line="3780">Retrieves the blur radius to apply to the shadow.</doc> | |
| 3035 | + | <source-position filename="gsk/gskrendernode.h" line="362"/> | |
| 2692 | 3036 | <return-value transfer-ownership="none"> | |
| 2693 | 3037 | <doc xml:space="preserve" | |
| 2694 | 3038 | filename="gsk/gskrendernodeimpl.c" | |
| 2695 | - | line="2125">the blur radius, in pixels</doc> | |
| 3039 | + | line="3786">the blur radius, in pixels</doc> | |
| 2696 | 3040 | <type name="gfloat" c:type="float"/> | |
| 2697 | 3041 | </return-value> | |
| 2698 | 3042 | <parameters> | |
| 2699 | 3043 | <instance-parameter name="node" transfer-ownership="none"> | |
| 2700 | 3044 | <doc xml:space="preserve" | |
| 2701 | 3045 | filename="gsk/gskrendernodeimpl.c" | |
| 2702 | - | line="2121">a `GskRenderNode` for an inset shadow</doc> | |
| 3046 | + | line="3782">a `GskRenderNode` for an inset shadow</doc> | |
| 2703 | 3047 | <type name="InsetShadowNode" c:type="const GskRenderNode*"/> | |
| 2704 | 3048 | </instance-parameter> | |
| 2705 | 3049 | </parameters> | |
| @@ -2707,19 +3051,22 @@ into the box given by @outline.</doc> | |||
| 2707 | 3051 | <method name="get_color" c:identifier="gsk_inset_shadow_node_get_color"> | |
| 2708 | 3052 | <doc xml:space="preserve" | |
| 2709 | 3053 | filename="gsk/gskrendernodeimpl.c" | |
| 2710 | - | line="2055">Retrieves the color of the inset shadow.</doc> | |
| 2711 | - | <source-position filename="gsk/gskrendernode.h" line="331"/> | |
| 3054 | + | line="3680">Retrieves the color of the inset shadow. | |
| 3055 | + | ||
| 3056 | + | The value returned by this function will not be correct | |
| 3057 | + | if the render node was created for a non-sRGB color.</doc> | |
| 3058 | + | <source-position filename="gsk/gskrendernode.h" line="354"/> | |
| 2712 | 3059 | <return-value transfer-ownership="none"> | |
| 2713 | 3060 | <doc xml:space="preserve" | |
| 2714 | 3061 | filename="gsk/gskrendernodeimpl.c" | |
| 2715 | - | line="2061">the color of the shadow</doc> | |
| 3062 | + | line="3689">the color of the shadow</doc> | |
| 2716 | 3063 | <type name="Gdk.RGBA" c:type="const GdkRGBA*"/> | |
| 2717 | 3064 | </return-value> | |
| 2718 | 3065 | <parameters> | |
| 2719 | 3066 | <instance-parameter name="node" transfer-ownership="none"> | |
| 2720 | 3067 | <doc xml:space="preserve" | |
| 2721 | 3068 | filename="gsk/gskrendernodeimpl.c" | |
| 2722 | - | line="2057">a `GskRenderNode` for an inset shadow</doc> | |
| 3069 | + | line="3682">a `GskRenderNode` for an inset shadow</doc> | |
| 2723 | 3070 | <type name="InsetShadowNode" c:type="const GskRenderNode*"/> | |
| 2724 | 3071 | </instance-parameter> | |
| 2725 | 3072 | </parameters> | |
| @@ -2727,19 +3074,19 @@ into the box given by @outline.</doc> | |||
| 2727 | 3074 | <method name="get_dx" c:identifier="gsk_inset_shadow_node_get_dx"> | |
| 2728 | 3075 | <doc xml:space="preserve" | |
| 2729 | 3076 | filename="gsk/gskrendernodeimpl.c" | |
| 2730 | - | line="2071">Retrieves the horizontal offset of the inset shadow.</doc> | |
| 2731 | - | <source-position filename="gsk/gskrendernode.h" line="333"/> | |
| 3077 | + | line="3716">Retrieves the horizontal offset of the inset shadow.</doc> | |
| 3078 | + | <source-position filename="gsk/gskrendernode.h" line="356"/> | |
| 2732 | 3079 | <return-value transfer-ownership="none"> | |
| 2733 | 3080 | <doc xml:space="preserve" | |
| 2734 | 3081 | filename="gsk/gskrendernodeimpl.c" | |
| 2735 | - | line="2077">an offset, in pixels</doc> | |
| 3082 | + | line="3722">an offset, in pixels</doc> | |
| 2736 | 3083 | <type name="gfloat" c:type="float"/> | |
| 2737 | 3084 | </return-value> | |
| 2738 | 3085 | <parameters> | |
| 2739 | 3086 | <instance-parameter name="node" transfer-ownership="none"> | |
| 2740 | 3087 | <doc xml:space="preserve" | |
| 2741 | 3088 | filename="gsk/gskrendernodeimpl.c" | |
| 2742 | - | line="2073">a `GskRenderNode` for an inset shadow</doc> | |
| 3089 | + | line="3718">a `GskRenderNode` for an inset shadow</doc> | |
| 2743 | 3090 | <type name="InsetShadowNode" c:type="const GskRenderNode*"/> | |
| 2744 | 3091 | </instance-parameter> | |
| 2745 | 3092 | </parameters> | |
| @@ -2747,19 +3094,19 @@ into the box given by @outline.</doc> | |||
| 2747 | 3094 | <method name="get_dy" c:identifier="gsk_inset_shadow_node_get_dy"> | |
| 2748 | 3095 | <doc xml:space="preserve" | |
| 2749 | 3096 | filename="gsk/gskrendernodeimpl.c" | |
| 2750 | - | line="2087">Retrieves the vertical offset of the inset shadow.</doc> | |
| 2751 | - | <source-position filename="gsk/gskrendernode.h" line="335"/> | |
| 3097 | + | line="3732">Retrieves the vertical offset of the inset shadow.</doc> | |
| 3098 | + | <source-position filename="gsk/gskrendernode.h" line="358"/> | |
| 2752 | 3099 | <return-value transfer-ownership="none"> | |
| 2753 | 3100 | <doc xml:space="preserve" | |
| 2754 | 3101 | filename="gsk/gskrendernodeimpl.c" | |
| 2755 | - | line="2093">an offset, in pixels</doc> | |
| 3102 | + | line="3738">an offset, in pixels</doc> | |
| 2756 | 3103 | <type name="gfloat" c:type="float"/> | |
| 2757 | 3104 | </return-value> | |
| 2758 | 3105 | <parameters> | |
| 2759 | 3106 | <instance-parameter name="node" transfer-ownership="none"> | |
| 2760 | 3107 | <doc xml:space="preserve" | |
| 2761 | 3108 | filename="gsk/gskrendernodeimpl.c" | |
| 2762 | - | line="2089">a `GskRenderNode` for an inset shadow</doc> | |
| 3109 | + | line="3734">a `GskRenderNode` for an inset shadow</doc> | |
| 2763 | 3110 | <type name="InsetShadowNode" c:type="const GskRenderNode*"/> | |
| 2764 | 3111 | </instance-parameter> | |
| 2765 | 3112 | </parameters> | |
| @@ -2768,19 +3115,19 @@ into the box given by @outline.</doc> | |||
| 2768 | 3115 | c:identifier="gsk_inset_shadow_node_get_outline"> | |
| 2769 | 3116 | <doc xml:space="preserve" | |
| 2770 | 3117 | filename="gsk/gskrendernodeimpl.c" | |
| 2771 | - | line="2039">Retrieves the outline rectangle of the inset shadow.</doc> | |
| 2772 | - | <source-position filename="gsk/gskrendernode.h" line="329"/> | |
| 3118 | + | line="3664">Retrieves the outline rectangle of the inset shadow.</doc> | |
| 3119 | + | <source-position filename="gsk/gskrendernode.h" line="352"/> | |
| 2773 | 3120 | <return-value transfer-ownership="none"> | |
| 2774 | 3121 | <doc xml:space="preserve" | |
| 2775 | 3122 | filename="gsk/gskrendernodeimpl.c" | |
| 2776 | - | line="2045">a rounded rectangle</doc> | |
| 3123 | + | line="3670">a rounded rectangle</doc> | |
| 2777 | 3124 | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 2778 | 3125 | </return-value> | |
| 2779 | 3126 | <parameters> | |
| 2780 | 3127 | <instance-parameter name="node" transfer-ownership="none"> | |
| 2781 | 3128 | <doc xml:space="preserve" | |
| 2782 | 3129 | filename="gsk/gskrendernodeimpl.c" | |
| 2783 | - | line="2041">a `GskRenderNode` for an inset shadow</doc> | |
| 3130 | + | line="3666">a `GskRenderNode` for an inset shadow</doc> | |
| 2784 | 3131 | <type name="InsetShadowNode" c:type="const GskRenderNode*"/> | |
| 2785 | 3132 | </instance-parameter> | |
| 2786 | 3133 | </parameters> | |
| @@ -2789,24 +3136,126 @@ into the box given by @outline.</doc> | |||
| 2789 | 3136 | c:identifier="gsk_inset_shadow_node_get_spread"> | |
| 2790 | 3137 | <doc xml:space="preserve" | |
| 2791 | 3138 | filename="gsk/gskrendernodeimpl.c" | |
| 2792 | - | line="2103">Retrieves how much the shadow spreads inwards.</doc> | |
| 2793 | - | <source-position filename="gsk/gskrendernode.h" line="337"/> | |
| 3139 | + | line="3764">Retrieves how much the shadow spreads inwards.</doc> | |
| 3140 | + | <source-position filename="gsk/gskrendernode.h" line="360"/> | |
| 2794 | 3141 | <return-value transfer-ownership="none"> | |
| 2795 | 3142 | <doc xml:space="preserve" | |
| 2796 | 3143 | filename="gsk/gskrendernodeimpl.c" | |
| 2797 | - | line="2109">the size of the shadow, in pixels</doc> | |
| 3144 | + | line="3770">the size of the shadow, in pixels</doc> | |
| 2798 | 3145 | <type name="gfloat" c:type="float"/> | |
| 2799 | 3146 | </return-value> | |
| 2800 | 3147 | <parameters> | |
| 2801 | 3148 | <instance-parameter name="node" transfer-ownership="none"> | |
| 2802 | 3149 | <doc xml:space="preserve" | |
| 2803 | 3150 | filename="gsk/gskrendernodeimpl.c" | |
| 2804 | - | line="2105">a `GskRenderNode` for an inset shadow</doc> | |
| 3151 | + | line="3766">a `GskRenderNode` for an inset shadow</doc> | |
| 2805 | 3152 | <type name="InsetShadowNode" c:type="const GskRenderNode*"/> | |
| 2806 | 3153 | </instance-parameter> | |
| 2807 | 3154 | </parameters> | |
| 2808 | 3155 | </method> | |
| 2809 | 3156 | </class> | |
| 3157 | + | <enumeration name="LineCap" | |
| 3158 | + | version="4.14" | |
| 3159 | + | glib:type-name="GskLineCap" | |
| 3160 | + | glib:get-type="gsk_line_cap_get_type" | |
| 3161 | + | c:type="GskLineCap"> | |
| 3162 | + | <doc xml:space="preserve" | |
| 3163 | + | filename="gsk/gskenums.h" | |
| 3164 | + | line="247">Specifies how to render the start and end points of contours or | |
| 3165 | + | dashes when stroking. | |
| 3166 | + | ||
| 3167 | + | The default line cap style is `GSK_LINE_CAP_BUTT`. | |
| 3168 | + | ||
| 3169 | + | New entries may be added in future versions. | |
| 3170 | + | ||
| 3171 | + | <figure> | |
| 3172 | + | <picture> | |
| 3173 | + | <source srcset="caps-dark.png" media="(prefers-color-scheme: dark)"> | |
| 3174 | + | <img alt="Line Cap Styles" src="caps-light.png"> | |
| 3175 | + | </picture> | |
| 3176 | + | <figcaption>GSK_LINE_CAP_BUTT, GSK_LINE_CAP_ROUND, GSK_LINE_CAP_SQUARE</figcaption> | |
| 3177 | + | </figure></doc> | |
| 3178 | + | <member name="butt" | |
| 3179 | + | value="0" | |
| 3180 | + | c:identifier="GSK_LINE_CAP_BUTT" | |
| 3181 | + | glib:nick="butt" | |
| 3182 | + | glib:name="GSK_LINE_CAP_BUTT"> | |
| 3183 | + | <doc xml:space="preserve" | |
| 3184 | + | filename="gsk/gskenums.h" | |
| 3185 | + | line="249">Start and stop the line exactly at the start | |
| 3186 | + | and end point</doc> | |
| 3187 | + | </member> | |
| 3188 | + | <member name="round" | |
| 3189 | + | value="1" | |
| 3190 | + | c:identifier="GSK_LINE_CAP_ROUND" | |
| 3191 | + | glib:nick="round" | |
| 3192 | + | glib:name="GSK_LINE_CAP_ROUND"> | |
| 3193 | + | <doc xml:space="preserve" | |
| 3194 | + | filename="gsk/gskenums.h" | |
| 3195 | + | line="251">Use a round ending, the center of the circle | |
| 3196 | + | is the start or end point</doc> | |
| 3197 | + | </member> | |
| 3198 | + | <member name="square" | |
| 3199 | + | value="2" | |
| 3200 | + | c:identifier="GSK_LINE_CAP_SQUARE" | |
| 3201 | + | glib:nick="square" | |
| 3202 | + | glib:name="GSK_LINE_CAP_SQUARE"> | |
| 3203 | + | <doc xml:space="preserve" | |
| 3204 | + | filename="gsk/gskenums.h" | |
| 3205 | + | line="253">use squared ending, the center of the square | |
| 3206 | + | is the start or end point</doc> | |
| 3207 | + | </member> | |
| 3208 | + | </enumeration> | |
| 3209 | + | <enumeration name="LineJoin" | |
| 3210 | + | version="4.14" | |
| 3211 | + | glib:type-name="GskLineJoin" | |
| 3212 | + | glib:get-type="gsk_line_join_get_type" | |
| 3213 | + | c:type="GskLineJoin"> | |
| 3214 | + | <doc xml:space="preserve" | |
| 3215 | + | filename="gsk/gskenums.h" | |
| 3216 | + | line="279">Specifies how to render the junction of two lines when stroking. | |
| 3217 | + | ||
| 3218 | + | The default line join style is `GSK_LINE_JOIN_MITER`. | |
| 3219 | + | ||
| 3220 | + | New entries may be added in future versions. | |
| 3221 | + | ||
| 3222 | + | <figure> | |
| 3223 | + | <picture> | |
| 3224 | + | <source srcset="join-dark.png" media="(prefers-color-scheme: dark)"> | |
| 3225 | + | <img alt="Line Join Styles" src="join-light.png"> | |
| 3226 | + | </picture> | |
| 3227 | + | <figcaption>GSK_LINE_JOINT_MITER, GSK_LINE_JOINT_ROUND, GSK_LINE_JOIN_BEVEL</figcaption> | |
| 3228 | + | </figure></doc> | |
| 3229 | + | <member name="miter" | |
| 3230 | + | value="0" | |
| 3231 | + | c:identifier="GSK_LINE_JOIN_MITER" | |
| 3232 | + | glib:nick="miter" | |
| 3233 | + | glib:name="GSK_LINE_JOIN_MITER"> | |
| 3234 | + | <doc xml:space="preserve" | |
| 3235 | + | filename="gsk/gskenums.h" | |
| 3236 | + | line="281">Use a sharp angled corner</doc> | |
| 3237 | + | </member> | |
| 3238 | + | <member name="round" | |
| 3239 | + | value="1" | |
| 3240 | + | c:identifier="GSK_LINE_JOIN_ROUND" | |
| 3241 | + | glib:nick="round" | |
| 3242 | + | glib:name="GSK_LINE_JOIN_ROUND"> | |
| 3243 | + | <doc xml:space="preserve" | |
| 3244 | + | filename="gsk/gskenums.h" | |
| 3245 | + | line="282">Use a round join, the center of the circle is | |
| 3246 | + | the join point</doc> | |
| 3247 | + | </member> | |
| 3248 | + | <member name="bevel" | |
| 3249 | + | value="2" | |
| 3250 | + | c:identifier="GSK_LINE_JOIN_BEVEL" | |
| 3251 | + | glib:nick="bevel" | |
| 3252 | + | glib:name="GSK_LINE_JOIN_BEVEL"> | |
| 3253 | + | <doc xml:space="preserve" | |
| 3254 | + | filename="gsk/gskenums.h" | |
| 3255 | + | line="284">use a cut-off join, the join is cut off at half | |
| 3256 | + | the line width from the joint point</doc> | |
| 3257 | + | </member> | |
| 3258 | + | </enumeration> | |
| 2810 | 3259 | <class name="LinearGradientNode" | |
| 2811 | 3260 | c:symbol-prefix="linear_gradient_node" | |
| 2812 | 3261 | c:type="GskLinearGradientNode" | |
| @@ -2816,42 +3265,42 @@ into the box given by @outline.</doc> | |||
| 2816 | 3265 | glib:fundamental="1"> | |
| 2817 | 3266 | <doc xml:space="preserve" | |
| 2818 | 3267 | filename="gsk/gskrendernodeimpl.c" | |
| 2819 | - | line="158">A render node for a linear gradient.</doc> | |
| 3268 | + | line="324">A render node for a linear gradient.</doc> | |
| 2820 | 3269 | <constructor name="new" c:identifier="gsk_linear_gradient_node_new"> | |
| 2821 | 3270 | <doc xml:space="preserve" | |
| 2822 | 3271 | filename="gsk/gskrendernodeimpl.c" | |
| 2823 | - | line="249">Creates a `GskRenderNode` that will create a linear gradient from the given | |
| 3272 | + | line="619">Creates a `GskRenderNode` that will create a linear gradient from the given | |
| 2824 | 3273 | points and color stops, and render that into the area given by @bounds.</doc> | |
| 2825 | - | <source-position filename="gsk/gskrendernode.h" line="223"/> | |
| 3274 | + | <source-position filename="gsk/gskrendernode.h" line="246"/> | |
| 2826 | 3275 | <return-value transfer-ownership="full"> | |
| 2827 | 3276 | <doc xml:space="preserve" | |
| 2828 | 3277 | filename="gsk/gskrendernodeimpl.c" | |
| 2829 | - | line="263">A new `GskRenderNode`</doc> | |
| 3278 | + | line="633">A new `GskRenderNode`</doc> | |
| 2830 | 3279 | <type name="LinearGradientNode" c:type="GskRenderNode*"/> | |
| 2831 | 3280 | </return-value> | |
| 2832 | 3281 | <parameters> | |
| 2833 | 3282 | <parameter name="bounds" transfer-ownership="none"> | |
| 2834 | 3283 | <doc xml:space="preserve" | |
| 2835 | 3284 | filename="gsk/gskrendernodeimpl.c" | |
| 2836 | - | line="251">the rectangle to render the linear gradient into</doc> | |
| 3285 | + | line="621">the rectangle to render the linear gradient into</doc> | |
| 2837 | 3286 | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 2838 | 3287 | </parameter> | |
| 2839 | 3288 | <parameter name="start" transfer-ownership="none"> | |
| 2840 | 3289 | <doc xml:space="preserve" | |
| 2841 | 3290 | filename="gsk/gskrendernodeimpl.c" | |
| 2842 | - | line="252">the point at which the linear gradient will begin</doc> | |
| 3291 | + | line="622">the point at which the linear gradient will begin</doc> | |
| 2843 | 3292 | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 2844 | 3293 | </parameter> | |
| 2845 | 3294 | <parameter name="end" transfer-ownership="none"> | |
| 2846 | 3295 | <doc xml:space="preserve" | |
| 2847 | 3296 | filename="gsk/gskrendernodeimpl.c" | |
| 2848 | - | line="253">the point at which the linear gradient will finish</doc> | |
| 3297 | + | line="623">the point at which the linear gradient will finish</doc> | |
| 2849 | 3298 | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 2850 | 3299 | </parameter> | |
| 2851 | 3300 | <parameter name="color_stops" transfer-ownership="none"> | |
| 2852 | 3301 | <doc xml:space="preserve" | |
| 2853 | 3302 | filename="gsk/gskrendernodeimpl.c" | |
| 2854 | - | line="254">a pointer to an array of | |
| 3303 | + | line="624">a pointer to an array of | |
| 2855 | 3304 | `GskColorStop` defining the gradient. The offsets of all color stops | |
| 2856 | 3305 | must be increasing. The first stop's offset must be >= 0 and the last | |
| 2857 | 3306 | stop's offset must be <= 1.</doc> | |
| @@ -2862,7 +3311,7 @@ points and color stops, and render that into the area given by @bounds.</doc> | |||
| 2862 | 3311 | <parameter name="n_color_stops" transfer-ownership="none"> | |
| 2863 | 3312 | <doc xml:space="preserve" | |
| 2864 | 3313 | filename="gsk/gskrendernodeimpl.c" | |
| 2865 | - | line="258">the number of elements in @color_stops</doc> | |
| 3314 | + | line="628">the number of elements in @color_stops</doc> | |
| 2866 | 3315 | <type name="gsize" c:type="gsize"/> | |
| 2867 | 3316 | </parameter> | |
| 2868 | 3317 | </parameters> | |
| @@ -2871,12 +3320,12 @@ points and color stops, and render that into the area given by @bounds.</doc> | |||
| 2871 | 3320 | c:identifier="gsk_linear_gradient_node_get_color_stops"> | |
| 2872 | 3321 | <doc xml:space="preserve" | |
| 2873 | 3322 | filename="gsk/gskrendernodeimpl.c" | |
| 2874 | - | line="402">Retrieves the color stops in the gradient.</doc> | |
| 2875 | - | <source-position filename="gsk/gskrendernode.h" line="235"/> | |
| 3323 | + | line="920">Retrieves the color stops in the gradient.</doc> | |
| 3324 | + | <source-position filename="gsk/gskrendernode.h" line="258"/> | |
| 2876 | 3325 | <return-value transfer-ownership="none"> | |
| 2877 | 3326 | <doc xml:space="preserve" | |
| 2878 | 3327 | filename="gsk/gskrendernodeimpl.c" | |
| 2879 | - | line="409">the color stops in the gradient</doc> | |
| 3328 | + | line="927">the color stops in the gradient</doc> | |
| 2880 | 3329 | <array length="0" zero-terminated="0" c:type="const GskColorStop*"> | |
| 2881 | 3330 | <type name="ColorStop" c:type="GskColorStop"/> | |
| 2882 | 3331 | </array> | |
| @@ -2885,7 +3334,7 @@ points and color stops, and render that into the area given by @bounds.</doc> | |||
| 2885 | 3334 | <instance-parameter name="node" transfer-ownership="none"> | |
| 2886 | 3335 | <doc xml:space="preserve" | |
| 2887 | 3336 | filename="gsk/gskrendernodeimpl.c" | |
| 2888 | - | line="404">a `GskRenderNode` for a linear gradient</doc> | |
| 3337 | + | line="922">a `GskRenderNode` for a linear gradient</doc> | |
| 2889 | 3338 | <type name="LinearGradientNode" c:type="const GskRenderNode*"/> | |
| 2890 | 3339 | </instance-parameter> | |
| 2891 | 3340 | <parameter name="n_stops" | |
| @@ -2896,7 +3345,7 @@ points and color stops, and render that into the area given by @bounds.</doc> | |||
| 2896 | 3345 | allow-none="1"> | |
| 2897 | 3346 | <doc xml:space="preserve" | |
| 2898 | 3347 | filename="gsk/gskrendernodeimpl.c" | |
| 2899 | - | line="405">the number of color stops in the returned array</doc> | |
| 3348 | + | line="923">the number of color stops in the returned array</doc> | |
| 2900 | 3349 | <type name="gsize" c:type="gsize*"/> | |
| 2901 | 3350 | </parameter> | |
| 2902 | 3351 | </parameters> | |
| @@ -2904,19 +3353,19 @@ points and color stops, and render that into the area given by @bounds.</doc> | |||
| 2904 | 3353 | <method name="get_end" c:identifier="gsk_linear_gradient_node_get_end"> | |
| 2905 | 3354 | <doc xml:space="preserve" | |
| 2906 | 3355 | filename="gsk/gskrendernodeimpl.c" | |
| 2907 | - | line="370">Retrieves the final point of the linear gradient.</doc> | |
| 2908 | - | <source-position filename="gsk/gskrendernode.h" line="231"/> | |
| 3356 | + | line="888">Retrieves the final point of the linear gradient.</doc> | |
| 3357 | + | <source-position filename="gsk/gskrendernode.h" line="254"/> | |
| 2909 | 3358 | <return-value transfer-ownership="none"> | |
| 2910 | 3359 | <doc xml:space="preserve" | |
| 2911 | 3360 | filename="gsk/gskrendernodeimpl.c" | |
| 2912 | - | line="376">the final point</doc> | |
| 3361 | + | line="894">the final point</doc> | |
| 2913 | 3362 | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 2914 | 3363 | </return-value> | |
| 2915 | 3364 | <parameters> | |
| 2916 | 3365 | <instance-parameter name="node" transfer-ownership="none"> | |
| 2917 | 3366 | <doc xml:space="preserve" | |
| 2918 | 3367 | filename="gsk/gskrendernodeimpl.c" | |
| 2919 | - | line="372">a `GskRenderNode` for a linear gradient</doc> | |
| 3368 | + | line="890">a `GskRenderNode` for a linear gradient</doc> | |
| 2920 | 3369 | <type name="LinearGradientNode" c:type="const GskRenderNode*"/> | |
| 2921 | 3370 | </instance-parameter> | |
| 2922 | 3371 | </parameters> | |
| @@ -2925,19 +3374,19 @@ points and color stops, and render that into the area given by @bounds.</doc> | |||
| 2925 | 3374 | c:identifier="gsk_linear_gradient_node_get_n_color_stops"> | |
| 2926 | 3375 | <doc xml:space="preserve" | |
| 2927 | 3376 | filename="gsk/gskrendernodeimpl.c" | |
| 2928 | - | line="386">Retrieves the number of color stops in the gradient.</doc> | |
| 2929 | - | <source-position filename="gsk/gskrendernode.h" line="233"/> | |
| 3377 | + | line="904">Retrieves the number of color stops in the gradient.</doc> | |
| 3378 | + | <source-position filename="gsk/gskrendernode.h" line="256"/> | |
| 2930 | 3379 | <return-value transfer-ownership="none"> | |
| 2931 | 3380 | <doc xml:space="preserve" | |
| 2932 | 3381 | filename="gsk/gskrendernodeimpl.c" | |
| 2933 | - | line="392">the number of color stops</doc> | |
| 3382 | + | line="910">the number of color stops</doc> | |
| 2934 | 3383 | <type name="gsize" c:type="gsize"/> | |
| 2935 | 3384 | </return-value> | |
| 2936 | 3385 | <parameters> | |
| 2937 | 3386 | <instance-parameter name="node" transfer-ownership="none"> | |
| 2938 | 3387 | <doc xml:space="preserve" | |
| 2939 | 3388 | filename="gsk/gskrendernodeimpl.c" | |
| 2940 | - | line="388">a `GskRenderNode` for a linear gradient</doc> | |
| 3389 | + | line="906">a `GskRenderNode` for a linear gradient</doc> | |
| 2941 | 3390 | <type name="LinearGradientNode" c:type="const GskRenderNode*"/> | |
| 2942 | 3391 | </instance-parameter> | |
| 2943 | 3392 | </parameters> | |
| @@ -2946,99 +3395,265 @@ points and color stops, and render that into the area given by @bounds.</doc> | |||
| 2946 | 3395 | c:identifier="gsk_linear_gradient_node_get_start"> | |
| 2947 | 3396 | <doc xml:space="preserve" | |
| 2948 | 3397 | filename="gsk/gskrendernodeimpl.c" | |
| 2949 | - | line="354">Retrieves the initial point of the linear gradient.</doc> | |
| 2950 | - | <source-position filename="gsk/gskrendernode.h" line="229"/> | |
| 3398 | + | line="872">Retrieves the initial point of the linear gradient.</doc> | |
| 3399 | + | <source-position filename="gsk/gskrendernode.h" line="252"/> | |
| 2951 | 3400 | <return-value transfer-ownership="none"> | |
| 2952 | 3401 | <doc xml:space="preserve" | |
| 2953 | 3402 | filename="gsk/gskrendernodeimpl.c" | |
| 2954 | - | line="360">the initial point</doc> | |
| 3403 | + | line="878">the initial point</doc> | |
| 2955 | 3404 | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 2956 | 3405 | </return-value> | |
| 2957 | 3406 | <parameters> | |
| 2958 | 3407 | <instance-parameter name="node" transfer-ownership="none"> | |
| 2959 | 3408 | <doc xml:space="preserve" | |
| 2960 | 3409 | filename="gsk/gskrendernodeimpl.c" | |
| 2961 | - | line="356">a `GskRenderNode` for a linear gradient</doc> | |
| 3410 | + | line="874">a `GskRenderNode` for a linear gradient</doc> | |
| 2962 | 3411 | <type name="LinearGradientNode" c:type="const GskRenderNode*"/> | |
| 2963 | 3412 | </instance-parameter> | |
| 2964 | 3413 | </parameters> | |
| 2965 | 3414 | </method> | |
| 2966 | 3415 | </class> | |
| 2967 | - | <class name="NglRenderer" | |
| 2968 | - | c:symbol-prefix="ngl_renderer" | |
| 2969 | - | parent="Renderer" | |
| 2970 | - | glib:type-name="GskNglRenderer" | |
| 2971 | - | glib:get-type="gsk_ngl_renderer_get_type"> | |
| 2972 | - | <constructor name="new" | |
| 2973 | - | c:identifier="gsk_ngl_renderer_new" | |
| 2974 | - | deprecated="1" | |
| 2975 | - | deprecated-version="4.4"> | |
| 3416 | + | <enumeration name="MaskMode" | |
| 3417 | + | version="4.10" | |
| 3418 | + | glib:type-name="GskMaskMode" | |
| 3419 | + | glib:get-type="gsk_mask_mode_get_type" | |
| 3420 | + | c:type="GskMaskMode"> | |
| 3421 | + | <doc xml:space="preserve" | |
| 3422 | + | filename="gsk/gskenums.h" | |
| 3423 | + | line="457">The mask modes available for mask nodes.</doc> | |
| 3424 | + | <member name="alpha" | |
| 3425 | + | value="0" | |
| 3426 | + | c:identifier="GSK_MASK_MODE_ALPHA" | |
| 3427 | + | glib:nick="alpha" | |
| 3428 | + | glib:name="GSK_MASK_MODE_ALPHA"> | |
| 2976 | 3429 | <doc xml:space="preserve" | |
| 2977 | - | filename="gsk/gl/gskglrenderer.c" | |
| 2978 | - | line="485">Same as gsk_gl_renderer_new().</doc> | |
| 2979 | - | <doc-deprecated xml:space="preserve">Use gsk_gl_renderer_new()</doc-deprecated> | |
| 2980 | - | <source-position filename="gsk/gl/gskglrenderer.h" line="47"/> | |
| 2981 | - | <return-value transfer-ownership="full"> | |
| 2982 | - | <doc xml:space="preserve" | |
| 2983 | - | filename="gsk/gl/gskglrenderer.c" | |
| 2984 | - | line="490">a new GL renderer</doc> | |
| 2985 | - | <type name="Renderer" c:type="GskRenderer*"/> | |
| 2986 | - | </return-value> | |
| 2987 | - | </constructor> | |
| 2988 | - | </class> | |
| 2989 | - | <class name="OpacityNode" | |
| 2990 | - | c:symbol-prefix="opacity_node" | |
| 2991 | - | c:type="GskOpacityNode" | |
| 3430 | + | filename="gsk/gskenums.h" | |
| 3431 | + | line="459">Use the alpha channel of the mask</doc> | |
| 3432 | + | </member> | |
| 3433 | + | <member name="inverted_alpha" | |
| 3434 | + | value="1" | |
| 3435 | + | c:identifier="GSK_MASK_MODE_INVERTED_ALPHA" | |
| 3436 | + | glib:nick="inverted-alpha" | |
| 3437 | + | glib:name="GSK_MASK_MODE_INVERTED_ALPHA"> | |
| 3438 | + | <doc xml:space="preserve" | |
| 3439 | + | filename="gsk/gskenums.h" | |
| 3440 | + | line="460">Use the inverted alpha channel of the mask</doc> | |
| 3441 | + | </member> | |
| 3442 | + | <member name="luminance" | |
| 3443 | + | value="2" | |
| 3444 | + | c:identifier="GSK_MASK_MODE_LUMINANCE" | |
| 3445 | + | glib:nick="luminance" | |
| 3446 | + | glib:name="GSK_MASK_MODE_LUMINANCE"> | |
| 3447 | + | <doc xml:space="preserve" | |
| 3448 | + | filename="gsk/gskenums.h" | |
| 3449 | + | line="461">Use the luminance of the mask, | |
| 3450 | + | multiplied by mask alpha</doc> | |
| 3451 | + | </member> | |
| 3452 | + | <member name="inverted_luminance" | |
| 3453 | + | value="3" | |
| 3454 | + | c:identifier="GSK_MASK_MODE_INVERTED_LUMINANCE" | |
| 3455 | + | glib:nick="inverted-luminance" | |
| 3456 | + | glib:name="GSK_MASK_MODE_INVERTED_LUMINANCE"> | |
| 3457 | + | <doc xml:space="preserve" | |
| 3458 | + | filename="gsk/gskenums.h" | |
| 3459 | + | line="463">Use the inverted luminance of the mask, | |
| 3460 | + | multiplied by mask alpha</doc> | |
| 3461 | + | </member> | |
| 3462 | + | </enumeration> | |
| 3463 | + | <class name="MaskNode" | |
| 3464 | + | c:symbol-prefix="mask_node" | |
| 3465 | + | c:type="GskMaskNode" | |
| 3466 | + | version="4.10" | |
| 2992 | 3467 | parent="RenderNode" | |
| 2993 | - | glib:type-name="GskOpacityNode" | |
| 2994 | - | glib:get-type="gsk_opacity_node_get_type" | |
| 3468 | + | glib:type-name="GskMaskNode" | |
| 3469 | + | glib:get-type="gsk_mask_node_get_type" | |
| 2995 | 3470 | glib:fundamental="1"> | |
| 2996 | 3471 | <doc xml:space="preserve" | |
| 2997 | 3472 | filename="gsk/gskrendernodeimpl.c" | |
| 2998 | - | line="3063">A render node controlling the opacity of its single child node.</doc> | |
| 2999 | - | <constructor name="new" c:identifier="gsk_opacity_node_new"> | |
| 3473 | + | line="7884">A render node masking one child node with another.</doc> | |
| 3474 | + | <constructor name="new" c:identifier="gsk_mask_node_new" version="4.10"> | |
| 3000 | 3475 | <doc xml:space="preserve" | |
| 3001 | 3476 | filename="gsk/gskrendernodeimpl.c" | |
| 3002 | - | line="3123">Creates a `GskRenderNode` that will drawn the @child with reduced | |
| 3003 | - | @opacity.</doc> | |
| 3004 | - | <source-position filename="gsk/gskrendernode.h" line="396"/> | |
| 3477 | + | line="8041">Creates a `GskRenderNode` that will mask a given node by another. | |
| 3478 | + | ||
| 3479 | + | The @mask_mode determines how the 'mask values' are derived from | |
| 3480 | + | the colors of the @mask. Applying the mask consists of multiplying | |
| 3481 | + | the 'mask value' with the alpha of the source.</doc> | |
| 3482 | + | <source-position filename="gsk/gskrendernode.h" line="571"/> | |
| 3005 | 3483 | <return-value transfer-ownership="full"> | |
| 3006 | 3484 | <doc xml:space="preserve" | |
| 3007 | 3485 | filename="gsk/gskrendernodeimpl.c" | |
| 3008 | - | line="3131">A new `GskRenderNode`</doc> | |
| 3009 | - | <type name="OpacityNode" c:type="GskRenderNode*"/> | |
| 3486 | + | line="8053">A new `GskRenderNode`</doc> | |
| 3487 | + | <type name="MaskNode" c:type="GskRenderNode*"/> | |
| 3010 | 3488 | </return-value> | |
| 3011 | 3489 | <parameters> | |
| 3012 | - | <parameter name="child" transfer-ownership="none"> | |
| 3490 | + | <parameter name="source" transfer-ownership="none"> | |
| 3013 | 3491 | <doc xml:space="preserve" | |
| 3014 | 3492 | filename="gsk/gskrendernodeimpl.c" | |
| 3015 | - | line="3125">The node to draw</doc> | |
| 3493 | + | line="8043">The source node to be drawn</doc> | |
| 3016 | 3494 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 3017 | 3495 | </parameter> | |
| 3018 | - | <parameter name="opacity" transfer-ownership="none"> | |
| 3496 | + | <parameter name="mask" transfer-ownership="none"> | |
| 3019 | 3497 | <doc xml:space="preserve" | |
| 3020 | 3498 | filename="gsk/gskrendernodeimpl.c" | |
| 3021 | - | line="3126">The opacity to apply</doc> | |
| 3022 | - | <type name="gfloat" c:type="float"/> | |
| 3499 | + | line="8044">The node to be used as mask</doc> | |
| 3500 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 3501 | + | </parameter> | |
| 3502 | + | <parameter name="mask_mode" transfer-ownership="none"> | |
| 3503 | + | <doc xml:space="preserve" | |
| 3504 | + | filename="gsk/gskrendernodeimpl.c" | |
| 3505 | + | line="8045">The mask mode to use</doc> | |
| 3506 | + | <type name="MaskMode" c:type="GskMaskMode"/> | |
| 3507 | + | </parameter> | |
| 3508 | + | </parameters> | |
| 3509 | + | </constructor> | |
| 3510 | + | <method name="get_mask" | |
| 3511 | + | c:identifier="gsk_mask_node_get_mask" | |
| 3512 | + | version="4.10"> | |
| 3513 | + | <doc xml:space="preserve" | |
| 3514 | + | filename="gsk/gskrendernodeimpl.c" | |
| 3515 | + | line="8104">Retrieves the mask `GskRenderNode` child of the @node.</doc> | |
| 3516 | + | <source-position filename="gsk/gskrendernode.h" line="577"/> | |
| 3517 | + | <return-value transfer-ownership="none"> | |
| 3518 | + | <doc xml:space="preserve" | |
| 3519 | + | filename="gsk/gskrendernodeimpl.c" | |
| 3520 | + | line="8110">the mask child node</doc> | |
| 3521 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 3522 | + | </return-value> | |
| 3523 | + | <parameters> | |
| 3524 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 3525 | + | <doc xml:space="preserve" | |
| 3526 | + | filename="gsk/gskrendernodeimpl.c" | |
| 3527 | + | line="8106">a mask `GskRenderNode`</doc> | |
| 3528 | + | <type name="MaskNode" c:type="const GskRenderNode*"/> | |
| 3529 | + | </instance-parameter> | |
| 3530 | + | </parameters> | |
| 3531 | + | </method> | |
| 3532 | + | <method name="get_mask_mode" | |
| 3533 | + | c:identifier="gsk_mask_node_get_mask_mode" | |
| 3534 | + | version="4.10"> | |
| 3535 | + | <doc xml:space="preserve" | |
| 3536 | + | filename="gsk/gskrendernodeimpl.c" | |
| 3537 | + | line="8124">Retrieves the mask mode used by @node.</doc> | |
| 3538 | + | <source-position filename="gsk/gskrendernode.h" line="579"/> | |
| 3539 | + | <return-value transfer-ownership="none"> | |
| 3540 | + | <doc xml:space="preserve" | |
| 3541 | + | filename="gsk/gskrendernodeimpl.c" | |
| 3542 | + | line="8130">the mask mode</doc> | |
| 3543 | + | <type name="MaskMode" c:type="GskMaskMode"/> | |
| 3544 | + | </return-value> | |
| 3545 | + | <parameters> | |
| 3546 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 3547 | + | <doc xml:space="preserve" | |
| 3548 | + | filename="gsk/gskrendernodeimpl.c" | |
| 3549 | + | line="8126">a blending `GskRenderNode`</doc> | |
| 3550 | + | <type name="MaskNode" c:type="const GskRenderNode*"/> | |
| 3551 | + | </instance-parameter> | |
| 3552 | + | </parameters> | |
| 3553 | + | </method> | |
| 3554 | + | <method name="get_source" | |
| 3555 | + | c:identifier="gsk_mask_node_get_source" | |
| 3556 | + | version="4.10"> | |
| 3557 | + | <doc xml:space="preserve" | |
| 3558 | + | filename="gsk/gskrendernodeimpl.c" | |
| 3559 | + | line="8084">Retrieves the source `GskRenderNode` child of the @node.</doc> | |
| 3560 | + | <source-position filename="gsk/gskrendernode.h" line="575"/> | |
| 3561 | + | <return-value transfer-ownership="none"> | |
| 3562 | + | <doc xml:space="preserve" | |
| 3563 | + | filename="gsk/gskrendernodeimpl.c" | |
| 3564 | + | line="8090">the source child node</doc> | |
| 3565 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 3566 | + | </return-value> | |
| 3567 | + | <parameters> | |
| 3568 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 3569 | + | <doc xml:space="preserve" | |
| 3570 | + | filename="gsk/gskrendernodeimpl.c" | |
| 3571 | + | line="8086">a mask `GskRenderNode`</doc> | |
| 3572 | + | <type name="MaskNode" c:type="const GskRenderNode*"/> | |
| 3573 | + | </instance-parameter> | |
| 3574 | + | </parameters> | |
| 3575 | + | </method> | |
| 3576 | + | </class> | |
| 3577 | + | <class name="NglRenderer" | |
| 3578 | + | c:symbol-prefix="ngl_renderer" | |
| 3579 | + | parent="Renderer" | |
| 3580 | + | glib:type-name="GskNglRenderer" | |
| 3581 | + | glib:get-type="gsk_ngl_renderer_get_type"> | |
| 3582 | + | <doc xml:space="preserve" | |
| 3583 | + | filename="gsk/gpu/gskglrenderer.c" | |
| 3584 | + | line="190">A GL based renderer. | |
| 3585 | + | ||
| 3586 | + | See [class@Gsk.Renderer].</doc> | |
| 3587 | + | <constructor name="new" | |
| 3588 | + | c:identifier="gsk_ngl_renderer_new" | |
| 3589 | + | deprecated="1" | |
| 3590 | + | deprecated-version="4.18"> | |
| 3591 | + | <doc xml:space="preserve" | |
| 3592 | + | filename="gsk/gpu/gskglrenderer.c" | |
| 3593 | + | line="230">Same as gsk_gl_renderer_new().</doc> | |
| 3594 | + | <doc-deprecated xml:space="preserve">Use gsk_gl_renderer_new()</doc-deprecated> | |
| 3595 | + | <source-position filename="gsk/gpu/gskglrenderer.h" line="46"/> | |
| 3596 | + | <return-value transfer-ownership="full"> | |
| 3597 | + | <doc xml:space="preserve" | |
| 3598 | + | filename="gsk/gpu/gskglrenderer.c" | |
| 3599 | + | line="235">a GL renderer</doc> | |
| 3600 | + | <type name="Renderer" c:type="GskRenderer*"/> | |
| 3601 | + | </return-value> | |
| 3602 | + | </constructor> | |
| 3603 | + | </class> | |
| 3604 | + | <class name="OpacityNode" | |
| 3605 | + | c:symbol-prefix="opacity_node" | |
| 3606 | + | c:type="GskOpacityNode" | |
| 3607 | + | parent="RenderNode" | |
| 3608 | + | glib:type-name="GskOpacityNode" | |
| 3609 | + | glib:get-type="gsk_opacity_node_get_type" | |
| 3610 | + | glib:fundamental="1"> | |
| 3611 | + | <doc xml:space="preserve" | |
| 3612 | + | filename="gsk/gskrendernodeimpl.c" | |
| 3613 | + | line="4955">A render node controlling the opacity of its single child node.</doc> | |
| 3614 | + | <constructor name="new" c:identifier="gsk_opacity_node_new"> | |
| 3615 | + | <doc xml:space="preserve" | |
| 3616 | + | filename="gsk/gskrendernodeimpl.c" | |
| 3617 | + | line="5028">Creates a `GskRenderNode` that will drawn the @child with reduced | |
| 3618 | + | @opacity.</doc> | |
| 3619 | + | <source-position filename="gsk/gskrendernode.h" line="419"/> | |
| 3620 | + | <return-value transfer-ownership="full"> | |
| 3621 | + | <doc xml:space="preserve" | |
| 3622 | + | filename="gsk/gskrendernodeimpl.c" | |
| 3623 | + | line="5036">A new `GskRenderNode`</doc> | |
| 3624 | + | <type name="OpacityNode" c:type="GskRenderNode*"/> | |
| 3625 | + | </return-value> | |
| 3626 | + | <parameters> | |
| 3627 | + | <parameter name="child" transfer-ownership="none"> | |
| 3628 | + | <doc xml:space="preserve" | |
| 3629 | + | filename="gsk/gskrendernodeimpl.c" | |
| 3630 | + | line="5030">The node to draw</doc> | |
| 3631 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 3632 | + | </parameter> | |
| 3633 | + | <parameter name="opacity" transfer-ownership="none"> | |
| 3634 | + | <doc xml:space="preserve" | |
| 3635 | + | filename="gsk/gskrendernodeimpl.c" | |
| 3636 | + | line="5031">The opacity to apply</doc> | |
| 3637 | + | <type name="gfloat" c:type="float"/> | |
| 3023 | 3638 | </parameter> | |
| 3024 | 3639 | </parameters> | |
| 3025 | 3640 | </constructor> | |
| 3026 | 3641 | <method name="get_child" c:identifier="gsk_opacity_node_get_child"> | |
| 3027 | 3642 | <doc xml:space="preserve" | |
| 3028 | 3643 | filename="gsk/gskrendernodeimpl.c" | |
| 3029 | - | line="3156">Gets the child node that is getting opacityed by the given @node.</doc> | |
| 3030 | - | <source-position filename="gsk/gskrendernode.h" line="399"/> | |
| 3644 | + | line="5062">Gets the child node that is getting opacityed by the given @node.</doc> | |
| 3645 | + | <source-position filename="gsk/gskrendernode.h" line="422"/> | |
| 3031 | 3646 | <return-value transfer-ownership="none"> | |
| 3032 | 3647 | <doc xml:space="preserve" | |
| 3033 | 3648 | filename="gsk/gskrendernodeimpl.c" | |
| 3034 | - | line="3162">The child that is getting opacityed</doc> | |
| 3649 | + | line="5068">The child that is getting opacityed</doc> | |
| 3035 | 3650 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 3036 | 3651 | </return-value> | |
| 3037 | 3652 | <parameters> | |
| 3038 | 3653 | <instance-parameter name="node" transfer-ownership="none"> | |
| 3039 | 3654 | <doc xml:space="preserve" | |
| 3040 | 3655 | filename="gsk/gskrendernodeimpl.c" | |
| 3041 | - | line="3158">a `GskRenderNode` for an opacity</doc> | |
| 3656 | + | line="5064">a `GskRenderNode` for an opacity</doc> | |
| 3042 | 3657 | <type name="OpacityNode" c:type="const GskRenderNode*"/> | |
| 3043 | 3658 | </instance-parameter> | |
| 3044 | 3659 | </parameters> | |
| @@ -3046,19 +3661,19 @@ points and color stops, and render that into the area given by @bounds.</doc> | |||
| 3046 | 3661 | <method name="get_opacity" c:identifier="gsk_opacity_node_get_opacity"> | |
| 3047 | 3662 | <doc xml:space="preserve" | |
| 3048 | 3663 | filename="gsk/gskrendernodeimpl.c" | |
| 3049 | - | line="3172">Gets the transparency factor for an opacity node.</doc> | |
| 3050 | - | <source-position filename="gsk/gskrendernode.h" line="401"/> | |
| 3664 | + | line="5078">Gets the transparency factor for an opacity node.</doc> | |
| 3665 | + | <source-position filename="gsk/gskrendernode.h" line="424"/> | |
| 3051 | 3666 | <return-value transfer-ownership="none"> | |
| 3052 | 3667 | <doc xml:space="preserve" | |
| 3053 | 3668 | filename="gsk/gskrendernodeimpl.c" | |
| 3054 | - | line="3178">the opacity factor</doc> | |
| 3669 | + | line="5084">the opacity factor</doc> | |
| 3055 | 3670 | <type name="gfloat" c:type="float"/> | |
| 3056 | 3671 | </return-value> | |
| 3057 | 3672 | <parameters> | |
| 3058 | 3673 | <instance-parameter name="node" transfer-ownership="none"> | |
| 3059 | 3674 | <doc xml:space="preserve" | |
| 3060 | 3675 | filename="gsk/gskrendernodeimpl.c" | |
| 3061 | - | line="3174">a `GskRenderNode` for an opacity</doc> | |
| 3676 | + | line="5080">a `GskRenderNode` for an opacity</doc> | |
| 3062 | 3677 | <type name="OpacityNode" c:type="const GskRenderNode*"/> | |
| 3063 | 3678 | </instance-parameter> | |
| 3064 | 3679 | </parameters> | |
| @@ -3073,54 +3688,54 @@ points and color stops, and render that into the area given by @bounds.</doc> | |||
| 3073 | 3688 | glib:fundamental="1"> | |
| 3074 | 3689 | <doc xml:space="preserve" | |
| 3075 | 3690 | filename="gsk/gskrendernodeimpl.c" | |
| 3076 | - | line="2137">A render node for an outset shadow.</doc> | |
| 3691 | + | line="3799">A render node for an outset shadow.</doc> | |
| 3077 | 3692 | <constructor name="new" c:identifier="gsk_outset_shadow_node_new"> | |
| 3078 | 3693 | <doc xml:space="preserve" | |
| 3079 | 3694 | filename="gsk/gskrendernodeimpl.c" | |
| 3080 | - | line="2294">Creates a `GskRenderNode` that will render an outset shadow | |
| 3695 | + | line="3981">Creates a `GskRenderNode` that will render an outset shadow | |
| 3081 | 3696 | around the box given by @outline.</doc> | |
| 3082 | - | <source-position filename="gsk/gskrendernode.h" line="344"/> | |
| 3697 | + | <source-position filename="gsk/gskrendernode.h" line="367"/> | |
| 3083 | 3698 | <return-value transfer-ownership="full"> | |
| 3084 | 3699 | <doc xml:space="preserve" | |
| 3085 | 3700 | filename="gsk/gskrendernodeimpl.c" | |
| 3086 | - | line="2306">A new `GskRenderNode`</doc> | |
| 3701 | + | line="3993">A new `GskRenderNode`</doc> | |
| 3087 | 3702 | <type name="OutsetShadowNode" c:type="GskRenderNode*"/> | |
| 3088 | 3703 | </return-value> | |
| 3089 | 3704 | <parameters> | |
| 3090 | 3705 | <parameter name="outline" transfer-ownership="none"> | |
| 3091 | 3706 | <doc xml:space="preserve" | |
| 3092 | 3707 | filename="gsk/gskrendernodeimpl.c" | |
| 3093 | - | line="2296">outline of the region surrounded by shadow</doc> | |
| 3708 | + | line="3983">outline of the region surrounded by shadow</doc> | |
| 3094 | 3709 | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 3095 | 3710 | </parameter> | |
| 3096 | 3711 | <parameter name="color" transfer-ownership="none"> | |
| 3097 | 3712 | <doc xml:space="preserve" | |
| 3098 | 3713 | filename="gsk/gskrendernodeimpl.c" | |
| 3099 | - | line="2297">color of the shadow</doc> | |
| 3714 | + | line="3984">color of the shadow</doc> | |
| 3100 | 3715 | <type name="Gdk.RGBA" c:type="const GdkRGBA*"/> | |
| 3101 | 3716 | </parameter> | |
| 3102 | 3717 | <parameter name="dx" transfer-ownership="none"> | |
| 3103 | 3718 | <doc xml:space="preserve" | |
| 3104 | 3719 | filename="gsk/gskrendernodeimpl.c" | |
| 3105 | - | line="2298">horizontal offset of shadow</doc> | |
| 3720 | + | line="3985">horizontal offset of shadow</doc> | |
| 3106 | 3721 | <type name="gfloat" c:type="float"/> | |
| 3107 | 3722 | </parameter> | |
| 3108 | 3723 | <parameter name="dy" transfer-ownership="none"> | |
| 3109 | 3724 | <doc xml:space="preserve" | |
| 3110 | 3725 | filename="gsk/gskrendernodeimpl.c" | |
| 3111 | - | line="2299">vertical offset of shadow</doc> | |
| 3726 | + | line="3986">vertical offset of shadow</doc> | |
| 3112 | 3727 | <type name="gfloat" c:type="float"/> | |
| 3113 | 3728 | </parameter> | |
| 3114 | 3729 | <parameter name="spread" transfer-ownership="none"> | |
| 3115 | 3730 | <doc xml:space="preserve" | |
| 3116 | 3731 | filename="gsk/gskrendernodeimpl.c" | |
| 3117 | - | line="2300">how far the shadow spreads towards the inside</doc> | |
| 3732 | + | line="3987">how far the shadow spreads towards the inside</doc> | |
| 3118 | 3733 | <type name="gfloat" c:type="float"/> | |
| 3119 | 3734 | </parameter> | |
| 3120 | 3735 | <parameter name="blur_radius" transfer-ownership="none"> | |
| 3121 | 3736 | <doc xml:space="preserve" | |
| 3122 | 3737 | filename="gsk/gskrendernodeimpl.c" | |
| 3123 | - | line="2301">how much blur to apply to the shadow</doc> | |
| 3738 | + | line="3988">how much blur to apply to the shadow</doc> | |
| 3124 | 3739 | <type name="gfloat" c:type="float"/> | |
| 3125 | 3740 | </parameter> | |
| 3126 | 3741 | </parameters> | |
| @@ -3129,19 +3744,19 @@ around the box given by @outline.</doc> | |||
| 3129 | 3744 | c:identifier="gsk_outset_shadow_node_get_blur_radius"> | |
| 3130 | 3745 | <doc xml:space="preserve" | |
| 3131 | 3746 | filename="gsk/gskrendernodeimpl.c" | |
| 3132 | - | line="2425">Retrieves the blur radius of the shadow.</doc> | |
| 3133 | - | <source-position filename="gsk/gskrendernode.h" line="361"/> | |
| 3747 | + | line="4182">Retrieves the blur radius of the shadow.</doc> | |
| 3748 | + | <source-position filename="gsk/gskrendernode.h" line="384"/> | |
| 3134 | 3749 | <return-value transfer-ownership="none"> | |
| 3135 | 3750 | <doc xml:space="preserve" | |
| 3136 | 3751 | filename="gsk/gskrendernodeimpl.c" | |
| 3137 | - | line="2431">the blur radius, in pixels</doc> | |
| 3752 | + | line="4188">the blur radius, in pixels</doc> | |
| 3138 | 3753 | <type name="gfloat" c:type="float"/> | |
| 3139 | 3754 | </return-value> | |
| 3140 | 3755 | <parameters> | |
| 3141 | 3756 | <instance-parameter name="node" transfer-ownership="none"> | |
| 3142 | 3757 | <doc xml:space="preserve" | |
| 3143 | 3758 | filename="gsk/gskrendernodeimpl.c" | |
| 3144 | - | line="2427">a `GskRenderNode` for an outset shadow</doc> | |
| 3759 | + | line="4184">a `GskRenderNode` for an outset shadow</doc> | |
| 3145 | 3760 | <type name="OutsetShadowNode" c:type="const GskRenderNode*"/> | |
| 3146 | 3761 | </instance-parameter> | |
| 3147 | 3762 | </parameters> | |
| @@ -3149,19 +3764,22 @@ around the box given by @outline.</doc> | |||
| 3149 | 3764 | <method name="get_color" c:identifier="gsk_outset_shadow_node_get_color"> | |
| 3150 | 3765 | <doc xml:space="preserve" | |
| 3151 | 3766 | filename="gsk/gskrendernodeimpl.c" | |
| 3152 | - | line="2361">Retrieves the color of the outset shadow.</doc> | |
| 3153 | - | <source-position filename="gsk/gskrendernode.h" line="353"/> | |
| 3767 | + | line="4082">Retrieves the color of the outset shadow. | |
| 3768 | + | ||
| 3769 | + | The value returned by this function will not be correct | |
| 3770 | + | if the render node was created for a non-sRGB color.</doc> | |
| 3771 | + | <source-position filename="gsk/gskrendernode.h" line="376"/> | |
| 3154 | 3772 | <return-value transfer-ownership="none"> | |
| 3155 | 3773 | <doc xml:space="preserve" | |
| 3156 | 3774 | filename="gsk/gskrendernodeimpl.c" | |
| 3157 | - | line="2367">a color</doc> | |
| 3775 | + | line="4091">a color</doc> | |
| 3158 | 3776 | <type name="Gdk.RGBA" c:type="const GdkRGBA*"/> | |
| 3159 | 3777 | </return-value> | |
| 3160 | 3778 | <parameters> | |
| 3161 | 3779 | <instance-parameter name="node" transfer-ownership="none"> | |
| 3162 | 3780 | <doc xml:space="preserve" | |
| 3163 | 3781 | filename="gsk/gskrendernodeimpl.c" | |
| 3164 | - | line="2363">a `GskRenderNode` for an outset shadow</doc> | |
| 3782 | + | line="4084">a `GskRenderNode` for an outset shadow</doc> | |
| 3165 | 3783 | <type name="OutsetShadowNode" c:type="const GskRenderNode*"/> | |
| 3166 | 3784 | </instance-parameter> | |
| 3167 | 3785 | </parameters> | |
| @@ -3169,19 +3787,19 @@ around the box given by @outline.</doc> | |||
| 3169 | 3787 | <method name="get_dx" c:identifier="gsk_outset_shadow_node_get_dx"> | |
| 3170 | 3788 | <doc xml:space="preserve" | |
| 3171 | 3789 | filename="gsk/gskrendernodeimpl.c" | |
| 3172 | - | line="2377">Retrieves the horizontal offset of the outset shadow.</doc> | |
| 3173 | - | <source-position filename="gsk/gskrendernode.h" line="355"/> | |
| 3790 | + | line="4118">Retrieves the horizontal offset of the outset shadow.</doc> | |
| 3791 | + | <source-position filename="gsk/gskrendernode.h" line="378"/> | |
| 3174 | 3792 | <return-value transfer-ownership="none"> | |
| 3175 | 3793 | <doc xml:space="preserve" | |
| 3176 | 3794 | filename="gsk/gskrendernodeimpl.c" | |
| 3177 | - | line="2383">an offset, in pixels</doc> | |
| 3795 | + | line="4124">an offset, in pixels</doc> | |
| 3178 | 3796 | <type name="gfloat" c:type="float"/> | |
| 3179 | 3797 | </return-value> | |
| 3180 | 3798 | <parameters> | |
| 3181 | 3799 | <instance-parameter name="node" transfer-ownership="none"> | |
| 3182 | 3800 | <doc xml:space="preserve" | |
| 3183 | 3801 | filename="gsk/gskrendernodeimpl.c" | |
| 3184 | - | line="2379">a `GskRenderNode` for an outset shadow</doc> | |
| 3802 | + | line="4120">a `GskRenderNode` for an outset shadow</doc> | |
| 3185 | 3803 | <type name="OutsetShadowNode" c:type="const GskRenderNode*"/> | |
| 3186 | 3804 | </instance-parameter> | |
| 3187 | 3805 | </parameters> | |
| @@ -3189,19 +3807,19 @@ around the box given by @outline.</doc> | |||
| 3189 | 3807 | <method name="get_dy" c:identifier="gsk_outset_shadow_node_get_dy"> | |
| 3190 | 3808 | <doc xml:space="preserve" | |
| 3191 | 3809 | filename="gsk/gskrendernodeimpl.c" | |
| 3192 | - | line="2393">Retrieves the vertical offset of the outset shadow.</doc> | |
| 3193 | - | <source-position filename="gsk/gskrendernode.h" line="357"/> | |
| 3810 | + | line="4134">Retrieves the vertical offset of the outset shadow.</doc> | |
| 3811 | + | <source-position filename="gsk/gskrendernode.h" line="380"/> | |
| 3194 | 3812 | <return-value transfer-ownership="none"> | |
| 3195 | 3813 | <doc xml:space="preserve" | |
| 3196 | 3814 | filename="gsk/gskrendernodeimpl.c" | |
| 3197 | - | line="2399">an offset, in pixels</doc> | |
| 3815 | + | line="4140">an offset, in pixels</doc> | |
| 3198 | 3816 | <type name="gfloat" c:type="float"/> | |
| 3199 | 3817 | </return-value> | |
| 3200 | 3818 | <parameters> | |
| 3201 | 3819 | <instance-parameter name="node" transfer-ownership="none"> | |
| 3202 | 3820 | <doc xml:space="preserve" | |
| 3203 | 3821 | filename="gsk/gskrendernodeimpl.c" | |
| 3204 | - | line="2395">a `GskRenderNode` for an outset shadow</doc> | |
| 3822 | + | line="4136">a `GskRenderNode` for an outset shadow</doc> | |
| 3205 | 3823 | <type name="OutsetShadowNode" c:type="const GskRenderNode*"/> | |
| 3206 | 3824 | </instance-parameter> | |
| 3207 | 3825 | </parameters> | |
| @@ -3210,19 +3828,19 @@ around the box given by @outline.</doc> | |||
| 3210 | 3828 | c:identifier="gsk_outset_shadow_node_get_outline"> | |
| 3211 | 3829 | <doc xml:space="preserve" | |
| 3212 | 3830 | filename="gsk/gskrendernodeimpl.c" | |
| 3213 | - | line="2345">Retrieves the outline rectangle of the outset shadow.</doc> | |
| 3214 | - | <source-position filename="gsk/gskrendernode.h" line="351"/> | |
| 3831 | + | line="4066">Retrieves the outline rectangle of the outset shadow.</doc> | |
| 3832 | + | <source-position filename="gsk/gskrendernode.h" line="374"/> | |
| 3215 | 3833 | <return-value transfer-ownership="none"> | |
| 3216 | 3834 | <doc xml:space="preserve" | |
| 3217 | 3835 | filename="gsk/gskrendernodeimpl.c" | |
| 3218 | - | line="2351">a rounded rectangle</doc> | |
| 3836 | + | line="4072">a rounded rectangle</doc> | |
| 3219 | 3837 | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 3220 | 3838 | </return-value> | |
| 3221 | 3839 | <parameters> | |
| 3222 | 3840 | <instance-parameter name="node" transfer-ownership="none"> | |
| 3223 | 3841 | <doc xml:space="preserve" | |
| 3224 | 3842 | filename="gsk/gskrendernodeimpl.c" | |
| 3225 | - | line="2347">a `GskRenderNode` for an outset shadow</doc> | |
| 3843 | + | line="4068">a `GskRenderNode` for an outset shadow</doc> | |
| 3226 | 3844 | <type name="OutsetShadowNode" c:type="const GskRenderNode*"/> | |
| 3227 | 3845 | </instance-parameter> | |
| 3228 | 3846 | </parameters> | |
| @@ -3231,19 +3849,19 @@ around the box given by @outline.</doc> | |||
| 3231 | 3849 | c:identifier="gsk_outset_shadow_node_get_spread"> | |
| 3232 | 3850 | <doc xml:space="preserve" | |
| 3233 | 3851 | filename="gsk/gskrendernodeimpl.c" | |
| 3234 | - | line="2409">Retrieves how much the shadow spreads outwards.</doc> | |
| 3235 | - | <source-position filename="gsk/gskrendernode.h" line="359"/> | |
| 3852 | + | line="4166">Retrieves how much the shadow spreads outwards.</doc> | |
| 3853 | + | <source-position filename="gsk/gskrendernode.h" line="382"/> | |
| 3236 | 3854 | <return-value transfer-ownership="none"> | |
| 3237 | 3855 | <doc xml:space="preserve" | |
| 3238 | 3856 | filename="gsk/gskrendernodeimpl.c" | |
| 3239 | - | line="2415">the size of the shadow, in pixels</doc> | |
| 3857 | + | line="4172">the size of the shadow, in pixels</doc> | |
| 3240 | 3858 | <type name="gfloat" c:type="float"/> | |
| 3241 | 3859 | </return-value> | |
| 3242 | 3860 | <parameters> | |
| 3243 | 3861 | <instance-parameter name="node" transfer-ownership="none"> | |
| 3244 | 3862 | <doc xml:space="preserve" | |
| 3245 | 3863 | filename="gsk/gskrendernodeimpl.c" | |
| 3246 | - | line="2411">a `GskRenderNode` for an outset shadow</doc> | |
| 3864 | + | line="4168">a `GskRenderNode` for an outset shadow</doc> | |
| 3247 | 3865 | <type name="OutsetShadowNode" c:type="const GskRenderNode*"/> | |
| 3248 | 3866 | </instance-parameter> | |
| 3249 | 3867 | </parameters> | |
| @@ -3252,9 +3870,9 @@ around the box given by @outline.</doc> | |||
| 3252 | 3870 | <callback name="ParseErrorFunc" c:type="GskParseErrorFunc"> | |
| 3253 | 3871 | <doc xml:space="preserve" | |
| 3254 | 3872 | filename="gsk/gskrendernode.h" | |
| 3255 | - | line="94">Type of callback that is called when an error occurs | |
| 3873 | + | line="92">Type of callback that is called when an error occurs | |
| 3256 | 3874 | during node deserialization.</doc> | |
| 3257 | - | <source-position filename="gsk/gskrendernode.h" line="104"/> | |
| 3875 | + | <source-position filename="gsk/gskrendernode.h" line="102"/> | |
| 3258 | 3876 | <return-value transfer-ownership="none"> | |
| 3259 | 3877 | <type name="none" c:type="void"/> | |
| 3260 | 3878 | </return-value> | |
| @@ -3262,19 +3880,19 @@ during node deserialization.</doc> | |||
| 3262 | 3880 | <parameter name="start" transfer-ownership="none"> | |
| 3263 | 3881 | <doc xml:space="preserve" | |
| 3264 | 3882 | filename="gsk/gskrendernode.h" | |
| 3265 | - | line="96">start of the error location</doc> | |
| 3883 | + | line="94">start of the error location</doc> | |
| 3266 | 3884 | <type name="ParseLocation" c:type="const GskParseLocation*"/> | |
| 3267 | 3885 | </parameter> | |
| 3268 | 3886 | <parameter name="end" transfer-ownership="none"> | |
| 3269 | 3887 | <doc xml:space="preserve" | |
| 3270 | 3888 | filename="gsk/gskrendernode.h" | |
| 3271 | - | line="97">end of the error location</doc> | |
| 3889 | + | line="95">end of the error location</doc> | |
| 3272 | 3890 | <type name="ParseLocation" c:type="const GskParseLocation*"/> | |
| 3273 | 3891 | </parameter> | |
| 3274 | 3892 | <parameter name="error" transfer-ownership="none"> | |
| 3275 | 3893 | <doc xml:space="preserve" | |
| 3276 | 3894 | filename="gsk/gskrendernode.h" | |
| 3277 | - | line="98">the error</doc> | |
| 3895 | + | line="96">the error</doc> | |
| 3278 | 3896 | <type name="GLib.Error" c:type="const GError*"/> | |
| 3279 | 3897 | </parameter> | |
| 3280 | 3898 | <parameter name="user_data" | |
| @@ -3284,7 +3902,7 @@ during node deserialization.</doc> | |||
| 3284 | 3902 | closure="3"> | |
| 3285 | 3903 | <doc xml:space="preserve" | |
| 3286 | 3904 | filename="gsk/gskrendernode.h" | |
| 3287 | - | line="99">user data</doc> | |
| 3905 | + | line="97">user data</doc> | |
| 3288 | 3906 | <type name="gpointer" c:type="gpointer"/> | |
| 3289 | 3907 | </parameter> | |
| 3290 | 3908 | </parameters> | |
| @@ -3292,2326 +3910,5865 @@ during node deserialization.</doc> | |||
| 3292 | 3910 | <record name="ParseLocation" c:type="GskParseLocation"> | |
| 3293 | 3911 | <doc xml:space="preserve" | |
| 3294 | 3912 | filename="gsk/gskrendernode.h" | |
| 3295 | - | line="75">A location in a parse buffer.</doc> | |
| 3296 | - | <source-position filename="gsk/gskrendernode.h" line="92"/> | |
| 3913 | + | line="73">A location in a parse buffer.</doc> | |
| 3914 | + | <source-position filename="gsk/gskrendernode.h" line="90"/> | |
| 3297 | 3915 | <field name="bytes" writable="1"> | |
| 3298 | 3916 | <doc xml:space="preserve" | |
| 3299 | 3917 | filename="gsk/gskrendernode.h" | |
| 3300 | - | line="77">the offset of the location in the parse buffer, as bytes</doc> | |
| 3918 | + | line="75">the offset of the location in the parse buffer, as bytes</doc> | |
| 3301 | 3919 | <type name="gsize" c:type="gsize"/> | |
| 3302 | 3920 | </field> | |
| 3303 | 3921 | <field name="chars" writable="1"> | |
| 3304 | 3922 | <doc xml:space="preserve" | |
| 3305 | 3923 | filename="gsk/gskrendernode.h" | |
| 3306 | - | line="78">the offset of the location in the parse buffer, as characters</doc> | |
| 3924 | + | line="76">the offset of the location in the parse buffer, as characters</doc> | |
| 3307 | 3925 | <type name="gsize" c:type="gsize"/> | |
| 3308 | 3926 | </field> | |
| 3309 | 3927 | <field name="lines" writable="1"> | |
| 3310 | 3928 | <doc xml:space="preserve" | |
| 3311 | 3929 | filename="gsk/gskrendernode.h" | |
| 3312 | - | line="79">the line of the location in the parse buffer</doc> | |
| 3930 | + | line="77">the line of the location in the parse buffer</doc> | |
| 3313 | 3931 | <type name="gsize" c:type="gsize"/> | |
| 3314 | 3932 | </field> | |
| 3315 | 3933 | <field name="line_bytes" writable="1"> | |
| 3316 | 3934 | <doc xml:space="preserve" | |
| 3317 | 3935 | filename="gsk/gskrendernode.h" | |
| 3318 | - | line="80">the position in the line, as bytes</doc> | |
| 3936 | + | line="78">the position in the line, as bytes</doc> | |
| 3319 | 3937 | <type name="gsize" c:type="gsize"/> | |
| 3320 | 3938 | </field> | |
| 3321 | 3939 | <field name="line_chars" writable="1"> | |
| 3322 | 3940 | <doc xml:space="preserve" | |
| 3323 | 3941 | filename="gsk/gskrendernode.h" | |
| 3324 | - | line="81">the position in the line, as characters</doc> | |
| 3942 | + | line="79">the position in the line, as characters</doc> | |
| 3325 | 3943 | <type name="gsize" c:type="gsize"/> | |
| 3326 | 3944 | </field> | |
| 3327 | 3945 | </record> | |
| 3328 | - | <function-macro name="RENDERER" | |
| 3329 | - | c:identifier="GSK_RENDERER" | |
| 3330 | - | introspectable="0"> | |
| 3331 | - | <source-position filename="gsk/gskrenderer.h" line="33"/> | |
| 3332 | - | <parameters> | |
| 3333 | - | <parameter name="obj"> | |
| 3334 | - | </parameter> | |
| 3335 | - | </parameters> | |
| 3336 | - | </function-macro> | |
| 3337 | - | <function-macro name="ROUNDED_RECT_INIT" | |
| 3338 | - | c:identifier="GSK_ROUNDED_RECT_INIT" | |
| 3339 | - | introspectable="0"> | |
| 3340 | - | <doc xml:space="preserve" | |
| 3341 | - | filename="gsk/gskroundedrect.h" | |
| 3342 | - | line="30">Initializes a `GskRoundedRect` when declaring it. | |
| 3343 | - | All corner sizes will be initialized to 0.</doc> | |
| 3344 | - | <source-position filename="gsk/gskroundedrect.h" line="40"/> | |
| 3345 | - | <parameters> | |
| 3346 | - | <parameter name="_x"> | |
| 3347 | - | <doc xml:space="preserve" | |
| 3348 | - | filename="gsk/gskroundedrect.h" | |
| 3349 | - | line="32">the X coordinate of the origin</doc> | |
| 3350 | - | </parameter> | |
| 3351 | - | <parameter name="_y"> | |
| 3352 | - | <doc xml:space="preserve" | |
| 3353 | - | filename="gsk/gskroundedrect.h" | |
| 3354 | - | line="33">the Y coordinate of the origin</doc> | |
| 3355 | - | </parameter> | |
| 3356 | - | <parameter name="_w"> | |
| 3357 | - | <doc xml:space="preserve" | |
| 3358 | - | filename="gsk/gskroundedrect.h" | |
| 3359 | - | line="34">the width</doc> | |
| 3360 | - | </parameter> | |
| 3361 | - | <parameter name="_h"> | |
| 3362 | - | <doc xml:space="preserve" | |
| 3363 | - | filename="gsk/gskroundedrect.h" | |
| 3364 | - | line="35">the height</doc> | |
| 3365 | - | </parameter> | |
| 3366 | - | </parameters> | |
| 3367 | - | </function-macro> | |
| 3368 | - | <class name="RadialGradientNode" | |
| 3369 | - | c:symbol-prefix="radial_gradient_node" | |
| 3370 | - | c:type="GskRadialGradientNode" | |
| 3371 | - | parent="RenderNode" | |
| 3372 | - | glib:type-name="GskRadialGradientNode" | |
| 3373 | - | glib:get-type="gsk_radial_gradient_node_get_type" | |
| 3374 | - | glib:fundamental="1"> | |
| 3946 | + | <record name="Path" | |
| 3947 | + | c:type="GskPath" | |
| 3948 | + | opaque="1" | |
| 3949 | + | version="4.14" | |
| 3950 | + | glib:type-name="GskPath" | |
| 3951 | + | glib:get-type="gsk_path_get_type" | |
| 3952 | + | c:symbol-prefix="path"> | |
| 3375 | 3953 | <doc xml:space="preserve" | |
| 3376 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3377 | - | line="431">A render node for a radial gradient.</doc> | |
| 3378 | - | <constructor name="new" c:identifier="gsk_radial_gradient_node_new"> | |
| 3954 | + | filename="gsk/gskpath.c" | |
| 3955 | + | line="29">Describes lines and curves that are more complex than simple rectangles. | |
| 3956 | + | ||
| 3957 | + | Paths can used for rendering (filling or stroking) and for animations | |
| 3958 | + | (e.g. as trajectories). | |
| 3959 | + | ||
| 3960 | + | `GskPath` is an immutable, opaque, reference-counted struct. | |
| 3961 | + | After creation, you cannot change the types it represents. Instead, | |
| 3962 | + | new `GskPath` objects have to be created. The [struct@Gsk.PathBuilder] | |
| 3963 | + | structure is meant to help in this endeavor. | |
| 3964 | + | ||
| 3965 | + | Conceptually, a path consists of zero or more contours (continuous, connected | |
| 3966 | + | curves), each of which may or may not be closed. Contours are typically | |
| 3967 | + | constructed from Bézier segments. | |
| 3968 | + | ||
| 3969 | + | <picture> | |
| 3970 | + | <source srcset="path-dark.png" media="(prefers-color-scheme: dark)"> | |
| 3971 | + | <img alt="A Path" src="path-light.png"> | |
| 3972 | + | </picture></doc> | |
| 3973 | + | <source-position filename="gsk/gsktypes.h" line="28"/> | |
| 3974 | + | <method name="foreach" c:identifier="gsk_path_foreach" version="4.14"> | |
| 3379 | 3975 | <doc xml:space="preserve" | |
| 3380 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3381 | - | line="538">Creates a `GskRenderNode` that draws a radial gradient. | |
| 3976 | + | filename="gsk/gskpath.c" | |
| 3977 | + | line="609">Calls @func for every operation of the path. | |
| 3382 | 3978 | ||
| 3383 | - | The radial gradient | |
| 3384 | - | starts around @center. The size of the gradient is dictated by @hradius | |
| 3385 | - | in horizontal orientation and by @vradius in vertial orientation.</doc> | |
| 3386 | - | <source-position filename="gsk/gskrendernode.h" line="270"/> | |
| 3387 | - | <return-value transfer-ownership="full"> | |
| 3979 | + | Note that this may only approximate @self, because paths can contain | |
| 3980 | + | optimizations for various specialized contours, and depending on the | |
| 3981 | + | @flags, the path may be decomposed into simpler curves than the ones | |
| 3982 | + | that it contained originally. | |
| 3983 | + | ||
| 3984 | + | This function serves two purposes: | |
| 3985 | + | ||
| 3986 | + | - When the @flags allow everything, it provides access to the raw, | |
| 3987 | + | unmodified data of the path. | |
| 3988 | + | - When the @flags disallow certain operations, it provides | |
| 3989 | + | an approximation of the path using just the allowed operations.</doc> | |
| 3990 | + | <source-position filename="gsk/gskpath.h" line="141"/> | |
| 3991 | + | <return-value transfer-ownership="none"> | |
| 3388 | 3992 | <doc xml:space="preserve" | |
| 3389 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3390 | - | line="558">A new `GskRenderNode`</doc> | |
| 3391 | - | <type name="RadialGradientNode" c:type="GskRenderNode*"/> | |
| 3993 | + | filename="gsk/gskpath.c" | |
| 3994 | + | line="630">false if @func returned false, true otherwise.</doc> | |
| 3995 | + | <type name="gboolean" c:type="gboolean"/> | |
| 3392 | 3996 | </return-value> | |
| 3393 | 3997 | <parameters> | |
| 3394 | - | <parameter name="bounds" transfer-ownership="none"> | |
| 3395 | - | <doc xml:space="preserve" | |
| 3396 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3397 | - | line="540">the bounds of the node</doc> | |
| 3398 | - | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 3399 | - | </parameter> | |
| 3400 | - | <parameter name="center" transfer-ownership="none"> | |
| 3401 | - | <doc xml:space="preserve" | |
| 3402 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3403 | - | line="541">the center of the gradient</doc> | |
| 3404 | - | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 3405 | - | </parameter> | |
| 3406 | - | <parameter name="hradius" transfer-ownership="none"> | |
| 3407 | - | <doc xml:space="preserve" | |
| 3408 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3409 | - | line="542">the horizontal radius</doc> | |
| 3410 | - | <type name="gfloat" c:type="float"/> | |
| 3411 | - | </parameter> | |
| 3412 | - | <parameter name="vradius" transfer-ownership="none"> | |
| 3413 | - | <doc xml:space="preserve" | |
| 3414 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3415 | - | line="543">the vertical radius</doc> | |
| 3416 | - | <type name="gfloat" c:type="float"/> | |
| 3417 | - | </parameter> | |
| 3418 | - | <parameter name="start" transfer-ownership="none"> | |
| 3998 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 3419 | 3999 | <doc xml:space="preserve" | |
| 3420 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3421 | - | line="544">a percentage >= 0 that defines the start of the gradient around @center</doc> | |
| 3422 | - | <type name="gfloat" c:type="float"/> | |
| 3423 | - | </parameter> | |
| 3424 | - | <parameter name="end" transfer-ownership="none"> | |
| 4000 | + | filename="gsk/gskpath.c" | |
| 4001 | + | line="611">a path</doc> | |
| 4002 | + | <type name="Path" c:type="GskPath*"/> | |
| 4003 | + | </instance-parameter> | |
| 4004 | + | <parameter name="flags" transfer-ownership="none"> | |
| 3425 | 4005 | <doc xml:space="preserve" | |
| 3426 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3427 | - | line="545">a percentage >= 0 that defines the end of the gradient around @center</doc> | |
| 3428 | - | <type name="gfloat" c:type="float"/> | |
| 4006 | + | filename="gsk/gskpath.c" | |
| 4007 | + | line="612">flags to pass to the foreach function</doc> | |
| 4008 | + | <type name="PathForeachFlags" c:type="GskPathForeachFlags"/> | |
| 3429 | 4009 | </parameter> | |
| 3430 | - | <parameter name="color_stops" transfer-ownership="none"> | |
| 4010 | + | <parameter name="func" | |
| 4011 | + | transfer-ownership="none" | |
| 4012 | + | scope="call" | |
| 4013 | + | closure="2"> | |
| 3431 | 4014 | <doc xml:space="preserve" | |
| 3432 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3433 | - | line="546">a pointer to an array of | |
| 3434 | - | `GskColorStop` defining the gradient. The offsets of all color stops | |
| 3435 | - | must be increasing. The first stop's offset must be >= 0 and the last | |
| 3436 | - | stop's offset must be <= 1.</doc> | |
| 3437 | - | <array length="7" zero-terminated="0" c:type="const GskColorStop*"> | |
| 3438 | - | <type name="ColorStop" c:type="GskColorStop"/> | |
| 3439 | - | </array> | |
| 4015 | + | filename="gsk/gskpath.c" | |
| 4016 | + | line="613">the function to call for operations</doc> | |
| 4017 | + | <type name="PathForeachFunc" c:type="GskPathForeachFunc"/> | |
| 3440 | 4018 | </parameter> | |
| 3441 | - | <parameter name="n_color_stops" transfer-ownership="none"> | |
| 4019 | + | <parameter name="user_data" | |
| 4020 | + | transfer-ownership="none" | |
| 4021 | + | nullable="1" | |
| 4022 | + | allow-none="1"> | |
| 3442 | 4023 | <doc xml:space="preserve" | |
| 3443 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3444 | - | line="550">the number of elements in @color_stops</doc> | |
| 3445 | - | <type name="gsize" c:type="gsize"/> | |
| 4024 | + | filename="gsk/gskpath.c" | |
| 4025 | + | line="614">user data passed to @func</doc> | |
| 4026 | + | <type name="gpointer" c:type="gpointer"/> | |
| 3446 | 4027 | </parameter> | |
| 3447 | 4028 | </parameters> | |
| 3448 | - | </constructor> | |
| 3449 | - | <method name="get_center" | |
| 3450 | - | c:identifier="gsk_radial_gradient_node_get_center"> | |
| 4029 | + | </method> | |
| 4030 | + | <method name="get_bounds" | |
| 4031 | + | c:identifier="gsk_path_get_bounds" | |
| 4032 | + | version="4.14"> | |
| 3451 | 4033 | <doc xml:space="preserve" | |
| 3452 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3453 | - | line="713">Retrieves the center pointer for the gradient.</doc> | |
| 3454 | - | <source-position filename="gsk/gskrendernode.h" line="284"/> | |
| 4034 | + | filename="gsk/gskpath.c" | |
| 4035 | + | line="346">Computes the bounds of the given path. | |
| 4036 | + | ||
| 4037 | + | The returned bounds may be larger than necessary, because this | |
| 4038 | + | function aims to be fast, not accurate. The bounds are guaranteed | |
| 4039 | + | to contain the path. | |
| 4040 | + | ||
| 4041 | + | It is possible that the returned rectangle has 0 width and/or height. | |
| 4042 | + | This can happen when the path only describes a point or an | |
| 4043 | + | axis-aligned line. | |
| 4044 | + | ||
| 4045 | + | If the path is empty, false is returned and @bounds are set to | |
| 4046 | + | graphene_rect_zero(). This is different from the case where the path | |
| 4047 | + | is a single point at the origin, where the @bounds will also be set to | |
| 4048 | + | the zero rectangle but true will be returned.</doc> | |
| 4049 | + | <source-position filename="gsk/gskpath.h" line="113"/> | |
| 3455 | 4050 | <return-value transfer-ownership="none"> | |
| 3456 | 4051 | <doc xml:space="preserve" | |
| 3457 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3458 | - | line="719">the center point for the gradient</doc> | |
| 3459 | - | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 4052 | + | filename="gsk/gskpath.c" | |
| 4053 | + | line="366">true if the path has bounds, false if the path is known | |
| 4054 | + | to be empty and have no bounds</doc> | |
| 4055 | + | <type name="gboolean" c:type="gboolean"/> | |
| 3460 | 4056 | </return-value> | |
| 3461 | 4057 | <parameters> | |
| 3462 | - | <instance-parameter name="node" transfer-ownership="none"> | |
| 4058 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 3463 | 4059 | <doc xml:space="preserve" | |
| 3464 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3465 | - | line="715">a `GskRenderNode` for a radial gradient</doc> | |
| 3466 | - | <type name="RadialGradientNode" c:type="const GskRenderNode*"/> | |
| 4060 | + | filename="gsk/gskpath.c" | |
| 4061 | + | line="348">a path</doc> | |
| 4062 | + | <type name="Path" c:type="GskPath*"/> | |
| 3467 | 4063 | </instance-parameter> | |
| 4064 | + | <parameter name="bounds" | |
| 4065 | + | direction="out" | |
| 4066 | + | caller-allocates="1" | |
| 4067 | + | transfer-ownership="none"> | |
| 4068 | + | <doc xml:space="preserve" | |
| 4069 | + | filename="gsk/gskpath.c" | |
| 4070 | + | line="349">return location for the bounds</doc> | |
| 4071 | + | <type name="Graphene.Rect" c:type="graphene_rect_t*"/> | |
| 4072 | + | </parameter> | |
| 3468 | 4073 | </parameters> | |
| 3469 | 4074 | </method> | |
| 3470 | - | <method name="get_color_stops" | |
| 3471 | - | c:identifier="gsk_radial_gradient_node_get_color_stops"> | |
| 4075 | + | <method name="get_closest_point" | |
| 4076 | + | c:identifier="gsk_path_get_closest_point" | |
| 4077 | + | version="4.14"> | |
| 3472 | 4078 | <doc xml:space="preserve" | |
| 3473 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3474 | - | line="692">Retrieves the color stops in the gradient.</doc> | |
| 3475 | - | <source-position filename="gsk/gskrendernode.h" line="281"/> | |
| 4079 | + | filename="gsk/gskpath.c" | |
| 4080 | + | line="553">Computes the closest point on the path to the given point. | |
| 4081 | + | ||
| 4082 | + | If there is no point closer than the given threshold, | |
| 4083 | + | false is returned.</doc> | |
| 4084 | + | <source-position filename="gsk/gskpath.h" line="134"/> | |
| 3476 | 4085 | <return-value transfer-ownership="none"> | |
| 3477 | 4086 | <doc xml:space="preserve" | |
| 3478 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3479 | - | line="699">the color stops in the gradient</doc> | |
| 3480 | - | <array length="0" zero-terminated="0" c:type="const GskColorStop*"> | |
| 3481 | - | <type name="ColorStop" c:type="GskColorStop"/> | |
| 3482 | - | </array> | |
| 4087 | + | filename="gsk/gskpath.c" | |
| 4088 | + | line="566">true if @point was set to the closest point | |
| 4089 | + | on @self, false if no point is closer than @threshold</doc> | |
| 4090 | + | <type name="gboolean" c:type="gboolean"/> | |
| 3483 | 4091 | </return-value> | |
| 3484 | 4092 | <parameters> | |
| 3485 | - | <instance-parameter name="node" transfer-ownership="none"> | |
| 4093 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 3486 | 4094 | <doc xml:space="preserve" | |
| 3487 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3488 | - | line="694">a `GskRenderNode` for a radial gradient</doc> | |
| 3489 | - | <type name="RadialGradientNode" c:type="const GskRenderNode*"/> | |
| 4095 | + | filename="gsk/gskpath.c" | |
| 4096 | + | line="555">a path</doc> | |
| 4097 | + | <type name="Path" c:type="GskPath*"/> | |
| 3490 | 4098 | </instance-parameter> | |
| 3491 | - | <parameter name="n_stops" | |
| 4099 | + | <parameter name="point" transfer-ownership="none"> | |
| 4100 | + | <doc xml:space="preserve" | |
| 4101 | + | filename="gsk/gskpath.c" | |
| 4102 | + | line="556">the point</doc> | |
| 4103 | + | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 4104 | + | </parameter> | |
| 4105 | + | <parameter name="threshold" transfer-ownership="none"> | |
| 4106 | + | <doc xml:space="preserve" | |
| 4107 | + | filename="gsk/gskpath.c" | |
| 4108 | + | line="557">maximum allowed distance</doc> | |
| 4109 | + | <type name="gfloat" c:type="float"/> | |
| 4110 | + | </parameter> | |
| 4111 | + | <parameter name="result" | |
| 4112 | + | direction="out" | |
| 4113 | + | caller-allocates="1" | |
| 4114 | + | transfer-ownership="none"> | |
| 4115 | + | <doc xml:space="preserve" | |
| 4116 | + | filename="gsk/gskpath.c" | |
| 4117 | + | line="558">return location for the closest point</doc> | |
| 4118 | + | <type name="PathPoint" c:type="GskPathPoint*"/> | |
| 4119 | + | </parameter> | |
| 4120 | + | <parameter name="distance" | |
| 3492 | 4121 | direction="out" | |
| 3493 | 4122 | caller-allocates="0" | |
| 3494 | 4123 | transfer-ownership="full" | |
| 3495 | 4124 | optional="1" | |
| 3496 | 4125 | allow-none="1"> | |
| 3497 | 4126 | <doc xml:space="preserve" | |
| 3498 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3499 | - | line="695">the number of color stops in the returned array</doc> | |
| 3500 | - | <type name="gsize" c:type="gsize*"/> | |
| 4127 | + | filename="gsk/gskpath.c" | |
| 4128 | + | line="559">return location for the distance</doc> | |
| 4129 | + | <type name="gfloat" c:type="float*"/> | |
| 3501 | 4130 | </parameter> | |
| 3502 | 4131 | </parameters> | |
| 3503 | 4132 | </method> | |
| 3504 | - | <method name="get_end" c:identifier="gsk_radial_gradient_node_get_end"> | |
| 4133 | + | <method name="get_end_point" | |
| 4134 | + | c:identifier="gsk_path_get_end_point" | |
| 4135 | + | version="4.14"> | |
| 3505 | 4136 | <doc xml:space="preserve" | |
| 3506 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3507 | - | line="777">Retrieves the end value for the gradient.</doc> | |
| 3508 | - | <source-position filename="gsk/gskrendernode.h" line="292"/> | |
| 4137 | + | filename="gsk/gskpath.c" | |
| 4138 | + | line="522">Gets the end point of the path. | |
| 4139 | + | ||
| 4140 | + | An empty path has no points, so false | |
| 4141 | + | is returned in this case.</doc> | |
| 4142 | + | <source-position filename="gsk/gskpath.h" line="130"/> | |
| 3509 | 4143 | <return-value transfer-ownership="none"> | |
| 3510 | 4144 | <doc xml:space="preserve" | |
| 3511 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3512 | - | line="783">the end value for the gradient</doc> | |
| 3513 | - | <type name="gfloat" c:type="float"/> | |
| 4145 | + | filename="gsk/gskpath.c" | |
| 4146 | + | line="532">true if @result was filled</doc> | |
| 4147 | + | <type name="gboolean" c:type="gboolean"/> | |
| 3514 | 4148 | </return-value> | |
| 3515 | 4149 | <parameters> | |
| 3516 | - | <instance-parameter name="node" transfer-ownership="none"> | |
| 4150 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 3517 | 4151 | <doc xml:space="preserve" | |
| 3518 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3519 | - | line="779">a `GskRenderNode` for a radial gradient</doc> | |
| 3520 | - | <type name="RadialGradientNode" c:type="const GskRenderNode*"/> | |
| 4152 | + | filename="gsk/gskpath.c" | |
| 4153 | + | line="524">a path</doc> | |
| 4154 | + | <type name="Path" c:type="GskPath*"/> | |
| 3521 | 4155 | </instance-parameter> | |
| 4156 | + | <parameter name="result" | |
| 4157 | + | direction="out" | |
| 4158 | + | caller-allocates="1" | |
| 4159 | + | transfer-ownership="none"> | |
| 4160 | + | <doc xml:space="preserve" | |
| 4161 | + | filename="gsk/gskpath.c" | |
| 4162 | + | line="525">return location for point</doc> | |
| 4163 | + | <type name="PathPoint" c:type="GskPathPoint*"/> | |
| 4164 | + | </parameter> | |
| 3522 | 4165 | </parameters> | |
| 3523 | 4166 | </method> | |
| 3524 | - | <method name="get_hradius" | |
| 3525 | - | c:identifier="gsk_radial_gradient_node_get_hradius"> | |
| 4167 | + | <method name="get_start_point" | |
| 4168 | + | c:identifier="gsk_path_get_start_point" | |
| 4169 | + | version="4.14"> | |
| 3526 | 4170 | <doc xml:space="preserve" | |
| 3527 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3528 | - | line="729">Retrieves the horizonal radius for the gradient.</doc> | |
| 3529 | - | <source-position filename="gsk/gskrendernode.h" line="286"/> | |
| 4171 | + | filename="gsk/gskpath.c" | |
| 4172 | + | line="487">Gets the start point of the path. | |
| 4173 | + | ||
| 4174 | + | An empty path has no points, so false | |
| 4175 | + | is returned in this case.</doc> | |
| 4176 | + | <source-position filename="gsk/gskpath.h" line="127"/> | |
| 3530 | 4177 | <return-value transfer-ownership="none"> | |
| 3531 | 4178 | <doc xml:space="preserve" | |
| 3532 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3533 | - | line="735">the horizontal radius for the gradient</doc> | |
| 3534 | - | <type name="gfloat" c:type="float"/> | |
| 4179 | + | filename="gsk/gskpath.c" | |
| 4180 | + | line="497">true if @result was filled</doc> | |
| 4181 | + | <type name="gboolean" c:type="gboolean"/> | |
| 3535 | 4182 | </return-value> | |
| 3536 | 4183 | <parameters> | |
| 3537 | - | <instance-parameter name="node" transfer-ownership="none"> | |
| 4184 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 3538 | 4185 | <doc xml:space="preserve" | |
| 3539 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3540 | - | line="731">a `GskRenderNode` for a radial gradient</doc> | |
| 3541 | - | <type name="RadialGradientNode" c:type="const GskRenderNode*"/> | |
| 4186 | + | filename="gsk/gskpath.c" | |
| 4187 | + | line="489">a path</doc> | |
| 4188 | + | <type name="Path" c:type="GskPath*"/> | |
| 3542 | 4189 | </instance-parameter> | |
| 4190 | + | <parameter name="result" | |
| 4191 | + | direction="out" | |
| 4192 | + | caller-allocates="1" | |
| 4193 | + | transfer-ownership="none"> | |
| 4194 | + | <doc xml:space="preserve" | |
| 4195 | + | filename="gsk/gskpath.c" | |
| 4196 | + | line="490">return location for point</doc> | |
| 4197 | + | <type name="PathPoint" c:type="GskPathPoint*"/> | |
| 4198 | + | </parameter> | |
| 3543 | 4199 | </parameters> | |
| 3544 | 4200 | </method> | |
| 3545 | - | <method name="get_n_color_stops" | |
| 3546 | - | c:identifier="gsk_radial_gradient_node_get_n_color_stops"> | |
| 4201 | + | <method name="get_stroke_bounds" | |
| 4202 | + | c:identifier="gsk_path_get_stroke_bounds" | |
| 4203 | + | version="4.14"> | |
| 3547 | 4204 | <doc xml:space="preserve" | |
| 3548 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3549 | - | line="676">Retrieves the number of color stops in the gradient.</doc> | |
| 3550 | - | <source-position filename="gsk/gskrendernode.h" line="279"/> | |
| 4205 | + | filename="gsk/gskpath.c" | |
| 4206 | + | line="401">Computes the bounds for stroking the given path with the | |
| 4207 | + | given parameters. | |
| 4208 | + | ||
| 4209 | + | The returned bounds may be larger than necessary, because this | |
| 4210 | + | function aims to be fast, not accurate. The bounds are guaranteed | |
| 4211 | + | to contain the area affected by the stroke, including protrusions | |
| 4212 | + | like miters.</doc> | |
| 4213 | + | <source-position filename="gsk/gskpath.h" line="117"/> | |
| 3551 | 4214 | <return-value transfer-ownership="none"> | |
| 3552 | 4215 | <doc xml:space="preserve" | |
| 3553 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3554 | - | line="682">the number of color stops</doc> | |
| 3555 | - | <type name="gsize" c:type="gsize"/> | |
| 4216 | + | filename="gsk/gskpath.c" | |
| 4217 | + | line="415">true if the path has bounds, false if the path is known | |
| 4218 | + | to be empty and have no bounds.</doc> | |
| 4219 | + | <type name="gboolean" c:type="gboolean"/> | |
| 3556 | 4220 | </return-value> | |
| 3557 | 4221 | <parameters> | |
| 3558 | - | <instance-parameter name="node" transfer-ownership="none"> | |
| 4222 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 3559 | 4223 | <doc xml:space="preserve" | |
| 3560 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3561 | - | line="678">a `GskRenderNode` for a radial gradient</doc> | |
| 3562 | - | <type name="RadialGradientNode" c:type="const GskRenderNode*"/> | |
| 4224 | + | filename="gsk/gskpath.c" | |
| 4225 | + | line="403">a path</doc> | |
| 4226 | + | <type name="Path" c:type="GskPath*"/> | |
| 3563 | 4227 | </instance-parameter> | |
| 4228 | + | <parameter name="stroke" transfer-ownership="none"> | |
| 4229 | + | <doc xml:space="preserve" | |
| 4230 | + | filename="gsk/gskpath.c" | |
| 4231 | + | line="404">stroke parameters</doc> | |
| 4232 | + | <type name="Stroke" c:type="const GskStroke*"/> | |
| 4233 | + | </parameter> | |
| 4234 | + | <parameter name="bounds" | |
| 4235 | + | direction="out" | |
| 4236 | + | caller-allocates="1" | |
| 4237 | + | transfer-ownership="none"> | |
| 4238 | + | <doc xml:space="preserve" | |
| 4239 | + | filename="gsk/gskpath.c" | |
| 4240 | + | line="405">the bounds to fill in</doc> | |
| 4241 | + | <type name="Graphene.Rect" c:type="graphene_rect_t*"/> | |
| 4242 | + | </parameter> | |
| 3564 | 4243 | </parameters> | |
| 3565 | 4244 | </method> | |
| 3566 | - | <method name="get_start" | |
| 3567 | - | c:identifier="gsk_radial_gradient_node_get_start"> | |
| 4245 | + | <method name="in_fill" c:identifier="gsk_path_in_fill" version="4.14"> | |
| 3568 | 4246 | <doc xml:space="preserve" | |
| 3569 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3570 | - | line="761">Retrieves the start value for the gradient.</doc> | |
| 3571 | - | <source-position filename="gsk/gskrendernode.h" line="290"/> | |
| 4247 | + | filename="gsk/gskpath.c" | |
| 4248 | + | line="451">Returns whether a point is inside the fill area of a path. | |
| 4249 | + | ||
| 4250 | + | Note that this function assumes that filling a contour | |
| 4251 | + | implicitly closes it.</doc> | |
| 4252 | + | <source-position filename="gsk/gskpath.h" line="122"/> | |
| 3572 | 4253 | <return-value transfer-ownership="none"> | |
| 3573 | 4254 | <doc xml:space="preserve" | |
| 3574 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3575 | - | line="767">the start value for the gradient</doc> | |
| 3576 | - | <type name="gfloat" c:type="float"/> | |
| 4255 | + | filename="gsk/gskpath.c" | |
| 4256 | + | line="462">true if @point is inside</doc> | |
| 4257 | + | <type name="gboolean" c:type="gboolean"/> | |
| 3577 | 4258 | </return-value> | |
| 3578 | 4259 | <parameters> | |
| 3579 | - | <instance-parameter name="node" transfer-ownership="none"> | |
| 4260 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 3580 | 4261 | <doc xml:space="preserve" | |
| 3581 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3582 | - | line="763">a `GskRenderNode` for a radial gradient</doc> | |
| 3583 | - | <type name="RadialGradientNode" c:type="const GskRenderNode*"/> | |
| 4262 | + | filename="gsk/gskpath.c" | |
| 4263 | + | line="453">a path</doc> | |
| 4264 | + | <type name="Path" c:type="GskPath*"/> | |
| 3584 | 4265 | </instance-parameter> | |
| 4266 | + | <parameter name="point" transfer-ownership="none"> | |
| 4267 | + | <doc xml:space="preserve" | |
| 4268 | + | filename="gsk/gskpath.c" | |
| 4269 | + | line="454">the point to test</doc> | |
| 4270 | + | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 4271 | + | </parameter> | |
| 4272 | + | <parameter name="fill_rule" transfer-ownership="none"> | |
| 4273 | + | <doc xml:space="preserve" | |
| 4274 | + | filename="gsk/gskpath.c" | |
| 4275 | + | line="455">the fill rule to follow</doc> | |
| 4276 | + | <type name="FillRule" c:type="GskFillRule"/> | |
| 4277 | + | </parameter> | |
| 3585 | 4278 | </parameters> | |
| 3586 | 4279 | </method> | |
| 3587 | - | <method name="get_vradius" | |
| 3588 | - | c:identifier="gsk_radial_gradient_node_get_vradius"> | |
| 4280 | + | <method name="is_closed" | |
| 4281 | + | c:identifier="gsk_path_is_closed" | |
| 4282 | + | version="4.14"> | |
| 3589 | 4283 | <doc xml:space="preserve" | |
| 3590 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3591 | - | line="745">Retrieves the vertical radius for the gradient.</doc> | |
| 3592 | - | <source-position filename="gsk/gskrendernode.h" line="288"/> | |
| 4284 | + | filename="gsk/gskpath.c" | |
| 4285 | + | line="324">Returns if the path represents a single closed contour.</doc> | |
| 4286 | + | <source-position filename="gsk/gskpath.h" line="110"/> | |
| 3593 | 4287 | <return-value transfer-ownership="none"> | |
| 3594 | 4288 | <doc xml:space="preserve" | |
| 3595 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3596 | - | line="751">the vertical radius for the gradient</doc> | |
| 3597 | - | <type name="gfloat" c:type="float"/> | |
| 4289 | + | filename="gsk/gskpath.c" | |
| 4290 | + | line="330">true if the path is closed</doc> | |
| 4291 | + | <type name="gboolean" c:type="gboolean"/> | |
| 3598 | 4292 | </return-value> | |
| 3599 | 4293 | <parameters> | |
| 3600 | - | <instance-parameter name="node" transfer-ownership="none"> | |
| 4294 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 3601 | 4295 | <doc xml:space="preserve" | |
| 3602 | - | filename="gsk/gskrendernodeimpl.c" | |
| 3603 | - | line="747">a `GskRenderNode` for a radial gradient</doc> | |
| 3604 | - | <type name="RadialGradientNode" c:type="const GskRenderNode*"/> | |
| 4296 | + | filename="gsk/gskpath.c" | |
| 4297 | + | line="326">a path</doc> | |
| 4298 | + | <type name="Path" c:type="GskPath*"/> | |
| 3605 | 4299 | </instance-parameter> | |
| 3606 | 4300 | </parameters> | |
| 3607 | 4301 | </method> | |
| 3608 | - | </class> | |
| 3609 | - | <class name="RenderNode" | |
| 3610 | - | c:symbol-prefix="render_node" | |
| 3611 | - | c:type="GskRenderNode" | |
| 3612 | - | abstract="1" | |
| 3613 | - | glib:type-name="GskRenderNode" | |
| 3614 | - | glib:get-type="gsk_render_node_get_type" | |
| 3615 | - | glib:fundamental="1" | |
| 3616 | - | glib:ref-func="gsk_render_node_ref" | |
| 3617 | - | glib:unref-func="gsk_render_node_unref" | |
| 3618 | - | glib:set-value-func="gsk_value_set_render_node" | |
| 3619 | - | glib:get-value-func="gsk_value_get_render_node"> | |
| 3620 | - | <doc xml:space="preserve" | |
| 3621 | - | filename="gsk/gskrendernode.c" | |
| 3622 | - | line="19">`GskRenderNode` is the basic block in a scene graph to be | |
| 3623 | - | rendered using [class@Gsk.Renderer]. | |
| 3624 | - | ||
| 3625 | - | Each node has a parent, except the top-level node; each node may have | |
| 3626 | - | children nodes. | |
| 3627 | - | ||
| 3628 | - | Each node has an associated drawing surface, which has the size of | |
| 3629 | - | the rectangle set when creating it. | |
| 3630 | - | ||
| 3631 | - | Render nodes are meant to be transient; once they have been associated | |
| 3632 | - | to a [class@Gsk.Renderer] it's safe to release any reference you have on | |
| 3633 | - | them. All [class@Gsk.RenderNode]s are immutable, you can only specify their | |
| 3634 | - | properties during construction.</doc> | |
| 3635 | - | <function name="deserialize" c:identifier="gsk_render_node_deserialize"> | |
| 3636 | - | <doc xml:space="preserve" | |
| 3637 | - | filename="gsk/gskrendernode.c" | |
| 3638 | - | line="600">Loads data previously created via [method@Gsk.RenderNode.serialize]. | |
| 3639 | - | ||
| 3640 | - | For a discussion of the supported format, see that function.</doc> | |
| 3641 | - | <source-position filename="gsk/gskrendernode.h" line="138"/> | |
| 3642 | - | <return-value transfer-ownership="full" nullable="1"> | |
| 3643 | - | <doc xml:space="preserve" | |
| 3644 | - | filename="gsk/gskrendernode.c" | |
| 3645 | - | line="610">a new `GskRenderNode`</doc> | |
| 3646 | - | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 3647 | - | </return-value> | |
| 3648 | - | <parameters> | |
| 3649 | - | <parameter name="bytes" transfer-ownership="none"> | |
| 3650 | - | <doc xml:space="preserve" | |
| 3651 | - | filename="gsk/gskrendernode.c" | |
| 3652 | - | line="602">the bytes containing the data</doc> | |
| 3653 | - | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 3654 | - | </parameter> | |
| 3655 | - | <parameter name="error_func" | |
| 3656 | - | transfer-ownership="none" | |
| 3657 | - | nullable="1" | |
| 3658 | - | allow-none="1" | |
| 3659 | - | scope="call" | |
| 3660 | - | closure="2"> | |
| 3661 | - | <doc xml:space="preserve" | |
| 3662 | - | filename="gsk/gskrendernode.c" | |
| 3663 | - | line="603">Callback on parsing errors</doc> | |
| 3664 | - | <type name="ParseErrorFunc" c:type="GskParseErrorFunc"/> | |
| 3665 | - | </parameter> | |
| 3666 | - | <parameter name="user_data" | |
| 3667 | - | transfer-ownership="none" | |
| 3668 | - | nullable="1" | |
| 3669 | - | allow-none="1" | |
| 3670 | - | closure="1"> | |
| 3671 | - | <doc xml:space="preserve" | |
| 3672 | - | filename="gsk/gskrendernode.c" | |
| 3673 | - | line="604">user_data for @error_func</doc> | |
| 3674 | - | <type name="gpointer" c:type="gpointer"/> | |
| 3675 | - | </parameter> | |
| 3676 | - | </parameters> | |
| 3677 | - | </function> | |
| 3678 | - | <method name="draw" c:identifier="gsk_render_node_draw"> | |
| 4302 | + | <method name="is_empty" c:identifier="gsk_path_is_empty" version="4.14"> | |
| 3679 | 4303 | <doc xml:space="preserve" | |
| 3680 | - | filename="gsk/gskrendernode.c" | |
| 3681 | - | line="418">Draw the contents of @node to the given cairo context. | |
| 3682 | - | ||
| 3683 | - | Typically, you'll use this function to implement fallback rendering | |
| 3684 | - | of `GskRenderNode`s on an intermediate Cairo context, instead of using | |
| 3685 | - | the drawing context associated to a [class@Gdk.Surface]'s rendering buffer. | |
| 3686 | - | ||
| 3687 | - | For advanced nodes that cannot be supported using Cairo, in particular | |
| 3688 | - | for nodes doing 3D operations, this function may fail.</doc> | |
| 3689 | - | <source-position filename="gsk/gskrendernode.h" line="128"/> | |
| 4304 | + | filename="gsk/gskpath.c" | |
| 4305 | + | line="306">Checks if the path is empty, i.e. contains no lines or curves.</doc> | |
| 4306 | + | <source-position filename="gsk/gskpath.h" line="107"/> | |
| 3690 | 4307 | <return-value transfer-ownership="none"> | |
| 3691 | - | <type name="none" c:type="void"/> | |
| 4308 | + | <doc xml:space="preserve" | |
| 4309 | + | filename="gsk/gskpath.c" | |
| 4310 | + | line="312">true if the path is empty</doc> | |
| 4311 | + | <type name="gboolean" c:type="gboolean"/> | |
| 3692 | 4312 | </return-value> | |
| 3693 | 4313 | <parameters> | |
| 3694 | - | <instance-parameter name="node" transfer-ownership="none"> | |
| 4314 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 3695 | 4315 | <doc xml:space="preserve" | |
| 3696 | - | filename="gsk/gskrendernode.c" | |
| 3697 | - | line="420">a `GskRenderNode`</doc> | |
| 3698 | - | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 4316 | + | filename="gsk/gskpath.c" | |
| 4317 | + | line="308">a path</doc> | |
| 4318 | + | <type name="Path" c:type="GskPath*"/> | |
| 3699 | 4319 | </instance-parameter> | |
| 3700 | - | <parameter name="cr" transfer-ownership="none"> | |
| 3701 | - | <doc xml:space="preserve" | |
| 3702 | - | filename="gsk/gskrendernode.c" | |
| 3703 | - | line="421">cairo context to draw to</doc> | |
| 3704 | - | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 3705 | - | </parameter> | |
| 3706 | 4320 | </parameters> | |
| 3707 | 4321 | </method> | |
| 3708 | - | <method name="get_bounds" c:identifier="gsk_render_node_get_bounds"> | |
| 4322 | + | <method name="print" c:identifier="gsk_path_print" version="4.14"> | |
| 3709 | 4323 | <doc xml:space="preserve" | |
| 3710 | - | filename="gsk/gskrendernode.c" | |
| 3711 | - | line="399">Retrieves the boundaries of the @node. | |
| 4324 | + | filename="gsk/gskpath.c" | |
| 4325 | + | line="182">Converts the path into a human-readable representation. | |
| 3712 | 4326 | ||
| 3713 | - | The node will not draw outside of its boundaries.</doc> | |
| 3714 | - | <source-position filename="gsk/gskrendernode.h" line="124"/> | |
| 4327 | + | The string is compatible with (a superset of) | |
| 4328 | + | [SVG path syntax](https://www.w3.org/TR/SVG11/paths.html#PathData), | |
| 4329 | + | see [func@Gsk.Path.parse] for a summary of the syntax.</doc> | |
| 4330 | + | <source-position filename="gsk/gskpath.h" line="94"/> | |
| 3715 | 4331 | <return-value transfer-ownership="none"> | |
| 3716 | 4332 | <type name="none" c:type="void"/> | |
| 3717 | 4333 | </return-value> | |
| 3718 | 4334 | <parameters> | |
| 3719 | - | <instance-parameter name="node" transfer-ownership="none"> | |
| 4335 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 3720 | 4336 | <doc xml:space="preserve" | |
| 3721 | - | filename="gsk/gskrendernode.c" | |
| 3722 | - | line="401">a `GskRenderNode`</doc> | |
| 3723 | - | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 4337 | + | filename="gsk/gskpath.c" | |
| 4338 | + | line="184">a path</doc> | |
| 4339 | + | <type name="Path" c:type="GskPath*"/> | |
| 3724 | 4340 | </instance-parameter> | |
| 3725 | - | <parameter name="bounds" | |
| 3726 | - | direction="out" | |
| 3727 | - | caller-allocates="1" | |
| 3728 | - | transfer-ownership="none"> | |
| 4341 | + | <parameter name="string" transfer-ownership="none"> | |
| 3729 | 4342 | <doc xml:space="preserve" | |
| 3730 | - | filename="gsk/gskrendernode.c" | |
| 3731 | - | line="402">return location for the boundaries</doc> | |
| 3732 | - | <type name="Graphene.Rect" c:type="graphene_rect_t*"/> | |
| 4343 | + | filename="gsk/gskpath.c" | |
| 4344 | + | line="185">the string to print into</doc> | |
| 4345 | + | <type name="GLib.String" c:type="GString*"/> | |
| 3733 | 4346 | </parameter> | |
| 3734 | 4347 | </parameters> | |
| 3735 | 4348 | </method> | |
| 3736 | - | <method name="get_node_type" | |
| 3737 | - | c:identifier="gsk_render_node_get_node_type"> | |
| 4349 | + | <method name="ref" c:identifier="gsk_path_ref" version="4.14"> | |
| 3738 | 4350 | <doc xml:space="preserve" | |
| 3739 | - | filename="gsk/gskrendernode.c" | |
| 3740 | - | line="376">Returns the type of the @node.</doc> | |
| 3741 | - | <source-position filename="gsk/gskrendernode.h" line="121"/> | |
| 3742 | - | <return-value transfer-ownership="none"> | |
| 4351 | + | filename="gsk/gskpath.c" | |
| 4352 | + | line="139">Increases the reference count of a path by one.</doc> | |
| 4353 | + | <source-position filename="gsk/gskpath.h" line="89"/> | |
| 4354 | + | <return-value transfer-ownership="full"> | |
| 3743 | 4355 | <doc xml:space="preserve" | |
| 3744 | - | filename="gsk/gskrendernode.c" | |
| 3745 | - | line="382">the type of the `GskRenderNode`</doc> | |
| 3746 | - | <type name="RenderNodeType" c:type="GskRenderNodeType"/> | |
| 4356 | + | filename="gsk/gskpath.c" | |
| 4357 | + | line="145">the passed in `GskPath`</doc> | |
| 4358 | + | <type name="Path" c:type="GskPath*"/> | |
| 3747 | 4359 | </return-value> | |
| 3748 | 4360 | <parameters> | |
| 3749 | - | <instance-parameter name="node" transfer-ownership="none"> | |
| 4361 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 3750 | 4362 | <doc xml:space="preserve" | |
| 3751 | - | filename="gsk/gskrendernode.c" | |
| 3752 | - | line="378">a `GskRenderNode`</doc> | |
| 3753 | - | <type name="RenderNode" c:type="const GskRenderNode*"/> | |
| 4363 | + | filename="gsk/gskpath.c" | |
| 4364 | + | line="141">a path</doc> | |
| 4365 | + | <type name="Path" c:type="GskPath*"/> | |
| 3754 | 4366 | </instance-parameter> | |
| 3755 | 4367 | </parameters> | |
| 3756 | 4368 | </method> | |
| 3757 | - | <method name="ref" c:identifier="gsk_render_node_ref"> | |
| 4369 | + | <method name="to_cairo" c:identifier="gsk_path_to_cairo" version="4.14"> | |
| 3758 | 4370 | <doc xml:space="preserve" | |
| 3759 | - | filename="gsk/gskrendernode.c" | |
| 3760 | - | line="339">Acquires a reference on the given `GskRenderNode`.</doc> | |
| 3761 | - | <source-position filename="gsk/gskrendernode.h" line="116"/> | |
| 3762 | - | <return-value transfer-ownership="full"> | |
| 3763 | - | <doc xml:space="preserve" | |
| 3764 | - | filename="gsk/gskrendernode.c" | |
| 3765 | - | line="345">the `GskRenderNode` with an additional reference</doc> | |
| 3766 | - | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 4371 | + | filename="gsk/gskpath.c" | |
| 4372 | + | line="277">Appends the path to a cairo context for drawing with Cairo. | |
| 4373 | + | ||
| 4374 | + | This may cause some suboptimal conversions to be performed as | |
| 4375 | + | Cairo does not support all features of `GskPath`. | |
| 4376 | + | ||
| 4377 | + | This function does not clear the existing Cairo path. Call | |
| 4378 | + | cairo_new_path() if you want this.</doc> | |
| 4379 | + | <source-position filename="gsk/gskpath.h" line="103"/> | |
| 4380 | + | <return-value transfer-ownership="none"> | |
| 4381 | + | <type name="none" c:type="void"/> | |
| 3767 | 4382 | </return-value> | |
| 3768 | 4383 | <parameters> | |
| 3769 | - | <instance-parameter name="node" transfer-ownership="none"> | |
| 4384 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 3770 | 4385 | <doc xml:space="preserve" | |
| 3771 | - | filename="gsk/gskrendernode.c" | |
| 3772 | - | line="341">a `GskRenderNode`</doc> | |
| 3773 | - | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 4386 | + | filename="gsk/gskpath.c" | |
| 4387 | + | line="279">a path</doc> | |
| 4388 | + | <type name="Path" c:type="GskPath*"/> | |
| 3774 | 4389 | </instance-parameter> | |
| 4390 | + | <parameter name="cr" transfer-ownership="none"> | |
| 4391 | + | <doc xml:space="preserve" | |
| 4392 | + | filename="gsk/gskpath.c" | |
| 4393 | + | line="280">a cairo context</doc> | |
| 4394 | + | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 4395 | + | </parameter> | |
| 3775 | 4396 | </parameters> | |
| 3776 | 4397 | </method> | |
| 3777 | - | <method name="serialize" c:identifier="gsk_render_node_serialize"> | |
| 4398 | + | <method name="to_string" | |
| 4399 | + | c:identifier="gsk_path_to_string" | |
| 4400 | + | version="4.14"> | |
| 3778 | 4401 | <doc xml:space="preserve" | |
| 3779 | - | filename="gsk/gskrendernodeparser.c" | |
| 3780 | - | line="3052">Serializes the @node for later deserialization via | |
| 3781 | - | gsk_render_node_deserialize(). No guarantees are made about the format | |
| 3782 | - | used other than that the same version of GTK will be able to deserialize | |
| 3783 | - | the result of a call to gsk_render_node_serialize() and | |
| 3784 | - | gsk_render_node_deserialize() will correctly reject files it cannot open | |
| 3785 | - | that were created with previous versions of GTK. | |
| 4402 | + | filename="gsk/gskpath.c" | |
| 4403 | + | line="212">Converts the path into a human-readable string. | |
| 3786 | 4404 | ||
| 3787 | - | The intended use of this functions is testing, benchmarking and debugging. | |
| 3788 | - | The format is not meant as a permanent storage format.</doc> | |
| 3789 | - | <source-position filename="gsk/gskrendernode.h" line="132"/> | |
| 4405 | + | You can use this function in a debugger to get a quick overview | |
| 4406 | + | of the path. | |
| 4407 | + | ||
| 4408 | + | This is a wrapper around [method@Gsk.Path.print], see that function | |
| 4409 | + | for details.</doc> | |
| 4410 | + | <source-position filename="gsk/gskpath.h" line="97"/> | |
| 3790 | 4411 | <return-value transfer-ownership="full"> | |
| 3791 | 4412 | <doc xml:space="preserve" | |
| 3792 | - | filename="gsk/gskrendernodeparser.c" | |
| 3793 | - | line="3066">a `GBytes` representing the node.</doc> | |
| 3794 | - | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 4413 | + | filename="gsk/gskpath.c" | |
| 4414 | + | line="224">a new string for @self</doc> | |
| 4415 | + | <type name="utf8" c:type="char*"/> | |
| 3795 | 4416 | </return-value> | |
| 3796 | 4417 | <parameters> | |
| 3797 | - | <instance-parameter name="node" transfer-ownership="none"> | |
| 4418 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 3798 | 4419 | <doc xml:space="preserve" | |
| 3799 | - | filename="gsk/gskrendernodeparser.c" | |
| 3800 | - | line="3054">a `GskRenderNode`</doc> | |
| 3801 | - | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 4420 | + | filename="gsk/gskpath.c" | |
| 4421 | + | line="214">a path</doc> | |
| 4422 | + | <type name="Path" c:type="GskPath*"/> | |
| 3802 | 4423 | </instance-parameter> | |
| 3803 | 4424 | </parameters> | |
| 3804 | 4425 | </method> | |
| 3805 | - | <method name="unref" c:identifier="gsk_render_node_unref"> | |
| 4426 | + | <method name="unref" c:identifier="gsk_path_unref" version="4.14"> | |
| 3806 | 4427 | <doc xml:space="preserve" | |
| 3807 | - | filename="gsk/gskrendernode.c" | |
| 3808 | - | line="357">Releases a reference on the given `GskRenderNode`. | |
| 4428 | + | filename="gsk/gskpath.c" | |
| 4429 | + | line="159">Decreases the reference count of a path by one. | |
| 3809 | 4430 | ||
| 3810 | - | If the reference was the last, the resources associated to the @node are | |
| 3811 | - | freed.</doc> | |
| 3812 | - | <source-position filename="gsk/gskrendernode.h" line="118"/> | |
| 4431 | + | If the resulting reference count is zero, frees the path.</doc> | |
| 4432 | + | <source-position filename="gsk/gskpath.h" line="91"/> | |
| 3813 | 4433 | <return-value transfer-ownership="none"> | |
| 3814 | 4434 | <type name="none" c:type="void"/> | |
| 3815 | 4435 | </return-value> | |
| 3816 | 4436 | <parameters> | |
| 3817 | - | <instance-parameter name="node" transfer-ownership="full"> | |
| 4437 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 3818 | 4438 | <doc xml:space="preserve" | |
| 3819 | - | filename="gsk/gskrendernode.c" | |
| 3820 | - | line="359">a `GskRenderNode`</doc> | |
| 3821 | - | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 4439 | + | filename="gsk/gskpath.c" | |
| 4440 | + | line="161">a path</doc> | |
| 4441 | + | <type name="Path" c:type="GskPath*"/> | |
| 3822 | 4442 | </instance-parameter> | |
| 3823 | 4443 | </parameters> | |
| 3824 | 4444 | </method> | |
| 3825 | - | <method name="write_to_file" | |
| 3826 | - | c:identifier="gsk_render_node_write_to_file" | |
| 3827 | - | throws="1"> | |
| 4445 | + | <function name="parse" c:identifier="gsk_path_parse" version="4.14"> | |
| 3828 | 4446 | <doc xml:space="preserve" | |
| 3829 | - | filename="gsk/gskrendernode.c" | |
| 3830 | - | line="562">This function is equivalent to calling [method@Gsk.RenderNode.serialize] | |
| 3831 | - | followed by [func@GLib.file_set_contents]. | |
| 4447 | + | filename="gsk/gskpathparser.c" | |
| 4448 | + | line="358">Constructs a path from a serialized form. | |
| 3832 | 4449 | ||
| 3833 | - | See those two functions for details on the arguments. | |
| 4450 | + | The string is expected to be in (a superset of) | |
| 4451 | + | [SVG path syntax](https://www.w3.org/TR/SVG11/paths.html#PathData), | |
| 4452 | + | as e.g. produced by [method@Gsk.Path.to_string]. | |
| 3834 | 4453 | ||
| 3835 | - | It is mostly intended for use inside a debugger to quickly dump a render | |
| 3836 | - | node to a file for later inspection.</doc> | |
| 3837 | - | <source-position filename="gsk/gskrendernode.h" line="134"/> | |
| 3838 | - | <return-value transfer-ownership="none"> | |
| 4454 | + | A high-level summary of the syntax: | |
| 4455 | + | ||
| 4456 | + | - `M x y` Move to `(x, y)` | |
| 4457 | + | - `L x y` Add a line from the current point to `(x, y)` | |
| 4458 | + | - `Q x1 y1 x2 y2` Add a quadratic Bézier from the current point to `(x2, y2)`, with control point `(x1, y1)` | |
| 4459 | + | - `C x1 y1 x2 y2 x3 y3` Add a cubic Bézier from the current point to `(x3, y3)`, with control points `(x1, y1)` and `(x2, y2)` | |
| 4460 | + | - `Z` Close the contour by drawing a line back to the start point | |
| 4461 | + | - `H x` Add a horizontal line from the current point to the given x value | |
| 4462 | + | - `V y` Add a vertical line from the current point to the given y value | |
| 4463 | + | - `T x2 y2` Add a quadratic Bézier, using the reflection of the previous segments' control point as control point | |
| 4464 | + | - `S x2 y2 x3 y3` Add a cubic Bézier, using the reflection of the previous segments' second control point as first control point | |
| 4465 | + | - `A rx ry r l s x y` Add an elliptical arc from the current point to `(x, y)` with radii rx and ry. See the SVG documentation for how the other parameters influence the arc. | |
| 4466 | + | - `O x1 y1 x2 y2 w` Add a rational quadratic Bézier from the current point to `(x2, y2)` with control point `(x1, y1)` and weight `w`. | |
| 4467 | + | ||
| 4468 | + | All the commands have lowercase variants that interpret coordinates | |
| 4469 | + | relative to the current point. | |
| 4470 | + | ||
| 4471 | + | The `O` command is an extension that is not supported in SVG.</doc> | |
| 4472 | + | <source-position filename="gsk/gskpath.h" line="100"/> | |
| 4473 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 3839 | 4474 | <doc xml:space="preserve" | |
| 3840 | - | filename="gsk/gskrendernode.c" | |
| 3841 | - | line="576">%TRUE if saving was successful</doc> | |
| 3842 | - | <type name="gboolean" c:type="gboolean"/> | |
| 4475 | + | filename="gsk/gskpathparser.c" | |
| 4476 | + | line="387">a new `GskPath`, or `NULL` if @string could not be parsed</doc> | |
| 4477 | + | <type name="Path" c:type="GskPath*"/> | |
| 3843 | 4478 | </return-value> | |
| 3844 | 4479 | <parameters> | |
| 3845 | - | <instance-parameter name="node" transfer-ownership="none"> | |
| 3846 | - | <doc xml:space="preserve" | |
| 3847 | - | filename="gsk/gskrendernode.c" | |
| 3848 | - | line="564">a `GskRenderNode`</doc> | |
| 3849 | - | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 3850 | - | </instance-parameter> | |
| 3851 | - | <parameter name="filename" transfer-ownership="none"> | |
| 4480 | + | <parameter name="string" transfer-ownership="none"> | |
| 3852 | 4481 | <doc xml:space="preserve" | |
| 3853 | - | filename="gsk/gskrendernode.c" | |
| 3854 | - | line="565">the file to save it to.</doc> | |
| 3855 | - | <type name="filename" c:type="const char*"/> | |
| 4482 | + | filename="gsk/gskpathparser.c" | |
| 4483 | + | line="360">a string</doc> | |
| 4484 | + | <type name="utf8" c:type="const char*"/> | |
| 3856 | 4485 | </parameter> | |
| 3857 | 4486 | </parameters> | |
| 3858 | - | </method> | |
| 3859 | - | </class> | |
| 3860 | - | <enumeration name="RenderNodeType" | |
| 3861 | - | glib:type-name="GskRenderNodeType" | |
| 3862 | - | glib:get-type="gsk_render_node_type_get_type" | |
| 3863 | - | c:type="GskRenderNodeType"> | |
| 4487 | + | </function> | |
| 4488 | + | </record> | |
| 4489 | + | <record name="PathBuilder" | |
| 4490 | + | c:type="GskPathBuilder" | |
| 4491 | + | opaque="1" | |
| 4492 | + | version="4.14" | |
| 4493 | + | glib:type-name="GskPathBuilder" | |
| 4494 | + | glib:get-type="gsk_path_builder_get_type" | |
| 4495 | + | c:symbol-prefix="path_builder"> | |
| 3864 | 4496 | <doc xml:space="preserve" | |
| 3865 | - | filename="gsk/gskenums.h" | |
| 3866 | - | line="25">The type of a node determines what the node is rendering.</doc> | |
| 3867 | - | <member name="not_a_render_node" | |
| 3868 | - | value="0" | |
| 3869 | - | c:identifier="GSK_NOT_A_RENDER_NODE" | |
| 3870 | - | glib:nick="not-a-render-node" | |
| 3871 | - | glib:name="GSK_NOT_A_RENDER_NODE"> | |
| 4497 | + | filename="gsk/gskpathbuilder.c" | |
| 4498 | + | line="31">Constructs `GskPath` objects. | |
| 4499 | + | ||
| 4500 | + | A path is constructed like this: | |
| 4501 | + | ||
| 4502 | + | ```c | |
| 4503 | + | GskPath * | |
| 4504 | + | construct_path (void) | |
| 4505 | + | { | |
| 4506 | + | GskPathBuilder *builder; | |
| 4507 | + | ||
| 4508 | + | builder = gsk_path_builder_new (); | |
| 4509 | + | ||
| 4510 | + | // add contours to the path here | |
| 4511 | + | ||
| 4512 | + | return gsk_path_builder_free_to_path (builder); | |
| 4513 | + | ``` | |
| 4514 | + | ||
| 4515 | + | Adding contours to the path can be done in two ways. | |
| 4516 | + | The easiest option is to use the `gsk_path_builder_add_*` group | |
| 4517 | + | of functions that add predefined contours to the current path, | |
| 4518 | + | either common shapes like [method@Gsk.PathBuilder.add_circle] | |
| 4519 | + | or by adding from other paths like [method@Gsk.PathBuilder.add_path]. | |
| 4520 | + | ||
| 4521 | + | The `gsk_path_builder_add_*` methods always add complete contours, | |
| 4522 | + | and do not use or modify the current point. | |
| 4523 | + | ||
| 4524 | + | The other option is to define each line and curve manually with | |
| 4525 | + | the `gsk_path_builder_*_to` group of functions. You start with | |
| 4526 | + | a call to [method@Gsk.PathBuilder.move_to] to set the starting point | |
| 4527 | + | and then use multiple calls to any of the drawing functions to | |
| 4528 | + | move the pen along the plane. Once you are done, you can call | |
| 4529 | + | [method@Gsk.PathBuilder.close] to close the path by connecting it | |
| 4530 | + | back with a line to the starting point. | |
| 4531 | + | ||
| 4532 | + | This is similar to how paths are drawn in Cairo. | |
| 4533 | + | ||
| 4534 | + | Note that `GskPathBuilder` will reduce the degree of added Bézier | |
| 4535 | + | curves as much as possible, to simplify rendering.</doc> | |
| 4536 | + | <source-position filename="gsk/gsktypes.h" line="29"/> | |
| 4537 | + | <constructor name="new" | |
| 4538 | + | c:identifier="gsk_path_builder_new" | |
| 4539 | + | version="4.14"> | |
| 3872 | 4540 | <doc xml:space="preserve" | |
| 3873 | - | filename="gsk/gskenums.h" | |
| 3874 | - | line="27">Error type. No node will ever have this type.</doc> | |
| 3875 | - | </member> | |
| 3876 | - | <member name="container_node" | |
| 3877 | - | value="1" | |
| 3878 | - | c:identifier="GSK_CONTAINER_NODE" | |
| 3879 | - | glib:nick="container-node" | |
| 3880 | - | glib:name="GSK_CONTAINER_NODE"> | |
| 4541 | + | filename="gsk/gskpathbuilder.c" | |
| 4542 | + | line="94">Create a new `GskPathBuilder` object. | |
| 4543 | + | ||
| 4544 | + | The resulting builder would create an empty `GskPath`. | |
| 4545 | + | Use addition functions to add types to it.</doc> | |
| 4546 | + | <source-position filename="gsk/gskpathbuilder.h" line="38"/> | |
| 4547 | + | <return-value transfer-ownership="full"> | |
| 4548 | + | <doc xml:space="preserve" | |
| 4549 | + | filename="gsk/gskpathbuilder.c" | |
| 4550 | + | line="102">a new `GskPathBuilder`</doc> | |
| 4551 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 4552 | + | </return-value> | |
| 4553 | + | </constructor> | |
| 4554 | + | <method name="add_cairo_path" | |
| 4555 | + | c:identifier="gsk_path_builder_add_cairo_path" | |
| 4556 | + | version="4.14"> | |
| 3881 | 4557 | <doc xml:space="preserve" | |
| 3882 | - | filename="gsk/gskenums.h" | |
| 3883 | - | line="28">A node containing a stack of children</doc> | |
| 3884 | - | </member> | |
| 3885 | - | <member name="cairo_node" | |
| 3886 | - | value="2" | |
| 3887 | - | c:identifier="GSK_CAIRO_NODE" | |
| 3888 | - | glib:nick="cairo-node" | |
| 3889 | - | glib:name="GSK_CAIRO_NODE"> | |
| 4558 | + | filename="gsk/gskpathbuilder.c" | |
| 4559 | + | line="386">Adds a Cairo path to the builder. | |
| 4560 | + | ||
| 4561 | + | You can use cairo_copy_path() to access the path | |
| 4562 | + | from a Cairo context.</doc> | |
| 4563 | + | <source-position filename="gsk/gskpathbuilder.h" line="58"/> | |
| 4564 | + | <return-value transfer-ownership="none"> | |
| 4565 | + | <type name="none" c:type="void"/> | |
| 4566 | + | </return-value> | |
| 4567 | + | <parameters> | |
| 4568 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 4569 | + | <doc xml:space="preserve" | |
| 4570 | + | filename="gsk/gskpathbuilder.c" | |
| 4571 | + | line="388">a path builder</doc> | |
| 4572 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 4573 | + | </instance-parameter> | |
| 4574 | + | <parameter name="path" transfer-ownership="none"> | |
| 4575 | + | <doc xml:space="preserve" | |
| 4576 | + | filename="gsk/gskpathbuilder.c" | |
| 4577 | + | line="389">a path</doc> | |
| 4578 | + | <type name="cairo.Path" c:type="const cairo_path_t*"/> | |
| 4579 | + | </parameter> | |
| 4580 | + | </parameters> | |
| 4581 | + | </method> | |
| 4582 | + | <method name="add_circle" | |
| 4583 | + | c:identifier="gsk_path_builder_add_circle" | |
| 4584 | + | version="4.14"> | |
| 3890 | 4585 | <doc xml:space="preserve" | |
| 3891 | - | filename="gsk/gskenums.h" | |
| 3892 | - | line="29">A node drawing a `cairo_surface_t`</doc> | |
| 3893 | - | </member> | |
| 3894 | - | <member name="color_node" | |
| 3895 | - | value="3" | |
| 3896 | - | c:identifier="GSK_COLOR_NODE" | |
| 3897 | - | glib:nick="color-node" | |
| 3898 | - | glib:name="GSK_COLOR_NODE"> | |
| 4586 | + | filename="gsk/gskpathbuilder.c" | |
| 4587 | + | line="492">Adds a circle as a new contour. | |
| 4588 | + | ||
| 4589 | + | The path is going around the circle in clockwise direction. | |
| 4590 | + | ||
| 4591 | + | If @radius is zero, the contour will be a closed point.</doc> | |
| 4592 | + | <source-position filename="gsk/gskpathbuilder.h" line="71"/> | |
| 4593 | + | <return-value transfer-ownership="none"> | |
| 4594 | + | <type name="none" c:type="void"/> | |
| 4595 | + | </return-value> | |
| 4596 | + | <parameters> | |
| 4597 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 4598 | + | <doc xml:space="preserve" | |
| 4599 | + | filename="gsk/gskpathbuilder.c" | |
| 4600 | + | line="494">a path builder</doc> | |
| 4601 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 4602 | + | </instance-parameter> | |
| 4603 | + | <parameter name="center" transfer-ownership="none"> | |
| 4604 | + | <doc xml:space="preserve" | |
| 4605 | + | filename="gsk/gskpathbuilder.c" | |
| 4606 | + | line="495">the center of the circle</doc> | |
| 4607 | + | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 4608 | + | </parameter> | |
| 4609 | + | <parameter name="radius" transfer-ownership="none"> | |
| 4610 | + | <doc xml:space="preserve" | |
| 4611 | + | filename="gsk/gskpathbuilder.c" | |
| 4612 | + | line="496">the radius of the circle</doc> | |
| 4613 | + | <type name="gfloat" c:type="float"/> | |
| 4614 | + | </parameter> | |
| 4615 | + | </parameters> | |
| 4616 | + | </method> | |
| 4617 | + | <method name="add_layout" | |
| 4618 | + | c:identifier="gsk_path_builder_add_layout" | |
| 4619 | + | version="4.14"> | |
| 3899 | 4620 | <doc xml:space="preserve" | |
| 3900 | - | filename="gsk/gskenums.h" | |
| 3901 | - | line="30">A node drawing a single color rectangle</doc> | |
| 3902 | - | </member> | |
| 3903 | - | <member name="linear_gradient_node" | |
| 3904 | - | value="4" | |
| 3905 | - | c:identifier="GSK_LINEAR_GRADIENT_NODE" | |
| 3906 | - | glib:nick="linear-gradient-node" | |
| 3907 | - | glib:name="GSK_LINEAR_GRADIENT_NODE"> | |
| 4621 | + | filename="gsk/gskpathbuilder.c" | |
| 4622 | + | line="1610">Adds the outlines for the glyphs in @layout to the builder.</doc> | |
| 4623 | + | <source-position filename="gsk/gskpathbuilder.h" line="61"/> | |
| 4624 | + | <return-value transfer-ownership="none"> | |
| 4625 | + | <type name="none" c:type="void"/> | |
| 4626 | + | </return-value> | |
| 4627 | + | <parameters> | |
| 4628 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 4629 | + | <doc xml:space="preserve" | |
| 4630 | + | filename="gsk/gskpathbuilder.c" | |
| 4631 | + | line="1612">a path builder</doc> | |
| 4632 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 4633 | + | </instance-parameter> | |
| 4634 | + | <parameter name="layout" transfer-ownership="none"> | |
| 4635 | + | <doc xml:space="preserve" | |
| 4636 | + | filename="gsk/gskpathbuilder.c" | |
| 4637 | + | line="1613">the pango layout to add</doc> | |
| 4638 | + | <type name="Pango.Layout" c:type="PangoLayout*"/> | |
| 4639 | + | </parameter> | |
| 4640 | + | </parameters> | |
| 4641 | + | </method> | |
| 4642 | + | <method name="add_path" | |
| 4643 | + | c:identifier="gsk_path_builder_add_path" | |
| 4644 | + | version="4.14"> | |
| 3908 | 4645 | <doc xml:space="preserve" | |
| 3909 | - | filename="gsk/gskenums.h" | |
| 3910 | - | line="31">A node drawing a linear gradient</doc> | |
| 3911 | - | </member> | |
| 3912 | - | <member name="repeating_linear_gradient_node" | |
| 3913 | - | value="5" | |
| 3914 | - | c:identifier="GSK_REPEATING_LINEAR_GRADIENT_NODE" | |
| 3915 | - | glib:nick="repeating-linear-gradient-node" | |
| 3916 | - | glib:name="GSK_REPEATING_LINEAR_GRADIENT_NODE"> | |
| 4646 | + | filename="gsk/gskpathbuilder.c" | |
| 4647 | + | line="338">Appends all of @path to the builder.</doc> | |
| 4648 | + | <source-position filename="gsk/gskpathbuilder.h" line="52"/> | |
| 4649 | + | <return-value transfer-ownership="none"> | |
| 4650 | + | <type name="none" c:type="void"/> | |
| 4651 | + | </return-value> | |
| 4652 | + | <parameters> | |
| 4653 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 4654 | + | <doc xml:space="preserve" | |
| 4655 | + | filename="gsk/gskpathbuilder.c" | |
| 4656 | + | line="340">a path builder</doc> | |
| 4657 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 4658 | + | </instance-parameter> | |
| 4659 | + | <parameter name="path" transfer-ownership="none"> | |
| 4660 | + | <doc xml:space="preserve" | |
| 4661 | + | filename="gsk/gskpathbuilder.c" | |
| 4662 | + | line="341">the path to append</doc> | |
| 4663 | + | <type name="Path" c:type="GskPath*"/> | |
| 4664 | + | </parameter> | |
| 4665 | + | </parameters> | |
| 4666 | + | </method> | |
| 4667 | + | <method name="add_rect" | |
| 4668 | + | c:identifier="gsk_path_builder_add_rect" | |
| 4669 | + | version="4.14"> | |
| 3917 | 4670 | <doc xml:space="preserve" | |
| 3918 | - | filename="gsk/gskenums.h" | |
| 3919 | - | line="32">A node drawing a repeating linear gradient</doc> | |
| 3920 | - | </member> | |
| 3921 | - | <member name="radial_gradient_node" | |
| 3922 | - | value="6" | |
| 3923 | - | c:identifier="GSK_RADIAL_GRADIENT_NODE" | |
| 3924 | - | glib:nick="radial-gradient-node" | |
| 3925 | - | glib:name="GSK_RADIAL_GRADIENT_NODE"> | |
| 4671 | + | filename="gsk/gskpathbuilder.c" | |
| 4672 | + | line="444">Adds a rectangle as a new contour. | |
| 4673 | + | ||
| 4674 | + | The path is going around the rectangle in clockwise direction. | |
| 4675 | + | ||
| 4676 | + | If the the width or height are 0, the path will be a closed | |
| 4677 | + | horizontal or vertical line. If both are 0, it'll be a closed dot.</doc> | |
| 4678 | + | <source-position filename="gsk/gskpathbuilder.h" line="65"/> | |
| 4679 | + | <return-value transfer-ownership="none"> | |
| 4680 | + | <type name="none" c:type="void"/> | |
| 4681 | + | </return-value> | |
| 4682 | + | <parameters> | |
| 4683 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 4684 | + | <doc xml:space="preserve" | |
| 4685 | + | filename="gsk/gskpathbuilder.c" | |
| 4686 | + | line="446">a path builder</doc> | |
| 4687 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 4688 | + | </instance-parameter> | |
| 4689 | + | <parameter name="rect" transfer-ownership="none"> | |
| 4690 | + | <doc xml:space="preserve" | |
| 4691 | + | filename="gsk/gskpathbuilder.c" | |
| 4692 | + | line="447">the rectangle to create a path for</doc> | |
| 4693 | + | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 4694 | + | </parameter> | |
| 4695 | + | </parameters> | |
| 4696 | + | </method> | |
| 4697 | + | <method name="add_reverse_path" | |
| 4698 | + | c:identifier="gsk_path_builder_add_reverse_path" | |
| 4699 | + | version="4.14"> | |
| 3926 | 4700 | <doc xml:space="preserve" | |
| 3927 | - | filename="gsk/gskenums.h" | |
| 3928 | - | line="33">A node drawing a radial gradient</doc> | |
| 3929 | - | </member> | |
| 3930 | - | <member name="repeating_radial_gradient_node" | |
| 3931 | - | value="7" | |
| 3932 | - | c:identifier="GSK_REPEATING_RADIAL_GRADIENT_NODE" | |
| 3933 | - | glib:nick="repeating-radial-gradient-node" | |
| 3934 | - | glib:name="GSK_REPEATING_RADIAL_GRADIENT_NODE"> | |
| 4701 | + | filename="gsk/gskpathbuilder.c" | |
| 4702 | + | line="362">Appends all of @path to the builder, in reverse order.</doc> | |
| 4703 | + | <source-position filename="gsk/gskpathbuilder.h" line="55"/> | |
| 4704 | + | <return-value transfer-ownership="none"> | |
| 4705 | + | <type name="none" c:type="void"/> | |
| 4706 | + | </return-value> | |
| 4707 | + | <parameters> | |
| 4708 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 4709 | + | <doc xml:space="preserve" | |
| 4710 | + | filename="gsk/gskpathbuilder.c" | |
| 4711 | + | line="364">a path builder</doc> | |
| 4712 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 4713 | + | </instance-parameter> | |
| 4714 | + | <parameter name="path" transfer-ownership="none"> | |
| 4715 | + | <doc xml:space="preserve" | |
| 4716 | + | filename="gsk/gskpathbuilder.c" | |
| 4717 | + | line="365">the path to append</doc> | |
| 4718 | + | <type name="Path" c:type="GskPath*"/> | |
| 4719 | + | </parameter> | |
| 4720 | + | </parameters> | |
| 4721 | + | </method> | |
| 4722 | + | <method name="add_rounded_rect" | |
| 4723 | + | c:identifier="gsk_path_builder_add_rounded_rect" | |
| 4724 | + | version="4.14"> | |
| 3935 | 4725 | <doc xml:space="preserve" | |
| 3936 | - | filename="gsk/gskenums.h" | |
| 3937 | - | line="34">A node drawing a repeating radial gradient</doc> | |
| 3938 | - | </member> | |
| 3939 | - | <member name="conic_gradient_node" | |
| 3940 | - | value="8" | |
| 3941 | - | c:identifier="GSK_CONIC_GRADIENT_NODE" | |
| 3942 | - | glib:nick="conic-gradient-node" | |
| 3943 | - | glib:name="GSK_CONIC_GRADIENT_NODE"> | |
| 4726 | + | filename="gsk/gskpathbuilder.c" | |
| 4727 | + | line="471">Adds a rounded rectangle as a new contour. | |
| 4728 | + | ||
| 4729 | + | The path is going around the rectangle in clockwise direction.</doc> | |
| 4730 | + | <source-position filename="gsk/gskpathbuilder.h" line="68"/> | |
| 4731 | + | <return-value transfer-ownership="none"> | |
| 4732 | + | <type name="none" c:type="void"/> | |
| 4733 | + | </return-value> | |
| 4734 | + | <parameters> | |
| 4735 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 4736 | + | <doc xml:space="preserve" | |
| 4737 | + | filename="gsk/gskpathbuilder.c" | |
| 4738 | + | line="473">a path builder</doc> | |
| 4739 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 4740 | + | </instance-parameter> | |
| 4741 | + | <parameter name="rect" transfer-ownership="none"> | |
| 4742 | + | <doc xml:space="preserve" | |
| 4743 | + | filename="gsk/gskpathbuilder.c" | |
| 4744 | + | line="474">the rounded rect</doc> | |
| 4745 | + | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 4746 | + | </parameter> | |
| 4747 | + | </parameters> | |
| 4748 | + | </method> | |
| 4749 | + | <method name="add_segment" | |
| 4750 | + | c:identifier="gsk_path_builder_add_segment" | |
| 4751 | + | version="4.14"> | |
| 3944 | 4752 | <doc xml:space="preserve" | |
| 3945 | - | filename="gsk/gskenums.h" | |
| 3946 | - | line="35">A node drawing a conic gradient</doc> | |
| 3947 | - | </member> | |
| 3948 | - | <member name="border_node" | |
| 3949 | - | value="9" | |
| 3950 | - | c:identifier="GSK_BORDER_NODE" | |
| 3951 | - | glib:nick="border-node" | |
| 3952 | - | glib:name="GSK_BORDER_NODE"> | |
| 4753 | + | filename="gsk/gskpathbuilder.c" | |
| 4754 | + | line="1640">Adds a segment of a path to the builder. | |
| 4755 | + | ||
| 4756 | + | If @start is equal to or after @end, the path will first add the | |
| 4757 | + | segment from @start to the end of the path, and then add the segment | |
| 4758 | + | from the beginning to @end. If the path is closed, these segments | |
| 4759 | + | will be connected. | |
| 4760 | + | ||
| 4761 | + | Note that this method always adds a path with the given start point | |
| 4762 | + | and end point. To add a closed path, use [method@Gsk.PathBuilder.add_path].</doc> | |
| 4763 | + | <source-position filename="gsk/gskpathbuilder.h" line="75"/> | |
| 4764 | + | <return-value transfer-ownership="none"> | |
| 4765 | + | <type name="none" c:type="void"/> | |
| 4766 | + | </return-value> | |
| 4767 | + | <parameters> | |
| 4768 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 4769 | + | <doc xml:space="preserve" | |
| 4770 | + | filename="gsk/gskpathbuilder.c" | |
| 4771 | + | line="1642">a path builder</doc> | |
| 4772 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 4773 | + | </instance-parameter> | |
| 4774 | + | <parameter name="path" transfer-ownership="none"> | |
| 4775 | + | <doc xml:space="preserve" | |
| 4776 | + | filename="gsk/gskpathbuilder.c" | |
| 4777 | + | line="1643">the path to take the segment to</doc> | |
| 4778 | + | <type name="Path" c:type="GskPath*"/> | |
| 4779 | + | </parameter> | |
| 4780 | + | <parameter name="start" transfer-ownership="none"> | |
| 4781 | + | <doc xml:space="preserve" | |
| 4782 | + | filename="gsk/gskpathbuilder.c" | |
| 4783 | + | line="1644">the point on @path to start at</doc> | |
| 4784 | + | <type name="PathPoint" c:type="const GskPathPoint*"/> | |
| 4785 | + | </parameter> | |
| 4786 | + | <parameter name="end" transfer-ownership="none"> | |
| 4787 | + | <doc xml:space="preserve" | |
| 4788 | + | filename="gsk/gskpathbuilder.c" | |
| 4789 | + | line="1645">the point on @path to end at</doc> | |
| 4790 | + | <type name="PathPoint" c:type="const GskPathPoint*"/> | |
| 4791 | + | </parameter> | |
| 4792 | + | </parameters> | |
| 4793 | + | </method> | |
| 4794 | + | <method name="arc_to" | |
| 4795 | + | c:identifier="gsk_path_builder_arc_to" | |
| 4796 | + | version="4.14"> | |
| 3953 | 4797 | <doc xml:space="preserve" | |
| 3954 | - | filename="gsk/gskenums.h" | |
| 3955 | - | line="36">A node stroking a border around an area</doc> | |
| 3956 | - | </member> | |
| 3957 | - | <member name="texture_node" | |
| 3958 | - | value="10" | |
| 3959 | - | c:identifier="GSK_TEXTURE_NODE" | |
| 3960 | - | glib:nick="texture-node" | |
| 3961 | - | glib:name="GSK_TEXTURE_NODE"> | |
| 4798 | + | filename="gsk/gskpathbuilder.c" | |
| 4799 | + | line="1138">Adds an elliptical arc from the current point to @x2, @y2 | |
| 4800 | + | with @x1, @y1 determining the tangent directions. | |
| 4801 | + | ||
| 4802 | + | After this, @x2, @y2 will be the new current point. | |
| 4803 | + | ||
| 4804 | + | Note: Two points and their tangents do not determine | |
| 4805 | + | a unique ellipse, so GSK just picks one. If you need more | |
| 4806 | + | precise control, use [method@Gsk.PathBuilder.conic_to] | |
| 4807 | + | or [method@Gsk.PathBuilder.svg_arc_to]. | |
| 4808 | + | ||
| 4809 | + | <picture> | |
| 4810 | + | <source srcset="arc-dark.png" media="(prefers-color-scheme: dark)"> | |
| 4811 | + | <img alt="Arc To" src="arc-light.png"> | |
| 4812 | + | </picture></doc> | |
| 4813 | + | <source-position filename="gsk/gskpathbuilder.h" line="140"/> | |
| 4814 | + | <return-value transfer-ownership="none"> | |
| 4815 | + | <type name="none" c:type="void"/> | |
| 4816 | + | </return-value> | |
| 4817 | + | <parameters> | |
| 4818 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 4819 | + | <doc xml:space="preserve" | |
| 4820 | + | filename="gsk/gskpathbuilder.c" | |
| 4821 | + | line="1140">a path builder</doc> | |
| 4822 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 4823 | + | </instance-parameter> | |
| 4824 | + | <parameter name="x1" transfer-ownership="none"> | |
| 4825 | + | <doc xml:space="preserve" | |
| 4826 | + | filename="gsk/gskpathbuilder.c" | |
| 4827 | + | line="1141">x coordinate of first control point</doc> | |
| 4828 | + | <type name="gfloat" c:type="float"/> | |
| 4829 | + | </parameter> | |
| 4830 | + | <parameter name="y1" transfer-ownership="none"> | |
| 4831 | + | <doc xml:space="preserve" | |
| 4832 | + | filename="gsk/gskpathbuilder.c" | |
| 4833 | + | line="1142">y coordinate of first control point</doc> | |
| 4834 | + | <type name="gfloat" c:type="float"/> | |
| 4835 | + | </parameter> | |
| 4836 | + | <parameter name="x2" transfer-ownership="none"> | |
| 4837 | + | <doc xml:space="preserve" | |
| 4838 | + | filename="gsk/gskpathbuilder.c" | |
| 4839 | + | line="1143">x coordinate of second control point</doc> | |
| 4840 | + | <type name="gfloat" c:type="float"/> | |
| 4841 | + | </parameter> | |
| 4842 | + | <parameter name="y2" transfer-ownership="none"> | |
| 4843 | + | <doc xml:space="preserve" | |
| 4844 | + | filename="gsk/gskpathbuilder.c" | |
| 4845 | + | line="1144">y coordinate of second control point</doc> | |
| 4846 | + | <type name="gfloat" c:type="float"/> | |
| 4847 | + | </parameter> | |
| 4848 | + | </parameters> | |
| 4849 | + | </method> | |
| 4850 | + | <method name="close" | |
| 4851 | + | c:identifier="gsk_path_builder_close" | |
| 4852 | + | version="4.14"> | |
| 3962 | 4853 | <doc xml:space="preserve" | |
| 3963 | - | filename="gsk/gskenums.h" | |
| 3964 | - | line="37">A node drawing a `GdkTexture`</doc> | |
| 3965 | - | </member> | |
| 3966 | - | <member name="inset_shadow_node" | |
| 3967 | - | value="11" | |
| 3968 | - | c:identifier="GSK_INSET_SHADOW_NODE" | |
| 3969 | - | glib:nick="inset-shadow-node" | |
| 3970 | - | glib:name="GSK_INSET_SHADOW_NODE"> | |
| 4854 | + | filename="gsk/gskpathbuilder.c" | |
| 4855 | + | line="1208">Ends the current contour with a line back to the start point. | |
| 4856 | + | ||
| 4857 | + | Note that this is different from calling [method@Gsk.PathBuilder.line_to] | |
| 4858 | + | with the start point in that the contour will be closed. A closed | |
| 4859 | + | contour behaves differently from an open one. When stroking, its | |
| 4860 | + | start and end point are considered connected, so they will be | |
| 4861 | + | joined via the line join, and not ended with line caps.</doc> | |
| 4862 | + | <source-position filename="gsk/gskpathbuilder.h" line="188"/> | |
| 4863 | + | <return-value transfer-ownership="none"> | |
| 4864 | + | <type name="none" c:type="void"/> | |
| 4865 | + | </return-value> | |
| 4866 | + | <parameters> | |
| 4867 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 4868 | + | <doc xml:space="preserve" | |
| 4869 | + | filename="gsk/gskpathbuilder.c" | |
| 4870 | + | line="1210">a path builder</doc> | |
| 4871 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 4872 | + | </instance-parameter> | |
| 4873 | + | </parameters> | |
| 4874 | + | </method> | |
| 4875 | + | <method name="conic_to" | |
| 4876 | + | c:identifier="gsk_path_builder_conic_to" | |
| 4877 | + | version="4.14"> | |
| 3971 | 4878 | <doc xml:space="preserve" | |
| 3972 | - | filename="gsk/gskenums.h" | |
| 3973 | - | line="38">A node drawing an inset shadow</doc> | |
| 3974 | - | </member> | |
| 3975 | - | <member name="outset_shadow_node" | |
| 3976 | - | value="12" | |
| 3977 | - | c:identifier="GSK_OUTSET_SHADOW_NODE" | |
| 3978 | - | glib:nick="outset-shadow-node" | |
| 3979 | - | glib:name="GSK_OUTSET_SHADOW_NODE"> | |
| 4879 | + | filename="gsk/gskpathbuilder.c" | |
| 4880 | + | line="1006">Adds a [conic curve](https://en.wikipedia.org/wiki/Non-uniform_rational_B-spline) | |
| 4881 | + | from the current point to @x2, @y2 with the given @weight and @x1, @y1 as the | |
| 4882 | + | control point. | |
| 4883 | + | ||
| 4884 | + | The weight determines how strongly the curve is pulled towards the control point. | |
| 4885 | + | A conic with weight 1 is identical to a quadratic Bézier curve with the same points. | |
| 4886 | + | ||
| 4887 | + | Conic curves can be used to draw ellipses and circles. They are also known as | |
| 4888 | + | rational quadratic Bézier curves. | |
| 4889 | + | ||
| 4890 | + | After this, @x2, @y2 will be the new current point. | |
| 4891 | + | ||
| 4892 | + | <picture> | |
| 4893 | + | <source srcset="conic-dark.png" media="(prefers-color-scheme: dark)"> | |
| 4894 | + | <img alt="Conic To" src="conic-light.png"> | |
| 4895 | + | </picture></doc> | |
| 4896 | + | <source-position filename="gsk/gskpathbuilder.h" line="125"/> | |
| 4897 | + | <return-value transfer-ownership="none"> | |
| 4898 | + | <type name="none" c:type="void"/> | |
| 4899 | + | </return-value> | |
| 4900 | + | <parameters> | |
| 4901 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 4902 | + | <doc xml:space="preserve" | |
| 4903 | + | filename="gsk/gskpathbuilder.c" | |
| 4904 | + | line="1008">a path builder</doc> | |
| 4905 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 4906 | + | </instance-parameter> | |
| 4907 | + | <parameter name="x1" transfer-ownership="none"> | |
| 4908 | + | <doc xml:space="preserve" | |
| 4909 | + | filename="gsk/gskpathbuilder.c" | |
| 4910 | + | line="1009">x coordinate of control point</doc> | |
| 4911 | + | <type name="gfloat" c:type="float"/> | |
| 4912 | + | </parameter> | |
| 4913 | + | <parameter name="y1" transfer-ownership="none"> | |
| 4914 | + | <doc xml:space="preserve" | |
| 4915 | + | filename="gsk/gskpathbuilder.c" | |
| 4916 | + | line="1010">y coordinate of control point</doc> | |
| 4917 | + | <type name="gfloat" c:type="float"/> | |
| 4918 | + | </parameter> | |
| 4919 | + | <parameter name="x2" transfer-ownership="none"> | |
| 4920 | + | <doc xml:space="preserve" | |
| 4921 | + | filename="gsk/gskpathbuilder.c" | |
| 4922 | + | line="1011">x coordinate of the end of the curve</doc> | |
| 4923 | + | <type name="gfloat" c:type="float"/> | |
| 4924 | + | </parameter> | |
| 4925 | + | <parameter name="y2" transfer-ownership="none"> | |
| 4926 | + | <doc xml:space="preserve" | |
| 4927 | + | filename="gsk/gskpathbuilder.c" | |
| 4928 | + | line="1012">y coordinate of the end of the curve</doc> | |
| 4929 | + | <type name="gfloat" c:type="float"/> | |
| 4930 | + | </parameter> | |
| 4931 | + | <parameter name="weight" transfer-ownership="none"> | |
| 4932 | + | <doc xml:space="preserve" | |
| 4933 | + | filename="gsk/gskpathbuilder.c" | |
| 4934 | + | line="1013">weight of the control point, must be greater than zero</doc> | |
| 4935 | + | <type name="gfloat" c:type="float"/> | |
| 4936 | + | </parameter> | |
| 4937 | + | </parameters> | |
| 4938 | + | </method> | |
| 4939 | + | <method name="cubic_to" | |
| 4940 | + | c:identifier="gsk_path_builder_cubic_to" | |
| 4941 | + | version="4.14"> | |
| 3980 | 4942 | <doc xml:space="preserve" | |
| 3981 | - | filename="gsk/gskenums.h" | |
| 3982 | - | line="39">A node drawing an outset shadow</doc> | |
| 3983 | - | </member> | |
| 3984 | - | <member name="transform_node" | |
| 3985 | - | value="13" | |
| 3986 | - | c:identifier="GSK_TRANSFORM_NODE" | |
| 3987 | - | glib:nick="transform-node" | |
| 3988 | - | glib:name="GSK_TRANSFORM_NODE"> | |
| 4943 | + | filename="gsk/gskpathbuilder.c" | |
| 4944 | + | line="802">Adds a [cubic Bézier curve](https://en.wikipedia.org/wiki/B%C3%A9zier_curve) | |
| 4945 | + | from the current point to @x3, @y3 with @x1, @y1 and @x2, @y2 as the control | |
| 4946 | + | points. | |
| 4947 | + | ||
| 4948 | + | After this, @x3, @y3 will be the new current point. | |
| 4949 | + | ||
| 4950 | + | <picture> | |
| 4951 | + | <source srcset="cubic-dark.png" media="(prefers-color-scheme: dark)"> | |
| 4952 | + | <img alt="Cubic To" src="cubic-light.png"> | |
| 4953 | + | </picture></doc> | |
| 4954 | + | <source-position filename="gsk/gskpathbuilder.h" line="108"/> | |
| 4955 | + | <return-value transfer-ownership="none"> | |
| 4956 | + | <type name="none" c:type="void"/> | |
| 4957 | + | </return-value> | |
| 4958 | + | <parameters> | |
| 4959 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 4960 | + | <doc xml:space="preserve" | |
| 4961 | + | filename="gsk/gskpathbuilder.c" | |
| 4962 | + | line="804">a path builder</doc> | |
| 4963 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 4964 | + | </instance-parameter> | |
| 4965 | + | <parameter name="x1" transfer-ownership="none"> | |
| 4966 | + | <doc xml:space="preserve" | |
| 4967 | + | filename="gsk/gskpathbuilder.c" | |
| 4968 | + | line="805">x coordinate of first control point</doc> | |
| 4969 | + | <type name="gfloat" c:type="float"/> | |
| 4970 | + | </parameter> | |
| 4971 | + | <parameter name="y1" transfer-ownership="none"> | |
| 4972 | + | <doc xml:space="preserve" | |
| 4973 | + | filename="gsk/gskpathbuilder.c" | |
| 4974 | + | line="806">y coordinate of first control point</doc> | |
| 4975 | + | <type name="gfloat" c:type="float"/> | |
| 4976 | + | </parameter> | |
| 4977 | + | <parameter name="x2" transfer-ownership="none"> | |
| 4978 | + | <doc xml:space="preserve" | |
| 4979 | + | filename="gsk/gskpathbuilder.c" | |
| 4980 | + | line="807">x coordinate of second control point</doc> | |
| 4981 | + | <type name="gfloat" c:type="float"/> | |
| 4982 | + | </parameter> | |
| 4983 | + | <parameter name="y2" transfer-ownership="none"> | |
| 4984 | + | <doc xml:space="preserve" | |
| 4985 | + | filename="gsk/gskpathbuilder.c" | |
| 4986 | + | line="808">y coordinate of second control point</doc> | |
| 4987 | + | <type name="gfloat" c:type="float"/> | |
| 4988 | + | </parameter> | |
| 4989 | + | <parameter name="x3" transfer-ownership="none"> | |
| 4990 | + | <doc xml:space="preserve" | |
| 4991 | + | filename="gsk/gskpathbuilder.c" | |
| 4992 | + | line="809">x coordinate of the end of the curve</doc> | |
| 4993 | + | <type name="gfloat" c:type="float"/> | |
| 4994 | + | </parameter> | |
| 4995 | + | <parameter name="y3" transfer-ownership="none"> | |
| 4996 | + | <doc xml:space="preserve" | |
| 4997 | + | filename="gsk/gskpathbuilder.c" | |
| 4998 | + | line="810">y coordinate of the end of the curve</doc> | |
| 4999 | + | <type name="gfloat" c:type="float"/> | |
| 5000 | + | </parameter> | |
| 5001 | + | </parameters> | |
| 5002 | + | </method> | |
| 5003 | + | <method name="free_to_path" | |
| 5004 | + | c:identifier="gsk_path_builder_free_to_path" | |
| 5005 | + | version="4.14" | |
| 5006 | + | introspectable="0"> | |
| 3989 | 5007 | <doc xml:space="preserve" | |
| 3990 | - | filename="gsk/gskenums.h" | |
| 3991 | - | line="40">A node that renders its child after applying a matrix transform</doc> | |
| 3992 | - | </member> | |
| 3993 | - | <member name="opacity_node" | |
| 3994 | - | value="14" | |
| 3995 | - | c:identifier="GSK_OPACITY_NODE" | |
| 3996 | - | glib:nick="opacity-node" | |
| 3997 | - | glib:name="GSK_OPACITY_NODE"> | |
| 5008 | + | filename="gsk/gskpathbuilder.c" | |
| 5009 | + | line="242">Creates a new path from the current state of the | |
| 5010 | + | builder, and unrefs the builder.</doc> | |
| 5011 | + | <source-position filename="gsk/gskpathbuilder.h" line="44"/> | |
| 5012 | + | <return-value transfer-ownership="full"> | |
| 5013 | + | <doc xml:space="preserve" | |
| 5014 | + | filename="gsk/gskpathbuilder.c" | |
| 5015 | + | line="249">the newly created path | |
| 5016 | + | with all the contours added to the builder</doc> | |
| 5017 | + | <type name="Path" c:type="GskPath*"/> | |
| 5018 | + | </return-value> | |
| 5019 | + | <parameters> | |
| 5020 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5021 | + | <doc xml:space="preserve" | |
| 5022 | + | filename="gsk/gskpathbuilder.c" | |
| 5023 | + | line="244">a path builder</doc> | |
| 5024 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5025 | + | </instance-parameter> | |
| 5026 | + | </parameters> | |
| 5027 | + | </method> | |
| 5028 | + | <method name="get_current_point" | |
| 5029 | + | c:identifier="gsk_path_builder_get_current_point" | |
| 5030 | + | version="4.14"> | |
| 3998 | 5031 | <doc xml:space="preserve" | |
| 3999 | - | filename="gsk/gskenums.h" | |
| 4000 | - | line="41">A node that changes the opacity of its child</doc> | |
| 4001 | - | </member> | |
| 4002 | - | <member name="color_matrix_node" | |
| 4003 | - | value="15" | |
| 4004 | - | c:identifier="GSK_COLOR_MATRIX_NODE" | |
| 4005 | - | glib:nick="color-matrix-node" | |
| 4006 | - | glib:name="GSK_COLOR_MATRIX_NODE"> | |
| 5032 | + | filename="gsk/gskpathbuilder.c" | |
| 5033 | + | line="313">Gets the current point. | |
| 5034 | + | ||
| 5035 | + | The current point is used for relative drawing commands and | |
| 5036 | + | updated after every operation. | |
| 5037 | + | ||
| 5038 | + | When the builder is created, the default current point is set | |
| 5039 | + | to `0, 0`. Note that this is different from cairo, which starts | |
| 5040 | + | out without a current point.</doc> | |
| 5041 | + | <source-position filename="gsk/gskpathbuilder.h" line="49"/> | |
| 5042 | + | <return-value transfer-ownership="none"> | |
| 5043 | + | <doc xml:space="preserve" | |
| 5044 | + | filename="gsk/gskpathbuilder.c" | |
| 5045 | + | line="326">the current point</doc> | |
| 5046 | + | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 5047 | + | </return-value> | |
| 5048 | + | <parameters> | |
| 5049 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5050 | + | <doc xml:space="preserve" | |
| 5051 | + | filename="gsk/gskpathbuilder.c" | |
| 5052 | + | line="315">a path builder</doc> | |
| 5053 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5054 | + | </instance-parameter> | |
| 5055 | + | </parameters> | |
| 5056 | + | </method> | |
| 5057 | + | <method name="html_arc_to" | |
| 5058 | + | c:identifier="gsk_path_builder_html_arc_to" | |
| 5059 | + | version="4.14"> | |
| 4007 | 5060 | <doc xml:space="preserve" | |
| 4008 | - | filename="gsk/gskenums.h" | |
| 4009 | - | line="42">A node that applies a color matrix to every pixel</doc> | |
| 4010 | - | </member> | |
| 4011 | - | <member name="repeat_node" | |
| 4012 | - | value="16" | |
| 4013 | - | c:identifier="GSK_REPEAT_NODE" | |
| 4014 | - | glib:nick="repeat-node" | |
| 4015 | - | glib:name="GSK_REPEAT_NODE"> | |
| 5061 | + | filename="gsk/gskpathbuilder.c" | |
| 5062 | + | line="1512">Implements arc-to according to the HTML Canvas spec. | |
| 5063 | + | ||
| 5064 | + | A convenience function that implements the | |
| 5065 | + | [HTML arc_to](https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-arcto-dev) | |
| 5066 | + | functionality. | |
| 5067 | + | ||
| 5068 | + | After this, the current point will be the point where | |
| 5069 | + | the circle with the given radius touches the line from | |
| 5070 | + | @x1, @y1 to @x2, @y2.</doc> | |
| 5071 | + | <source-position filename="gsk/gskpathbuilder.h" line="173"/> | |
| 5072 | + | <return-value transfer-ownership="none"> | |
| 5073 | + | <type name="none" c:type="void"/> | |
| 5074 | + | </return-value> | |
| 5075 | + | <parameters> | |
| 5076 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5077 | + | <doc xml:space="preserve" | |
| 5078 | + | filename="gsk/gskpathbuilder.c" | |
| 5079 | + | line="1514">a path builder</doc> | |
| 5080 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5081 | + | </instance-parameter> | |
| 5082 | + | <parameter name="x1" transfer-ownership="none"> | |
| 5083 | + | <doc xml:space="preserve" | |
| 5084 | + | filename="gsk/gskpathbuilder.c" | |
| 5085 | + | line="1515">x coordinate of first control point</doc> | |
| 5086 | + | <type name="gfloat" c:type="float"/> | |
| 5087 | + | </parameter> | |
| 5088 | + | <parameter name="y1" transfer-ownership="none"> | |
| 5089 | + | <doc xml:space="preserve" | |
| 5090 | + | filename="gsk/gskpathbuilder.c" | |
| 5091 | + | line="1516">y coordinate of first control point</doc> | |
| 5092 | + | <type name="gfloat" c:type="float"/> | |
| 5093 | + | </parameter> | |
| 5094 | + | <parameter name="x2" transfer-ownership="none"> | |
| 5095 | + | <doc xml:space="preserve" | |
| 5096 | + | filename="gsk/gskpathbuilder.c" | |
| 5097 | + | line="1517">x coordinate of second control point</doc> | |
| 5098 | + | <type name="gfloat" c:type="float"/> | |
| 5099 | + | </parameter> | |
| 5100 | + | <parameter name="y2" transfer-ownership="none"> | |
| 5101 | + | <doc xml:space="preserve" | |
| 5102 | + | filename="gsk/gskpathbuilder.c" | |
| 5103 | + | line="1518">y coordinate of second control point</doc> | |
| 5104 | + | <type name="gfloat" c:type="float"/> | |
| 5105 | + | </parameter> | |
| 5106 | + | <parameter name="radius" transfer-ownership="none"> | |
| 5107 | + | <doc xml:space="preserve" | |
| 5108 | + | filename="gsk/gskpathbuilder.c" | |
| 5109 | + | line="1519">radius of the circle</doc> | |
| 5110 | + | <type name="gfloat" c:type="float"/> | |
| 5111 | + | </parameter> | |
| 5112 | + | </parameters> | |
| 5113 | + | </method> | |
| 5114 | + | <method name="line_to" | |
| 5115 | + | c:identifier="gsk_path_builder_line_to" | |
| 5116 | + | version="4.14"> | |
| 4016 | 5117 | <doc xml:space="preserve" | |
| 4017 | - | filename="gsk/gskenums.h" | |
| 4018 | - | line="43">A node that repeats the child's contents</doc> | |
| 4019 | - | </member> | |
| 4020 | - | <member name="clip_node" | |
| 4021 | - | value="17" | |
| 4022 | - | c:identifier="GSK_CLIP_NODE" | |
| 4023 | - | glib:nick="clip-node" | |
| 4024 | - | glib:name="GSK_CLIP_NODE"> | |
| 5118 | + | filename="gsk/gskpathbuilder.c" | |
| 5119 | + | line="571">Draws a line from the current point to @x, @y and makes it | |
| 5120 | + | the new current point. | |
| 5121 | + | ||
| 5122 | + | <picture> | |
| 5123 | + | <source srcset="line-dark.png" media="(prefers-color-scheme: dark)"> | |
| 5124 | + | <img alt="Line To" src="line-light.png"> | |
| 5125 | + | </picture></doc> | |
| 5126 | + | <source-position filename="gsk/gskpathbuilder.h" line="88"/> | |
| 5127 | + | <return-value transfer-ownership="none"> | |
| 5128 | + | <type name="none" c:type="void"/> | |
| 5129 | + | </return-value> | |
| 5130 | + | <parameters> | |
| 5131 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5132 | + | <doc xml:space="preserve" | |
| 5133 | + | filename="gsk/gskpathbuilder.c" | |
| 5134 | + | line="573">a path builder</doc> | |
| 5135 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5136 | + | </instance-parameter> | |
| 5137 | + | <parameter name="x" transfer-ownership="none"> | |
| 5138 | + | <doc xml:space="preserve" | |
| 5139 | + | filename="gsk/gskpathbuilder.c" | |
| 5140 | + | line="574">x coordinate</doc> | |
| 5141 | + | <type name="gfloat" c:type="float"/> | |
| 5142 | + | </parameter> | |
| 5143 | + | <parameter name="y" transfer-ownership="none"> | |
| 5144 | + | <doc xml:space="preserve" | |
| 5145 | + | filename="gsk/gskpathbuilder.c" | |
| 5146 | + | line="575">y coordinate</doc> | |
| 5147 | + | <type name="gfloat" c:type="float"/> | |
| 5148 | + | </parameter> | |
| 5149 | + | </parameters> | |
| 5150 | + | </method> | |
| 5151 | + | <method name="move_to" | |
| 5152 | + | c:identifier="gsk_path_builder_move_to" | |
| 5153 | + | version="4.14"> | |
| 4025 | 5154 | <doc xml:space="preserve" | |
| 4026 | - | filename="gsk/gskenums.h" | |
| 4027 | - | line="44">A node that clips its child to a rectangular area</doc> | |
| 4028 | - | </member> | |
| 4029 | - | <member name="rounded_clip_node" | |
| 4030 | - | value="18" | |
| 4031 | - | c:identifier="GSK_ROUNDED_CLIP_NODE" | |
| 4032 | - | glib:nick="rounded-clip-node" | |
| 4033 | - | glib:name="GSK_ROUNDED_CLIP_NODE"> | |
| 5155 | + | filename="gsk/gskpathbuilder.c" | |
| 5156 | + | line="518">Starts a new contour by placing the pen at @x, @y. | |
| 5157 | + | ||
| 5158 | + | If this function is called twice in succession, the first | |
| 5159 | + | call will result in a contour made up of a single point. | |
| 5160 | + | The second call will start a new contour.</doc> | |
| 5161 | + | <source-position filename="gsk/gskpathbuilder.h" line="80"/> | |
| 5162 | + | <return-value transfer-ownership="none"> | |
| 5163 | + | <type name="none" c:type="void"/> | |
| 5164 | + | </return-value> | |
| 5165 | + | <parameters> | |
| 5166 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5167 | + | <doc xml:space="preserve" | |
| 5168 | + | filename="gsk/gskpathbuilder.c" | |
| 5169 | + | line="520">a path builder</doc> | |
| 5170 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5171 | + | </instance-parameter> | |
| 5172 | + | <parameter name="x" transfer-ownership="none"> | |
| 5173 | + | <doc xml:space="preserve" | |
| 5174 | + | filename="gsk/gskpathbuilder.c" | |
| 5175 | + | line="521">x coordinate</doc> | |
| 5176 | + | <type name="gfloat" c:type="float"/> | |
| 5177 | + | </parameter> | |
| 5178 | + | <parameter name="y" transfer-ownership="none"> | |
| 5179 | + | <doc xml:space="preserve" | |
| 5180 | + | filename="gsk/gskpathbuilder.c" | |
| 5181 | + | line="522">y coordinate</doc> | |
| 5182 | + | <type name="gfloat" c:type="float"/> | |
| 5183 | + | </parameter> | |
| 5184 | + | </parameters> | |
| 5185 | + | </method> | |
| 5186 | + | <method name="quad_to" | |
| 5187 | + | c:identifier="gsk_path_builder_quad_to" | |
| 5188 | + | version="4.14"> | |
| 4034 | 5189 | <doc xml:space="preserve" | |
| 4035 | - | filename="gsk/gskenums.h" | |
| 4036 | - | line="45">A node that clips its child to a rounded rectangle</doc> | |
| 4037 | - | </member> | |
| 4038 | - | <member name="shadow_node" | |
| 4039 | - | value="19" | |
| 4040 | - | c:identifier="GSK_SHADOW_NODE" | |
| 4041 | - | glib:nick="shadow-node" | |
| 4042 | - | glib:name="GSK_SHADOW_NODE"> | |
| 5190 | + | filename="gsk/gskpathbuilder.c" | |
| 5191 | + | line="665">Adds a [quadratic Bézier curve](https://en.wikipedia.org/wiki/B%C3%A9zier_curve) | |
| 5192 | + | from the current point to @x2, @y2 with @x1, @y1 as the control point. | |
| 5193 | + | ||
| 5194 | + | After this, @x2, @y2 will be the new current point. | |
| 5195 | + | ||
| 5196 | + | <picture> | |
| 5197 | + | <source srcset="quad-dark.png" media="(prefers-color-scheme: dark)"> | |
| 5198 | + | <img alt="Quad To" src="quad-light.png"> | |
| 5199 | + | </picture></doc> | |
| 5200 | + | <source-position filename="gsk/gskpathbuilder.h" line="96"/> | |
| 5201 | + | <return-value transfer-ownership="none"> | |
| 5202 | + | <type name="none" c:type="void"/> | |
| 5203 | + | </return-value> | |
| 5204 | + | <parameters> | |
| 5205 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5206 | + | <doc xml:space="preserve" | |
| 5207 | + | filename="gsk/gskpathbuilder.c" | |
| 5208 | + | line="667">a path builder</doc> | |
| 5209 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5210 | + | </instance-parameter> | |
| 5211 | + | <parameter name="x1" transfer-ownership="none"> | |
| 5212 | + | <doc xml:space="preserve" | |
| 5213 | + | filename="gsk/gskpathbuilder.c" | |
| 5214 | + | line="668">x coordinate of control point</doc> | |
| 5215 | + | <type name="gfloat" c:type="float"/> | |
| 5216 | + | </parameter> | |
| 5217 | + | <parameter name="y1" transfer-ownership="none"> | |
| 5218 | + | <doc xml:space="preserve" | |
| 5219 | + | filename="gsk/gskpathbuilder.c" | |
| 5220 | + | line="669">y coordinate of control point</doc> | |
| 5221 | + | <type name="gfloat" c:type="float"/> | |
| 5222 | + | </parameter> | |
| 5223 | + | <parameter name="x2" transfer-ownership="none"> | |
| 5224 | + | <doc xml:space="preserve" | |
| 5225 | + | filename="gsk/gskpathbuilder.c" | |
| 5226 | + | line="670">x coordinate of the end of the curve</doc> | |
| 5227 | + | <type name="gfloat" c:type="float"/> | |
| 5228 | + | </parameter> | |
| 5229 | + | <parameter name="y2" transfer-ownership="none"> | |
| 5230 | + | <doc xml:space="preserve" | |
| 5231 | + | filename="gsk/gskpathbuilder.c" | |
| 5232 | + | line="671">y coordinate of the end of the curve</doc> | |
| 5233 | + | <type name="gfloat" c:type="float"/> | |
| 5234 | + | </parameter> | |
| 5235 | + | </parameters> | |
| 5236 | + | </method> | |
| 5237 | + | <method name="ref" c:identifier="gsk_path_builder_ref" version="4.14"> | |
| 5238 | + | <doc xml:space="preserve" | |
| 5239 | + | filename="gsk/gskpathbuilder.c" | |
| 5240 | + | line="123">Acquires a reference on the given builder. | |
| 5241 | + | ||
| 5242 | + | This function is intended primarily for language bindings. | |
| 5243 | + | `GskPathBuilder` objects should not be kept around.</doc> | |
| 5244 | + | <source-position filename="gsk/gskpathbuilder.h" line="40"/> | |
| 5245 | + | <return-value transfer-ownership="none"> | |
| 5246 | + | <doc xml:space="preserve" | |
| 5247 | + | filename="gsk/gskpathbuilder.c" | |
| 5248 | + | line="132">the given path builder with | |
| 5249 | + | its reference count increased</doc> | |
| 5250 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5251 | + | </return-value> | |
| 5252 | + | <parameters> | |
| 5253 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5254 | + | <doc xml:space="preserve" | |
| 5255 | + | filename="gsk/gskpathbuilder.c" | |
| 5256 | + | line="125">a path builder</doc> | |
| 5257 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5258 | + | </instance-parameter> | |
| 5259 | + | </parameters> | |
| 5260 | + | </method> | |
| 5261 | + | <method name="rel_arc_to" | |
| 5262 | + | c:identifier="gsk_path_builder_rel_arc_to" | |
| 5263 | + | version="4.14"> | |
| 5264 | + | <doc xml:space="preserve" | |
| 5265 | + | filename="gsk/gskpathbuilder.c" | |
| 5266 | + | line="1175">Adds an elliptical arc from the current point to @x2, @y2 | |
| 5267 | + | with @x1, @y1 determining the tangent directions. | |
| 5268 | + | ||
| 5269 | + | All coordinates are given relative to the current point. | |
| 5270 | + | ||
| 5271 | + | This is the relative version of [method@Gsk.PathBuilder.arc_to].</doc> | |
| 5272 | + | <source-position filename="gsk/gskpathbuilder.h" line="147"/> | |
| 5273 | + | <return-value transfer-ownership="none"> | |
| 5274 | + | <type name="none" c:type="void"/> | |
| 5275 | + | </return-value> | |
| 5276 | + | <parameters> | |
| 5277 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5278 | + | <doc xml:space="preserve" | |
| 5279 | + | filename="gsk/gskpathbuilder.c" | |
| 5280 | + | line="1177">a path builder</doc> | |
| 5281 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5282 | + | </instance-parameter> | |
| 5283 | + | <parameter name="x1" transfer-ownership="none"> | |
| 5284 | + | <doc xml:space="preserve" | |
| 5285 | + | filename="gsk/gskpathbuilder.c" | |
| 5286 | + | line="1178">x coordinate of first control point</doc> | |
| 5287 | + | <type name="gfloat" c:type="float"/> | |
| 5288 | + | </parameter> | |
| 5289 | + | <parameter name="y1" transfer-ownership="none"> | |
| 5290 | + | <doc xml:space="preserve" | |
| 5291 | + | filename="gsk/gskpathbuilder.c" | |
| 5292 | + | line="1179">y coordinate of first control point</doc> | |
| 5293 | + | <type name="gfloat" c:type="float"/> | |
| 5294 | + | </parameter> | |
| 5295 | + | <parameter name="x2" transfer-ownership="none"> | |
| 5296 | + | <doc xml:space="preserve" | |
| 5297 | + | filename="gsk/gskpathbuilder.c" | |
| 5298 | + | line="1180">x coordinate of second control point</doc> | |
| 5299 | + | <type name="gfloat" c:type="float"/> | |
| 5300 | + | </parameter> | |
| 5301 | + | <parameter name="y2" transfer-ownership="none"> | |
| 5302 | + | <doc xml:space="preserve" | |
| 5303 | + | filename="gsk/gskpathbuilder.c" | |
| 5304 | + | line="1181">y coordinate of second control point</doc> | |
| 5305 | + | <type name="gfloat" c:type="float"/> | |
| 5306 | + | </parameter> | |
| 5307 | + | </parameters> | |
| 5308 | + | </method> | |
| 5309 | + | <method name="rel_conic_to" | |
| 5310 | + | c:identifier="gsk_path_builder_rel_conic_to" | |
| 5311 | + | version="4.14"> | |
| 5312 | + | <doc xml:space="preserve" | |
| 5313 | + | filename="gsk/gskpathbuilder.c" | |
| 5314 | + | line="1100">Adds a [conic curve](https://en.wikipedia.org/wiki/Non-uniform_rational_B-spline) | |
| 5315 | + | from the current point to @x2, @y2 with the given @weight and @x1, @y1 as the | |
| 5316 | + | control point. | |
| 5317 | + | ||
| 5318 | + | All coordinates are given relative to the current point. | |
| 5319 | + | ||
| 5320 | + | This is the relative version of [method@Gsk.PathBuilder.conic_to].</doc> | |
| 5321 | + | <source-position filename="gsk/gskpathbuilder.h" line="132"/> | |
| 5322 | + | <return-value transfer-ownership="none"> | |
| 5323 | + | <type name="none" c:type="void"/> | |
| 5324 | + | </return-value> | |
| 5325 | + | <parameters> | |
| 5326 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5327 | + | <doc xml:space="preserve" | |
| 5328 | + | filename="gsk/gskpathbuilder.c" | |
| 5329 | + | line="1102">a path builder</doc> | |
| 5330 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5331 | + | </instance-parameter> | |
| 5332 | + | <parameter name="x1" transfer-ownership="none"> | |
| 5333 | + | <doc xml:space="preserve" | |
| 5334 | + | filename="gsk/gskpathbuilder.c" | |
| 5335 | + | line="1103">x offset of control point</doc> | |
| 5336 | + | <type name="gfloat" c:type="float"/> | |
| 5337 | + | </parameter> | |
| 5338 | + | <parameter name="y1" transfer-ownership="none"> | |
| 5339 | + | <doc xml:space="preserve" | |
| 5340 | + | filename="gsk/gskpathbuilder.c" | |
| 5341 | + | line="1104">y offset of control point</doc> | |
| 5342 | + | <type name="gfloat" c:type="float"/> | |
| 5343 | + | </parameter> | |
| 5344 | + | <parameter name="x2" transfer-ownership="none"> | |
| 5345 | + | <doc xml:space="preserve" | |
| 5346 | + | filename="gsk/gskpathbuilder.c" | |
| 5347 | + | line="1105">x offset of the end of the curve</doc> | |
| 5348 | + | <type name="gfloat" c:type="float"/> | |
| 5349 | + | </parameter> | |
| 5350 | + | <parameter name="y2" transfer-ownership="none"> | |
| 5351 | + | <doc xml:space="preserve" | |
| 5352 | + | filename="gsk/gskpathbuilder.c" | |
| 5353 | + | line="1106">y offset of the end of the curve</doc> | |
| 5354 | + | <type name="gfloat" c:type="float"/> | |
| 5355 | + | </parameter> | |
| 5356 | + | <parameter name="weight" transfer-ownership="none"> | |
| 5357 | + | <doc xml:space="preserve" | |
| 5358 | + | filename="gsk/gskpathbuilder.c" | |
| 5359 | + | line="1107">weight of the curve, must be greater than zero</doc> | |
| 5360 | + | <type name="gfloat" c:type="float"/> | |
| 5361 | + | </parameter> | |
| 5362 | + | </parameters> | |
| 5363 | + | </method> | |
| 5364 | + | <method name="rel_cubic_to" | |
| 5365 | + | c:identifier="gsk_path_builder_rel_cubic_to" | |
| 5366 | + | version="4.14"> | |
| 5367 | + | <doc xml:space="preserve" | |
| 5368 | + | filename="gsk/gskpathbuilder.c" | |
| 5369 | + | line="966">Adds a [cubic Bézier curve](https://en.wikipedia.org/wiki/B%C3%A9zier_curve) | |
| 5370 | + | from the current point to @x3, @y3 with @x1, @y1 and @x2, @y2 as the control | |
| 5371 | + | points. | |
| 5372 | + | ||
| 5373 | + | All coordinates are given relative to the current point. | |
| 5374 | + | ||
| 5375 | + | This is the relative version of [method@Gsk.PathBuilder.cubic_to].</doc> | |
| 5376 | + | <source-position filename="gsk/gskpathbuilder.h" line="116"/> | |
| 5377 | + | <return-value transfer-ownership="none"> | |
| 5378 | + | <type name="none" c:type="void"/> | |
| 5379 | + | </return-value> | |
| 5380 | + | <parameters> | |
| 5381 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5382 | + | <doc xml:space="preserve" | |
| 5383 | + | filename="gsk/gskpathbuilder.c" | |
| 5384 | + | line="968">a path builder</doc> | |
| 5385 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5386 | + | </instance-parameter> | |
| 5387 | + | <parameter name="x1" transfer-ownership="none"> | |
| 5388 | + | <doc xml:space="preserve" | |
| 5389 | + | filename="gsk/gskpathbuilder.c" | |
| 5390 | + | line="969">x offset of first control point</doc> | |
| 5391 | + | <type name="gfloat" c:type="float"/> | |
| 5392 | + | </parameter> | |
| 5393 | + | <parameter name="y1" transfer-ownership="none"> | |
| 5394 | + | <doc xml:space="preserve" | |
| 5395 | + | filename="gsk/gskpathbuilder.c" | |
| 5396 | + | line="970">y offset of first control point</doc> | |
| 5397 | + | <type name="gfloat" c:type="float"/> | |
| 5398 | + | </parameter> | |
| 5399 | + | <parameter name="x2" transfer-ownership="none"> | |
| 5400 | + | <doc xml:space="preserve" | |
| 5401 | + | filename="gsk/gskpathbuilder.c" | |
| 5402 | + | line="971">x offset of second control point</doc> | |
| 5403 | + | <type name="gfloat" c:type="float"/> | |
| 5404 | + | </parameter> | |
| 5405 | + | <parameter name="y2" transfer-ownership="none"> | |
| 5406 | + | <doc xml:space="preserve" | |
| 5407 | + | filename="gsk/gskpathbuilder.c" | |
| 5408 | + | line="972">y offset of second control point</doc> | |
| 5409 | + | <type name="gfloat" c:type="float"/> | |
| 5410 | + | </parameter> | |
| 5411 | + | <parameter name="x3" transfer-ownership="none"> | |
| 5412 | + | <doc xml:space="preserve" | |
| 5413 | + | filename="gsk/gskpathbuilder.c" | |
| 5414 | + | line="973">x offset of the end of the curve</doc> | |
| 5415 | + | <type name="gfloat" c:type="float"/> | |
| 5416 | + | </parameter> | |
| 5417 | + | <parameter name="y3" transfer-ownership="none"> | |
| 5418 | + | <doc xml:space="preserve" | |
| 5419 | + | filename="gsk/gskpathbuilder.c" | |
| 5420 | + | line="974">y offset of the end of the curve</doc> | |
| 5421 | + | <type name="gfloat" c:type="float"/> | |
| 5422 | + | </parameter> | |
| 5423 | + | </parameters> | |
| 5424 | + | </method> | |
| 5425 | + | <method name="rel_html_arc_to" | |
| 5426 | + | c:identifier="gsk_path_builder_rel_html_arc_to" | |
| 5427 | + | version="4.14"> | |
| 5428 | + | <doc xml:space="preserve" | |
| 5429 | + | filename="gsk/gskpathbuilder.c" | |
| 5430 | + | line="1577">Implements arc-to according to the HTML Canvas spec. | |
| 5431 | + | ||
| 5432 | + | All coordinates are given relative to the current point. | |
| 5433 | + | ||
| 5434 | + | This is the relative version of [method@Gsk.PathBuilder.html_arc_to].</doc> | |
| 5435 | + | <source-position filename="gsk/gskpathbuilder.h" line="180"/> | |
| 5436 | + | <return-value transfer-ownership="none"> | |
| 5437 | + | <type name="none" c:type="void"/> | |
| 5438 | + | </return-value> | |
| 5439 | + | <parameters> | |
| 5440 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5441 | + | <doc xml:space="preserve" | |
| 5442 | + | filename="gsk/gskpathbuilder.c" | |
| 5443 | + | line="1579">a path builder</doc> | |
| 5444 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5445 | + | </instance-parameter> | |
| 5446 | + | <parameter name="x1" transfer-ownership="none"> | |
| 5447 | + | <doc xml:space="preserve" | |
| 5448 | + | filename="gsk/gskpathbuilder.c" | |
| 5449 | + | line="1580">x coordinate of first control point</doc> | |
| 5450 | + | <type name="gfloat" c:type="float"/> | |
| 5451 | + | </parameter> | |
| 5452 | + | <parameter name="y1" transfer-ownership="none"> | |
| 5453 | + | <doc xml:space="preserve" | |
| 5454 | + | filename="gsk/gskpathbuilder.c" | |
| 5455 | + | line="1581">y coordinate of first control point</doc> | |
| 5456 | + | <type name="gfloat" c:type="float"/> | |
| 5457 | + | </parameter> | |
| 5458 | + | <parameter name="x2" transfer-ownership="none"> | |
| 5459 | + | <doc xml:space="preserve" | |
| 5460 | + | filename="gsk/gskpathbuilder.c" | |
| 5461 | + | line="1582">x coordinate of second control point</doc> | |
| 5462 | + | <type name="gfloat" c:type="float"/> | |
| 5463 | + | </parameter> | |
| 5464 | + | <parameter name="y2" transfer-ownership="none"> | |
| 5465 | + | <doc xml:space="preserve" | |
| 5466 | + | filename="gsk/gskpathbuilder.c" | |
| 5467 | + | line="1583">y coordinate of second control point</doc> | |
| 5468 | + | <type name="gfloat" c:type="float"/> | |
| 5469 | + | </parameter> | |
| 5470 | + | <parameter name="radius" transfer-ownership="none"> | |
| 5471 | + | <doc xml:space="preserve" | |
| 5472 | + | filename="gsk/gskpathbuilder.c" | |
| 5473 | + | line="1584">radius of the circle</doc> | |
| 5474 | + | <type name="gfloat" c:type="float"/> | |
| 5475 | + | </parameter> | |
| 5476 | + | </parameters> | |
| 5477 | + | </method> | |
| 5478 | + | <method name="rel_line_to" | |
| 5479 | + | c:identifier="gsk_path_builder_rel_line_to" | |
| 5480 | + | version="4.14"> | |
| 5481 | + | <doc xml:space="preserve" | |
| 5482 | + | filename="gsk/gskpathbuilder.c" | |
| 5483 | + | line="606">Draws a line from the current point to a point offset from it | |
| 5484 | + | by @x, @y and makes it the new current point. | |
| 5485 | + | ||
| 5486 | + | This is the relative version of [method@Gsk.PathBuilder.line_to].</doc> | |
| 5487 | + | <source-position filename="gsk/gskpathbuilder.h" line="92"/> | |
| 5488 | + | <return-value transfer-ownership="none"> | |
| 5489 | + | <type name="none" c:type="void"/> | |
| 5490 | + | </return-value> | |
| 5491 | + | <parameters> | |
| 5492 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5493 | + | <doc xml:space="preserve" | |
| 5494 | + | filename="gsk/gskpathbuilder.c" | |
| 5495 | + | line="608">a path builder</doc> | |
| 5496 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5497 | + | </instance-parameter> | |
| 5498 | + | <parameter name="x" transfer-ownership="none"> | |
| 5499 | + | <doc xml:space="preserve" | |
| 5500 | + | filename="gsk/gskpathbuilder.c" | |
| 5501 | + | line="609">x offset</doc> | |
| 5502 | + | <type name="gfloat" c:type="float"/> | |
| 5503 | + | </parameter> | |
| 5504 | + | <parameter name="y" transfer-ownership="none"> | |
| 5505 | + | <doc xml:space="preserve" | |
| 5506 | + | filename="gsk/gskpathbuilder.c" | |
| 5507 | + | line="610">y offset</doc> | |
| 5508 | + | <type name="gfloat" c:type="float"/> | |
| 5509 | + | </parameter> | |
| 5510 | + | </parameters> | |
| 5511 | + | </method> | |
| 5512 | + | <method name="rel_move_to" | |
| 5513 | + | c:identifier="gsk_path_builder_rel_move_to" | |
| 5514 | + | version="4.14"> | |
| 5515 | + | <doc xml:space="preserve" | |
| 5516 | + | filename="gsk/gskpathbuilder.c" | |
| 5517 | + | line="546">Starts a new contour by placing the pen at @x, @y | |
| 5518 | + | relative to the current point. | |
| 5519 | + | ||
| 5520 | + | This is the relative version of [method@Gsk.PathBuilder.move_to].</doc> | |
| 5521 | + | <source-position filename="gsk/gskpathbuilder.h" line="84"/> | |
| 5522 | + | <return-value transfer-ownership="none"> | |
| 5523 | + | <type name="none" c:type="void"/> | |
| 5524 | + | </return-value> | |
| 5525 | + | <parameters> | |
| 5526 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5527 | + | <doc xml:space="preserve" | |
| 5528 | + | filename="gsk/gskpathbuilder.c" | |
| 5529 | + | line="548">a path builder</doc> | |
| 5530 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5531 | + | </instance-parameter> | |
| 5532 | + | <parameter name="x" transfer-ownership="none"> | |
| 5533 | + | <doc xml:space="preserve" | |
| 5534 | + | filename="gsk/gskpathbuilder.c" | |
| 5535 | + | line="549">x offset</doc> | |
| 5536 | + | <type name="gfloat" c:type="float"/> | |
| 5537 | + | </parameter> | |
| 5538 | + | <parameter name="y" transfer-ownership="none"> | |
| 5539 | + | <doc xml:space="preserve" | |
| 5540 | + | filename="gsk/gskpathbuilder.c" | |
| 5541 | + | line="550">y offset</doc> | |
| 5542 | + | <type name="gfloat" c:type="float"/> | |
| 5543 | + | </parameter> | |
| 5544 | + | </parameters> | |
| 5545 | + | </method> | |
| 5546 | + | <method name="rel_quad_to" | |
| 5547 | + | c:identifier="gsk_path_builder_rel_quad_to" | |
| 5548 | + | version="4.14"> | |
| 5549 | + | <doc xml:space="preserve" | |
| 5550 | + | filename="gsk/gskpathbuilder.c" | |
| 5551 | + | line="737">Adds a [quadratic Bézier curve](https://en.wikipedia.org/wiki/B%C3%A9zier_curve) | |
| 5552 | + | from the current point to @x2, @y2 with @x1, @y1 the control point. | |
| 5553 | + | ||
| 5554 | + | All coordinates are given relative to the current point. | |
| 5555 | + | ||
| 5556 | + | This is the relative version of [method@Gsk.PathBuilder.quad_to].</doc> | |
| 5557 | + | <source-position filename="gsk/gskpathbuilder.h" line="102"/> | |
| 5558 | + | <return-value transfer-ownership="none"> | |
| 5559 | + | <type name="none" c:type="void"/> | |
| 5560 | + | </return-value> | |
| 5561 | + | <parameters> | |
| 5562 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5563 | + | <doc xml:space="preserve" | |
| 5564 | + | filename="gsk/gskpathbuilder.c" | |
| 5565 | + | line="739">a path builder</doc> | |
| 5566 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5567 | + | </instance-parameter> | |
| 5568 | + | <parameter name="x1" transfer-ownership="none"> | |
| 5569 | + | <doc xml:space="preserve" | |
| 5570 | + | filename="gsk/gskpathbuilder.c" | |
| 5571 | + | line="740">x offset of control point</doc> | |
| 5572 | + | <type name="gfloat" c:type="float"/> | |
| 5573 | + | </parameter> | |
| 5574 | + | <parameter name="y1" transfer-ownership="none"> | |
| 5575 | + | <doc xml:space="preserve" | |
| 5576 | + | filename="gsk/gskpathbuilder.c" | |
| 5577 | + | line="741">y offset of control point</doc> | |
| 5578 | + | <type name="gfloat" c:type="float"/> | |
| 5579 | + | </parameter> | |
| 5580 | + | <parameter name="x2" transfer-ownership="none"> | |
| 5581 | + | <doc xml:space="preserve" | |
| 5582 | + | filename="gsk/gskpathbuilder.c" | |
| 5583 | + | line="742">x offset of the end of the curve</doc> | |
| 5584 | + | <type name="gfloat" c:type="float"/> | |
| 5585 | + | </parameter> | |
| 5586 | + | <parameter name="y2" transfer-ownership="none"> | |
| 5587 | + | <doc xml:space="preserve" | |
| 5588 | + | filename="gsk/gskpathbuilder.c" | |
| 5589 | + | line="743">y offset of the end of the curve</doc> | |
| 5590 | + | <type name="gfloat" c:type="float"/> | |
| 5591 | + | </parameter> | |
| 5592 | + | </parameters> | |
| 5593 | + | </method> | |
| 5594 | + | <method name="rel_svg_arc_to" | |
| 5595 | + | c:identifier="gsk_path_builder_rel_svg_arc_to" | |
| 5596 | + | version="4.14"> | |
| 5597 | + | <doc xml:space="preserve" | |
| 5598 | + | filename="gsk/gskpathbuilder.c" | |
| 5599 | + | line="1438">Implements arc-to according to the SVG spec. | |
| 5600 | + | ||
| 5601 | + | All coordinates are given relative to the current point. | |
| 5602 | + | ||
| 5603 | + | This is the relative version of [method@Gsk.PathBuilder.svg_arc_to].</doc> | |
| 5604 | + | <source-position filename="gsk/gskpathbuilder.h" line="163"/> | |
| 5605 | + | <return-value transfer-ownership="none"> | |
| 5606 | + | <type name="none" c:type="void"/> | |
| 5607 | + | </return-value> | |
| 5608 | + | <parameters> | |
| 5609 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5610 | + | <doc xml:space="preserve" | |
| 5611 | + | filename="gsk/gskpathbuilder.c" | |
| 5612 | + | line="1440">a path builder</doc> | |
| 5613 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5614 | + | </instance-parameter> | |
| 5615 | + | <parameter name="rx" transfer-ownership="none"> | |
| 5616 | + | <doc xml:space="preserve" | |
| 5617 | + | filename="gsk/gskpathbuilder.c" | |
| 5618 | + | line="1441">x radius</doc> | |
| 5619 | + | <type name="gfloat" c:type="float"/> | |
| 5620 | + | </parameter> | |
| 5621 | + | <parameter name="ry" transfer-ownership="none"> | |
| 5622 | + | <doc xml:space="preserve" | |
| 5623 | + | filename="gsk/gskpathbuilder.c" | |
| 5624 | + | line="1442">y radius</doc> | |
| 5625 | + | <type name="gfloat" c:type="float"/> | |
| 5626 | + | </parameter> | |
| 5627 | + | <parameter name="x_axis_rotation" transfer-ownership="none"> | |
| 5628 | + | <doc xml:space="preserve" | |
| 5629 | + | filename="gsk/gskpathbuilder.c" | |
| 5630 | + | line="1443">the rotation of the ellipsis</doc> | |
| 5631 | + | <type name="gfloat" c:type="float"/> | |
| 5632 | + | </parameter> | |
| 5633 | + | <parameter name="large_arc" transfer-ownership="none"> | |
| 5634 | + | <doc xml:space="preserve" | |
| 5635 | + | filename="gsk/gskpathbuilder.c" | |
| 5636 | + | line="1444">whether to add the large arc</doc> | |
| 5637 | + | <type name="gboolean" c:type="gboolean"/> | |
| 5638 | + | </parameter> | |
| 5639 | + | <parameter name="positive_sweep" transfer-ownership="none"> | |
| 5640 | + | <doc xml:space="preserve" | |
| 5641 | + | filename="gsk/gskpathbuilder.c" | |
| 5642 | + | line="1445">whether to sweep in the positive direction</doc> | |
| 5643 | + | <type name="gboolean" c:type="gboolean"/> | |
| 5644 | + | </parameter> | |
| 5645 | + | <parameter name="x" transfer-ownership="none"> | |
| 5646 | + | <doc xml:space="preserve" | |
| 5647 | + | filename="gsk/gskpathbuilder.c" | |
| 5648 | + | line="1446">x coordinate of the endpoint</doc> | |
| 5649 | + | <type name="gfloat" c:type="float"/> | |
| 5650 | + | </parameter> | |
| 5651 | + | <parameter name="y" transfer-ownership="none"> | |
| 5652 | + | <doc xml:space="preserve" | |
| 5653 | + | filename="gsk/gskpathbuilder.c" | |
| 5654 | + | line="1447">y coordinate of the endpoint</doc> | |
| 5655 | + | <type name="gfloat" c:type="float"/> | |
| 5656 | + | </parameter> | |
| 5657 | + | </parameters> | |
| 5658 | + | </method> | |
| 5659 | + | <method name="svg_arc_to" | |
| 5660 | + | c:identifier="gsk_path_builder_svg_arc_to" | |
| 5661 | + | version="4.14"> | |
| 5662 | + | <doc xml:space="preserve" | |
| 5663 | + | filename="gsk/gskpathbuilder.c" | |
| 5664 | + | line="1285">Implements arc-to according to the SVG spec. | |
| 5665 | + | ||
| 5666 | + | A convenience function that implements the | |
| 5667 | + | [SVG arc_to](https://www.w3.org/TR/SVG11/paths.html#PathDataEllipticalArcCommands) | |
| 5668 | + | functionality. | |
| 5669 | + | ||
| 5670 | + | After this, @x, @y will be the new current point.</doc> | |
| 5671 | + | <source-position filename="gsk/gskpathbuilder.h" line="154"/> | |
| 5672 | + | <return-value transfer-ownership="none"> | |
| 5673 | + | <type name="none" c:type="void"/> | |
| 5674 | + | </return-value> | |
| 5675 | + | <parameters> | |
| 5676 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5677 | + | <doc xml:space="preserve" | |
| 5678 | + | filename="gsk/gskpathbuilder.c" | |
| 5679 | + | line="1287">a path builder</doc> | |
| 5680 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5681 | + | </instance-parameter> | |
| 5682 | + | <parameter name="rx" transfer-ownership="none"> | |
| 5683 | + | <doc xml:space="preserve" | |
| 5684 | + | filename="gsk/gskpathbuilder.c" | |
| 5685 | + | line="1288">x radius</doc> | |
| 5686 | + | <type name="gfloat" c:type="float"/> | |
| 5687 | + | </parameter> | |
| 5688 | + | <parameter name="ry" transfer-ownership="none"> | |
| 5689 | + | <doc xml:space="preserve" | |
| 5690 | + | filename="gsk/gskpathbuilder.c" | |
| 5691 | + | line="1289">y radius</doc> | |
| 5692 | + | <type name="gfloat" c:type="float"/> | |
| 5693 | + | </parameter> | |
| 5694 | + | <parameter name="x_axis_rotation" transfer-ownership="none"> | |
| 5695 | + | <doc xml:space="preserve" | |
| 5696 | + | filename="gsk/gskpathbuilder.c" | |
| 5697 | + | line="1290">the rotation of the ellipsis</doc> | |
| 5698 | + | <type name="gfloat" c:type="float"/> | |
| 5699 | + | </parameter> | |
| 5700 | + | <parameter name="large_arc" transfer-ownership="none"> | |
| 5701 | + | <doc xml:space="preserve" | |
| 5702 | + | filename="gsk/gskpathbuilder.c" | |
| 5703 | + | line="1291">whether to add the large arc</doc> | |
| 5704 | + | <type name="gboolean" c:type="gboolean"/> | |
| 5705 | + | </parameter> | |
| 5706 | + | <parameter name="positive_sweep" transfer-ownership="none"> | |
| 5707 | + | <doc xml:space="preserve" | |
| 5708 | + | filename="gsk/gskpathbuilder.c" | |
| 5709 | + | line="1292">whether to sweep in the positive direction</doc> | |
| 5710 | + | <type name="gboolean" c:type="gboolean"/> | |
| 5711 | + | </parameter> | |
| 5712 | + | <parameter name="x" transfer-ownership="none"> | |
| 5713 | + | <doc xml:space="preserve" | |
| 5714 | + | filename="gsk/gskpathbuilder.c" | |
| 5715 | + | line="1293">x coordinate of the endpoint</doc> | |
| 5716 | + | <type name="gfloat" c:type="float"/> | |
| 5717 | + | </parameter> | |
| 5718 | + | <parameter name="y" transfer-ownership="none"> | |
| 5719 | + | <doc xml:space="preserve" | |
| 5720 | + | filename="gsk/gskpathbuilder.c" | |
| 5721 | + | line="1294">y coordinate of the endpoint</doc> | |
| 5722 | + | <type name="gfloat" c:type="float"/> | |
| 5723 | + | </parameter> | |
| 5724 | + | </parameters> | |
| 5725 | + | </method> | |
| 5726 | + | <method name="to_path" | |
| 5727 | + | c:identifier="gsk_path_builder_to_path" | |
| 5728 | + | version="4.14"> | |
| 5729 | + | <doc xml:space="preserve" | |
| 5730 | + | filename="gsk/gskpathbuilder.c" | |
| 5731 | + | line="268">Creates a new path from the given builder. | |
| 5732 | + | ||
| 5733 | + | The given `GskPathBuilder` is reset once this function returns; | |
| 5734 | + | you cannot call this function multiple times on the same builder | |
| 5735 | + | instance. | |
| 5736 | + | ||
| 5737 | + | This function is intended primarily for language bindings. | |
| 5738 | + | C code should use [method@Gsk.PathBuilder.free_to_path].</doc> | |
| 5739 | + | <source-position filename="gsk/gskpathbuilder.h" line="46"/> | |
| 5740 | + | <return-value transfer-ownership="full"> | |
| 5741 | + | <doc xml:space="preserve" | |
| 5742 | + | filename="gsk/gskpathbuilder.c" | |
| 5743 | + | line="281">the newly created path | |
| 5744 | + | with all the contours added to the builder</doc> | |
| 5745 | + | <type name="Path" c:type="GskPath*"/> | |
| 5746 | + | </return-value> | |
| 5747 | + | <parameters> | |
| 5748 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5749 | + | <doc xml:space="preserve" | |
| 5750 | + | filename="gsk/gskpathbuilder.c" | |
| 5751 | + | line="270">a path builder</doc> | |
| 5752 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5753 | + | </instance-parameter> | |
| 5754 | + | </parameters> | |
| 5755 | + | </method> | |
| 5756 | + | <method name="unref" | |
| 5757 | + | c:identifier="gsk_path_builder_unref" | |
| 5758 | + | version="4.14"> | |
| 5759 | + | <doc xml:space="preserve" | |
| 5760 | + | filename="gsk/gskpathbuilder.c" | |
| 5761 | + | line="217">Releases a reference on the given builder.</doc> | |
| 5762 | + | <source-position filename="gsk/gskpathbuilder.h" line="42"/> | |
| 5763 | + | <return-value transfer-ownership="none"> | |
| 5764 | + | <type name="none" c:type="void"/> | |
| 5765 | + | </return-value> | |
| 5766 | + | <parameters> | |
| 5767 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5768 | + | <doc xml:space="preserve" | |
| 5769 | + | filename="gsk/gskpathbuilder.c" | |
| 5770 | + | line="219">a path builder</doc> | |
| 5771 | + | <type name="PathBuilder" c:type="GskPathBuilder*"/> | |
| 5772 | + | </instance-parameter> | |
| 5773 | + | </parameters> | |
| 5774 | + | </method> | |
| 5775 | + | </record> | |
| 5776 | + | <enumeration name="PathDirection" | |
| 5777 | + | version="4.14" | |
| 5778 | + | glib:type-name="GskPathDirection" | |
| 5779 | + | glib:get-type="gsk_path_direction_get_type" | |
| 5780 | + | c:type="GskPathDirection"> | |
| 5781 | + | <doc xml:space="preserve" | |
| 5782 | + | filename="gsk/gskenums.h" | |
| 5783 | + | line="341">Used to pick one of the four tangents at a given point on the path. | |
| 5784 | + | ||
| 5785 | + | Note that the directions for @GSK_PATH_FROM_START/@GSK_PATH_TO_END and | |
| 5786 | + | @GSK_PATH_TO_START/@GSK_PATH_FROM_END will coincide for smooth points. | |
| 5787 | + | Only sharp turns will exhibit four different directions. | |
| 5788 | + | ||
| 5789 | + | <picture> | |
| 5790 | + | <source srcset="directions-dark.png" media="(prefers-color-scheme: dark)"> | |
| 5791 | + | <img alt="Path Tangents" src="directions-light.png"> | |
| 5792 | + | </picture></doc> | |
| 5793 | + | <member name="from_start" | |
| 5794 | + | value="0" | |
| 5795 | + | c:identifier="GSK_PATH_FROM_START" | |
| 5796 | + | glib:nick="from-start" | |
| 5797 | + | glib:name="GSK_PATH_FROM_START"> | |
| 5798 | + | <doc xml:space="preserve" | |
| 5799 | + | filename="gsk/gskenums.h" | |
| 5800 | + | line="343">The tangent in path direction of the incoming side | |
| 5801 | + | of the path</doc> | |
| 5802 | + | </member> | |
| 5803 | + | <member name="to_start" | |
| 5804 | + | value="1" | |
| 5805 | + | c:identifier="GSK_PATH_TO_START" | |
| 5806 | + | glib:nick="to-start" | |
| 5807 | + | glib:name="GSK_PATH_TO_START"> | |
| 5808 | + | <doc xml:space="preserve" | |
| 5809 | + | filename="gsk/gskenums.h" | |
| 5810 | + | line="345">The tangent against path direction of the incoming side | |
| 5811 | + | of the path</doc> | |
| 5812 | + | </member> | |
| 5813 | + | <member name="to_end" | |
| 5814 | + | value="2" | |
| 5815 | + | c:identifier="GSK_PATH_TO_END" | |
| 5816 | + | glib:nick="to-end" | |
| 5817 | + | glib:name="GSK_PATH_TO_END"> | |
| 5818 | + | <doc xml:space="preserve" | |
| 5819 | + | filename="gsk/gskenums.h" | |
| 5820 | + | line="347">The tangent in path direction of the outgoing side | |
| 5821 | + | of the path</doc> | |
| 5822 | + | </member> | |
| 5823 | + | <member name="from_end" | |
| 5824 | + | value="3" | |
| 5825 | + | c:identifier="GSK_PATH_FROM_END" | |
| 5826 | + | glib:nick="from-end" | |
| 5827 | + | glib:name="GSK_PATH_FROM_END"> | |
| 5828 | + | <doc xml:space="preserve" | |
| 5829 | + | filename="gsk/gskenums.h" | |
| 5830 | + | line="349">The tangent against path direction of the outgoing | |
| 5831 | + | side of the path</doc> | |
| 5832 | + | </member> | |
| 5833 | + | </enumeration> | |
| 5834 | + | <bitfield name="PathForeachFlags" | |
| 5835 | + | version="4.14" | |
| 5836 | + | glib:type-name="GskPathForeachFlags" | |
| 5837 | + | glib:get-type="gsk_path_foreach_flags_get_type" | |
| 5838 | + | c:type="GskPathForeachFlags"> | |
| 5839 | + | <doc xml:space="preserve" | |
| 5840 | + | filename="gsk/gskpath.h" | |
| 5841 | + | line="31">Flags that can be passed to gsk_path_foreach() to influence what | |
| 5842 | + | kinds of operations the path is decomposed into. | |
| 5843 | + | ||
| 5844 | + | By default, [method@Gsk.Path.foreach] will only emit a path with all | |
| 5845 | + | operations flattened to straight lines to allow for maximum compatibility. | |
| 5846 | + | The only operations emitted will be `GSK_PATH_MOVE`, `GSK_PATH_LINE` and | |
| 5847 | + | `GSK_PATH_CLOSE`.</doc> | |
| 5848 | + | <member name="only_lines" | |
| 5849 | + | value="0" | |
| 5850 | + | c:identifier="GSK_PATH_FOREACH_ALLOW_ONLY_LINES" | |
| 5851 | + | glib:nick="only-lines" | |
| 5852 | + | glib:name="GSK_PATH_FOREACH_ALLOW_ONLY_LINES"> | |
| 5853 | + | <doc xml:space="preserve" | |
| 5854 | + | filename="gsk/gskpath.h" | |
| 5855 | + | line="33">The default behavior, only allow lines.</doc> | |
| 5856 | + | </member> | |
| 5857 | + | <member name="quad" | |
| 5858 | + | value="1" | |
| 5859 | + | c:identifier="GSK_PATH_FOREACH_ALLOW_QUAD" | |
| 5860 | + | glib:nick="quad" | |
| 5861 | + | glib:name="GSK_PATH_FOREACH_ALLOW_QUAD"> | |
| 5862 | + | <doc xml:space="preserve" | |
| 5863 | + | filename="gsk/gskpath.h" | |
| 5864 | + | line="34">Allow emission of `GSK_PATH_QUAD` operations</doc> | |
| 5865 | + | </member> | |
| 5866 | + | <member name="cubic" | |
| 5867 | + | value="2" | |
| 5868 | + | c:identifier="GSK_PATH_FOREACH_ALLOW_CUBIC" | |
| 5869 | + | glib:nick="cubic" | |
| 5870 | + | glib:name="GSK_PATH_FOREACH_ALLOW_CUBIC"> | |
| 5871 | + | <doc xml:space="preserve" | |
| 5872 | + | filename="gsk/gskpath.h" | |
| 5873 | + | line="35">Allow emission of `GSK_PATH_CUBIC` operations.</doc> | |
| 5874 | + | </member> | |
| 5875 | + | <member name="conic" | |
| 5876 | + | value="4" | |
| 5877 | + | c:identifier="GSK_PATH_FOREACH_ALLOW_CONIC" | |
| 5878 | + | glib:nick="conic" | |
| 5879 | + | glib:name="GSK_PATH_FOREACH_ALLOW_CONIC"> | |
| 5880 | + | <doc xml:space="preserve" | |
| 5881 | + | filename="gsk/gskpath.h" | |
| 5882 | + | line="36">Allow emission of `GSK_PATH_CONIC` operations.</doc> | |
| 5883 | + | </member> | |
| 5884 | + | </bitfield> | |
| 5885 | + | <callback name="PathForeachFunc" c:type="GskPathForeachFunc"> | |
| 5886 | + | <doc xml:space="preserve" | |
| 5887 | + | filename="gsk/gskpath.h" | |
| 5888 | + | line="56">Type of the callback to iterate through the operations of a path. | |
| 5889 | + | ||
| 5890 | + | For each operation, the callback is given the @op itself, the points | |
| 5891 | + | that the operation is applied to in @pts, and a @weight for conic | |
| 5892 | + | curves. The @n_pts argument is somewhat redundant, since the number | |
| 5893 | + | of points can be inferred from the operation. | |
| 5894 | + | ||
| 5895 | + | Each contour of the path starts with a @GSK_PATH_MOVE operation. | |
| 5896 | + | Closed contours end with a @GSK_PATH_CLOSE operation.</doc> | |
| 5897 | + | <source-position filename="gsk/gskpath.h" line="77"/> | |
| 5898 | + | <return-value transfer-ownership="none"> | |
| 5899 | + | <doc xml:space="preserve" | |
| 5900 | + | filename="gsk/gskpath.h" | |
| 5901 | + | line="74">%TRUE to continue iterating the path, %FALSE to | |
| 5902 | + | immediately abort and not call the function again.</doc> | |
| 5903 | + | <type name="gboolean" c:type="gboolean"/> | |
| 5904 | + | </return-value> | |
| 5905 | + | <parameters> | |
| 5906 | + | <parameter name="op" transfer-ownership="none"> | |
| 5907 | + | <doc xml:space="preserve" | |
| 5908 | + | filename="gsk/gskpath.h" | |
| 5909 | + | line="58">The operation</doc> | |
| 5910 | + | <type name="PathOperation" c:type="GskPathOperation"/> | |
| 5911 | + | </parameter> | |
| 5912 | + | <parameter name="pts" transfer-ownership="none"> | |
| 5913 | + | <doc xml:space="preserve" | |
| 5914 | + | filename="gsk/gskpath.h" | |
| 5915 | + | line="59">The points of the operation</doc> | |
| 5916 | + | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 5917 | + | </parameter> | |
| 5918 | + | <parameter name="n_pts" transfer-ownership="none"> | |
| 5919 | + | <doc xml:space="preserve" | |
| 5920 | + | filename="gsk/gskpath.h" | |
| 5921 | + | line="60">The number of points</doc> | |
| 5922 | + | <type name="gsize" c:type="gsize"/> | |
| 5923 | + | </parameter> | |
| 5924 | + | <parameter name="weight" transfer-ownership="none"> | |
| 5925 | + | <doc xml:space="preserve" | |
| 5926 | + | filename="gsk/gskpath.h" | |
| 5927 | + | line="61">The weight for conic curves, or unused if not a conic curve</doc> | |
| 5928 | + | <type name="gfloat" c:type="float"/> | |
| 5929 | + | </parameter> | |
| 5930 | + | <parameter name="user_data" | |
| 5931 | + | transfer-ownership="none" | |
| 5932 | + | nullable="1" | |
| 5933 | + | allow-none="1" | |
| 5934 | + | closure="4"> | |
| 5935 | + | <doc xml:space="preserve" | |
| 5936 | + | filename="gsk/gskpath.h" | |
| 5937 | + | line="62">The user data provided with the function</doc> | |
| 5938 | + | <type name="gpointer" c:type="gpointer"/> | |
| 5939 | + | </parameter> | |
| 5940 | + | </parameters> | |
| 5941 | + | </callback> | |
| 5942 | + | <record name="PathMeasure" | |
| 5943 | + | c:type="GskPathMeasure" | |
| 5944 | + | opaque="1" | |
| 5945 | + | version="4.14" | |
| 5946 | + | glib:type-name="GskPathMeasure" | |
| 5947 | + | glib:get-type="gsk_path_measure_get_type" | |
| 5948 | + | c:symbol-prefix="path_measure"> | |
| 5949 | + | <doc xml:space="preserve" | |
| 5950 | + | filename="gsk/gskpathmeasure.c" | |
| 5951 | + | line="29">Performs measurements on paths such as determining the length of the path. | |
| 5952 | + | ||
| 5953 | + | Many measuring operations require sampling the path length | |
| 5954 | + | at intermediate points. Therefore, a `GskPathMeasure` has | |
| 5955 | + | a tolerance that determines what precision is required | |
| 5956 | + | for such approximations. | |
| 5957 | + | ||
| 5958 | + | A `GskPathMeasure` struct is a reference counted struct | |
| 5959 | + | and should be treated as opaque.</doc> | |
| 5960 | + | <source-position filename="gsk/gsktypes.h" line="30"/> | |
| 5961 | + | <constructor name="new" | |
| 5962 | + | c:identifier="gsk_path_measure_new" | |
| 5963 | + | version="4.14"> | |
| 5964 | + | <doc xml:space="preserve" | |
| 5965 | + | filename="gsk/gskpathmeasure.c" | |
| 5966 | + | line="70">Creates a measure object for the given @path with the | |
| 5967 | + | default tolerance.</doc> | |
| 5968 | + | <source-position filename="gsk/gskpathmeasure.h" line="37"/> | |
| 5969 | + | <return-value transfer-ownership="full"> | |
| 5970 | + | <doc xml:space="preserve" | |
| 5971 | + | filename="gsk/gskpathmeasure.c" | |
| 5972 | + | line="77">a new `GskPathMeasure` representing @path</doc> | |
| 5973 | + | <type name="PathMeasure" c:type="GskPathMeasure*"/> | |
| 5974 | + | </return-value> | |
| 5975 | + | <parameters> | |
| 5976 | + | <parameter name="path" transfer-ownership="none"> | |
| 5977 | + | <doc xml:space="preserve" | |
| 5978 | + | filename="gsk/gskpathmeasure.c" | |
| 5979 | + | line="72">the path to measure</doc> | |
| 5980 | + | <type name="Path" c:type="GskPath*"/> | |
| 5981 | + | </parameter> | |
| 5982 | + | </parameters> | |
| 5983 | + | </constructor> | |
| 5984 | + | <constructor name="new_with_tolerance" | |
| 5985 | + | c:identifier="gsk_path_measure_new_with_tolerance" | |
| 5986 | + | version="4.14"> | |
| 5987 | + | <doc xml:space="preserve" | |
| 5988 | + | filename="gsk/gskpathmeasure.c" | |
| 5989 | + | line="87">Creates a measure object for the given @path and @tolerance.</doc> | |
| 5990 | + | <source-position filename="gsk/gskpathmeasure.h" line="39"/> | |
| 5991 | + | <return-value transfer-ownership="full"> | |
| 5992 | + | <doc xml:space="preserve" | |
| 5993 | + | filename="gsk/gskpathmeasure.c" | |
| 5994 | + | line="94">a new `GskPathMeasure` representing @path</doc> | |
| 5995 | + | <type name="PathMeasure" c:type="GskPathMeasure*"/> | |
| 5996 | + | </return-value> | |
| 5997 | + | <parameters> | |
| 5998 | + | <parameter name="path" transfer-ownership="none"> | |
| 5999 | + | <doc xml:space="preserve" | |
| 6000 | + | filename="gsk/gskpathmeasure.c" | |
| 6001 | + | line="89">the path to measure</doc> | |
| 6002 | + | <type name="Path" c:type="GskPath*"/> | |
| 6003 | + | </parameter> | |
| 6004 | + | <parameter name="tolerance" transfer-ownership="none"> | |
| 6005 | + | <doc xml:space="preserve" | |
| 6006 | + | filename="gsk/gskpathmeasure.c" | |
| 6007 | + | line="90">the tolerance for measuring operations</doc> | |
| 6008 | + | <type name="gfloat" c:type="float"/> | |
| 6009 | + | </parameter> | |
| 6010 | + | </parameters> | |
| 6011 | + | </constructor> | |
| 6012 | + | <method name="get_length" | |
| 6013 | + | c:identifier="gsk_path_measure_get_length" | |
| 6014 | + | version="4.14"> | |
| 6015 | + | <doc xml:space="preserve" | |
| 6016 | + | filename="gsk/gskpathmeasure.c" | |
| 6017 | + | line="212">Gets the length of the path being measured. | |
| 6018 | + | ||
| 6019 | + | The length is cached, so this function does not do any work.</doc> | |
| 6020 | + | <source-position filename="gsk/gskpathmeasure.h" line="53"/> | |
| 6021 | + | <return-value transfer-ownership="none"> | |
| 6022 | + | <doc xml:space="preserve" | |
| 6023 | + | filename="gsk/gskpathmeasure.c" | |
| 6024 | + | line="220">the length of the path measured by @self</doc> | |
| 6025 | + | <type name="gfloat" c:type="float"/> | |
| 6026 | + | </return-value> | |
| 6027 | + | <parameters> | |
| 6028 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 6029 | + | <doc xml:space="preserve" | |
| 6030 | + | filename="gsk/gskpathmeasure.c" | |
| 6031 | + | line="214">a path measure</doc> | |
| 6032 | + | <type name="PathMeasure" c:type="GskPathMeasure*"/> | |
| 6033 | + | </instance-parameter> | |
| 6034 | + | </parameters> | |
| 6035 | + | </method> | |
| 6036 | + | <method name="get_path" | |
| 6037 | + | c:identifier="gsk_path_measure_get_path" | |
| 6038 | + | version="4.14"> | |
| 6039 | + | <doc xml:space="preserve" | |
| 6040 | + | filename="gsk/gskpathmeasure.c" | |
| 6041 | + | line="180">Returns the path that the measure was created for.</doc> | |
| 6042 | + | <source-position filename="gsk/gskpathmeasure.h" line="48"/> | |
| 6043 | + | <return-value transfer-ownership="none"> | |
| 6044 | + | <doc xml:space="preserve" | |
| 6045 | + | filename="gsk/gskpathmeasure.c" | |
| 6046 | + | line="186">the path of @self</doc> | |
| 6047 | + | <type name="Path" c:type="GskPath*"/> | |
| 6048 | + | </return-value> | |
| 6049 | + | <parameters> | |
| 6050 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 6051 | + | <doc xml:space="preserve" | |
| 6052 | + | filename="gsk/gskpathmeasure.c" | |
| 6053 | + | line="182">a path measure</doc> | |
| 6054 | + | <type name="PathMeasure" c:type="GskPathMeasure*"/> | |
| 6055 | + | </instance-parameter> | |
| 6056 | + | </parameters> | |
| 6057 | + | </method> | |
| 6058 | + | <method name="get_point" | |
| 6059 | + | c:identifier="gsk_path_measure_get_point" | |
| 6060 | + | version="4.14"> | |
| 6061 | + | <doc xml:space="preserve" | |
| 6062 | + | filename="gsk/gskpathmeasure.c" | |
| 6063 | + | line="242">Gets the point at the given distance into the path. | |
| 6064 | + | ||
| 6065 | + | An empty path has no points, so false is returned in that case.</doc> | |
| 6066 | + | <source-position filename="gsk/gskpathmeasure.h" line="56"/> | |
| 6067 | + | <return-value transfer-ownership="none"> | |
| 6068 | + | <doc xml:space="preserve" | |
| 6069 | + | filename="gsk/gskpathmeasure.c" | |
| 6070 | + | line="252">true if @result was set</doc> | |
| 6071 | + | <type name="gboolean" c:type="gboolean"/> | |
| 6072 | + | </return-value> | |
| 6073 | + | <parameters> | |
| 6074 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 6075 | + | <doc xml:space="preserve" | |
| 6076 | + | filename="gsk/gskpathmeasure.c" | |
| 6077 | + | line="244">a path measure</doc> | |
| 6078 | + | <type name="PathMeasure" c:type="GskPathMeasure*"/> | |
| 6079 | + | </instance-parameter> | |
| 6080 | + | <parameter name="distance" transfer-ownership="none"> | |
| 6081 | + | <doc xml:space="preserve" | |
| 6082 | + | filename="gsk/gskpathmeasure.c" | |
| 6083 | + | line="245">the distance</doc> | |
| 6084 | + | <type name="gfloat" c:type="float"/> | |
| 6085 | + | </parameter> | |
| 6086 | + | <parameter name="result" | |
| 6087 | + | direction="out" | |
| 6088 | + | caller-allocates="1" | |
| 6089 | + | transfer-ownership="none"> | |
| 6090 | + | <doc xml:space="preserve" | |
| 6091 | + | filename="gsk/gskpathmeasure.c" | |
| 6092 | + | line="246">return location for the point</doc> | |
| 6093 | + | <type name="PathPoint" c:type="GskPathPoint*"/> | |
| 6094 | + | </parameter> | |
| 6095 | + | </parameters> | |
| 6096 | + | </method> | |
| 6097 | + | <method name="get_tolerance" | |
| 6098 | + | c:identifier="gsk_path_measure_get_tolerance" | |
| 6099 | + | version="4.14"> | |
| 6100 | + | <doc xml:space="preserve" | |
| 6101 | + | filename="gsk/gskpathmeasure.c" | |
| 6102 | + | line="196">Returns the tolerance that the measure was created with.</doc> | |
| 6103 | + | <source-position filename="gsk/gskpathmeasure.h" line="50"/> | |
| 6104 | + | <return-value transfer-ownership="none"> | |
| 6105 | + | <doc xml:space="preserve" | |
| 6106 | + | filename="gsk/gskpathmeasure.c" | |
| 6107 | + | line="202">the tolerance of @self</doc> | |
| 6108 | + | <type name="gfloat" c:type="float"/> | |
| 6109 | + | </return-value> | |
| 6110 | + | <parameters> | |
| 6111 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 6112 | + | <doc xml:space="preserve" | |
| 6113 | + | filename="gsk/gskpathmeasure.c" | |
| 6114 | + | line="198">a path measure</doc> | |
| 6115 | + | <type name="PathMeasure" c:type="GskPathMeasure*"/> | |
| 6116 | + | </instance-parameter> | |
| 6117 | + | </parameters> | |
| 6118 | + | </method> | |
| 6119 | + | <method name="ref" c:identifier="gsk_path_measure_ref" version="4.14"> | |
| 6120 | + | <doc xml:space="preserve" | |
| 6121 | + | filename="gsk/gskpathmeasure.c" | |
| 6122 | + | line="128">Increases the reference count of a `GskPathMeasure` by one.</doc> | |
| 6123 | + | <source-position filename="gsk/gskpathmeasure.h" line="43"/> | |
| 6124 | + | <return-value transfer-ownership="full"> | |
| 6125 | + | <doc xml:space="preserve" | |
| 6126 | + | filename="gsk/gskpathmeasure.c" | |
| 6127 | + | line="134">the passed in `GskPathMeasure`.</doc> | |
| 6128 | + | <type name="PathMeasure" c:type="GskPathMeasure*"/> | |
| 6129 | + | </return-value> | |
| 6130 | + | <parameters> | |
| 6131 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 6132 | + | <doc xml:space="preserve" | |
| 6133 | + | filename="gsk/gskpathmeasure.c" | |
| 6134 | + | line="130">a path measure</doc> | |
| 6135 | + | <type name="PathMeasure" c:type="GskPathMeasure*"/> | |
| 6136 | + | </instance-parameter> | |
| 6137 | + | </parameters> | |
| 6138 | + | </method> | |
| 6139 | + | <method name="unref" | |
| 6140 | + | c:identifier="gsk_path_measure_unref" | |
| 6141 | + | version="4.14"> | |
| 6142 | + | <doc xml:space="preserve" | |
| 6143 | + | filename="gsk/gskpathmeasure.c" | |
| 6144 | + | line="148">Decreases the reference count of a `GskPathMeasure` by one. | |
| 6145 | + | ||
| 6146 | + | If the resulting reference count is zero, frees the object.</doc> | |
| 6147 | + | <source-position filename="gsk/gskpathmeasure.h" line="45"/> | |
| 6148 | + | <return-value transfer-ownership="none"> | |
| 6149 | + | <type name="none" c:type="void"/> | |
| 6150 | + | </return-value> | |
| 6151 | + | <parameters> | |
| 6152 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 6153 | + | <doc xml:space="preserve" | |
| 6154 | + | filename="gsk/gskpathmeasure.c" | |
| 6155 | + | line="150">a path measure</doc> | |
| 6156 | + | <type name="PathMeasure" c:type="GskPathMeasure*"/> | |
| 6157 | + | </instance-parameter> | |
| 6158 | + | </parameters> | |
| 6159 | + | </method> | |
| 6160 | + | </record> | |
| 6161 | + | <enumeration name="PathOperation" | |
| 6162 | + | version="4.14" | |
| 6163 | + | glib:type-name="GskPathOperation" | |
| 6164 | + | glib:get-type="gsk_path_operation_get_type" | |
| 6165 | + | c:type="GskPathOperation"> | |
| 6166 | + | <doc xml:space="preserve" | |
| 6167 | + | filename="gsk/gskenums.h" | |
| 6168 | + | line="309">Describes the segments of a `GskPath`. | |
| 6169 | + | ||
| 6170 | + | More values may be added in the future.</doc> | |
| 6171 | + | <member name="move" | |
| 6172 | + | value="0" | |
| 6173 | + | c:identifier="GSK_PATH_MOVE" | |
| 6174 | + | glib:nick="move" | |
| 6175 | + | glib:name="GSK_PATH_MOVE"> | |
| 6176 | + | <doc xml:space="preserve" | |
| 6177 | + | filename="gsk/gskenums.h" | |
| 6178 | + | line="311">A move-to operation, with 1 point describing the target point.</doc> | |
| 6179 | + | </member> | |
| 6180 | + | <member name="close" | |
| 6181 | + | value="1" | |
| 6182 | + | c:identifier="GSK_PATH_CLOSE" | |
| 6183 | + | glib:nick="close" | |
| 6184 | + | glib:name="GSK_PATH_CLOSE"> | |
| 6185 | + | <doc xml:space="preserve" | |
| 6186 | + | filename="gsk/gskenums.h" | |
| 6187 | + | line="312">A close operation ending the current contour with a line back | |
| 6188 | + | to the starting point. Two points describe the start and end of the line.</doc> | |
| 6189 | + | </member> | |
| 6190 | + | <member name="line" | |
| 6191 | + | value="2" | |
| 6192 | + | c:identifier="GSK_PATH_LINE" | |
| 6193 | + | glib:nick="line" | |
| 6194 | + | glib:name="GSK_PATH_LINE"> | |
| 6195 | + | <doc xml:space="preserve" | |
| 6196 | + | filename="gsk/gskenums.h" | |
| 6197 | + | line="314">A line-to operation, with 2 points describing the start and | |
| 6198 | + | end point of a straight line.</doc> | |
| 6199 | + | </member> | |
| 6200 | + | <member name="quad" | |
| 6201 | + | value="3" | |
| 6202 | + | c:identifier="GSK_PATH_QUAD" | |
| 6203 | + | glib:nick="quad" | |
| 6204 | + | glib:name="GSK_PATH_QUAD"> | |
| 6205 | + | <doc xml:space="preserve" | |
| 6206 | + | filename="gsk/gskenums.h" | |
| 6207 | + | line="316">A curve-to operation describing a quadratic Bézier curve | |
| 6208 | + | with 3 points describing the start point, the control point and the end | |
| 6209 | + | point of the curve.</doc> | |
| 6210 | + | </member> | |
| 6211 | + | <member name="cubic" | |
| 6212 | + | value="4" | |
| 6213 | + | c:identifier="GSK_PATH_CUBIC" | |
| 6214 | + | glib:nick="cubic" | |
| 6215 | + | glib:name="GSK_PATH_CUBIC"> | |
| 6216 | + | <doc xml:space="preserve" | |
| 6217 | + | filename="gsk/gskenums.h" | |
| 6218 | + | line="319">A curve-to operation describing a cubic Bézier curve with 4 | |
| 6219 | + | points describing the start point, the two control points and the end point | |
| 6220 | + | of the curve.</doc> | |
| 6221 | + | </member> | |
| 6222 | + | <member name="conic" | |
| 6223 | + | value="5" | |
| 6224 | + | c:identifier="GSK_PATH_CONIC" | |
| 6225 | + | glib:nick="conic" | |
| 6226 | + | glib:name="GSK_PATH_CONIC"> | |
| 6227 | + | <doc xml:space="preserve" | |
| 6228 | + | filename="gsk/gskenums.h" | |
| 6229 | + | line="322">A rational quadratic Bézier curve with 3 points describing | |
| 6230 | + | the start point, control point and end point of the curve. A weight for the | |
| 6231 | + | curve will be passed, too.</doc> | |
| 6232 | + | </member> | |
| 6233 | + | </enumeration> | |
| 6234 | + | <record name="PathPoint" | |
| 6235 | + | c:type="GskPathPoint" | |
| 6236 | + | version="4.14" | |
| 6237 | + | glib:type-name="GskPathPoint" | |
| 6238 | + | glib:get-type="gsk_path_point_get_type" | |
| 6239 | + | c:symbol-prefix="path_point"> | |
| 6240 | + | <doc xml:space="preserve" | |
| 6241 | + | filename="gsk/gskpathpoint.c" | |
| 6242 | + | line="30">Represents a point on a path. | |
| 6243 | + | ||
| 6244 | + | It can be queried for properties of the path at that point, | |
| 6245 | + | such as its tangent or its curvature. | |
| 6246 | + | ||
| 6247 | + | To obtain a `GskPathPoint`, use [method@Gsk.Path.get_closest_point], | |
| 6248 | + | [method@Gsk.Path.get_start_point], [method@Gsk.Path.get_end_point] | |
| 6249 | + | or [method@Gsk.PathMeasure.get_point]. | |
| 6250 | + | ||
| 6251 | + | Note that `GskPathPoint` structs are meant to be stack-allocated, | |
| 6252 | + | and don't hold a reference to the path object they are obtained from. | |
| 6253 | + | It is the callers responsibility to keep a reference to the path | |
| 6254 | + | as long as the `GskPathPoint` is used.</doc> | |
| 6255 | + | <source-position filename="gsk/gskpathpoint.h" line="47"/> | |
| 6256 | + | <union> | |
| 6257 | + | <source-position filename="gsk/gskpathpoint.h" line="46"/> | |
| 6258 | + | <record> | |
| 6259 | + | <source-position filename="gsk/gskpathpoint.h" line="43"/> | |
| 6260 | + | <field name="contour" writable="1"> | |
| 6261 | + | <type name="gsize" c:type="gsize"/> | |
| 6262 | + | </field> | |
| 6263 | + | <field name="idx" writable="1"> | |
| 6264 | + | <type name="gsize" c:type="gsize"/> | |
| 6265 | + | </field> | |
| 6266 | + | <field name="t" writable="1"> | |
| 6267 | + | <type name="gfloat" c:type="float"/> | |
| 6268 | + | </field> | |
| 6269 | + | </record> | |
| 6270 | + | <field name="padding" writable="1"> | |
| 6271 | + | <array zero-terminated="0" fixed-size="8"> | |
| 6272 | + | <type name="gpointer" c:type="gpointer"/> | |
| 6273 | + | </array> | |
| 6274 | + | </field> | |
| 6275 | + | <field name="alignment" writable="1"> | |
| 6276 | + | <type name="Graphene.Vec4" c:type="graphene_vec4_t"/> | |
| 6277 | + | </field> | |
| 6278 | + | </union> | |
| 6279 | + | <method name="compare" | |
| 6280 | + | c:identifier="gsk_path_point_compare" | |
| 6281 | + | version="4.14"> | |
| 6282 | + | <doc xml:space="preserve" | |
| 6283 | + | filename="gsk/gskpathpoint.c" | |
| 6284 | + | line="123">Returns whether @point1 is before or after @point2.</doc> | |
| 6285 | + | <source-position filename="gsk/gskpathpoint.h" line="63"/> | |
| 6286 | + | <return-value transfer-ownership="none"> | |
| 6287 | + | <doc xml:space="preserve" | |
| 6288 | + | filename="gsk/gskpathpoint.c" | |
| 6289 | + | line="130">-1 if @point1 is before @point2, | |
| 6290 | + | 1 if @point1 is after @point2, | |
| 6291 | + | 0 if they are equal</doc> | |
| 6292 | + | <type name="gint" c:type="int"/> | |
| 6293 | + | </return-value> | |
| 6294 | + | <parameters> | |
| 6295 | + | <instance-parameter name="point1" transfer-ownership="none"> | |
| 6296 | + | <doc xml:space="preserve" | |
| 6297 | + | filename="gsk/gskpathpoint.c" | |
| 6298 | + | line="125">a path point</doc> | |
| 6299 | + | <type name="PathPoint" c:type="const GskPathPoint*"/> | |
| 6300 | + | </instance-parameter> | |
| 6301 | + | <parameter name="point2" transfer-ownership="none"> | |
| 6302 | + | <doc xml:space="preserve" | |
| 6303 | + | filename="gsk/gskpathpoint.c" | |
| 6304 | + | line="126">another path point</doc> | |
| 6305 | + | <type name="PathPoint" c:type="const GskPathPoint*"/> | |
| 6306 | + | </parameter> | |
| 6307 | + | </parameters> | |
| 6308 | + | </method> | |
| 6309 | + | <method name="copy" c:identifier="gsk_path_point_copy" version="4.14"> | |
| 6310 | + | <doc xml:space="preserve" | |
| 6311 | + | filename="gsk/gskpathpoint.c" | |
| 6312 | + | line="54">Copies a path point.</doc> | |
| 6313 | + | <source-position filename="gsk/gskpathpoint.h" line="53"/> | |
| 6314 | + | <return-value transfer-ownership="full"> | |
| 6315 | + | <doc xml:space="preserve" | |
| 6316 | + | filename="gsk/gskpathpoint.c" | |
| 6317 | + | line="60">the copied point</doc> | |
| 6318 | + | <type name="PathPoint" c:type="GskPathPoint*"/> | |
| 6319 | + | </return-value> | |
| 6320 | + | <parameters> | |
| 6321 | + | <instance-parameter name="point" transfer-ownership="none"> | |
| 6322 | + | <doc xml:space="preserve" | |
| 6323 | + | filename="gsk/gskpathpoint.c" | |
| 6324 | + | line="56">a path point</doc> | |
| 6325 | + | <type name="PathPoint" c:type="GskPathPoint*"/> | |
| 6326 | + | </instance-parameter> | |
| 6327 | + | </parameters> | |
| 6328 | + | </method> | |
| 6329 | + | <method name="equal" c:identifier="gsk_path_point_equal" version="4.14"> | |
| 6330 | + | <doc xml:space="preserve" | |
| 6331 | + | filename="gsk/gskpathpoint.c" | |
| 6332 | + | line="90">Returns whether the two path points refer to the same | |
| 6333 | + | location on all paths. | |
| 6334 | + | ||
| 6335 | + | Note that the start- and endpoint of a closed contour | |
| 6336 | + | will compare nonequal according to this definition. | |
| 6337 | + | Use [method@Gsk.Path.is_closed] to find out if the | |
| 6338 | + | start- and endpoint of a concrete path refer to the | |
| 6339 | + | same location.</doc> | |
| 6340 | + | <source-position filename="gsk/gskpathpoint.h" line="59"/> | |
| 6341 | + | <return-value transfer-ownership="none"> | |
| 6342 | + | <doc xml:space="preserve" | |
| 6343 | + | filename="gsk/gskpathpoint.c" | |
| 6344 | + | line="104">true if @point1 and @point2 are equal</doc> | |
| 6345 | + | <type name="gboolean" c:type="gboolean"/> | |
| 6346 | + | </return-value> | |
| 6347 | + | <parameters> | |
| 6348 | + | <instance-parameter name="point1" transfer-ownership="none"> | |
| 6349 | + | <doc xml:space="preserve" | |
| 6350 | + | filename="gsk/gskpathpoint.c" | |
| 6351 | + | line="92">a path point</doc> | |
| 6352 | + | <type name="PathPoint" c:type="const GskPathPoint*"/> | |
| 6353 | + | </instance-parameter> | |
| 6354 | + | <parameter name="point2" transfer-ownership="none"> | |
| 6355 | + | <doc xml:space="preserve" | |
| 6356 | + | filename="gsk/gskpathpoint.c" | |
| 6357 | + | line="93">another path point</doc> | |
| 6358 | + | <type name="PathPoint" c:type="const GskPathPoint*"/> | |
| 6359 | + | </parameter> | |
| 6360 | + | </parameters> | |
| 6361 | + | </method> | |
| 6362 | + | <method name="free" c:identifier="gsk_path_point_free" version="4.14"> | |
| 6363 | + | <doc xml:space="preserve" | |
| 6364 | + | filename="gsk/gskpathpoint.c" | |
| 6365 | + | line="76">Frees a path point copied by [method@Gsk.PathPoint.copy].</doc> | |
| 6366 | + | <source-position filename="gsk/gskpathpoint.h" line="56"/> | |
| 6367 | + | <return-value transfer-ownership="none"> | |
| 6368 | + | <type name="none" c:type="void"/> | |
| 6369 | + | </return-value> | |
| 6370 | + | <parameters> | |
| 6371 | + | <instance-parameter name="point" transfer-ownership="none"> | |
| 6372 | + | <doc xml:space="preserve" | |
| 6373 | + | filename="gsk/gskpathpoint.c" | |
| 6374 | + | line="78">a path point</doc> | |
| 6375 | + | <type name="PathPoint" c:type="GskPathPoint*"/> | |
| 6376 | + | </instance-parameter> | |
| 6377 | + | </parameters> | |
| 6378 | + | </method> | |
| 6379 | + | <method name="get_curvature" | |
| 6380 | + | c:identifier="gsk_path_point_get_curvature" | |
| 6381 | + | version="4.14"> | |
| 6382 | + | <doc xml:space="preserve" | |
| 6383 | + | filename="gsk/gskpathpoint.c" | |
| 6384 | + | line="259">Calculates the curvature of the path at the point. | |
| 6385 | + | ||
| 6386 | + | Optionally, returns the center of the osculating circle as well. | |
| 6387 | + | The curvature is the inverse of the radius of the osculating circle. | |
| 6388 | + | ||
| 6389 | + | Lines have a curvature of zero (indicating an osculating circle of | |
| 6390 | + | infinite radius). In this case, the @center is not modified. | |
| 6391 | + | ||
| 6392 | + | Circles with a radius of zero have `INFINITY` as curvature | |
| 6393 | + | ||
| 6394 | + | Note that certain points on a path may not have a single curvature, | |
| 6395 | + | such as sharp turns. At such points, there are two curvatures — the | |
| 6396 | + | (limit of) the curvature of the path going into the point, and the | |
| 6397 | + | (limit of) the curvature of the path coming out of it. The @direction | |
| 6398 | + | argument lets you choose which one to get. | |
| 6399 | + | ||
| 6400 | + | <picture> | |
| 6401 | + | <source srcset="curvature-dark.png" media="(prefers-color-scheme: dark)"> | |
| 6402 | + | <img alt="Osculating circle" src="curvature-light.png"> | |
| 6403 | + | </picture></doc> | |
| 6404 | + | <source-position filename="gsk/gskpathpoint.h" line="83"/> | |
| 6405 | + | <return-value transfer-ownership="none"> | |
| 6406 | + | <doc xml:space="preserve" | |
| 6407 | + | filename="gsk/gskpathpoint.c" | |
| 6408 | + | line="288">the curvature of the path at the given point</doc> | |
| 6409 | + | <type name="gfloat" c:type="float"/> | |
| 6410 | + | </return-value> | |
| 6411 | + | <parameters> | |
| 6412 | + | <instance-parameter name="point" transfer-ownership="none"> | |
| 6413 | + | <doc xml:space="preserve" | |
| 6414 | + | filename="gsk/gskpathpoint.c" | |
| 6415 | + | line="261">a path point</doc> | |
| 6416 | + | <type name="PathPoint" c:type="const GskPathPoint*"/> | |
| 6417 | + | </instance-parameter> | |
| 6418 | + | <parameter name="path" transfer-ownership="none"> | |
| 6419 | + | <doc xml:space="preserve" | |
| 6420 | + | filename="gsk/gskpathpoint.c" | |
| 6421 | + | line="262">the path that @point is on</doc> | |
| 6422 | + | <type name="Path" c:type="GskPath*"/> | |
| 6423 | + | </parameter> | |
| 6424 | + | <parameter name="direction" transfer-ownership="none"> | |
| 6425 | + | <doc xml:space="preserve" | |
| 6426 | + | filename="gsk/gskpathpoint.c" | |
| 6427 | + | line="263">the direction for which to return the curvature</doc> | |
| 6428 | + | <type name="PathDirection" c:type="GskPathDirection"/> | |
| 6429 | + | </parameter> | |
| 6430 | + | <parameter name="center" | |
| 6431 | + | direction="out" | |
| 6432 | + | caller-allocates="1" | |
| 6433 | + | transfer-ownership="none" | |
| 6434 | + | nullable="1"> | |
| 6435 | + | <doc xml:space="preserve" | |
| 6436 | + | filename="gsk/gskpathpoint.c" | |
| 6437 | + | line="264">return location for | |
| 6438 | + | the center of the osculating circle</doc> | |
| 6439 | + | <type name="Graphene.Point" c:type="graphene_point_t*"/> | |
| 6440 | + | </parameter> | |
| 6441 | + | </parameters> | |
| 6442 | + | </method> | |
| 6443 | + | <method name="get_distance" | |
| 6444 | + | c:identifier="gsk_path_point_get_distance" | |
| 6445 | + | version="4.14"> | |
| 6446 | + | <doc xml:space="preserve" | |
| 6447 | + | filename="gsk/gskpathmeasure.c" | |
| 6448 | + | line="295">Returns the distance from the beginning of the path | |
| 6449 | + | to the point.</doc> | |
| 6450 | + | <source-position filename="gsk/gskpathpoint.h" line="89"/> | |
| 6451 | + | <return-value transfer-ownership="none"> | |
| 6452 | + | <doc xml:space="preserve" | |
| 6453 | + | filename="gsk/gskpathmeasure.c" | |
| 6454 | + | line="303">the distance of @point</doc> | |
| 6455 | + | <type name="gfloat" c:type="float"/> | |
| 6456 | + | </return-value> | |
| 6457 | + | <parameters> | |
| 6458 | + | <instance-parameter name="point" transfer-ownership="none"> | |
| 6459 | + | <doc xml:space="preserve" | |
| 6460 | + | filename="gsk/gskpathmeasure.c" | |
| 6461 | + | line="297">a point on the path</doc> | |
| 6462 | + | <type name="PathPoint" c:type="const GskPathPoint*"/> | |
| 6463 | + | </instance-parameter> | |
| 6464 | + | <parameter name="measure" transfer-ownership="none"> | |
| 6465 | + | <doc xml:space="preserve" | |
| 6466 | + | filename="gsk/gskpathmeasure.c" | |
| 6467 | + | line="298">a path measure for the path</doc> | |
| 6468 | + | <type name="PathMeasure" c:type="GskPathMeasure*"/> | |
| 6469 | + | </parameter> | |
| 6470 | + | </parameters> | |
| 6471 | + | </method> | |
| 6472 | + | <method name="get_position" | |
| 6473 | + | c:identifier="gsk_path_point_get_position" | |
| 6474 | + | version="4.14"> | |
| 6475 | + | <doc xml:space="preserve" | |
| 6476 | + | filename="gsk/gskpathpoint.c" | |
| 6477 | + | line="159">Gets the position of the point.</doc> | |
| 6478 | + | <source-position filename="gsk/gskpathpoint.h" line="67"/> | |
| 6479 | + | <return-value transfer-ownership="none"> | |
| 6480 | + | <type name="none" c:type="void"/> | |
| 6481 | + | </return-value> | |
| 6482 | + | <parameters> | |
| 6483 | + | <instance-parameter name="point" transfer-ownership="none"> | |
| 6484 | + | <doc xml:space="preserve" | |
| 6485 | + | filename="gsk/gskpathpoint.c" | |
| 6486 | + | line="161">a path point</doc> | |
| 6487 | + | <type name="PathPoint" c:type="const GskPathPoint*"/> | |
| 6488 | + | </instance-parameter> | |
| 6489 | + | <parameter name="path" transfer-ownership="none"> | |
| 6490 | + | <doc xml:space="preserve" | |
| 6491 | + | filename="gsk/gskpathpoint.c" | |
| 6492 | + | line="162">the path that @point is on</doc> | |
| 6493 | + | <type name="Path" c:type="GskPath*"/> | |
| 6494 | + | </parameter> | |
| 6495 | + | <parameter name="position" | |
| 6496 | + | direction="out" | |
| 6497 | + | caller-allocates="1" | |
| 6498 | + | transfer-ownership="none"> | |
| 6499 | + | <doc xml:space="preserve" | |
| 6500 | + | filename="gsk/gskpathpoint.c" | |
| 6501 | + | line="163">Return location for | |
| 6502 | + | the coordinates of the point</doc> | |
| 6503 | + | <type name="Graphene.Point" c:type="graphene_point_t*"/> | |
| 6504 | + | </parameter> | |
| 6505 | + | </parameters> | |
| 6506 | + | </method> | |
| 6507 | + | <method name="get_rotation" | |
| 6508 | + | c:identifier="gsk_path_point_get_rotation" | |
| 6509 | + | version="4.14"> | |
| 6510 | + | <doc xml:space="preserve" | |
| 6511 | + | filename="gsk/gskpathpoint.c" | |
| 6512 | + | line="226">Gets the direction of the tangent at a given point. | |
| 6513 | + | ||
| 6514 | + | This is a convenience variant of [method@Gsk.PathPoint.get_tangent] | |
| 6515 | + | that returns the angle between the tangent and the X axis. The angle | |
| 6516 | + | can e.g. be used in | |
| 6517 | + | [gtk_snapshot_rotate()](../gtk4/method.Snapshot.rotate.html).</doc> | |
| 6518 | + | <source-position filename="gsk/gskpathpoint.h" line="78"/> | |
| 6519 | + | <return-value transfer-ownership="none"> | |
| 6520 | + | <doc xml:space="preserve" | |
| 6521 | + | filename="gsk/gskpathpoint.c" | |
| 6522 | + | line="239">the angle between the tangent and the X axis, in degrees</doc> | |
| 6523 | + | <type name="gfloat" c:type="float"/> | |
| 6524 | + | </return-value> | |
| 6525 | + | <parameters> | |
| 6526 | + | <instance-parameter name="point" transfer-ownership="none"> | |
| 6527 | + | <doc xml:space="preserve" | |
| 6528 | + | filename="gsk/gskpathpoint.c" | |
| 6529 | + | line="228">a path point</doc> | |
| 6530 | + | <type name="PathPoint" c:type="const GskPathPoint*"/> | |
| 6531 | + | </instance-parameter> | |
| 6532 | + | <parameter name="path" transfer-ownership="none"> | |
| 6533 | + | <doc xml:space="preserve" | |
| 6534 | + | filename="gsk/gskpathpoint.c" | |
| 6535 | + | line="229">the path that @point is on</doc> | |
| 6536 | + | <type name="Path" c:type="GskPath*"/> | |
| 6537 | + | </parameter> | |
| 6538 | + | <parameter name="direction" transfer-ownership="none"> | |
| 6539 | + | <doc xml:space="preserve" | |
| 6540 | + | filename="gsk/gskpathpoint.c" | |
| 6541 | + | line="230">the direction for which to return the rotation</doc> | |
| 6542 | + | <type name="PathDirection" c:type="GskPathDirection"/> | |
| 6543 | + | </parameter> | |
| 6544 | + | </parameters> | |
| 6545 | + | </method> | |
| 6546 | + | <method name="get_tangent" | |
| 6547 | + | c:identifier="gsk_path_point_get_tangent" | |
| 6548 | + | version="4.14"> | |
| 6549 | + | <doc xml:space="preserve" | |
| 6550 | + | filename="gsk/gskpathpoint.c" | |
| 6551 | + | line="185">Gets the tangent of the path at the point. | |
| 6552 | + | ||
| 6553 | + | Note that certain points on a path may not have a single | |
| 6554 | + | tangent, such as sharp turns. At such points, there are | |
| 6555 | + | two tangents — the direction of the path going into the | |
| 6556 | + | point, and the direction coming out of it. The @direction | |
| 6557 | + | argument lets you choose which one to get. | |
| 6558 | + | ||
| 6559 | + | If the path is just a single point (e.g. a circle with | |
| 6560 | + | radius zero), then the tangent is set to `0, 0`. | |
| 6561 | + | ||
| 6562 | + | If you want to orient something in the direction of the | |
| 6563 | + | path, [method@Gsk.PathPoint.get_rotation] may be more | |
| 6564 | + | convenient to use.</doc> | |
| 6565 | + | <source-position filename="gsk/gskpathpoint.h" line="72"/> | |
| 6566 | + | <return-value transfer-ownership="none"> | |
| 6567 | + | <type name="none" c:type="void"/> | |
| 6568 | + | </return-value> | |
| 6569 | + | <parameters> | |
| 6570 | + | <instance-parameter name="point" transfer-ownership="none"> | |
| 6571 | + | <doc xml:space="preserve" | |
| 6572 | + | filename="gsk/gskpathpoint.c" | |
| 6573 | + | line="187">a path point</doc> | |
| 6574 | + | <type name="PathPoint" c:type="const GskPathPoint*"/> | |
| 6575 | + | </instance-parameter> | |
| 6576 | + | <parameter name="path" transfer-ownership="none"> | |
| 6577 | + | <doc xml:space="preserve" | |
| 6578 | + | filename="gsk/gskpathpoint.c" | |
| 6579 | + | line="188">the path that @point is on</doc> | |
| 6580 | + | <type name="Path" c:type="GskPath*"/> | |
| 6581 | + | </parameter> | |
| 6582 | + | <parameter name="direction" transfer-ownership="none"> | |
| 6583 | + | <doc xml:space="preserve" | |
| 6584 | + | filename="gsk/gskpathpoint.c" | |
| 6585 | + | line="189">the direction for which to return the tangent</doc> | |
| 6586 | + | <type name="PathDirection" c:type="GskPathDirection"/> | |
| 6587 | + | </parameter> | |
| 6588 | + | <parameter name="tangent" | |
| 6589 | + | direction="out" | |
| 6590 | + | caller-allocates="1" | |
| 6591 | + | transfer-ownership="none"> | |
| 6592 | + | <doc xml:space="preserve" | |
| 6593 | + | filename="gsk/gskpathpoint.c" | |
| 6594 | + | line="190">Return location for | |
| 6595 | + | the tangent at the point</doc> | |
| 6596 | + | <type name="Graphene.Vec2" c:type="graphene_vec2_t*"/> | |
| 6597 | + | </parameter> | |
| 6598 | + | </parameters> | |
| 6599 | + | </method> | |
| 6600 | + | </record> | |
| 6601 | + | <function-macro name="RENDERER" | |
| 6602 | + | c:identifier="GSK_RENDERER" | |
| 6603 | + | introspectable="0"> | |
| 6604 | + | <source-position filename="gsk/gskrenderer.h" line="32"/> | |
| 6605 | + | <parameters> | |
| 6606 | + | <parameter name="obj"> | |
| 6607 | + | </parameter> | |
| 6608 | + | </parameters> | |
| 6609 | + | </function-macro> | |
| 6610 | + | <function-macro name="ROUNDED_RECT_INIT" | |
| 6611 | + | c:identifier="GSK_ROUNDED_RECT_INIT" | |
| 6612 | + | introspectable="0"> | |
| 6613 | + | <doc xml:space="preserve" | |
| 6614 | + | filename="gsk/gskroundedrect.h" | |
| 6615 | + | line="29">Initializes a `GskRoundedRect` when declaring it. | |
| 6616 | + | ||
| 6617 | + | All corner sizes will be initialized to 0.</doc> | |
| 6618 | + | <source-position filename="gsk/gskroundedrect.h" line="40"/> | |
| 6619 | + | <parameters> | |
| 6620 | + | <parameter name="_x"> | |
| 6621 | + | <doc xml:space="preserve" | |
| 6622 | + | filename="gsk/gskroundedrect.h" | |
| 6623 | + | line="31">the X coordinate of the origin</doc> | |
| 6624 | + | </parameter> | |
| 6625 | + | <parameter name="_y"> | |
| 6626 | + | <doc xml:space="preserve" | |
| 6627 | + | filename="gsk/gskroundedrect.h" | |
| 6628 | + | line="32">the Y coordinate of the origin</doc> | |
| 6629 | + | </parameter> | |
| 6630 | + | <parameter name="_w"> | |
| 6631 | + | <doc xml:space="preserve" | |
| 6632 | + | filename="gsk/gskroundedrect.h" | |
| 6633 | + | line="33">the width</doc> | |
| 6634 | + | </parameter> | |
| 6635 | + | <parameter name="_h"> | |
| 6636 | + | <doc xml:space="preserve" | |
| 6637 | + | filename="gsk/gskroundedrect.h" | |
| 6638 | + | line="34">the height</doc> | |
| 6639 | + | </parameter> | |
| 6640 | + | </parameters> | |
| 6641 | + | </function-macro> | |
| 6642 | + | <class name="RadialGradientNode" | |
| 6643 | + | c:symbol-prefix="radial_gradient_node" | |
| 6644 | + | c:type="GskRadialGradientNode" | |
| 6645 | + | parent="RenderNode" | |
| 6646 | + | glib:type-name="GskRadialGradientNode" | |
| 6647 | + | glib:get-type="gsk_radial_gradient_node_get_type" | |
| 6648 | + | glib:fundamental="1"> | |
| 6649 | + | <doc xml:space="preserve" | |
| 6650 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6651 | + | line="1015">A render node for a radial gradient.</doc> | |
| 6652 | + | <constructor name="new" c:identifier="gsk_radial_gradient_node_new"> | |
| 6653 | + | <doc xml:space="preserve" | |
| 6654 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6655 | + | line="1194">Creates a `GskRenderNode` that draws a radial gradient. | |
| 6656 | + | ||
| 6657 | + | The radial gradient | |
| 6658 | + | starts around @center. The size of the gradient is dictated by @hradius | |
| 6659 | + | in horizontal orientation and by @vradius in vertical orientation.</doc> | |
| 6660 | + | <source-position filename="gsk/gskrendernode.h" line="293"/> | |
| 6661 | + | <return-value transfer-ownership="full"> | |
| 6662 | + | <doc xml:space="preserve" | |
| 6663 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6664 | + | line="1214">A new `GskRenderNode`</doc> | |
| 6665 | + | <type name="RadialGradientNode" c:type="GskRenderNode*"/> | |
| 6666 | + | </return-value> | |
| 6667 | + | <parameters> | |
| 6668 | + | <parameter name="bounds" transfer-ownership="none"> | |
| 6669 | + | <doc xml:space="preserve" | |
| 6670 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6671 | + | line="1196">the bounds of the node</doc> | |
| 6672 | + | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 6673 | + | </parameter> | |
| 6674 | + | <parameter name="center" transfer-ownership="none"> | |
| 6675 | + | <doc xml:space="preserve" | |
| 6676 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6677 | + | line="1197">the center of the gradient</doc> | |
| 6678 | + | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 6679 | + | </parameter> | |
| 6680 | + | <parameter name="hradius" transfer-ownership="none"> | |
| 6681 | + | <doc xml:space="preserve" | |
| 6682 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6683 | + | line="1198">the horizontal radius</doc> | |
| 6684 | + | <type name="gfloat" c:type="float"/> | |
| 6685 | + | </parameter> | |
| 6686 | + | <parameter name="vradius" transfer-ownership="none"> | |
| 6687 | + | <doc xml:space="preserve" | |
| 6688 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6689 | + | line="1199">the vertical radius</doc> | |
| 6690 | + | <type name="gfloat" c:type="float"/> | |
| 6691 | + | </parameter> | |
| 6692 | + | <parameter name="start" transfer-ownership="none"> | |
| 6693 | + | <doc xml:space="preserve" | |
| 6694 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6695 | + | line="1200">a percentage >= 0 that defines the start of the gradient around @center</doc> | |
| 6696 | + | <type name="gfloat" c:type="float"/> | |
| 6697 | + | </parameter> | |
| 6698 | + | <parameter name="end" transfer-ownership="none"> | |
| 6699 | + | <doc xml:space="preserve" | |
| 6700 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6701 | + | line="1201">a percentage >= 0 that defines the end of the gradient around @center</doc> | |
| 6702 | + | <type name="gfloat" c:type="float"/> | |
| 6703 | + | </parameter> | |
| 6704 | + | <parameter name="color_stops" transfer-ownership="none"> | |
| 6705 | + | <doc xml:space="preserve" | |
| 6706 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6707 | + | line="1202">a pointer to an array of | |
| 6708 | + | `GskColorStop` defining the gradient. The offsets of all color stops | |
| 6709 | + | must be increasing. The first stop's offset must be >= 0 and the last | |
| 6710 | + | stop's offset must be <= 1.</doc> | |
| 6711 | + | <array length="7" zero-terminated="0" c:type="const GskColorStop*"> | |
| 6712 | + | <type name="ColorStop" c:type="GskColorStop"/> | |
| 6713 | + | </array> | |
| 6714 | + | </parameter> | |
| 6715 | + | <parameter name="n_color_stops" transfer-ownership="none"> | |
| 6716 | + | <doc xml:space="preserve" | |
| 6717 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6718 | + | line="1206">the number of elements in @color_stops</doc> | |
| 6719 | + | <type name="gsize" c:type="gsize"/> | |
| 6720 | + | </parameter> | |
| 6721 | + | </parameters> | |
| 6722 | + | </constructor> | |
| 6723 | + | <method name="get_center" | |
| 6724 | + | c:identifier="gsk_radial_gradient_node_get_center"> | |
| 6725 | + | <doc xml:space="preserve" | |
| 6726 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6727 | + | line="1608">Retrieves the center pointer for the gradient.</doc> | |
| 6728 | + | <source-position filename="gsk/gskrendernode.h" line="307"/> | |
| 6729 | + | <return-value transfer-ownership="none"> | |
| 6730 | + | <doc xml:space="preserve" | |
| 6731 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6732 | + | line="1614">the center point for the gradient</doc> | |
| 6733 | + | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 6734 | + | </return-value> | |
| 6735 | + | <parameters> | |
| 6736 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 6737 | + | <doc xml:space="preserve" | |
| 6738 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6739 | + | line="1610">a `GskRenderNode` for a radial gradient</doc> | |
| 6740 | + | <type name="RadialGradientNode" c:type="const GskRenderNode*"/> | |
| 6741 | + | </instance-parameter> | |
| 6742 | + | </parameters> | |
| 6743 | + | </method> | |
| 6744 | + | <method name="get_color_stops" | |
| 6745 | + | c:identifier="gsk_radial_gradient_node_get_color_stops"> | |
| 6746 | + | <doc xml:space="preserve" | |
| 6747 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6748 | + | line="1522">Retrieves the color stops in the gradient.</doc> | |
| 6749 | + | <source-position filename="gsk/gskrendernode.h" line="304"/> | |
| 6750 | + | <return-value transfer-ownership="none"> | |
| 6751 | + | <doc xml:space="preserve" | |
| 6752 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6753 | + | line="1529">the color stops in the gradient</doc> | |
| 6754 | + | <array length="0" zero-terminated="0" c:type="const GskColorStop*"> | |
| 6755 | + | <type name="ColorStop" c:type="GskColorStop"/> | |
| 6756 | + | </array> | |
| 6757 | + | </return-value> | |
| 6758 | + | <parameters> | |
| 6759 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 6760 | + | <doc xml:space="preserve" | |
| 6761 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6762 | + | line="1524">a `GskRenderNode` for a radial gradient</doc> | |
| 6763 | + | <type name="RadialGradientNode" c:type="const GskRenderNode*"/> | |
| 6764 | + | </instance-parameter> | |
| 6765 | + | <parameter name="n_stops" | |
| 6766 | + | direction="out" | |
| 6767 | + | caller-allocates="0" | |
| 6768 | + | transfer-ownership="full" | |
| 6769 | + | optional="1" | |
| 6770 | + | allow-none="1"> | |
| 6771 | + | <doc xml:space="preserve" | |
| 6772 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6773 | + | line="1525">the number of color stops in the returned array</doc> | |
| 6774 | + | <type name="gsize" c:type="gsize*"/> | |
| 6775 | + | </parameter> | |
| 6776 | + | </parameters> | |
| 6777 | + | </method> | |
| 6778 | + | <method name="get_end" c:identifier="gsk_radial_gradient_node_get_end"> | |
| 6779 | + | <doc xml:space="preserve" | |
| 6780 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6781 | + | line="1672">Retrieves the end value for the gradient.</doc> | |
| 6782 | + | <source-position filename="gsk/gskrendernode.h" line="315"/> | |
| 6783 | + | <return-value transfer-ownership="none"> | |
| 6784 | + | <doc xml:space="preserve" | |
| 6785 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6786 | + | line="1678">the end value for the gradient</doc> | |
| 6787 | + | <type name="gfloat" c:type="float"/> | |
| 6788 | + | </return-value> | |
| 6789 | + | <parameters> | |
| 6790 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 6791 | + | <doc xml:space="preserve" | |
| 6792 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6793 | + | line="1674">a `GskRenderNode` for a radial gradient</doc> | |
| 6794 | + | <type name="RadialGradientNode" c:type="const GskRenderNode*"/> | |
| 6795 | + | </instance-parameter> | |
| 6796 | + | </parameters> | |
| 6797 | + | </method> | |
| 6798 | + | <method name="get_hradius" | |
| 6799 | + | c:identifier="gsk_radial_gradient_node_get_hradius"> | |
| 6800 | + | <doc xml:space="preserve" | |
| 6801 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6802 | + | line="1624">Retrieves the horizontal radius for the gradient.</doc> | |
| 6803 | + | <source-position filename="gsk/gskrendernode.h" line="309"/> | |
| 6804 | + | <return-value transfer-ownership="none"> | |
| 6805 | + | <doc xml:space="preserve" | |
| 6806 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6807 | + | line="1630">the horizontal radius for the gradient</doc> | |
| 6808 | + | <type name="gfloat" c:type="float"/> | |
| 6809 | + | </return-value> | |
| 6810 | + | <parameters> | |
| 6811 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 6812 | + | <doc xml:space="preserve" | |
| 6813 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6814 | + | line="1626">a `GskRenderNode` for a radial gradient</doc> | |
| 6815 | + | <type name="RadialGradientNode" c:type="const GskRenderNode*"/> | |
| 6816 | + | </instance-parameter> | |
| 6817 | + | </parameters> | |
| 6818 | + | </method> | |
| 6819 | + | <method name="get_n_color_stops" | |
| 6820 | + | c:identifier="gsk_radial_gradient_node_get_n_color_stops"> | |
| 6821 | + | <doc xml:space="preserve" | |
| 6822 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6823 | + | line="1506">Retrieves the number of color stops in the gradient.</doc> | |
| 6824 | + | <source-position filename="gsk/gskrendernode.h" line="302"/> | |
| 6825 | + | <return-value transfer-ownership="none"> | |
| 6826 | + | <doc xml:space="preserve" | |
| 6827 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6828 | + | line="1512">the number of color stops</doc> | |
| 6829 | + | <type name="gsize" c:type="gsize"/> | |
| 6830 | + | </return-value> | |
| 6831 | + | <parameters> | |
| 6832 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 6833 | + | <doc xml:space="preserve" | |
| 6834 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6835 | + | line="1508">a `GskRenderNode` for a radial gradient</doc> | |
| 6836 | + | <type name="RadialGradientNode" c:type="const GskRenderNode*"/> | |
| 6837 | + | </instance-parameter> | |
| 6838 | + | </parameters> | |
| 6839 | + | </method> | |
| 6840 | + | <method name="get_start" | |
| 6841 | + | c:identifier="gsk_radial_gradient_node_get_start"> | |
| 6842 | + | <doc xml:space="preserve" | |
| 6843 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6844 | + | line="1656">Retrieves the start value for the gradient.</doc> | |
| 6845 | + | <source-position filename="gsk/gskrendernode.h" line="313"/> | |
| 6846 | + | <return-value transfer-ownership="none"> | |
| 6847 | + | <doc xml:space="preserve" | |
| 6848 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6849 | + | line="1662">the start value for the gradient</doc> | |
| 6850 | + | <type name="gfloat" c:type="float"/> | |
| 6851 | + | </return-value> | |
| 6852 | + | <parameters> | |
| 6853 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 6854 | + | <doc xml:space="preserve" | |
| 6855 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6856 | + | line="1658">a `GskRenderNode` for a radial gradient</doc> | |
| 6857 | + | <type name="RadialGradientNode" c:type="const GskRenderNode*"/> | |
| 6858 | + | </instance-parameter> | |
| 6859 | + | </parameters> | |
| 6860 | + | </method> | |
| 6861 | + | <method name="get_vradius" | |
| 6862 | + | c:identifier="gsk_radial_gradient_node_get_vradius"> | |
| 6863 | + | <doc xml:space="preserve" | |
| 6864 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6865 | + | line="1640">Retrieves the vertical radius for the gradient.</doc> | |
| 6866 | + | <source-position filename="gsk/gskrendernode.h" line="311"/> | |
| 6867 | + | <return-value transfer-ownership="none"> | |
| 6868 | + | <doc xml:space="preserve" | |
| 6869 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6870 | + | line="1646">the vertical radius for the gradient</doc> | |
| 6871 | + | <type name="gfloat" c:type="float"/> | |
| 6872 | + | </return-value> | |
| 6873 | + | <parameters> | |
| 6874 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 6875 | + | <doc xml:space="preserve" | |
| 6876 | + | filename="gsk/gskrendernodeimpl.c" | |
| 6877 | + | line="1642">a `GskRenderNode` for a radial gradient</doc> | |
| 6878 | + | <type name="RadialGradientNode" c:type="const GskRenderNode*"/> | |
| 6879 | + | </instance-parameter> | |
| 6880 | + | </parameters> | |
| 6881 | + | </method> | |
| 6882 | + | </class> | |
| 6883 | + | <class name="RenderNode" | |
| 6884 | + | c:symbol-prefix="render_node" | |
| 6885 | + | c:type="GskRenderNode" | |
| 6886 | + | abstract="1" | |
| 6887 | + | glib:type-name="GskRenderNode" | |
| 6888 | + | glib:get-type="gsk_render_node_get_type" | |
| 6889 | + | glib:fundamental="1" | |
| 6890 | + | glib:ref-func="gsk_render_node_ref" | |
| 6891 | + | glib:unref-func="gsk_render_node_unref" | |
| 6892 | + | glib:set-value-func="gsk_value_set_render_node" | |
| 6893 | + | glib:get-value-func="gsk_value_get_render_node"> | |
| 6894 | + | <doc xml:space="preserve" | |
| 6895 | + | filename="gsk/gskrendernode.c" | |
| 6896 | + | line="19">The basic block in a scene graph to be rendered using [class@Gsk.Renderer]. | |
| 6897 | + | ||
| 6898 | + | Each node has a parent, except the top-level node; each node may have | |
| 6899 | + | children nodes. | |
| 6900 | + | ||
| 6901 | + | Each node has an associated drawing surface, which has the size of | |
| 6902 | + | the rectangle set when creating it. | |
| 6903 | + | ||
| 6904 | + | Render nodes are meant to be transient; once they have been associated | |
| 6905 | + | to a [class@Gsk.Renderer] it's safe to release any reference you have on | |
| 6906 | + | them. All [class@Gsk.RenderNode]s are immutable, you can only specify their | |
| 6907 | + | properties during construction.</doc> | |
| 6908 | + | <function name="deserialize" c:identifier="gsk_render_node_deserialize"> | |
| 6909 | + | <doc xml:space="preserve" | |
| 6910 | + | filename="gsk/gskrendernode.c" | |
| 6911 | + | line="677">Loads data previously created via [method@Gsk.RenderNode.serialize]. | |
| 6912 | + | ||
| 6913 | + | For a discussion of the supported format, see that function.</doc> | |
| 6914 | + | <source-position filename="gsk/gskrendernode.h" line="140"/> | |
| 6915 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 6916 | + | <doc xml:space="preserve" | |
| 6917 | + | filename="gsk/gskrendernode.c" | |
| 6918 | + | line="687">a new render node</doc> | |
| 6919 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 6920 | + | </return-value> | |
| 6921 | + | <parameters> | |
| 6922 | + | <parameter name="bytes" transfer-ownership="none"> | |
| 6923 | + | <doc xml:space="preserve" | |
| 6924 | + | filename="gsk/gskrendernode.c" | |
| 6925 | + | line="679">the bytes containing the data</doc> | |
| 6926 | + | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 6927 | + | </parameter> | |
| 6928 | + | <parameter name="error_func" | |
| 6929 | + | transfer-ownership="none" | |
| 6930 | + | nullable="1" | |
| 6931 | + | allow-none="1" | |
| 6932 | + | scope="call" | |
| 6933 | + | closure="2"> | |
| 6934 | + | <doc xml:space="preserve" | |
| 6935 | + | filename="gsk/gskrendernode.c" | |
| 6936 | + | line="680">callback on parsing errors</doc> | |
| 6937 | + | <type name="ParseErrorFunc" c:type="GskParseErrorFunc"/> | |
| 6938 | + | </parameter> | |
| 6939 | + | <parameter name="user_data" | |
| 6940 | + | transfer-ownership="none" | |
| 6941 | + | nullable="1" | |
| 6942 | + | allow-none="1"> | |
| 6943 | + | <doc xml:space="preserve" | |
| 6944 | + | filename="gsk/gskrendernode.c" | |
| 6945 | + | line="681">user_data for @error_func</doc> | |
| 6946 | + | <type name="gpointer" c:type="gpointer"/> | |
| 6947 | + | </parameter> | |
| 6948 | + | </parameters> | |
| 6949 | + | </function> | |
| 6950 | + | <method name="draw" c:identifier="gsk_render_node_draw"> | |
| 6951 | + | <doc xml:space="preserve" | |
| 6952 | + | filename="gsk/gskrendernode.c" | |
| 6953 | + | line="429">Draws the contents of a render node on a cairo context. | |
| 6954 | + | ||
| 6955 | + | Typically, you'll use this function to implement fallback rendering | |
| 6956 | + | of render nodes on an intermediate Cairo context, instead of using | |
| 6957 | + | the drawing context associated to a [class@Gdk.Surface]'s rendering buffer. | |
| 6958 | + | ||
| 6959 | + | For advanced nodes that cannot be supported using Cairo, in particular | |
| 6960 | + | for nodes doing 3D operations, this function may fail.</doc> | |
| 6961 | + | <source-position filename="gsk/gskrendernode.h" line="130"/> | |
| 6962 | + | <return-value transfer-ownership="none"> | |
| 6963 | + | <type name="none" c:type="void"/> | |
| 6964 | + | </return-value> | |
| 6965 | + | <parameters> | |
| 6966 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 6967 | + | <doc xml:space="preserve" | |
| 6968 | + | filename="gsk/gskrendernode.c" | |
| 6969 | + | line="431">a render node</doc> | |
| 6970 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 6971 | + | </instance-parameter> | |
| 6972 | + | <parameter name="cr" transfer-ownership="none"> | |
| 6973 | + | <doc xml:space="preserve" | |
| 6974 | + | filename="gsk/gskrendernode.c" | |
| 6975 | + | line="432">cairo context to draw to</doc> | |
| 6976 | + | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 6977 | + | </parameter> | |
| 6978 | + | </parameters> | |
| 6979 | + | </method> | |
| 6980 | + | <method name="get_bounds" c:identifier="gsk_render_node_get_bounds"> | |
| 6981 | + | <doc xml:space="preserve" | |
| 6982 | + | filename="gsk/gskrendernode.c" | |
| 6983 | + | line="348">Retrieves the boundaries of the @node. | |
| 6984 | + | ||
| 6985 | + | The node will not draw outside of its boundaries.</doc> | |
| 6986 | + | <source-position filename="gsk/gskrendernode.h" line="122"/> | |
| 6987 | + | <return-value transfer-ownership="none"> | |
| 6988 | + | <type name="none" c:type="void"/> | |
| 6989 | + | </return-value> | |
| 6990 | + | <parameters> | |
| 6991 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 6992 | + | <doc xml:space="preserve" | |
| 6993 | + | filename="gsk/gskrendernode.c" | |
| 6994 | + | line="350">a render node</doc> | |
| 6995 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 6996 | + | </instance-parameter> | |
| 6997 | + | <parameter name="bounds" | |
| 6998 | + | direction="out" | |
| 6999 | + | caller-allocates="1" | |
| 7000 | + | transfer-ownership="none"> | |
| 7001 | + | <doc xml:space="preserve" | |
| 7002 | + | filename="gsk/gskrendernode.c" | |
| 7003 | + | line="351">return location for the boundaries</doc> | |
| 7004 | + | <type name="Graphene.Rect" c:type="graphene_rect_t*"/> | |
| 7005 | + | </parameter> | |
| 7006 | + | </parameters> | |
| 7007 | + | </method> | |
| 7008 | + | <method name="get_node_type" | |
| 7009 | + | c:identifier="gsk_render_node_get_node_type"> | |
| 7010 | + | <doc xml:space="preserve" | |
| 7011 | + | filename="gsk/gskrendernode.c" | |
| 7012 | + | line="332">Returns the type of the render node.</doc> | |
| 7013 | + | <source-position filename="gsk/gskrendernode.h" line="119"/> | |
| 7014 | + | <return-value transfer-ownership="none"> | |
| 7015 | + | <doc xml:space="preserve" | |
| 7016 | + | filename="gsk/gskrendernode.c" | |
| 7017 | + | line="338">the type of @node</doc> | |
| 7018 | + | <type name="RenderNodeType" c:type="GskRenderNodeType"/> | |
| 7019 | + | </return-value> | |
| 7020 | + | <parameters> | |
| 7021 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 7022 | + | <doc xml:space="preserve" | |
| 7023 | + | filename="gsk/gskrendernode.c" | |
| 7024 | + | line="334">a render node</doc> | |
| 7025 | + | <type name="RenderNode" c:type="const GskRenderNode*"/> | |
| 7026 | + | </instance-parameter> | |
| 7027 | + | </parameters> | |
| 7028 | + | </method> | |
| 7029 | + | <method name="get_opaque_rect" | |
| 7030 | + | c:identifier="gsk_render_node_get_opaque_rect" | |
| 7031 | + | version="4.16"> | |
| 7032 | + | <doc xml:space="preserve" | |
| 7033 | + | filename="gsk/gskrendernode.c" | |
| 7034 | + | line="604">Gets an opaque rectangle inside the node that GTK can determine to | |
| 7035 | + | be fully opaque. | |
| 7036 | + | ||
| 7037 | + | There is no guarantee that this is indeed the largest opaque rectangle or | |
| 7038 | + | that regions outside the rectangle are not opaque. This function is a best | |
| 7039 | + | effort with that goal. | |
| 7040 | + | ||
| 7041 | + | The rectangle will be fully contained in the bounds of the node.</doc> | |
| 7042 | + | <source-position filename="gsk/gskrendernode.h" line="126"/> | |
| 7043 | + | <return-value transfer-ownership="none"> | |
| 7044 | + | <doc xml:space="preserve" | |
| 7045 | + | filename="gsk/gskrendernode.c" | |
| 7046 | + | line="618">true if part or all of the rendernode is opaque, false if no | |
| 7047 | + | opaque region could be found.</doc> | |
| 7048 | + | <type name="gboolean" c:type="gboolean"/> | |
| 7049 | + | </return-value> | |
| 7050 | + | <parameters> | |
| 7051 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 7052 | + | <doc xml:space="preserve" | |
| 7053 | + | filename="gsk/gskrendernode.c" | |
| 7054 | + | line="606">a render node</doc> | |
| 7055 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 7056 | + | </instance-parameter> | |
| 7057 | + | <parameter name="out_opaque" | |
| 7058 | + | direction="out" | |
| 7059 | + | caller-allocates="1" | |
| 7060 | + | transfer-ownership="none"> | |
| 7061 | + | <doc xml:space="preserve" | |
| 7062 | + | filename="gsk/gskrendernode.c" | |
| 7063 | + | line="607">return location for the opaque rect</doc> | |
| 7064 | + | <type name="Graphene.Rect" c:type="graphene_rect_t*"/> | |
| 7065 | + | </parameter> | |
| 7066 | + | </parameters> | |
| 7067 | + | </method> | |
| 7068 | + | <method name="ref" c:identifier="gsk_render_node_ref"> | |
| 7069 | + | <doc xml:space="preserve" | |
| 7070 | + | filename="gsk/gskrendernode.c" | |
| 7071 | + | line="290">Acquires a reference on the given `GskRenderNode`.</doc> | |
| 7072 | + | <source-position filename="gsk/gskrendernode.h" line="114"/> | |
| 7073 | + | <return-value transfer-ownership="full"> | |
| 7074 | + | <doc xml:space="preserve" | |
| 7075 | + | filename="gsk/gskrendernode.c" | |
| 7076 | + | line="296">the render node with an additional reference</doc> | |
| 7077 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 7078 | + | </return-value> | |
| 7079 | + | <parameters> | |
| 7080 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 7081 | + | <doc xml:space="preserve" | |
| 7082 | + | filename="gsk/gskrendernode.c" | |
| 7083 | + | line="292">a render node</doc> | |
| 7084 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 7085 | + | </instance-parameter> | |
| 7086 | + | </parameters> | |
| 7087 | + | </method> | |
| 7088 | + | <method name="serialize" c:identifier="gsk_render_node_serialize"> | |
| 7089 | + | <doc xml:space="preserve" | |
| 7090 | + | filename="gsk/gskrendernodeparser.c" | |
| 7091 | + | line="5083">Serializes the @node for later deserialization via | |
| 7092 | + | gsk_render_node_deserialize(). No guarantees are made about the format | |
| 7093 | + | used other than that the same version of GTK will be able to deserialize | |
| 7094 | + | the result of a call to gsk_render_node_serialize() and | |
| 7095 | + | gsk_render_node_deserialize() will correctly reject files it cannot open | |
| 7096 | + | that were created with previous versions of GTK. | |
| 7097 | + | ||
| 7098 | + | The intended use of this functions is testing, benchmarking and debugging. | |
| 7099 | + | The format is not meant as a permanent storage format.</doc> | |
| 7100 | + | <source-position filename="gsk/gskrendernode.h" line="134"/> | |
| 7101 | + | <return-value transfer-ownership="full"> | |
| 7102 | + | <doc xml:space="preserve" | |
| 7103 | + | filename="gsk/gskrendernodeparser.c" | |
| 7104 | + | line="5097">a `GBytes` representing the node.</doc> | |
| 7105 | + | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 7106 | + | </return-value> | |
| 7107 | + | <parameters> | |
| 7108 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 7109 | + | <doc xml:space="preserve" | |
| 7110 | + | filename="gsk/gskrendernodeparser.c" | |
| 7111 | + | line="5085">a `GskRenderNode`</doc> | |
| 7112 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 7113 | + | </instance-parameter> | |
| 7114 | + | </parameters> | |
| 7115 | + | </method> | |
| 7116 | + | <method name="unref" c:identifier="gsk_render_node_unref"> | |
| 7117 | + | <doc xml:space="preserve" | |
| 7118 | + | filename="gsk/gskrendernode.c" | |
| 7119 | + | line="314">Releases a reference on the given `GskRenderNode`. | |
| 7120 | + | ||
| 7121 | + | If the reference was the last, the resources associated to the @node are | |
| 7122 | + | freed.</doc> | |
| 7123 | + | <source-position filename="gsk/gskrendernode.h" line="116"/> | |
| 7124 | + | <return-value transfer-ownership="none"> | |
| 7125 | + | <type name="none" c:type="void"/> | |
| 7126 | + | </return-value> | |
| 7127 | + | <parameters> | |
| 7128 | + | <instance-parameter name="node" transfer-ownership="full"> | |
| 7129 | + | <doc xml:space="preserve" | |
| 7130 | + | filename="gsk/gskrendernode.c" | |
| 7131 | + | line="316">a render node</doc> | |
| 7132 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 7133 | + | </instance-parameter> | |
| 7134 | + | </parameters> | |
| 7135 | + | </method> | |
| 7136 | + | <method name="write_to_file" | |
| 7137 | + | c:identifier="gsk_render_node_write_to_file" | |
| 7138 | + | throws="1"> | |
| 7139 | + | <doc xml:space="preserve" | |
| 7140 | + | filename="gsk/gskrendernode.c" | |
| 7141 | + | line="639">This function is equivalent to calling [method@Gsk.RenderNode.serialize] | |
| 7142 | + | followed by [func@GLib.file_set_contents]. | |
| 7143 | + | ||
| 7144 | + | See those two functions for details on the arguments. | |
| 7145 | + | ||
| 7146 | + | It is mostly intended for use inside a debugger to quickly dump a render | |
| 7147 | + | node to a file for later inspection.</doc> | |
| 7148 | + | <source-position filename="gsk/gskrendernode.h" line="136"/> | |
| 7149 | + | <return-value transfer-ownership="none"> | |
| 7150 | + | <doc xml:space="preserve" | |
| 7151 | + | filename="gsk/gskrendernode.c" | |
| 7152 | + | line="653">true if saving was successful</doc> | |
| 7153 | + | <type name="gboolean" c:type="gboolean"/> | |
| 7154 | + | </return-value> | |
| 7155 | + | <parameters> | |
| 7156 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 7157 | + | <doc xml:space="preserve" | |
| 7158 | + | filename="gsk/gskrendernode.c" | |
| 7159 | + | line="641">a render node</doc> | |
| 7160 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 7161 | + | </instance-parameter> | |
| 7162 | + | <parameter name="filename" transfer-ownership="none"> | |
| 7163 | + | <doc xml:space="preserve" | |
| 7164 | + | filename="gsk/gskrendernode.c" | |
| 7165 | + | line="642">the file to save it to</doc> | |
| 7166 | + | <type name="filename" c:type="const char*"/> | |
| 7167 | + | </parameter> | |
| 7168 | + | </parameters> | |
| 7169 | + | </method> | |
| 7170 | + | </class> | |
| 7171 | + | <enumeration name="RenderNodeType" | |
| 7172 | + | glib:type-name="GskRenderNodeType" | |
| 7173 | + | glib:get-type="gsk_render_node_type_get_type" | |
| 7174 | + | c:type="GskRenderNodeType"> | |
| 7175 | + | <doc xml:space="preserve" | |
| 7176 | + | filename="gsk/gskenums.h" | |
| 7177 | + | line="24">The type of a node determines what the node is rendering.</doc> | |
| 7178 | + | <member name="not_a_render_node" | |
| 7179 | + | value="0" | |
| 7180 | + | c:identifier="GSK_NOT_A_RENDER_NODE" | |
| 7181 | + | glib:nick="not-a-render-node" | |
| 7182 | + | glib:name="GSK_NOT_A_RENDER_NODE"> | |
| 7183 | + | <doc xml:space="preserve" | |
| 7184 | + | filename="gsk/gskenums.h" | |
| 7185 | + | line="26">Error type. No node will ever have this type.</doc> | |
| 7186 | + | </member> | |
| 7187 | + | <member name="container_node" | |
| 7188 | + | value="1" | |
| 7189 | + | c:identifier="GSK_CONTAINER_NODE" | |
| 7190 | + | glib:nick="container-node" | |
| 7191 | + | glib:name="GSK_CONTAINER_NODE"> | |
| 7192 | + | <doc xml:space="preserve" | |
| 7193 | + | filename="gsk/gskenums.h" | |
| 7194 | + | line="27">A node containing a stack of children</doc> | |
| 7195 | + | </member> | |
| 7196 | + | <member name="cairo_node" | |
| 7197 | + | value="2" | |
| 7198 | + | c:identifier="GSK_CAIRO_NODE" | |
| 7199 | + | glib:nick="cairo-node" | |
| 7200 | + | glib:name="GSK_CAIRO_NODE"> | |
| 7201 | + | <doc xml:space="preserve" | |
| 7202 | + | filename="gsk/gskenums.h" | |
| 7203 | + | line="28">A node drawing a `cairo_surface_t`</doc> | |
| 7204 | + | </member> | |
| 7205 | + | <member name="color_node" | |
| 7206 | + | value="3" | |
| 7207 | + | c:identifier="GSK_COLOR_NODE" | |
| 7208 | + | glib:nick="color-node" | |
| 7209 | + | glib:name="GSK_COLOR_NODE"> | |
| 7210 | + | <doc xml:space="preserve" | |
| 7211 | + | filename="gsk/gskenums.h" | |
| 7212 | + | line="29">A node drawing a single color rectangle</doc> | |
| 7213 | + | </member> | |
| 7214 | + | <member name="linear_gradient_node" | |
| 7215 | + | value="4" | |
| 7216 | + | c:identifier="GSK_LINEAR_GRADIENT_NODE" | |
| 7217 | + | glib:nick="linear-gradient-node" | |
| 7218 | + | glib:name="GSK_LINEAR_GRADIENT_NODE"> | |
| 7219 | + | <doc xml:space="preserve" | |
| 7220 | + | filename="gsk/gskenums.h" | |
| 7221 | + | line="30">A node drawing a linear gradient</doc> | |
| 7222 | + | </member> | |
| 7223 | + | <member name="repeating_linear_gradient_node" | |
| 7224 | + | value="5" | |
| 7225 | + | c:identifier="GSK_REPEATING_LINEAR_GRADIENT_NODE" | |
| 7226 | + | glib:nick="repeating-linear-gradient-node" | |
| 7227 | + | glib:name="GSK_REPEATING_LINEAR_GRADIENT_NODE"> | |
| 7228 | + | <doc xml:space="preserve" | |
| 7229 | + | filename="gsk/gskenums.h" | |
| 7230 | + | line="31">A node drawing a repeating linear gradient</doc> | |
| 7231 | + | </member> | |
| 7232 | + | <member name="radial_gradient_node" | |
| 7233 | + | value="6" | |
| 7234 | + | c:identifier="GSK_RADIAL_GRADIENT_NODE" | |
| 7235 | + | glib:nick="radial-gradient-node" | |
| 7236 | + | glib:name="GSK_RADIAL_GRADIENT_NODE"> | |
| 7237 | + | <doc xml:space="preserve" | |
| 7238 | + | filename="gsk/gskenums.h" | |
| 7239 | + | line="32">A node drawing a radial gradient</doc> | |
| 7240 | + | </member> | |
| 7241 | + | <member name="repeating_radial_gradient_node" | |
| 7242 | + | value="7" | |
| 7243 | + | c:identifier="GSK_REPEATING_RADIAL_GRADIENT_NODE" | |
| 7244 | + | glib:nick="repeating-radial-gradient-node" | |
| 7245 | + | glib:name="GSK_REPEATING_RADIAL_GRADIENT_NODE"> | |
| 7246 | + | <doc xml:space="preserve" | |
| 7247 | + | filename="gsk/gskenums.h" | |
| 7248 | + | line="33">A node drawing a repeating radial gradient</doc> | |
| 7249 | + | </member> | |
| 7250 | + | <member name="conic_gradient_node" | |
| 7251 | + | value="8" | |
| 7252 | + | c:identifier="GSK_CONIC_GRADIENT_NODE" | |
| 7253 | + | glib:nick="conic-gradient-node" | |
| 7254 | + | glib:name="GSK_CONIC_GRADIENT_NODE"> | |
| 7255 | + | <doc xml:space="preserve" | |
| 7256 | + | filename="gsk/gskenums.h" | |
| 7257 | + | line="34">A node drawing a conic gradient</doc> | |
| 7258 | + | </member> | |
| 7259 | + | <member name="border_node" | |
| 7260 | + | value="9" | |
| 7261 | + | c:identifier="GSK_BORDER_NODE" | |
| 7262 | + | glib:nick="border-node" | |
| 7263 | + | glib:name="GSK_BORDER_NODE"> | |
| 7264 | + | <doc xml:space="preserve" | |
| 7265 | + | filename="gsk/gskenums.h" | |
| 7266 | + | line="35">A node stroking a border around an area</doc> | |
| 7267 | + | </member> | |
| 7268 | + | <member name="texture_node" | |
| 7269 | + | value="10" | |
| 7270 | + | c:identifier="GSK_TEXTURE_NODE" | |
| 7271 | + | glib:nick="texture-node" | |
| 7272 | + | glib:name="GSK_TEXTURE_NODE"> | |
| 7273 | + | <doc xml:space="preserve" | |
| 7274 | + | filename="gsk/gskenums.h" | |
| 7275 | + | line="36">A node drawing a `GdkTexture`</doc> | |
| 7276 | + | </member> | |
| 7277 | + | <member name="inset_shadow_node" | |
| 7278 | + | value="11" | |
| 7279 | + | c:identifier="GSK_INSET_SHADOW_NODE" | |
| 7280 | + | glib:nick="inset-shadow-node" | |
| 7281 | + | glib:name="GSK_INSET_SHADOW_NODE"> | |
| 7282 | + | <doc xml:space="preserve" | |
| 7283 | + | filename="gsk/gskenums.h" | |
| 7284 | + | line="37">A node drawing an inset shadow</doc> | |
| 7285 | + | </member> | |
| 7286 | + | <member name="outset_shadow_node" | |
| 7287 | + | value="12" | |
| 7288 | + | c:identifier="GSK_OUTSET_SHADOW_NODE" | |
| 7289 | + | glib:nick="outset-shadow-node" | |
| 7290 | + | glib:name="GSK_OUTSET_SHADOW_NODE"> | |
| 7291 | + | <doc xml:space="preserve" | |
| 7292 | + | filename="gsk/gskenums.h" | |
| 7293 | + | line="38">A node drawing an outset shadow</doc> | |
| 7294 | + | </member> | |
| 7295 | + | <member name="transform_node" | |
| 7296 | + | value="13" | |
| 7297 | + | c:identifier="GSK_TRANSFORM_NODE" | |
| 7298 | + | glib:nick="transform-node" | |
| 7299 | + | glib:name="GSK_TRANSFORM_NODE"> | |
| 7300 | + | <doc xml:space="preserve" | |
| 7301 | + | filename="gsk/gskenums.h" | |
| 7302 | + | line="39">A node that renders its child after applying a matrix transform</doc> | |
| 7303 | + | </member> | |
| 7304 | + | <member name="opacity_node" | |
| 7305 | + | value="14" | |
| 7306 | + | c:identifier="GSK_OPACITY_NODE" | |
| 7307 | + | glib:nick="opacity-node" | |
| 7308 | + | glib:name="GSK_OPACITY_NODE"> | |
| 7309 | + | <doc xml:space="preserve" | |
| 7310 | + | filename="gsk/gskenums.h" | |
| 7311 | + | line="40">A node that changes the opacity of its child</doc> | |
| 7312 | + | </member> | |
| 7313 | + | <member name="color_matrix_node" | |
| 7314 | + | value="15" | |
| 7315 | + | c:identifier="GSK_COLOR_MATRIX_NODE" | |
| 7316 | + | glib:nick="color-matrix-node" | |
| 7317 | + | glib:name="GSK_COLOR_MATRIX_NODE"> | |
| 7318 | + | <doc xml:space="preserve" | |
| 7319 | + | filename="gsk/gskenums.h" | |
| 7320 | + | line="41">A node that applies a color matrix to every pixel</doc> | |
| 7321 | + | </member> | |
| 7322 | + | <member name="repeat_node" | |
| 7323 | + | value="16" | |
| 7324 | + | c:identifier="GSK_REPEAT_NODE" | |
| 7325 | + | glib:nick="repeat-node" | |
| 7326 | + | glib:name="GSK_REPEAT_NODE"> | |
| 7327 | + | <doc xml:space="preserve" | |
| 7328 | + | filename="gsk/gskenums.h" | |
| 7329 | + | line="42">A node that repeats the child's contents</doc> | |
| 7330 | + | </member> | |
| 7331 | + | <member name="clip_node" | |
| 7332 | + | value="17" | |
| 7333 | + | c:identifier="GSK_CLIP_NODE" | |
| 7334 | + | glib:nick="clip-node" | |
| 7335 | + | glib:name="GSK_CLIP_NODE"> | |
| 7336 | + | <doc xml:space="preserve" | |
| 7337 | + | filename="gsk/gskenums.h" | |
| 7338 | + | line="43">A node that clips its child to a rectangular area</doc> | |
| 7339 | + | </member> | |
| 7340 | + | <member name="rounded_clip_node" | |
| 7341 | + | value="18" | |
| 7342 | + | c:identifier="GSK_ROUNDED_CLIP_NODE" | |
| 7343 | + | glib:nick="rounded-clip-node" | |
| 7344 | + | glib:name="GSK_ROUNDED_CLIP_NODE"> | |
| 7345 | + | <doc xml:space="preserve" | |
| 7346 | + | filename="gsk/gskenums.h" | |
| 7347 | + | line="44">A node that clips its child to a rounded rectangle</doc> | |
| 7348 | + | </member> | |
| 7349 | + | <member name="shadow_node" | |
| 7350 | + | value="19" | |
| 7351 | + | c:identifier="GSK_SHADOW_NODE" | |
| 7352 | + | glib:nick="shadow-node" | |
| 7353 | + | glib:name="GSK_SHADOW_NODE"> | |
| 7354 | + | <doc xml:space="preserve" | |
| 7355 | + | filename="gsk/gskenums.h" | |
| 7356 | + | line="45">A node that draws a shadow below its child</doc> | |
| 7357 | + | </member> | |
| 7358 | + | <member name="blend_node" | |
| 7359 | + | value="20" | |
| 7360 | + | c:identifier="GSK_BLEND_NODE" | |
| 7361 | + | glib:nick="blend-node" | |
| 7362 | + | glib:name="GSK_BLEND_NODE"> | |
| 7363 | + | <doc xml:space="preserve" | |
| 7364 | + | filename="gsk/gskenums.h" | |
| 7365 | + | line="46">A node that blends two children together</doc> | |
| 7366 | + | </member> | |
| 7367 | + | <member name="cross_fade_node" | |
| 7368 | + | value="21" | |
| 7369 | + | c:identifier="GSK_CROSS_FADE_NODE" | |
| 7370 | + | glib:nick="cross-fade-node" | |
| 7371 | + | glib:name="GSK_CROSS_FADE_NODE"> | |
| 7372 | + | <doc xml:space="preserve" | |
| 7373 | + | filename="gsk/gskenums.h" | |
| 7374 | + | line="47">A node that cross-fades between two children</doc> | |
| 7375 | + | </member> | |
| 7376 | + | <member name="text_node" | |
| 7377 | + | value="22" | |
| 7378 | + | c:identifier="GSK_TEXT_NODE" | |
| 7379 | + | glib:nick="text-node" | |
| 7380 | + | glib:name="GSK_TEXT_NODE"> | |
| 7381 | + | <doc xml:space="preserve" | |
| 7382 | + | filename="gsk/gskenums.h" | |
| 7383 | + | line="48">A node containing a glyph string</doc> | |
| 7384 | + | </member> | |
| 7385 | + | <member name="blur_node" | |
| 7386 | + | value="23" | |
| 7387 | + | c:identifier="GSK_BLUR_NODE" | |
| 7388 | + | glib:nick="blur-node" | |
| 7389 | + | glib:name="GSK_BLUR_NODE"> | |
| 7390 | + | <doc xml:space="preserve" | |
| 7391 | + | filename="gsk/gskenums.h" | |
| 7392 | + | line="49">A node that applies a blur</doc> | |
| 7393 | + | </member> | |
| 7394 | + | <member name="debug_node" | |
| 7395 | + | value="24" | |
| 7396 | + | c:identifier="GSK_DEBUG_NODE" | |
| 7397 | + | glib:nick="debug-node" | |
| 7398 | + | glib:name="GSK_DEBUG_NODE"> | |
| 7399 | + | <doc xml:space="preserve" | |
| 7400 | + | filename="gsk/gskenums.h" | |
| 7401 | + | line="50">Debug information that does not affect the rendering</doc> | |
| 7402 | + | </member> | |
| 7403 | + | <member name="gl_shader_node" | |
| 7404 | + | value="25" | |
| 7405 | + | c:identifier="GSK_GL_SHADER_NODE" | |
| 7406 | + | glib:nick="gl-shader-node" | |
| 7407 | + | glib:name="GSK_GL_SHADER_NODE"> | |
| 7408 | + | <doc xml:space="preserve" | |
| 7409 | + | filename="gsk/gskenums.h" | |
| 7410 | + | line="51">A node that uses OpenGL fragment shaders to render</doc> | |
| 7411 | + | </member> | |
| 7412 | + | <member name="texture_scale_node" | |
| 7413 | + | value="26" | |
| 7414 | + | c:identifier="GSK_TEXTURE_SCALE_NODE" | |
| 7415 | + | version="4.10" | |
| 7416 | + | glib:nick="texture-scale-node" | |
| 7417 | + | glib:name="GSK_TEXTURE_SCALE_NODE"> | |
| 7418 | + | <doc xml:space="preserve" | |
| 7419 | + | filename="gsk/gskenums.h" | |
| 7420 | + | line="56">A node drawing a `GdkTexture` scaled and filtered.</doc> | |
| 7421 | + | </member> | |
| 7422 | + | <member name="mask_node" | |
| 7423 | + | value="27" | |
| 7424 | + | c:identifier="GSK_MASK_NODE" | |
| 7425 | + | version="4.10" | |
| 7426 | + | glib:nick="mask-node" | |
| 7427 | + | glib:name="GSK_MASK_NODE"> | |
| 7428 | + | <doc xml:space="preserve" | |
| 7429 | + | filename="gsk/gskenums.h" | |
| 7430 | + | line="64">A node that masks one child with another.</doc> | |
| 7431 | + | </member> | |
| 7432 | + | <member name="fill_node" | |
| 7433 | + | value="28" | |
| 7434 | + | c:identifier="GSK_FILL_NODE" | |
| 7435 | + | version="4.14" | |
| 7436 | + | glib:nick="fill-node" | |
| 7437 | + | glib:name="GSK_FILL_NODE"> | |
| 7438 | + | <doc xml:space="preserve" | |
| 7439 | + | filename="gsk/gskenums.h" | |
| 7440 | + | line="80">A node that fills a path.</doc> | |
| 7441 | + | </member> | |
| 7442 | + | <member name="stroke_node" | |
| 7443 | + | value="29" | |
| 7444 | + | c:identifier="GSK_STROKE_NODE" | |
| 7445 | + | version="4.14" | |
| 7446 | + | glib:nick="stroke-node" | |
| 7447 | + | glib:name="GSK_STROKE_NODE"> | |
| 7448 | + | <doc xml:space="preserve" | |
| 7449 | + | filename="gsk/gskenums.h" | |
| 7450 | + | line="72">A node that strokes a path.</doc> | |
| 7451 | + | </member> | |
| 7452 | + | <member name="subsurface_node" | |
| 7453 | + | value="30" | |
| 7454 | + | c:identifier="GSK_SUBSURFACE_NODE" | |
| 7455 | + | version="4.14" | |
| 7456 | + | glib:nick="subsurface-node" | |
| 7457 | + | glib:name="GSK_SUBSURFACE_NODE"> | |
| 7458 | + | <doc xml:space="preserve" | |
| 7459 | + | filename="gsk/gskenums.h" | |
| 7460 | + | line="88">A node that possibly redirects part of the scene graph to a subsurface.</doc> | |
| 7461 | + | </member> | |
| 7462 | + | </enumeration> | |
| 7463 | + | <class name="Renderer" | |
| 7464 | + | c:symbol-prefix="renderer" | |
| 7465 | + | c:type="GskRenderer" | |
| 7466 | + | parent="GObject.Object" | |
| 7467 | + | abstract="1" | |
| 7468 | + | glib:type-name="GskRenderer" | |
| 7469 | + | glib:get-type="gsk_renderer_get_type" | |
| 7470 | + | glib:type-struct="RendererClass"> | |
| 7471 | + | <doc xml:space="preserve" | |
| 7472 | + | filename="gsk/gskrenderer.c" | |
| 7473 | + | line="18">Renders a scene graph defined via a tree of [class@Gsk.RenderNode] instances. | |
| 7474 | + | ||
| 7475 | + | Typically you will use a `GskRenderer` instance to repeatedly call | |
| 7476 | + | [method@Gsk.Renderer.render] to update the contents of its associated | |
| 7477 | + | [class@Gdk.Surface]. | |
| 7478 | + | ||
| 7479 | + | It is necessary to realize a `GskRenderer` instance using | |
| 7480 | + | [method@Gsk.Renderer.realize] before calling [method@Gsk.Renderer.render], | |
| 7481 | + | in order to create the appropriate windowing system resources needed | |
| 7482 | + | to render the scene.</doc> | |
| 7483 | + | <source-position filename="gsk/gskrenderer.h" line="35"/> | |
| 7484 | + | <constructor name="new_for_surface" | |
| 7485 | + | c:identifier="gsk_renderer_new_for_surface"> | |
| 7486 | + | <doc xml:space="preserve" | |
| 7487 | + | filename="gsk/gskrenderer.c" | |
| 7488 | + | line="721">Creates an appropriate `GskRenderer` instance for the given surface. | |
| 7489 | + | ||
| 7490 | + | If the `GSK_RENDERER` environment variable is set, GSK will | |
| 7491 | + | try that renderer first, before trying the backend-specific | |
| 7492 | + | default. The ultimate fallback is the cairo renderer. | |
| 7493 | + | ||
| 7494 | + | The renderer will be realized before it is returned.</doc> | |
| 7495 | + | <source-position filename="gsk/gskrenderer.h" line="41"/> | |
| 7496 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 7497 | + | <doc xml:space="preserve" | |
| 7498 | + | filename="gsk/gskrenderer.c" | |
| 7499 | + | line="733">the realized renderer</doc> | |
| 7500 | + | <type name="Renderer" c:type="GskRenderer*"/> | |
| 7501 | + | </return-value> | |
| 7502 | + | <parameters> | |
| 7503 | + | <parameter name="surface" transfer-ownership="none"> | |
| 7504 | + | <doc xml:space="preserve" | |
| 7505 | + | filename="gsk/gskrenderer.c" | |
| 7506 | + | line="723">a surface</doc> | |
| 7507 | + | <type name="Gdk.Surface" c:type="GdkSurface*"/> | |
| 7508 | + | </parameter> | |
| 7509 | + | </parameters> | |
| 7510 | + | </constructor> | |
| 7511 | + | <method name="get_surface" | |
| 7512 | + | c:identifier="gsk_renderer_get_surface" | |
| 7513 | + | glib:get-property="surface"> | |
| 7514 | + | <doc xml:space="preserve" | |
| 7515 | + | filename="gsk/gskrenderer.c" | |
| 7516 | + | line="203">Retrieves the surface that the renderer is associated with. | |
| 7517 | + | ||
| 7518 | + | If the renderer has not been realized yet, `NULL` will be returned.</doc> | |
| 7519 | + | <source-position filename="gsk/gskrenderer.h" line="44"/> | |
| 7520 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 7521 | + | <doc xml:space="preserve" | |
| 7522 | + | filename="gsk/gskrenderer.c" | |
| 7523 | + | line="211">the surface</doc> | |
| 7524 | + | <type name="Gdk.Surface" c:type="GdkSurface*"/> | |
| 7525 | + | </return-value> | |
| 7526 | + | <parameters> | |
| 7527 | + | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 7528 | + | <doc xml:space="preserve" | |
| 7529 | + | filename="gsk/gskrenderer.c" | |
| 7530 | + | line="205">a renderer</doc> | |
| 7531 | + | <type name="Renderer" c:type="GskRenderer*"/> | |
| 7532 | + | </instance-parameter> | |
| 7533 | + | </parameters> | |
| 7534 | + | </method> | |
| 7535 | + | <method name="is_realized" | |
| 7536 | + | c:identifier="gsk_renderer_is_realized" | |
| 7537 | + | glib:get-property="realized"> | |
| 7538 | + | <doc xml:space="preserve" | |
| 7539 | + | filename="gsk/gskrenderer.c" | |
| 7540 | + | line="223">Checks whether the renderer is realized or not.</doc> | |
| 7541 | + | <source-position filename="gsk/gskrenderer.h" line="57"/> | |
| 7542 | + | <return-value transfer-ownership="none"> | |
| 7543 | + | <doc xml:space="preserve" | |
| 7544 | + | filename="gsk/gskrenderer.c" | |
| 7545 | + | line="229">true if the renderer was realized, false otherwise</doc> | |
| 7546 | + | <type name="gboolean" c:type="gboolean"/> | |
| 7547 | + | </return-value> | |
| 7548 | + | <parameters> | |
| 7549 | + | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 7550 | + | <doc xml:space="preserve" | |
| 7551 | + | filename="gsk/gskrenderer.c" | |
| 7552 | + | line="225">a renderer</doc> | |
| 7553 | + | <type name="Renderer" c:type="GskRenderer*"/> | |
| 7554 | + | </instance-parameter> | |
| 7555 | + | </parameters> | |
| 7556 | + | </method> | |
| 7557 | + | <method name="realize" c:identifier="gsk_renderer_realize" throws="1"> | |
| 7558 | + | <doc xml:space="preserve" | |
| 7559 | + | filename="gsk/gskrenderer.c" | |
| 7560 | + | line="267">Creates the resources needed by the renderer. | |
| 7561 | + | ||
| 7562 | + | Since GTK 4.6, the surface may be `NULL`, which allows using | |
| 7563 | + | renderers without having to create a surface. Since GTK 4.14, | |
| 7564 | + | it is recommended to use [method@Gsk.Renderer.realize_for_display] | |
| 7565 | + | for this case. | |
| 7566 | + | ||
| 7567 | + | Note that it is mandatory to call [method@Gsk.Renderer.unrealize] | |
| 7568 | + | before destroying the renderer.</doc> | |
| 7569 | + | <source-position filename="gsk/gskrenderer.h" line="47"/> | |
| 7570 | + | <return-value transfer-ownership="none"> | |
| 7571 | + | <doc xml:space="preserve" | |
| 7572 | + | filename="gsk/gskrenderer.c" | |
| 7573 | + | line="283">whether the renderer was successfully realized</doc> | |
| 7574 | + | <type name="gboolean" c:type="gboolean"/> | |
| 7575 | + | </return-value> | |
| 7576 | + | <parameters> | |
| 7577 | + | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 7578 | + | <doc xml:space="preserve" | |
| 7579 | + | filename="gsk/gskrenderer.c" | |
| 7580 | + | line="269">a renderer</doc> | |
| 7581 | + | <type name="Renderer" c:type="GskRenderer*"/> | |
| 7582 | + | </instance-parameter> | |
| 7583 | + | <parameter name="surface" | |
| 7584 | + | transfer-ownership="none" | |
| 7585 | + | nullable="1" | |
| 7586 | + | allow-none="1"> | |
| 7587 | + | <doc xml:space="preserve" | |
| 7588 | + | filename="gsk/gskrenderer.c" | |
| 7589 | + | line="270">the surface that renderer will be used on</doc> | |
| 7590 | + | <type name="Gdk.Surface" c:type="GdkSurface*"/> | |
| 7591 | + | </parameter> | |
| 7592 | + | </parameters> | |
| 7593 | + | </method> | |
| 7594 | + | <method name="realize_for_display" | |
| 7595 | + | c:identifier="gsk_renderer_realize_for_display" | |
| 7596 | + | version="4.14" | |
| 7597 | + | throws="1"> | |
| 7598 | + | <doc xml:space="preserve" | |
| 7599 | + | filename="gsk/gskrenderer.c" | |
| 7600 | + | line="311">Creates the resources needed by the renderer. | |
| 7601 | + | ||
| 7602 | + | Note that it is mandatory to call [method@Gsk.Renderer.unrealize] | |
| 7603 | + | before destroying the renderer.</doc> | |
| 7604 | + | <source-position filename="gsk/gskrenderer.h" line="51"/> | |
| 7605 | + | <return-value transfer-ownership="none"> | |
| 7606 | + | <doc xml:space="preserve" | |
| 7607 | + | filename="gsk/gskrenderer.c" | |
| 7608 | + | line="322">whether the renderer was successfully realized</doc> | |
| 7609 | + | <type name="gboolean" c:type="gboolean"/> | |
| 7610 | + | </return-value> | |
| 7611 | + | <parameters> | |
| 7612 | + | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 7613 | + | <doc xml:space="preserve" | |
| 7614 | + | filename="gsk/gskrenderer.c" | |
| 7615 | + | line="313">a renderer</doc> | |
| 7616 | + | <type name="Renderer" c:type="GskRenderer*"/> | |
| 7617 | + | </instance-parameter> | |
| 7618 | + | <parameter name="display" transfer-ownership="none"> | |
| 7619 | + | <doc xml:space="preserve" | |
| 7620 | + | filename="gsk/gskrenderer.c" | |
| 7621 | + | line="314">the display that the renderer will be used on</doc> | |
| 7622 | + | <type name="Gdk.Display" c:type="GdkDisplay*"/> | |
| 7623 | + | </parameter> | |
| 7624 | + | </parameters> | |
| 7625 | + | </method> | |
| 7626 | + | <method name="render" c:identifier="gsk_renderer_render"> | |
| 7627 | + | <doc xml:space="preserve" | |
| 7628 | + | filename="gsk/gskrenderer.c" | |
| 7629 | + | line="413">Renders the scene graph, described by a tree of `GskRenderNode` instances | |
| 7630 | + | to the renderer's surface, ensuring that the given region gets redrawn. | |
| 7631 | + | ||
| 7632 | + | If the renderer has no associated surface, this function does nothing. | |
| 7633 | + | ||
| 7634 | + | Renderers must ensure that changes of the contents given by the @root | |
| 7635 | + | node as well as the area given by @region are redrawn. They are however | |
| 7636 | + | free to not redraw any pixel outside of @region if they can guarantee that | |
| 7637 | + | it didn't change. | |
| 7638 | + | ||
| 7639 | + | The renderer will acquire a reference on the `GskRenderNode` tree while | |
| 7640 | + | the rendering is in progress.</doc> | |
| 7641 | + | <source-position filename="gsk/gskrenderer.h" line="65"/> | |
| 7642 | + | <return-value transfer-ownership="none"> | |
| 7643 | + | <type name="none" c:type="void"/> | |
| 7644 | + | </return-value> | |
| 7645 | + | <parameters> | |
| 7646 | + | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 7647 | + | <doc xml:space="preserve" | |
| 7648 | + | filename="gsk/gskrenderer.c" | |
| 7649 | + | line="415">a realized renderer</doc> | |
| 7650 | + | <type name="Renderer" c:type="GskRenderer*"/> | |
| 7651 | + | </instance-parameter> | |
| 7652 | + | <parameter name="root" transfer-ownership="none"> | |
| 7653 | + | <doc xml:space="preserve" | |
| 7654 | + | filename="gsk/gskrenderer.c" | |
| 7655 | + | line="416">the render node to render</doc> | |
| 7656 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 7657 | + | </parameter> | |
| 7658 | + | <parameter name="region" | |
| 7659 | + | transfer-ownership="none" | |
| 7660 | + | nullable="1" | |
| 7661 | + | allow-none="1"> | |
| 7662 | + | <doc xml:space="preserve" | |
| 7663 | + | filename="gsk/gskrenderer.c" | |
| 7664 | + | line="417">the `cairo_region_t` that must be redrawn or `NULL` | |
| 7665 | + | for the whole surface</doc> | |
| 7666 | + | <type name="cairo.Region" c:type="const cairo_region_t*"/> | |
| 7667 | + | </parameter> | |
| 7668 | + | </parameters> | |
| 7669 | + | </method> | |
| 7670 | + | <method name="render_texture" c:identifier="gsk_renderer_render_texture"> | |
| 7671 | + | <doc xml:space="preserve" | |
| 7672 | + | filename="gsk/gskrenderer.c" | |
| 7673 | + | line="370">Renders a scene graph, described by a tree of `GskRenderNode` instances, | |
| 7674 | + | to a texture. | |
| 7675 | + | ||
| 7676 | + | The renderer will acquire a reference on the `GskRenderNode` tree while | |
| 7677 | + | the rendering is in progress. | |
| 7678 | + | ||
| 7679 | + | If you want to apply any transformations to @root, you should put it into a | |
| 7680 | + | transform node and pass that node instead.</doc> | |
| 7681 | + | <source-position filename="gsk/gskrenderer.h" line="60"/> | |
| 7682 | + | <return-value transfer-ownership="full"> | |
| 7683 | + | <doc xml:space="preserve" | |
| 7684 | + | filename="gsk/gskrenderer.c" | |
| 7685 | + | line="385">a texture with the rendered contents of @root</doc> | |
| 7686 | + | <type name="Gdk.Texture" c:type="GdkTexture*"/> | |
| 7687 | + | </return-value> | |
| 7688 | + | <parameters> | |
| 7689 | + | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 7690 | + | <doc xml:space="preserve" | |
| 7691 | + | filename="gsk/gskrenderer.c" | |
| 7692 | + | line="372">a realized renderer</doc> | |
| 7693 | + | <type name="Renderer" c:type="GskRenderer*"/> | |
| 7694 | + | </instance-parameter> | |
| 7695 | + | <parameter name="root" transfer-ownership="none"> | |
| 7696 | + | <doc xml:space="preserve" | |
| 7697 | + | filename="gsk/gskrenderer.c" | |
| 7698 | + | line="373">the render node to render</doc> | |
| 7699 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 7700 | + | </parameter> | |
| 7701 | + | <parameter name="viewport" | |
| 7702 | + | transfer-ownership="none" | |
| 7703 | + | nullable="1" | |
| 7704 | + | allow-none="1"> | |
| 7705 | + | <doc xml:space="preserve" | |
| 7706 | + | filename="gsk/gskrenderer.c" | |
| 7707 | + | line="374">the section to draw or `NULL` to use @root's bounds</doc> | |
| 7708 | + | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 7709 | + | </parameter> | |
| 7710 | + | </parameters> | |
| 7711 | + | </method> | |
| 7712 | + | <method name="unrealize" c:identifier="gsk_renderer_unrealize"> | |
| 7713 | + | <doc xml:space="preserve" | |
| 7714 | + | filename="gsk/gskrenderer.c" | |
| 7715 | + | line="339">Releases all the resources created by [method@Gsk.Renderer.realize].</doc> | |
| 7716 | + | <source-position filename="gsk/gskrenderer.h" line="55"/> | |
| 7717 | + | <return-value transfer-ownership="none"> | |
| 7718 | + | <type name="none" c:type="void"/> | |
| 7719 | + | </return-value> | |
| 7720 | + | <parameters> | |
| 7721 | + | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 7722 | + | <doc xml:space="preserve" | |
| 7723 | + | filename="gsk/gskrenderer.c" | |
| 7724 | + | line="341">a renderer</doc> | |
| 7725 | + | <type name="Renderer" c:type="GskRenderer*"/> | |
| 7726 | + | </instance-parameter> | |
| 7727 | + | </parameters> | |
| 7728 | + | </method> | |
| 7729 | + | <property name="realized" | |
| 7730 | + | transfer-ownership="none" | |
| 7731 | + | getter="is_realized" | |
| 7732 | + | default-value="FALSE"> | |
| 7733 | + | <doc xml:space="preserve" | |
| 7734 | + | filename="gsk/gskrenderer.c" | |
| 7735 | + | line="172">Whether the renderer has been associated with a surface or draw context.</doc> | |
| 7736 | + | <type name="gboolean" c:type="gboolean"/> | |
| 7737 | + | </property> | |
| 7738 | + | <property name="surface" transfer-ownership="none" getter="get_surface"> | |
| 7739 | + | <doc xml:space="preserve" | |
| 7740 | + | filename="gsk/gskrenderer.c" | |
| 7741 | + | line="182">The surface associated with renderer.</doc> | |
| 7742 | + | <type name="Gdk.Surface"/> | |
| 7743 | + | </property> | |
| 7744 | + | </class> | |
| 7745 | + | <record name="RendererClass" | |
| 7746 | + | c:type="GskRendererClass" | |
| 7747 | + | disguised="1" | |
| 7748 | + | opaque="1" | |
| 7749 | + | glib:is-gtype-struct-for="Renderer"> | |
| 7750 | + | <source-position filename="gsk/gskrenderer.h" line="35"/> | |
| 7751 | + | </record> | |
| 7752 | + | <class name="RepeatNode" | |
| 7753 | + | c:symbol-prefix="repeat_node" | |
| 7754 | + | c:type="GskRepeatNode" | |
| 7755 | + | parent="RenderNode" | |
| 7756 | + | glib:type-name="GskRepeatNode" | |
| 7757 | + | glib:get-type="gsk_repeat_node_get_type" | |
| 7758 | + | glib:fundamental="1"> | |
| 7759 | + | <doc xml:space="preserve" | |
| 7760 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7761 | + | line="5347">A render node repeating its single child node.</doc> | |
| 7762 | + | <constructor name="new" c:identifier="gsk_repeat_node_new"> | |
| 7763 | + | <doc xml:space="preserve" | |
| 7764 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7765 | + | line="5556">Creates a `GskRenderNode` that will repeat the drawing of @child across | |
| 7766 | + | the given @bounds.</doc> | |
| 7767 | + | <source-position filename="gsk/gskrendernode.h" line="443"/> | |
| 7768 | + | <return-value transfer-ownership="full"> | |
| 7769 | + | <doc xml:space="preserve" | |
| 7770 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7771 | + | line="5566">A new `GskRenderNode`</doc> | |
| 7772 | + | <type name="RepeatNode" c:type="GskRenderNode*"/> | |
| 7773 | + | </return-value> | |
| 7774 | + | <parameters> | |
| 7775 | + | <parameter name="bounds" transfer-ownership="none"> | |
| 7776 | + | <doc xml:space="preserve" | |
| 7777 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7778 | + | line="5558">The bounds of the area to be painted</doc> | |
| 7779 | + | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 7780 | + | </parameter> | |
| 7781 | + | <parameter name="child" transfer-ownership="none"> | |
| 7782 | + | <doc xml:space="preserve" | |
| 7783 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7784 | + | line="5559">The child to repeat</doc> | |
| 7785 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 7786 | + | </parameter> | |
| 7787 | + | <parameter name="child_bounds" | |
| 7788 | + | transfer-ownership="none" | |
| 7789 | + | nullable="1" | |
| 7790 | + | allow-none="1"> | |
| 7791 | + | <doc xml:space="preserve" | |
| 7792 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7793 | + | line="5560">The area of the child to repeat or %NULL to | |
| 7794 | + | use the child's bounds</doc> | |
| 7795 | + | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 7796 | + | </parameter> | |
| 7797 | + | </parameters> | |
| 7798 | + | </constructor> | |
| 7799 | + | <method name="get_child" c:identifier="gsk_repeat_node_get_child"> | |
| 7800 | + | <doc xml:space="preserve" | |
| 7801 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7802 | + | line="5607">Retrieves the child of @node.</doc> | |
| 7803 | + | <source-position filename="gsk/gskrendernode.h" line="447"/> | |
| 7804 | + | <return-value transfer-ownership="none"> | |
| 7805 | + | <doc xml:space="preserve" | |
| 7806 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7807 | + | line="5613">a `GskRenderNode`</doc> | |
| 7808 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 7809 | + | </return-value> | |
| 7810 | + | <parameters> | |
| 7811 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 7812 | + | <doc xml:space="preserve" | |
| 7813 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7814 | + | line="5609">a repeat `GskRenderNode`</doc> | |
| 7815 | + | <type name="RepeatNode" c:type="const GskRenderNode*"/> | |
| 7816 | + | </instance-parameter> | |
| 7817 | + | </parameters> | |
| 7818 | + | </method> | |
| 7819 | + | <method name="get_child_bounds" | |
| 7820 | + | c:identifier="gsk_repeat_node_get_child_bounds"> | |
| 7821 | + | <doc xml:space="preserve" | |
| 7822 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7823 | + | line="5623">Retrieves the bounding rectangle of the child of @node.</doc> | |
| 7824 | + | <source-position filename="gsk/gskrendernode.h" line="449"/> | |
| 7825 | + | <return-value transfer-ownership="none"> | |
| 7826 | + | <doc xml:space="preserve" | |
| 7827 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7828 | + | line="5629">a bounding rectangle</doc> | |
| 7829 | + | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 7830 | + | </return-value> | |
| 7831 | + | <parameters> | |
| 7832 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 7833 | + | <doc xml:space="preserve" | |
| 7834 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7835 | + | line="5625">a repeat `GskRenderNode`</doc> | |
| 7836 | + | <type name="RepeatNode" c:type="const GskRenderNode*"/> | |
| 7837 | + | </instance-parameter> | |
| 7838 | + | </parameters> | |
| 7839 | + | </method> | |
| 7840 | + | </class> | |
| 7841 | + | <class name="RepeatingLinearGradientNode" | |
| 7842 | + | c:symbol-prefix="repeating_linear_gradient_node" | |
| 7843 | + | c:type="GskRepeatingLinearGradientNode" | |
| 7844 | + | parent="RenderNode" | |
| 7845 | + | glib:type-name="GskRepeatingLinearGradientNode" | |
| 7846 | + | glib:get-type="gsk_repeating_linear_gradient_node_get_type" | |
| 7847 | + | glib:fundamental="1"> | |
| 7848 | + | <doc xml:space="preserve" | |
| 7849 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7850 | + | line="318">A render node for a repeating linear gradient.</doc> | |
| 7851 | + | <constructor name="new" | |
| 7852 | + | c:identifier="gsk_repeating_linear_gradient_node_new"> | |
| 7853 | + | <doc xml:space="preserve" | |
| 7854 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7855 | + | line="744">Creates a `GskRenderNode` that will create a repeating linear gradient | |
| 7856 | + | from the given points and color stops, and render that into the area | |
| 7857 | + | given by @bounds.</doc> | |
| 7858 | + | <source-position filename="gsk/gskrendernode.h" line="264"/> | |
| 7859 | + | <return-value transfer-ownership="full"> | |
| 7860 | + | <doc xml:space="preserve" | |
| 7861 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7862 | + | line="759">A new `GskRenderNode`</doc> | |
| 7863 | + | <type name="RepeatingLinearGradientNode" c:type="GskRenderNode*"/> | |
| 7864 | + | </return-value> | |
| 7865 | + | <parameters> | |
| 7866 | + | <parameter name="bounds" transfer-ownership="none"> | |
| 7867 | + | <doc xml:space="preserve" | |
| 7868 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7869 | + | line="746">the rectangle to render the linear gradient into</doc> | |
| 7870 | + | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 7871 | + | </parameter> | |
| 7872 | + | <parameter name="start" transfer-ownership="none"> | |
| 7873 | + | <doc xml:space="preserve" | |
| 7874 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7875 | + | line="747">the point at which the linear gradient will begin</doc> | |
| 7876 | + | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 7877 | + | </parameter> | |
| 7878 | + | <parameter name="end" transfer-ownership="none"> | |
| 7879 | + | <doc xml:space="preserve" | |
| 7880 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7881 | + | line="748">the point at which the linear gradient will finish</doc> | |
| 7882 | + | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 7883 | + | </parameter> | |
| 7884 | + | <parameter name="color_stops" transfer-ownership="none"> | |
| 7885 | + | <doc xml:space="preserve" | |
| 7886 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7887 | + | line="749">a pointer to an array of | |
| 7888 | + | `GskColorStop` defining the gradient. The offsets of all color stops | |
| 7889 | + | must be increasing. The first stop's offset must be >= 0 and the last | |
| 7890 | + | stop's offset must be <= 1.</doc> | |
| 7891 | + | <array length="4" zero-terminated="0" c:type="const GskColorStop*"> | |
| 7892 | + | <type name="ColorStop" c:type="GskColorStop"/> | |
| 7893 | + | </array> | |
| 7894 | + | </parameter> | |
| 7895 | + | <parameter name="n_color_stops" transfer-ownership="none"> | |
| 7896 | + | <doc xml:space="preserve" | |
| 7897 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7898 | + | line="753">the number of elements in @color_stops</doc> | |
| 7899 | + | <type name="gsize" c:type="gsize"/> | |
| 7900 | + | </parameter> | |
| 7901 | + | </parameters> | |
| 7902 | + | </constructor> | |
| 7903 | + | </class> | |
| 7904 | + | <class name="RepeatingRadialGradientNode" | |
| 7905 | + | c:symbol-prefix="repeating_radial_gradient_node" | |
| 7906 | + | c:type="GskRepeatingRadialGradientNode" | |
| 7907 | + | parent="RenderNode" | |
| 7908 | + | glib:type-name="GskRepeatingRadialGradientNode" | |
| 7909 | + | glib:get-type="gsk_repeating_radial_gradient_node_get_type" | |
| 7910 | + | glib:fundamental="1"> | |
| 7911 | + | <doc xml:space="preserve" | |
| 7912 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7913 | + | line="1009">A render node for a repeating radial gradient.</doc> | |
| 7914 | + | <constructor name="new" | |
| 7915 | + | c:identifier="gsk_repeating_radial_gradient_node_new"> | |
| 7916 | + | <doc xml:space="preserve" | |
| 7917 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7918 | + | line="1350">Creates a `GskRenderNode` that draws a repeating radial gradient. | |
| 7919 | + | ||
| 7920 | + | The radial gradient starts around @center. The size of the gradient | |
| 7921 | + | is dictated by @hradius in horizontal orientation and by @vradius | |
| 7922 | + | in vertical orientation.</doc> | |
| 7923 | + | <source-position filename="gsk/gskrendernode.h" line="320"/> | |
| 7924 | + | <return-value transfer-ownership="full"> | |
| 7925 | + | <doc xml:space="preserve" | |
| 7926 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7927 | + | line="1370">A new `GskRenderNode`</doc> | |
| 7928 | + | <type name="RepeatingRadialGradientNode" c:type="GskRenderNode*"/> | |
| 7929 | + | </return-value> | |
| 7930 | + | <parameters> | |
| 7931 | + | <parameter name="bounds" transfer-ownership="none"> | |
| 7932 | + | <doc xml:space="preserve" | |
| 7933 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7934 | + | line="1352">the bounds of the node</doc> | |
| 7935 | + | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 7936 | + | </parameter> | |
| 7937 | + | <parameter name="center" transfer-ownership="none"> | |
| 7938 | + | <doc xml:space="preserve" | |
| 7939 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7940 | + | line="1353">the center of the gradient</doc> | |
| 7941 | + | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 7942 | + | </parameter> | |
| 7943 | + | <parameter name="hradius" transfer-ownership="none"> | |
| 7944 | + | <doc xml:space="preserve" | |
| 7945 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7946 | + | line="1354">the horizontal radius</doc> | |
| 7947 | + | <type name="gfloat" c:type="float"/> | |
| 7948 | + | </parameter> | |
| 7949 | + | <parameter name="vradius" transfer-ownership="none"> | |
| 7950 | + | <doc xml:space="preserve" | |
| 7951 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7952 | + | line="1355">the vertical radius</doc> | |
| 7953 | + | <type name="gfloat" c:type="float"/> | |
| 7954 | + | </parameter> | |
| 7955 | + | <parameter name="start" transfer-ownership="none"> | |
| 7956 | + | <doc xml:space="preserve" | |
| 7957 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7958 | + | line="1356">a percentage >= 0 that defines the start of the gradient around @center</doc> | |
| 7959 | + | <type name="gfloat" c:type="float"/> | |
| 7960 | + | </parameter> | |
| 7961 | + | <parameter name="end" transfer-ownership="none"> | |
| 7962 | + | <doc xml:space="preserve" | |
| 7963 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7964 | + | line="1357">a percentage >= 0 that defines the end of the gradient around @center</doc> | |
| 7965 | + | <type name="gfloat" c:type="float"/> | |
| 7966 | + | </parameter> | |
| 7967 | + | <parameter name="color_stops" transfer-ownership="none"> | |
| 7968 | + | <doc xml:space="preserve" | |
| 7969 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7970 | + | line="1358">a pointer to an array of | |
| 7971 | + | `GskColorStop` defining the gradient. The offsets of all color stops | |
| 7972 | + | must be increasing. The first stop's offset must be >= 0 and the last | |
| 7973 | + | stop's offset must be <= 1.</doc> | |
| 7974 | + | <array length="7" zero-terminated="0" c:type="const GskColorStop*"> | |
| 7975 | + | <type name="ColorStop" c:type="GskColorStop"/> | |
| 7976 | + | </array> | |
| 7977 | + | </parameter> | |
| 7978 | + | <parameter name="n_color_stops" transfer-ownership="none"> | |
| 7979 | + | <doc xml:space="preserve" | |
| 7980 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7981 | + | line="1362">the number of elements in @color_stops</doc> | |
| 7982 | + | <type name="gsize" c:type="gsize"/> | |
| 7983 | + | </parameter> | |
| 7984 | + | </parameters> | |
| 7985 | + | </constructor> | |
| 7986 | + | </class> | |
| 7987 | + | <class name="RoundedClipNode" | |
| 7988 | + | c:symbol-prefix="rounded_clip_node" | |
| 7989 | + | c:type="GskRoundedClipNode" | |
| 7990 | + | parent="RenderNode" | |
| 7991 | + | glib:type-name="GskRoundedClipNode" | |
| 7992 | + | glib:get-type="gsk_rounded_clip_node_get_type" | |
| 7993 | + | glib:fundamental="1"> | |
| 7994 | + | <doc xml:space="preserve" | |
| 7995 | + | filename="gsk/gskrendernodeimpl.c" | |
| 7996 | + | line="5809">A render node applying a rounded rectangle clip to its single child.</doc> | |
| 7997 | + | <constructor name="new" c:identifier="gsk_rounded_clip_node_new"> | |
| 7998 | + | <doc xml:space="preserve" | |
| 7999 | + | filename="gsk/gskrendernodeimpl.c" | |
| 8000 | + | line="5923">Creates a `GskRenderNode` that will clip the @child to the area | |
| 8001 | + | given by @clip.</doc> | |
| 8002 | + | <source-position filename="gsk/gskrendernode.h" line="464"/> | |
| 8003 | + | <return-value transfer-ownership="full"> | |
| 8004 | + | <doc xml:space="preserve" | |
| 8005 | + | filename="gsk/gskrendernodeimpl.c" | |
| 8006 | + | line="5931">A new `GskRenderNode`</doc> | |
| 8007 | + | <type name="RoundedClipNode" c:type="GskRenderNode*"/> | |
| 8008 | + | </return-value> | |
| 8009 | + | <parameters> | |
| 8010 | + | <parameter name="child" transfer-ownership="none"> | |
| 8011 | + | <doc xml:space="preserve" | |
| 8012 | + | filename="gsk/gskrendernodeimpl.c" | |
| 8013 | + | line="5925">The node to draw</doc> | |
| 8014 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 8015 | + | </parameter> | |
| 8016 | + | <parameter name="clip" transfer-ownership="none"> | |
| 8017 | + | <doc xml:space="preserve" | |
| 8018 | + | filename="gsk/gskrendernodeimpl.c" | |
| 8019 | + | line="5926">The clip to apply</doc> | |
| 8020 | + | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 8021 | + | </parameter> | |
| 8022 | + | </parameters> | |
| 8023 | + | </constructor> | |
| 8024 | + | <method name="get_child" c:identifier="gsk_rounded_clip_node_get_child"> | |
| 4043 | 8025 | <doc xml:space="preserve" | |
| 4044 | - | filename="gsk/gskenums.h" | |
| 4045 | - | line="46">A node that draws a shadow below its child</doc> | |
| 4046 | - | </member> | |
| 4047 | - | <member name="blend_node" | |
| 4048 | - | value="20" | |
| 4049 | - | c:identifier="GSK_BLEND_NODE" | |
| 4050 | - | glib:nick="blend-node" | |
| 4051 | - | glib:name="GSK_BLEND_NODE"> | |
| 8026 | + | filename="gsk/gskrendernodeimpl.c" | |
| 8027 | + | line="5958">Gets the child node that is getting clipped by the given @node.</doc> | |
| 8028 | + | <source-position filename="gsk/gskrendernode.h" line="467"/> | |
| 8029 | + | <return-value transfer-ownership="none"> | |
| 8030 | + | <doc xml:space="preserve" | |
| 8031 | + | filename="gsk/gskrendernodeimpl.c" | |
| 8032 | + | line="5964">The child that is getting clipped</doc> | |
| 8033 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 8034 | + | </return-value> | |
| 8035 | + | <parameters> | |
| 8036 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 8037 | + | <doc xml:space="preserve" | |
| 8038 | + | filename="gsk/gskrendernodeimpl.c" | |
| 8039 | + | line="5960">a rounded clip `GskRenderNode`</doc> | |
| 8040 | + | <type name="RoundedClipNode" c:type="const GskRenderNode*"/> | |
| 8041 | + | </instance-parameter> | |
| 8042 | + | </parameters> | |
| 8043 | + | </method> | |
| 8044 | + | <method name="get_clip" c:identifier="gsk_rounded_clip_node_get_clip"> | |
| 4052 | 8045 | <doc xml:space="preserve" | |
| 4053 | - | filename="gsk/gskenums.h" | |
| 4054 | - | line="47">A node that blends two children together</doc> | |
| 4055 | - | </member> | |
| 4056 | - | <member name="cross_fade_node" | |
| 4057 | - | value="21" | |
| 4058 | - | c:identifier="GSK_CROSS_FADE_NODE" | |
| 4059 | - | glib:nick="cross-fade-node" | |
| 4060 | - | glib:name="GSK_CROSS_FADE_NODE"> | |
| 8046 | + | filename="gsk/gskrendernodeimpl.c" | |
| 8047 | + | line="5974">Retrieves the rounded rectangle used to clip the contents of the @node.</doc> | |
| 8048 | + | <source-position filename="gsk/gskrendernode.h" line="469"/> | |
| 8049 | + | <return-value transfer-ownership="none"> | |
| 8050 | + | <doc xml:space="preserve" | |
| 8051 | + | filename="gsk/gskrendernodeimpl.c" | |
| 8052 | + | line="5980">a rounded rectangle</doc> | |
| 8053 | + | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 8054 | + | </return-value> | |
| 8055 | + | <parameters> | |
| 8056 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 8057 | + | <doc xml:space="preserve" | |
| 8058 | + | filename="gsk/gskrendernodeimpl.c" | |
| 8059 | + | line="5976">a rounded clip `GskRenderNode`</doc> | |
| 8060 | + | <type name="RoundedClipNode" c:type="const GskRenderNode*"/> | |
| 8061 | + | </instance-parameter> | |
| 8062 | + | </parameters> | |
| 8063 | + | </method> | |
| 8064 | + | </class> | |
| 8065 | + | <record name="RoundedRect" c:type="GskRoundedRect"> | |
| 8066 | + | <doc xml:space="preserve" | |
| 8067 | + | filename="gsk/gskroundedrect.c" | |
| 8068 | + | line="19">A rectangular region with rounded corners. | |
| 8069 | + | ||
| 8070 | + | Application code should normalize rectangles using | |
| 8071 | + | [method@Gsk.RoundedRect.normalize]; this function will ensure that | |
| 8072 | + | the bounds of the rectangle are normalized and ensure that the corner | |
| 8073 | + | values are positive and the corners do not overlap. | |
| 8074 | + | ||
| 8075 | + | All functions taking a `GskRoundedRect` as an argument will internally | |
| 8076 | + | operate on a normalized copy; all functions returning a `GskRoundedRect` | |
| 8077 | + | will always return a normalized one. | |
| 8078 | + | ||
| 8079 | + | The algorithm used for normalizing corner sizes is described in | |
| 8080 | + | [the CSS specification](https://drafts.csswg.org/css-backgrounds-3/#border-radius).</doc> | |
| 8081 | + | <source-position filename="gsk/gskroundedrect.h" line="53"/> | |
| 8082 | + | <field name="bounds" writable="1"> | |
| 4061 | 8083 | <doc xml:space="preserve" | |
| 4062 | - | filename="gsk/gskenums.h" | |
| 4063 | - | line="48">A node that cross-fades between two children</doc> | |
| 4064 | - | </member> | |
| 4065 | - | <member name="text_node" | |
| 4066 | - | value="22" | |
| 4067 | - | c:identifier="GSK_TEXT_NODE" | |
| 4068 | - | glib:nick="text-node" | |
| 4069 | - | glib:name="GSK_TEXT_NODE"> | |
| 8084 | + | filename="gsk/gskroundedrect.c" | |
| 8085 | + | line="21">the bounds of the rectangle</doc> | |
| 8086 | + | <type name="Graphene.Rect" c:type="graphene_rect_t"/> | |
| 8087 | + | </field> | |
| 8088 | + | <field name="corner" writable="1"> | |
| 4070 | 8089 | <doc xml:space="preserve" | |
| 4071 | - | filename="gsk/gskenums.h" | |
| 4072 | - | line="49">A node containing a glyph string</doc> | |
| 4073 | - | </member> | |
| 4074 | - | <member name="blur_node" | |
| 4075 | - | value="23" | |
| 4076 | - | c:identifier="GSK_BLUR_NODE" | |
| 4077 | - | glib:nick="blur-node" | |
| 4078 | - | glib:name="GSK_BLUR_NODE"> | |
| 8090 | + | filename="gsk/gskroundedrect.c" | |
| 8091 | + | line="22">the size of the 4 rounded corners</doc> | |
| 8092 | + | <array zero-terminated="0" fixed-size="4"> | |
| 8093 | + | <type name="Graphene.Size" c:type="graphene_size_t"/> | |
| 8094 | + | </array> | |
| 8095 | + | </field> | |
| 8096 | + | <method name="contains_point" | |
| 8097 | + | c:identifier="gsk_rounded_rect_contains_point"> | |
| 4079 | 8098 | <doc xml:space="preserve" | |
| 4080 | - | filename="gsk/gskenums.h" | |
| 4081 | - | line="50">A node that applies a blur</doc> | |
| 4082 | - | </member> | |
| 4083 | - | <member name="debug_node" | |
| 4084 | - | value="24" | |
| 4085 | - | c:identifier="GSK_DEBUG_NODE" | |
| 4086 | - | glib:nick="debug-node" | |
| 4087 | - | glib:name="GSK_DEBUG_NODE"> | |
| 8099 | + | filename="gsk/gskroundedrect.c" | |
| 8100 | + | line="483">Checks if the given point is inside the rounded rectangle.</doc> | |
| 8101 | + | <source-position filename="gsk/gskroundedrect.h" line="87"/> | |
| 8102 | + | <return-value transfer-ownership="none"> | |
| 8103 | + | <doc xml:space="preserve" | |
| 8104 | + | filename="gsk/gskroundedrect.c" | |
| 8105 | + | line="490">true if the point is inside the rounded rectangle</doc> | |
| 8106 | + | <type name="gboolean" c:type="gboolean"/> | |
| 8107 | + | </return-value> | |
| 8108 | + | <parameters> | |
| 8109 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 8110 | + | <doc xml:space="preserve" | |
| 8111 | + | filename="gsk/gskroundedrect.c" | |
| 8112 | + | line="485">a rounded rectangle</doc> | |
| 8113 | + | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 8114 | + | </instance-parameter> | |
| 8115 | + | <parameter name="point" transfer-ownership="none"> | |
| 8116 | + | <doc xml:space="preserve" | |
| 8117 | + | filename="gsk/gskroundedrect.c" | |
| 8118 | + | line="486">the point to check</doc> | |
| 8119 | + | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 8120 | + | </parameter> | |
| 8121 | + | </parameters> | |
| 8122 | + | </method> | |
| 8123 | + | <method name="contains_rect" | |
| 8124 | + | c:identifier="gsk_rounded_rect_contains_rect"> | |
| 4088 | 8125 | <doc xml:space="preserve" | |
| 4089 | - | filename="gsk/gskenums.h" | |
| 4090 | - | line="51">Debug information that does not affect the rendering</doc> | |
| 4091 | - | </member> | |
| 4092 | - | <member name="gl_shader_node" | |
| 4093 | - | value="25" | |
| 4094 | - | c:identifier="GSK_GL_SHADER_NODE" | |
| 4095 | - | glib:nick="gl-shader-node" | |
| 4096 | - | glib:name="GSK_GL_SHADER_NODE"> | |
| 8126 | + | filename="gsk/gskroundedrect.c" | |
| 8127 | + | line="499">Checks if the given rectangle is contained inside the rounded rectangle.</doc> | |
| 8128 | + | <source-position filename="gsk/gskroundedrect.h" line="90"/> | |
| 8129 | + | <return-value transfer-ownership="none"> | |
| 8130 | + | <doc xml:space="preserve" | |
| 8131 | + | filename="gsk/gskroundedrect.c" | |
| 8132 | + | line="506">true if the @rect is fully contained inside the rounded rectangle</doc> | |
| 8133 | + | <type name="gboolean" c:type="gboolean"/> | |
| 8134 | + | </return-value> | |
| 8135 | + | <parameters> | |
| 8136 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 8137 | + | <doc xml:space="preserve" | |
| 8138 | + | filename="gsk/gskroundedrect.c" | |
| 8139 | + | line="501">a rounded rectangle</doc> | |
| 8140 | + | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 8141 | + | </instance-parameter> | |
| 8142 | + | <parameter name="rect" transfer-ownership="none"> | |
| 8143 | + | <doc xml:space="preserve" | |
| 8144 | + | filename="gsk/gskroundedrect.c" | |
| 8145 | + | line="502">the rectangle to check</doc> | |
| 8146 | + | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 8147 | + | </parameter> | |
| 8148 | + | </parameters> | |
| 8149 | + | </method> | |
| 8150 | + | <method name="init" c:identifier="gsk_rounded_rect_init"> | |
| 4097 | 8151 | <doc xml:space="preserve" | |
| 4098 | - | filename="gsk/gskenums.h" | |
| 4099 | - | line="52">A node that uses OpenGL fragment shaders to render</doc> | |
| 4100 | - | </member> | |
| 4101 | - | </enumeration> | |
| 4102 | - | <class name="Renderer" | |
| 4103 | - | c:symbol-prefix="renderer" | |
| 4104 | - | c:type="GskRenderer" | |
| 4105 | - | parent="GObject.Object" | |
| 4106 | - | abstract="1" | |
| 4107 | - | glib:type-name="GskRenderer" | |
| 4108 | - | glib:get-type="gsk_renderer_get_type" | |
| 4109 | - | glib:type-struct="RendererClass"> | |
| 4110 | - | <doc xml:space="preserve" | |
| 4111 | - | filename="gsk/gskrenderer.c" | |
| 4112 | - | line="19">`GskRenderer` is a class that renders a scene graph defined via a | |
| 4113 | - | tree of [class@Gsk.RenderNode] instances. | |
| 4114 | - | ||
| 4115 | - | Typically you will use a `GskRenderer` instance to repeatedly call | |
| 4116 | - | [method@Gsk.Renderer.render] to update the contents of its associated | |
| 4117 | - | [class@Gdk.Surface]. | |
| 8152 | + | filename="gsk/gskroundedrect.c" | |
| 8153 | + | line="95">Initializes a rounded rectangle with the given values. | |
| 4118 | 8154 | ||
| 4119 | - | It is necessary to realize a `GskRenderer` instance using | |
| 4120 | - | [method@Gsk.Renderer.realize] before calling [method@Gsk.Renderer.render], | |
| 4121 | - | in order to create the appropriate windowing system resources needed | |
| 4122 | - | to render the scene.</doc> | |
| 4123 | - | <source-position filename="gsk/gskrenderer.h" line="36"/> | |
| 4124 | - | <constructor name="new_for_surface" | |
| 4125 | - | c:identifier="gsk_renderer_new_for_surface"> | |
| 8155 | + | This function will implicitly normalize the rounded rectangle | |
| 8156 | + | before returning.</doc> | |
| 8157 | + | <source-position filename="gsk/gskroundedrect.h" line="56"/> | |
| 8158 | + | <return-value transfer-ownership="none"> | |
| 8159 | + | <doc xml:space="preserve" | |
| 8160 | + | filename="gsk/gskroundedrect.c" | |
| 8161 | + | line="109">the initialized rounded rectangle</doc> | |
| 8162 | + | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 8163 | + | </return-value> | |
| 8164 | + | <parameters> | |
| 8165 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 8166 | + | <doc xml:space="preserve" | |
| 8167 | + | filename="gsk/gskroundedrect.c" | |
| 8168 | + | line="97">the rounded rectangle to initialize</doc> | |
| 8169 | + | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 8170 | + | </instance-parameter> | |
| 8171 | + | <parameter name="bounds" transfer-ownership="none"> | |
| 8172 | + | <doc xml:space="preserve" | |
| 8173 | + | filename="gsk/gskroundedrect.c" | |
| 8174 | + | line="98">a `graphene_rect_t` describing the bounds</doc> | |
| 8175 | + | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 8176 | + | </parameter> | |
| 8177 | + | <parameter name="top_left" transfer-ownership="none"> | |
| 8178 | + | <doc xml:space="preserve" | |
| 8179 | + | filename="gsk/gskroundedrect.c" | |
| 8180 | + | line="99">the rounding radius of the top left corner</doc> | |
| 8181 | + | <type name="Graphene.Size" c:type="const graphene_size_t*"/> | |
| 8182 | + | </parameter> | |
| 8183 | + | <parameter name="top_right" transfer-ownership="none"> | |
| 8184 | + | <doc xml:space="preserve" | |
| 8185 | + | filename="gsk/gskroundedrect.c" | |
| 8186 | + | line="100">the rounding radius of the top right corner</doc> | |
| 8187 | + | <type name="Graphene.Size" c:type="const graphene_size_t*"/> | |
| 8188 | + | </parameter> | |
| 8189 | + | <parameter name="bottom_right" transfer-ownership="none"> | |
| 8190 | + | <doc xml:space="preserve" | |
| 8191 | + | filename="gsk/gskroundedrect.c" | |
| 8192 | + | line="101">the rounding radius of the bottom right corner</doc> | |
| 8193 | + | <type name="Graphene.Size" c:type="const graphene_size_t*"/> | |
| 8194 | + | </parameter> | |
| 8195 | + | <parameter name="bottom_left" transfer-ownership="none"> | |
| 8196 | + | <doc xml:space="preserve" | |
| 8197 | + | filename="gsk/gskroundedrect.c" | |
| 8198 | + | line="102">the rounding radius of the bottom left corner</doc> | |
| 8199 | + | <type name="Graphene.Size" c:type="const graphene_size_t*"/> | |
| 8200 | + | </parameter> | |
| 8201 | + | </parameters> | |
| 8202 | + | </method> | |
| 8203 | + | <method name="init_copy" c:identifier="gsk_rounded_rect_init_copy"> | |
| 4126 | 8204 | <doc xml:space="preserve" | |
| 4127 | - | filename="gsk/gskrenderer.c" | |
| 4128 | - | line="617">Creates an appropriate `GskRenderer` instance for the given @surface. | |
| 4129 | - | ||
| 4130 | - | If the `GSK_RENDERER` environment variable is set, GSK will | |
| 4131 | - | try that renderer first, before trying the backend-specific | |
| 4132 | - | default. The ultimate fallback is the cairo renderer. | |
| 8205 | + | filename="gsk/gskroundedrect.c" | |
| 8206 | + | line="130">Initializes a rounded rectangle with a copy. | |
| 4133 | 8207 | ||
| 4134 | - | The renderer will be realized before it is returned.</doc> | |
| 4135 | - | <source-position filename="gsk/gskrenderer.h" line="42"/> | |
| 4136 | - | <return-value transfer-ownership="full" nullable="1"> | |
| 8208 | + | This function will not normalize the rounded rectangle, | |
| 8209 | + | so make sure the source is normalized.</doc> | |
| 8210 | + | <source-position filename="gsk/gskroundedrect.h" line="63"/> | |
| 8211 | + | <return-value transfer-ownership="none"> | |
| 4137 | 8212 | <doc xml:space="preserve" | |
| 4138 | - | filename="gsk/gskrenderer.c" | |
| 4139 | - | line="629">a `GskRenderer`</doc> | |
| 4140 | - | <type name="Renderer" c:type="GskRenderer*"/> | |
| 8213 | + | filename="gsk/gskroundedrect.c" | |
| 8214 | + | line="140">the initialized rounded rectangle</doc> | |
| 8215 | + | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 4141 | 8216 | </return-value> | |
| 4142 | 8217 | <parameters> | |
| 4143 | - | <parameter name="surface" transfer-ownership="none"> | |
| 8218 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 8219 | + | <doc xml:space="preserve" | |
| 8220 | + | filename="gsk/gskroundedrect.c" | |
| 8221 | + | line="132">the rounded rectangle to initialize</doc> | |
| 8222 | + | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 8223 | + | </instance-parameter> | |
| 8224 | + | <parameter name="src" transfer-ownership="none"> | |
| 8225 | + | <doc xml:space="preserve" | |
| 8226 | + | filename="gsk/gskroundedrect.c" | |
| 8227 | + | line="133">another rounded rectangle</doc> | |
| 8228 | + | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 8229 | + | </parameter> | |
| 8230 | + | </parameters> | |
| 8231 | + | </method> | |
| 8232 | + | <method name="init_from_rect" | |
| 8233 | + | c:identifier="gsk_rounded_rect_init_from_rect"> | |
| 8234 | + | <doc xml:space="preserve" | |
| 8235 | + | filename="gsk/gskroundedrect.c" | |
| 8236 | + | line="151">Initializes a rounded rectangle to the given bounds | |
| 8237 | + | and sets the radius of all four corners equally.</doc> | |
| 8238 | + | <source-position filename="gsk/gskroundedrect.h" line="66"/> | |
| 8239 | + | <return-value transfer-ownership="none"> | |
| 8240 | + | <doc xml:space="preserve" | |
| 8241 | + | filename="gsk/gskroundedrect.c" | |
| 8242 | + | line="160">the initialized rounded rectangle</doc> | |
| 8243 | + | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 8244 | + | </return-value> | |
| 8245 | + | <parameters> | |
| 8246 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 8247 | + | <doc xml:space="preserve" | |
| 8248 | + | filename="gsk/gskroundedrect.c" | |
| 8249 | + | line="153">the rounded rectangle to initialize</doc> | |
| 8250 | + | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 8251 | + | </instance-parameter> | |
| 8252 | + | <parameter name="bounds" transfer-ownership="none"> | |
| 4144 | 8253 | <doc xml:space="preserve" | |
| 4145 | - | filename="gsk/gskrenderer.c" | |
| 4146 | - | line="619">a `GdkSurface`</doc> | |
| 4147 | - | <type name="Gdk.Surface" c:type="GdkSurface*"/> | |
| 8254 | + | filename="gsk/gskroundedrect.c" | |
| 8255 | + | line="154">a `graphene_rect_t`</doc> | |
| 8256 | + | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 8257 | + | </parameter> | |
| 8258 | + | <parameter name="radius" transfer-ownership="none"> | |
| 8259 | + | <doc xml:space="preserve" | |
| 8260 | + | filename="gsk/gskroundedrect.c" | |
| 8261 | + | line="155">the border radius</doc> | |
| 8262 | + | <type name="gfloat" c:type="float"/> | |
| 4148 | 8263 | </parameter> | |
| 4149 | 8264 | </parameters> | |
| 4150 | - | </constructor> | |
| 4151 | - | <method name="get_surface" | |
| 4152 | - | c:identifier="gsk_renderer_get_surface" | |
| 4153 | - | glib:get-property="surface"> | |
| 4154 | - | <attribute name="org.gtk.Method.get_property" value="surface"/> | |
| 8265 | + | </method> | |
| 8266 | + | <method name="intersects_rect" | |
| 8267 | + | c:identifier="gsk_rounded_rect_intersects_rect"> | |
| 4155 | 8268 | <doc xml:space="preserve" | |
| 4156 | - | filename="gsk/gskrenderer.c" | |
| 4157 | - | line="221">Retrieves the `GdkSurface` set using gsk_enderer_realize(). | |
| 4158 | - | ||
| 4159 | - | If the renderer has not been realized yet, %NULL will be returned.</doc> | |
| 4160 | - | <source-position filename="gsk/gskrenderer.h" line="45"/> | |
| 4161 | - | <return-value transfer-ownership="none" nullable="1"> | |
| 8269 | + | filename="gsk/gskroundedrect.c" | |
| 8270 | + | line="556">Checks if part a rectangle is contained | |
| 8271 | + | inside the rounded rectangle.</doc> | |
| 8272 | + | <source-position filename="gsk/gskroundedrect.h" line="93"/> | |
| 8273 | + | <return-value transfer-ownership="none"> | |
| 4162 | 8274 | <doc xml:space="preserve" | |
| 4163 | - | filename="gsk/gskrenderer.c" | |
| 4164 | - | line="229">a `GdkSurface`</doc> | |
| 4165 | - | <type name="Gdk.Surface" c:type="GdkSurface*"/> | |
| 8275 | + | filename="gsk/gskroundedrect.c" | |
| 8276 | + | line="564">true if the @rect intersects with the rounded rectangle</doc> | |
| 8277 | + | <type name="gboolean" c:type="gboolean"/> | |
| 4166 | 8278 | </return-value> | |
| 4167 | 8279 | <parameters> | |
| 4168 | - | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 8280 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 4169 | 8281 | <doc xml:space="preserve" | |
| 4170 | - | filename="gsk/gskrenderer.c" | |
| 4171 | - | line="223">a `GskRenderer`</doc> | |
| 4172 | - | <type name="Renderer" c:type="GskRenderer*"/> | |
| 8282 | + | filename="gsk/gskroundedrect.c" | |
| 8283 | + | line="558">a rounded rectangle</doc> | |
| 8284 | + | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 4173 | 8285 | </instance-parameter> | |
| 8286 | + | <parameter name="rect" transfer-ownership="none"> | |
| 8287 | + | <doc xml:space="preserve" | |
| 8288 | + | filename="gsk/gskroundedrect.c" | |
| 8289 | + | line="559">the rectangle to check</doc> | |
| 8290 | + | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 8291 | + | </parameter> | |
| 4174 | 8292 | </parameters> | |
| 4175 | 8293 | </method> | |
| 4176 | - | <method name="is_realized" c:identifier="gsk_renderer_is_realized"> | |
| 4177 | - | <attribute name="org.gtk.Method.get_property" value="realized"/> | |
| 8294 | + | <method name="is_rectilinear" | |
| 8295 | + | c:identifier="gsk_rounded_rect_is_rectilinear"> | |
| 4178 | 8296 | <doc xml:space="preserve" | |
| 4179 | - | filename="gsk/gskrenderer.c" | |
| 4180 | - | line="259">Checks whether the @renderer is realized or not.</doc> | |
| 4181 | - | <source-position filename="gsk/gskrenderer.h" line="54"/> | |
| 8297 | + | filename="gsk/gskroundedrect.c" | |
| 8298 | + | line="395">Checks if all corners of a rounded rectangle are right angles | |
| 8299 | + | and the rectangle covers all of its bounds. | |
| 8300 | + | ||
| 8301 | + | This information can be used to decide if [ctor@Gsk.ClipNode.new] | |
| 8302 | + | or [ctor@Gsk.RoundedClipNode.new] should be called.</doc> | |
| 8303 | + | <source-position filename="gsk/gskroundedrect.h" line="85"/> | |
| 4182 | 8304 | <return-value transfer-ownership="none"> | |
| 4183 | 8305 | <doc xml:space="preserve" | |
| 4184 | - | filename="gsk/gskrenderer.c" | |
| 4185 | - | line="265">%TRUE if the `GskRenderer` was realized, and %FALSE otherwise</doc> | |
| 8306 | + | filename="gsk/gskroundedrect.c" | |
| 8307 | + | line="405">true if the rounded rectangle is rectilinear</doc> | |
| 4186 | 8308 | <type name="gboolean" c:type="gboolean"/> | |
| 4187 | 8309 | </return-value> | |
| 4188 | 8310 | <parameters> | |
| 4189 | - | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 8311 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 4190 | 8312 | <doc xml:space="preserve" | |
| 4191 | - | filename="gsk/gskrenderer.c" | |
| 4192 | - | line="261">a `GskRenderer`</doc> | |
| 4193 | - | <type name="Renderer" c:type="GskRenderer*"/> | |
| 8313 | + | filename="gsk/gskroundedrect.c" | |
| 8314 | + | line="397">the rounded rectangle to check</doc> | |
| 8315 | + | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 4194 | 8316 | </instance-parameter> | |
| 4195 | 8317 | </parameters> | |
| 4196 | 8318 | </method> | |
| 4197 | - | <method name="realize" c:identifier="gsk_renderer_realize" throws="1"> | |
| 8319 | + | <method name="normalize" c:identifier="gsk_rounded_rect_normalize"> | |
| 4198 | 8320 | <doc xml:space="preserve" | |
| 4199 | - | filename="gsk/gskrenderer.c" | |
| 4200 | - | line="277">Creates the resources needed by the @renderer to render the scene | |
| 4201 | - | graph. | |
| 4202 | - | ||
| 4203 | - | Since GTK 4.6, the surface may be `NULL`, which allows using | |
| 4204 | - | renderers without having to create a surface. | |
| 8321 | + | filename="gsk/gskroundedrect.c" | |
| 8322 | + | line="172">Normalizes a rounded rectangle. | |
| 4205 | 8323 | ||
| 4206 | - | Note that it is mandatory to call [method@Gsk.Renderer.unrealize] before | |
| 4207 | - | destroying the renderer.</doc> | |
| 4208 | - | <source-position filename="gsk/gskrenderer.h" line="48"/> | |
| 8324 | + | This function will ensure that the bounds of the rounded rectangle | |
| 8325 | + | are normalized and ensure that the corner values are positive | |
| 8326 | + | and the corners do not overlap.</doc> | |
| 8327 | + | <source-position filename="gsk/gskroundedrect.h" line="71"/> | |
| 4209 | 8328 | <return-value transfer-ownership="none"> | |
| 4210 | 8329 | <doc xml:space="preserve" | |
| 4211 | - | filename="gsk/gskrenderer.c" | |
| 4212 | - | line="292">Whether the renderer was successfully realized</doc> | |
| 4213 | - | <type name="gboolean" c:type="gboolean"/> | |
| 8330 | + | filename="gsk/gskroundedrect.c" | |
| 8331 | + | line="182">the normalized rounded rectangle</doc> | |
| 8332 | + | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 4214 | 8333 | </return-value> | |
| 4215 | 8334 | <parameters> | |
| 4216 | - | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 8335 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 4217 | 8336 | <doc xml:space="preserve" | |
| 4218 | - | filename="gsk/gskrenderer.c" | |
| 4219 | - | line="279">a `GskRenderer`</doc> | |
| 4220 | - | <type name="Renderer" c:type="GskRenderer*"/> | |
| 8337 | + | filename="gsk/gskroundedrect.c" | |
| 8338 | + | line="174">a rounded rectangle</doc> | |
| 8339 | + | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 4221 | 8340 | </instance-parameter> | |
| 4222 | - | <parameter name="surface" | |
| 4223 | - | transfer-ownership="none" | |
| 4224 | - | nullable="1" | |
| 4225 | - | allow-none="1"> | |
| 4226 | - | <doc xml:space="preserve" | |
| 4227 | - | filename="gsk/gskrenderer.c" | |
| 4228 | - | line="280">the `GdkSurface` renderer will be used on</doc> | |
| 4229 | - | <type name="Gdk.Surface" c:type="GdkSurface*"/> | |
| 4230 | - | </parameter> | |
| 4231 | 8341 | </parameters> | |
| 4232 | 8342 | </method> | |
| 4233 | - | <method name="render" c:identifier="gsk_renderer_render"> | |
| 8343 | + | <method name="offset" c:identifier="gsk_rounded_rect_offset"> | |
| 4234 | 8344 | <doc xml:space="preserve" | |
| 4235 | - | filename="gsk/gskrenderer.c" | |
| 4236 | - | line="405">Renders the scene graph, described by a tree of `GskRenderNode` instances | |
| 4237 | - | to the renderer's surface, ensuring that the given @region gets redrawn. | |
| 4238 | - | ||
| 4239 | - | If the renderer has no associated surface, this function does nothing. | |
| 4240 | - | ||
| 4241 | - | Renderers must ensure that changes of the contents given by the @root | |
| 4242 | - | node as well as the area given by @region are redrawn. They are however | |
| 4243 | - | free to not redraw any pixel outside of @region if they can guarantee that | |
| 4244 | - | it didn't change. | |
| 8345 | + | filename="gsk/gskroundedrect.c" | |
| 8346 | + | line="192">Offsets the rounded rectangle's origin by @dx and @dy. | |
| 4245 | 8347 | ||
| 4246 | - | The @renderer will acquire a reference on the `GskRenderNode` tree while | |
| 4247 | - | the rendering is in progress.</doc> | |
| 4248 | - | <source-position filename="gsk/gskrenderer.h" line="62"/> | |
| 8348 | + | The size and corners of the rounded rectangle are unchanged.</doc> | |
| 8349 | + | <source-position filename="gsk/gskroundedrect.h" line="74"/> | |
| 4249 | 8350 | <return-value transfer-ownership="none"> | |
| 4250 | - | <type name="none" c:type="void"/> | |
| 8351 | + | <doc xml:space="preserve" | |
| 8352 | + | filename="gsk/gskroundedrect.c" | |
| 8353 | + | line="202">the offset rounded rectangle</doc> | |
| 8354 | + | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 4251 | 8355 | </return-value> | |
| 4252 | 8356 | <parameters> | |
| 4253 | - | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 8357 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 4254 | 8358 | <doc xml:space="preserve" | |
| 4255 | - | filename="gsk/gskrenderer.c" | |
| 4256 | - | line="407">a realized `GskRenderer`</doc> | |
| 4257 | - | <type name="Renderer" c:type="GskRenderer*"/> | |
| 8359 | + | filename="gsk/gskroundedrect.c" | |
| 8360 | + | line="194">a rounded rectangle</doc> | |
| 8361 | + | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 4258 | 8362 | </instance-parameter> | |
| 4259 | - | <parameter name="root" transfer-ownership="none"> | |
| 8363 | + | <parameter name="dx" transfer-ownership="none"> | |
| 4260 | 8364 | <doc xml:space="preserve" | |
| 4261 | - | filename="gsk/gskrenderer.c" | |
| 4262 | - | line="408">a `GskRenderNode`</doc> | |
| 4263 | - | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 8365 | + | filename="gsk/gskroundedrect.c" | |
| 8366 | + | line="195">the horizontal offset</doc> | |
| 8367 | + | <type name="gfloat" c:type="float"/> | |
| 4264 | 8368 | </parameter> | |
| 4265 | - | <parameter name="region" | |
| 4266 | - | transfer-ownership="none" | |
| 4267 | - | nullable="1" | |
| 4268 | - | allow-none="1"> | |
| 8369 | + | <parameter name="dy" transfer-ownership="none"> | |
| 4269 | 8370 | <doc xml:space="preserve" | |
| 4270 | - | filename="gsk/gskrenderer.c" | |
| 4271 | - | line="409">the `cairo_region_t` that must be redrawn or %NULL | |
| 4272 | - | for the whole window</doc> | |
| 4273 | - | <type name="cairo.Region" c:type="const cairo_region_t*"/> | |
| 8371 | + | filename="gsk/gskroundedrect.c" | |
| 8372 | + | line="196">the vertical offset</doc> | |
| 8373 | + | <type name="gfloat" c:type="float"/> | |
| 4274 | 8374 | </parameter> | |
| 4275 | 8375 | </parameters> | |
| 4276 | 8376 | </method> | |
| 4277 | - | <method name="render_texture" c:identifier="gsk_renderer_render_texture"> | |
| 8377 | + | <method name="shrink" c:identifier="gsk_rounded_rect_shrink"> | |
| 4278 | 8378 | <doc xml:space="preserve" | |
| 4279 | - | filename="gsk/gskrenderer.c" | |
| 4280 | - | line="342">Renders the scene graph, described by a tree of `GskRenderNode` instances, | |
| 4281 | - | to a `GdkTexture`. | |
| 8379 | + | filename="gsk/gskroundedrect.c" | |
| 8380 | + | line="240">Shrinks (or grows) a rounded rectangle by moving the 4 sides | |
| 8381 | + | according to the offsets given. | |
| 4282 | 8382 | ||
| 4283 | - | The @renderer will acquire a reference on the `GskRenderNode` tree while | |
| 4284 | - | the rendering is in progress. | |
| 8383 | + | The corner radii will be changed in a way that tries to keep | |
| 8384 | + | the center of the corner circle intact. This emulates CSS behavior. | |
| 4285 | 8385 | ||
| 4286 | - | If you want to apply any transformations to @root, you should put it into a | |
| 4287 | - | transform node and pass that node instead.</doc> | |
| 4288 | - | <source-position filename="gsk/gskrenderer.h" line="57"/> | |
| 4289 | - | <return-value transfer-ownership="full"> | |
| 8386 | + | This function also works for growing rounded rectangles | |
| 8387 | + | if you pass negative values for the @top, @right, @bottom or @left.</doc> | |
| 8388 | + | <source-position filename="gsk/gskroundedrect.h" line="78"/> | |
| 8389 | + | <return-value transfer-ownership="none"> | |
| 4290 | 8390 | <doc xml:space="preserve" | |
| 4291 | - | filename="gsk/gskrenderer.c" | |
| 4292 | - | line="357">a `GdkTexture` with the rendered contents of @root.</doc> | |
| 4293 | - | <type name="Gdk.Texture" c:type="GdkTexture*"/> | |
| 8391 | + | filename="gsk/gskroundedrect.c" | |
| 8392 | + | line="257">the resized rounded rectangle</doc> | |
| 8393 | + | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 4294 | 8394 | </return-value> | |
| 4295 | 8395 | <parameters> | |
| 4296 | - | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 8396 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 4297 | 8397 | <doc xml:space="preserve" | |
| 4298 | - | filename="gsk/gskrenderer.c" | |
| 4299 | - | line="344">a realized `GskRenderer`</doc> | |
| 4300 | - | <type name="Renderer" c:type="GskRenderer*"/> | |
| 8398 | + | filename="gsk/gskroundedrect.c" | |
| 8399 | + | line="242">the rounded rectangle to shrink or grow</doc> | |
| 8400 | + | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 4301 | 8401 | </instance-parameter> | |
| 4302 | - | <parameter name="root" transfer-ownership="none"> | |
| 8402 | + | <parameter name="top" transfer-ownership="none"> | |
| 4303 | 8403 | <doc xml:space="preserve" | |
| 4304 | - | filename="gsk/gskrenderer.c" | |
| 4305 | - | line="345">a `GskRenderNode`</doc> | |
| 4306 | - | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 8404 | + | filename="gsk/gskroundedrect.c" | |
| 8405 | + | line="243">how far to move the top side downwards</doc> | |
| 8406 | + | <type name="gfloat" c:type="float"/> | |
| 4307 | 8407 | </parameter> | |
| 4308 | - | <parameter name="viewport" | |
| 4309 | - | transfer-ownership="none" | |
| 4310 | - | nullable="1" | |
| 4311 | - | allow-none="1"> | |
| 8408 | + | <parameter name="right" transfer-ownership="none"> | |
| 4312 | 8409 | <doc xml:space="preserve" | |
| 4313 | - | filename="gsk/gskrenderer.c" | |
| 4314 | - | line="346">the section to draw or %NULL to use @root's bounds</doc> | |
| 4315 | - | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 8410 | + | filename="gsk/gskroundedrect.c" | |
| 8411 | + | line="244">how far to move the right side to the left</doc> | |
| 8412 | + | <type name="gfloat" c:type="float"/> | |
| 4316 | 8413 | </parameter> | |
| 4317 | - | </parameters> | |
| 4318 | - | </method> | |
| 4319 | - | <method name="unrealize" c:identifier="gsk_renderer_unrealize"> | |
| 4320 | - | <doc xml:space="preserve" | |
| 4321 | - | filename="gsk/gskrenderer.c" | |
| 4322 | - | line="319">Releases all the resources created by gsk_renderer_realize().</doc> | |
| 4323 | - | <source-position filename="gsk/gskrenderer.h" line="52"/> | |
| 4324 | - | <return-value transfer-ownership="none"> | |
| 4325 | - | <type name="none" c:type="void"/> | |
| 4326 | - | </return-value> | |
| 4327 | - | <parameters> | |
| 4328 | - | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 8414 | + | <parameter name="bottom" transfer-ownership="none"> | |
| 4329 | 8415 | <doc xml:space="preserve" | |
| 4330 | - | filename="gsk/gskrenderer.c" | |
| 4331 | - | line="321">a `GskRenderer`</doc> | |
| 4332 | - | <type name="Renderer" c:type="GskRenderer*"/> | |
| 4333 | - | </instance-parameter> | |
| 8416 | + | filename="gsk/gskroundedrect.c" | |
| 8417 | + | line="245">how far to move the bottom side upwards</doc> | |
| 8418 | + | <type name="gfloat" c:type="float"/> | |
| 8419 | + | </parameter> | |
| 8420 | + | <parameter name="left" transfer-ownership="none"> | |
| 8421 | + | <doc xml:space="preserve" | |
| 8422 | + | filename="gsk/gskroundedrect.c" | |
| 8423 | + | line="246">how far to move the left side to the right</doc> | |
| 8424 | + | <type name="gfloat" c:type="float"/> | |
| 8425 | + | </parameter> | |
| 4334 | 8426 | </parameters> | |
| 4335 | 8427 | </method> | |
| 4336 | - | <property name="realized" transfer-ownership="none"> | |
| 4337 | - | <attribute name="org.gtk.Property.get" | |
| 4338 | - | value="gsk_renderer_is_realized"/> | |
| 8428 | + | </record> | |
| 8429 | + | <enumeration name="ScalingFilter" | |
| 8430 | + | glib:type-name="GskScalingFilter" | |
| 8431 | + | glib:get-type="gsk_scaling_filter_get_type" | |
| 8432 | + | c:type="GskScalingFilter"> | |
| 8433 | + | <doc xml:space="preserve" | |
| 8434 | + | filename="gsk/gskenums.h" | |
| 8435 | + | line="130">The filters used when scaling texture data. | |
| 8436 | + | ||
| 8437 | + | The actual implementation of each filter is deferred to the | |
| 8438 | + | rendering pipeline.</doc> | |
| 8439 | + | <member name="linear" | |
| 8440 | + | value="0" | |
| 8441 | + | c:identifier="GSK_SCALING_FILTER_LINEAR" | |
| 8442 | + | glib:nick="linear" | |
| 8443 | + | glib:name="GSK_SCALING_FILTER_LINEAR"> | |
| 4339 | 8444 | <doc xml:space="preserve" | |
| 4340 | - | filename="gsk/gskrenderer.c" | |
| 4341 | - | line="189">Whether the renderer has been associated with a surface or draw context.</doc> | |
| 4342 | - | <type name="gboolean" c:type="gboolean"/> | |
| 4343 | - | </property> | |
| 4344 | - | <property name="surface" transfer-ownership="none" getter="get_surface"> | |
| 4345 | - | <attribute name="org.gtk.Property.get" | |
| 4346 | - | value="gsk_renderer_get_surface"/> | |
| 8445 | + | filename="gsk/gskenums.h" | |
| 8446 | + | line="132">linear interpolation filter</doc> | |
| 8447 | + | </member> | |
| 8448 | + | <member name="nearest" | |
| 8449 | + | value="1" | |
| 8450 | + | c:identifier="GSK_SCALING_FILTER_NEAREST" | |
| 8451 | + | glib:nick="nearest" | |
| 8452 | + | glib:name="GSK_SCALING_FILTER_NEAREST"> | |
| 4347 | 8453 | <doc xml:space="preserve" | |
| 4348 | - | filename="gsk/gskrenderer.c" | |
| 4349 | - | line="199">The surface associated with renderer.</doc> | |
| 4350 | - | <type name="Gdk.Surface"/> | |
| 4351 | - | </property> | |
| 4352 | - | </class> | |
| 4353 | - | <record name="RendererClass" | |
| 4354 | - | c:type="GskRendererClass" | |
| 4355 | - | disguised="1" | |
| 4356 | - | glib:is-gtype-struct-for="Renderer"> | |
| 4357 | - | <source-position filename="gsk/gskrenderer.h" line="36"/> | |
| 4358 | - | </record> | |
| 4359 | - | <class name="RepeatNode" | |
| 4360 | - | c:symbol-prefix="repeat_node" | |
| 4361 | - | c:type="GskRepeatNode" | |
| 4362 | - | parent="RenderNode" | |
| 4363 | - | glib:type-name="GskRepeatNode" | |
| 4364 | - | glib:get-type="gsk_repeat_node_get_type" | |
| 4365 | - | glib:fundamental="1"> | |
| 8454 | + | filename="gsk/gskenums.h" | |
| 8455 | + | line="133">nearest neighbor interpolation filter</doc> | |
| 8456 | + | </member> | |
| 8457 | + | <member name="trilinear" | |
| 8458 | + | value="2" | |
| 8459 | + | c:identifier="GSK_SCALING_FILTER_TRILINEAR" | |
| 8460 | + | glib:nick="trilinear" | |
| 8461 | + | glib:name="GSK_SCALING_FILTER_TRILINEAR"> | |
| 8462 | + | <doc xml:space="preserve" | |
| 8463 | + | filename="gsk/gskenums.h" | |
| 8464 | + | line="134">linear interpolation along each axis, | |
| 8465 | + | plus mipmap generation, with linear interpolation along the mipmap | |
| 8466 | + | levels</doc> | |
| 8467 | + | </member> | |
| 8468 | + | </enumeration> | |
| 8469 | + | <enumeration name="SerializationError" | |
| 8470 | + | glib:type-name="GskSerializationError" | |
| 8471 | + | glib:get-type="gsk_serialization_error_get_type" | |
| 8472 | + | c:type="GskSerializationError" | |
| 8473 | + | glib:error-domain="gsk-serialization-error-quark"> | |
| 8474 | + | <doc xml:space="preserve" | |
| 8475 | + | filename="gsk/gskenums.h" | |
| 8476 | + | line="372">Errors that can happen during (de)serialization.</doc> | |
| 8477 | + | <member name="unsupported_format" | |
| 8478 | + | value="0" | |
| 8479 | + | c:identifier="GSK_SERIALIZATION_UNSUPPORTED_FORMAT" | |
| 8480 | + | glib:nick="unsupported-format" | |
| 8481 | + | glib:name="GSK_SERIALIZATION_UNSUPPORTED_FORMAT"> | |
| 8482 | + | <doc xml:space="preserve" | |
| 8483 | + | filename="gsk/gskenums.h" | |
| 8484 | + | line="374">The format can not be identified</doc> | |
| 8485 | + | </member> | |
| 8486 | + | <member name="unsupported_version" | |
| 8487 | + | value="1" | |
| 8488 | + | c:identifier="GSK_SERIALIZATION_UNSUPPORTED_VERSION" | |
| 8489 | + | glib:nick="unsupported-version" | |
| 8490 | + | glib:name="GSK_SERIALIZATION_UNSUPPORTED_VERSION"> | |
| 8491 | + | <doc xml:space="preserve" | |
| 8492 | + | filename="gsk/gskenums.h" | |
| 8493 | + | line="375">The version of the data is not | |
| 8494 | + | understood</doc> | |
| 8495 | + | </member> | |
| 8496 | + | <member name="invalid_data" | |
| 8497 | + | value="2" | |
| 8498 | + | c:identifier="GSK_SERIALIZATION_INVALID_DATA" | |
| 8499 | + | glib:nick="invalid-data" | |
| 8500 | + | glib:name="GSK_SERIALIZATION_INVALID_DATA"> | |
| 8501 | + | <doc xml:space="preserve" | |
| 8502 | + | filename="gsk/gskenums.h" | |
| 8503 | + | line="377">The given data may not exist in | |
| 8504 | + | a proper serialization</doc> | |
| 8505 | + | </member> | |
| 8506 | + | <function name="quark" c:identifier="gsk_serialization_error_quark"> | |
| 8507 | + | <doc xml:space="preserve" | |
| 8508 | + | filename="gsk/gskrendernode.c" | |
| 8509 | + | line="53">Registers an error quark for [class@Gsk.RenderNode] errors.</doc> | |
| 8510 | + | <return-value transfer-ownership="none"> | |
| 8511 | + | <doc xml:space="preserve" | |
| 8512 | + | filename="gsk/gskrendernode.c" | |
| 8513 | + | line="58">the error quark</doc> | |
| 8514 | + | <type name="GLib.Quark" c:type="GQuark"/> | |
| 8515 | + | </return-value> | |
| 8516 | + | </function> | |
| 8517 | + | </enumeration> | |
| 8518 | + | <record name="ShaderArgsBuilder" | |
| 8519 | + | c:type="GskShaderArgsBuilder" | |
| 8520 | + | opaque="1" | |
| 8521 | + | deprecated="1" | |
| 8522 | + | deprecated-version="4.16" | |
| 8523 | + | glib:type-name="GskShaderArgsBuilder" | |
| 8524 | + | glib:get-type="gsk_shader_args_builder_get_type" | |
| 8525 | + | c:symbol-prefix="shader_args_builder"> | |
| 4366 | 8526 | <doc xml:space="preserve" | |
| 4367 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4368 | - | line="3411">A render node repeating its single child node.</doc> | |
| 4369 | - | <constructor name="new" c:identifier="gsk_repeat_node_new"> | |
| 8527 | + | filename="gsk/gskglshader.h" | |
| 8528 | + | line="36">Builds the uniforms data for a `GskGLShader`.</doc> | |
| 8529 | + | <source-position filename="gsk/gskglshader.h" line="44"/> | |
| 8530 | + | <constructor name="new" | |
| 8531 | + | c:identifier="gsk_shader_args_builder_new" | |
| 8532 | + | deprecated="1" | |
| 8533 | + | deprecated-version="4.16"> | |
| 4370 | 8534 | <doc xml:space="preserve" | |
| 4371 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4372 | - | line="3472">Creates a `GskRenderNode` that will repeat the drawing of @child across | |
| 4373 | - | the given @bounds.</doc> | |
| 4374 | - | <source-position filename="gsk/gskrendernode.h" line="420"/> | |
| 8535 | + | filename="gsk/gskglshader.c" | |
| 8536 | + | line="1189">Allocates a builder that can be used to construct a new uniform data | |
| 8537 | + | chunk.</doc> | |
| 8538 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 8539 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 8540 | + | for OpenGL rendering.</doc-deprecated> | |
| 8541 | + | <source-position filename="gsk/gskglshader.h" line="128"/> | |
| 4375 | 8542 | <return-value transfer-ownership="full"> | |
| 4376 | 8543 | <doc xml:space="preserve" | |
| 4377 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4378 | - | line="3482">A new `GskRenderNode`</doc> | |
| 4379 | - | <type name="RepeatNode" c:type="GskRenderNode*"/> | |
| 8544 | + | filename="gsk/gskglshader.c" | |
| 8545 | + | line="1197">The newly allocated builder, free with | |
| 8546 | + | [method@Gsk.ShaderArgsBuilder.unref]</doc> | |
| 8547 | + | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 4380 | 8548 | </return-value> | |
| 4381 | 8549 | <parameters> | |
| 4382 | - | <parameter name="bounds" transfer-ownership="none"> | |
| 4383 | - | <doc xml:space="preserve" | |
| 4384 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4385 | - | line="3474">The bounds of the area to be painted</doc> | |
| 4386 | - | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 4387 | - | </parameter> | |
| 4388 | - | <parameter name="child" transfer-ownership="none"> | |
| 8550 | + | <parameter name="shader" transfer-ownership="none"> | |
| 4389 | 8551 | <doc xml:space="preserve" | |
| 4390 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4391 | - | line="3475">The child to repeat</doc> | |
| 4392 | - | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 8552 | + | filename="gsk/gskglshader.c" | |
| 8553 | + | line="1191">a `GskGLShader`</doc> | |
| 8554 | + | <type name="GLShader" c:type="GskGLShader*"/> | |
| 4393 | 8555 | </parameter> | |
| 4394 | - | <parameter name="child_bounds" | |
| 8556 | + | <parameter name="initial_values" | |
| 4395 | 8557 | transfer-ownership="none" | |
| 4396 | 8558 | nullable="1" | |
| 4397 | 8559 | allow-none="1"> | |
| 4398 | 8560 | <doc xml:space="preserve" | |
| 4399 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4400 | - | line="3476">The area of the child to repeat or %NULL to | |
| 4401 | - | use the child's bounds</doc> | |
| 4402 | - | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 8561 | + | filename="gsk/gskglshader.c" | |
| 8562 | + | line="1192">optional `GBytes` with initial values</doc> | |
| 8563 | + | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 4403 | 8564 | </parameter> | |
| 4404 | 8565 | </parameters> | |
| 4405 | 8566 | </constructor> | |
| 4406 | - | <method name="get_child" c:identifier="gsk_repeat_node_get_child"> | |
| 8567 | + | <method name="free_to_args" | |
| 8568 | + | c:identifier="gsk_shader_args_builder_free_to_args" | |
| 8569 | + | introspectable="0" | |
| 8570 | + | deprecated="1" | |
| 8571 | + | deprecated-version="4.16"> | |
| 4407 | 8572 | <doc xml:space="preserve" | |
| 4408 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4409 | - | line="3513">Retrieves the child of @node.</doc> | |
| 4410 | - | <source-position filename="gsk/gskrendernode.h" line="424"/> | |
| 4411 | - | <return-value transfer-ownership="none"> | |
| 8573 | + | filename="gsk/gskglshader.c" | |
| 8574 | + | line="1255">Creates a new `GBytes` args from the current state of the | |
| 8575 | + | given @builder, and frees the @builder instance. | |
| 8576 | + | ||
| 8577 | + | Any uniforms of the shader that have not been explicitly set | |
| 8578 | + | on the @builder are zero-initialized.</doc> | |
| 8579 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 8580 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 8581 | + | for OpenGL rendering.</doc-deprecated> | |
| 8582 | + | <source-position filename="gsk/gskglshader.h" line="133"/> | |
| 8583 | + | <return-value transfer-ownership="full"> | |
| 4412 | 8584 | <doc xml:space="preserve" | |
| 4413 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4414 | - | line="3519">a `GskRenderNode`</doc> | |
| 4415 | - | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 8585 | + | filename="gsk/gskglshader.c" | |
| 8586 | + | line="1265">the newly allocated buffer with | |
| 8587 | + | all the args added to @builder</doc> | |
| 8588 | + | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 4416 | 8589 | </return-value> | |
| 4417 | 8590 | <parameters> | |
| 4418 | - | <instance-parameter name="node" transfer-ownership="none"> | |
| 8591 | + | <instance-parameter name="builder" transfer-ownership="none"> | |
| 4419 | 8592 | <doc xml:space="preserve" | |
| 4420 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4421 | - | line="3515">a repeat `GskRenderNode`</doc> | |
| 4422 | - | <type name="RepeatNode" c:type="const GskRenderNode*"/> | |
| 8593 | + | filename="gsk/gskglshader.c" | |
| 8594 | + | line="1257">a `GskShaderArgsBuilder`</doc> | |
| 8595 | + | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 4423 | 8596 | </instance-parameter> | |
| 4424 | 8597 | </parameters> | |
| 4425 | 8598 | </method> | |
| 4426 | - | <method name="get_child_bounds" | |
| 4427 | - | c:identifier="gsk_repeat_node_get_child_bounds"> | |
| 8599 | + | <method name="ref" | |
| 8600 | + | c:identifier="gsk_shader_args_builder_ref" | |
| 8601 | + | deprecated="1" | |
| 8602 | + | deprecated-version="4.16"> | |
| 4428 | 8603 | <doc xml:space="preserve" | |
| 4429 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4430 | - | line="3529">Retrieves the bounding rectangle of the child of @node.</doc> | |
| 4431 | - | <source-position filename="gsk/gskrendernode.h" line="426"/> | |
| 4432 | - | <return-value transfer-ownership="none"> | |
| 8604 | + | filename="gsk/gskglshader.c" | |
| 8605 | + | line="1315">Increases the reference count of a `GskShaderArgsBuilder` by one.</doc> | |
| 8606 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 8607 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 8608 | + | for OpenGL rendering.</doc-deprecated> | |
| 8609 | + | <source-position filename="gsk/gskglshader.h" line="135"/> | |
| 8610 | + | <return-value transfer-ownership="full"> | |
| 4433 | 8611 | <doc xml:space="preserve" | |
| 4434 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4435 | - | line="3535">a bounding rectangle</doc> | |
| 4436 | - | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 8612 | + | filename="gsk/gskglshader.c" | |
| 8613 | + | line="1321">the passed in `GskShaderArgsBuilder`</doc> | |
| 8614 | + | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 4437 | 8615 | </return-value> | |
| 4438 | 8616 | <parameters> | |
| 4439 | - | <instance-parameter name="node" transfer-ownership="none"> | |
| 8617 | + | <instance-parameter name="builder" transfer-ownership="none"> | |
| 4440 | 8618 | <doc xml:space="preserve" | |
| 4441 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4442 | - | line="3531">a repeat `GskRenderNode`</doc> | |
| 4443 | - | <type name="RepeatNode" c:type="const GskRenderNode*"/> | |
| 8619 | + | filename="gsk/gskglshader.c" | |
| 8620 | + | line="1317">a `GskShaderArgsBuilder`</doc> | |
| 8621 | + | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 4444 | 8622 | </instance-parameter> | |
| 4445 | 8623 | </parameters> | |
| 4446 | 8624 | </method> | |
| 4447 | - | </class> | |
| 4448 | - | <class name="RepeatingLinearGradientNode" | |
| 4449 | - | c:symbol-prefix="repeating_linear_gradient_node" | |
| 4450 | - | c:type="GskRepeatingLinearGradientNode" | |
| 4451 | - | parent="RenderNode" | |
| 4452 | - | glib:type-name="GskRepeatingLinearGradientNode" | |
| 4453 | - | glib:get-type="gsk_repeating_linear_gradient_node_get_type" | |
| 4454 | - | glib:fundamental="1"> | |
| 4455 | - | <doc xml:space="preserve" | |
| 4456 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4457 | - | line="152">A render node for a repeating linear gradient.</doc> | |
| 4458 | - | <constructor name="new" | |
| 4459 | - | c:identifier="gsk_repeating_linear_gradient_node_new"> | |
| 8625 | + | <method name="set_bool" | |
| 8626 | + | c:identifier="gsk_shader_args_builder_set_bool" | |
| 8627 | + | deprecated="1" | |
| 8628 | + | deprecated-version="4.16"> | |
| 4460 | 8629 | <doc xml:space="preserve" | |
| 4461 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4462 | - | line="301">Creates a `GskRenderNode` that will create a repeating linear gradient | |
| 4463 | - | from the given points and color stops, and render that into the area | |
| 4464 | - | given by @bounds.</doc> | |
| 4465 | - | <source-position filename="gsk/gskrendernode.h" line="241"/> | |
| 4466 | - | <return-value transfer-ownership="full"> | |
| 4467 | - | <doc xml:space="preserve" | |
| 4468 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4469 | - | line="316">A new `GskRenderNode`</doc> | |
| 4470 | - | <type name="RepeatingLinearGradientNode" c:type="GskRenderNode*"/> | |
| 8630 | + | filename="gsk/gskglshader.c" | |
| 8631 | + | line="1428">Sets the value of the uniform @idx. | |
| 8632 | + | ||
| 8633 | + | The uniform must be of bool type.</doc> | |
| 8634 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 8635 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 8636 | + | for OpenGL rendering.</doc-deprecated> | |
| 8637 | + | <source-position filename="gsk/gskglshader.h" line="152"/> | |
| 8638 | + | <return-value transfer-ownership="none"> | |
| 8639 | + | <type name="none" c:type="void"/> | |
| 4471 | 8640 | </return-value> | |
| 4472 | 8641 | <parameters> | |
| 4473 | - | <parameter name="bounds" transfer-ownership="none"> | |
| 4474 | - | <doc xml:space="preserve" | |
| 4475 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4476 | - | line="303">the rectangle to render the linear gradient into</doc> | |
| 4477 | - | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 4478 | - | </parameter> | |
| 4479 | - | <parameter name="start" transfer-ownership="none"> | |
| 4480 | - | <doc xml:space="preserve" | |
| 4481 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4482 | - | line="304">the point at which the linear gradient will begin</doc> | |
| 4483 | - | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 4484 | - | </parameter> | |
| 4485 | - | <parameter name="end" transfer-ownership="none"> | |
| 8642 | + | <instance-parameter name="builder" transfer-ownership="none"> | |
| 4486 | 8643 | <doc xml:space="preserve" | |
| 4487 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4488 | - | line="305">the point at which the linear gradient will finish</doc> | |
| 4489 | - | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 4490 | - | </parameter> | |
| 4491 | - | <parameter name="color_stops" transfer-ownership="none"> | |
| 8644 | + | filename="gsk/gskglshader.c" | |
| 8645 | + | line="1430">a `GskShaderArgsBuilder`</doc> | |
| 8646 | + | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 8647 | + | </instance-parameter> | |
| 8648 | + | <parameter name="idx" transfer-ownership="none"> | |
| 4492 | 8649 | <doc xml:space="preserve" | |
| 4493 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4494 | - | line="306">a pointer to an array of | |
| 4495 | - | `GskColorStop` defining the gradient. The offsets of all color stops | |
| 4496 | - | must be increasing. The first stop's offset must be >= 0 and the last | |
| 4497 | - | stop's offset must be <= 1.</doc> | |
| 4498 | - | <array length="4" zero-terminated="0" c:type="const GskColorStop*"> | |
| 4499 | - | <type name="ColorStop" c:type="GskColorStop"/> | |
| 4500 | - | </array> | |
| 8650 | + | filename="gsk/gskglshader.c" | |
| 8651 | + | line="1431">index of the uniform</doc> | |
| 8652 | + | <type name="gint" c:type="int"/> | |
| 4501 | 8653 | </parameter> | |
| 4502 | - | <parameter name="n_color_stops" transfer-ownership="none"> | |
| 8654 | + | <parameter name="value" transfer-ownership="none"> | |
| 4503 | 8655 | <doc xml:space="preserve" | |
| 4504 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4505 | - | line="310">the number of elements in @color_stops</doc> | |
| 4506 | - | <type name="gsize" c:type="gsize"/> | |
| 8656 | + | filename="gsk/gskglshader.c" | |
| 8657 | + | line="1432">value to set the uniform to</doc> | |
| 8658 | + | <type name="gboolean" c:type="gboolean"/> | |
| 4507 | 8659 | </parameter> | |
| 4508 | 8660 | </parameters> | |
| 4509 | - | </constructor> | |
| 4510 | - | </class> | |
| 4511 | - | <class name="RepeatingRadialGradientNode" | |
| 4512 | - | c:symbol-prefix="repeating_radial_gradient_node" | |
| 4513 | - | c:type="GskRepeatingRadialGradientNode" | |
| 4514 | - | parent="RenderNode" | |
| 4515 | - | glib:type-name="GskRepeatingRadialGradientNode" | |
| 4516 | - | glib:get-type="gsk_repeating_radial_gradient_node_get_type" | |
| 4517 | - | glib:fundamental="1"> | |
| 4518 | - | <doc xml:space="preserve" | |
| 4519 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4520 | - | line="425">A render node for a repeating radial gradient.</doc> | |
| 4521 | - | <constructor name="new" | |
| 4522 | - | c:identifier="gsk_repeating_radial_gradient_node_new"> | |
| 8661 | + | </method> | |
| 8662 | + | <method name="set_float" | |
| 8663 | + | c:identifier="gsk_shader_args_builder_set_float"> | |
| 4523 | 8664 | <doc xml:space="preserve" | |
| 4524 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4525 | - | line="607">Creates a `GskRenderNode` that draws a repeating radial gradient. | |
| 8665 | + | filename="gsk/gskglshader.c" | |
| 8666 | + | line="1336">Sets the value of the uniform @idx. | |
| 4526 | 8667 | ||
| 4527 | - | The radial gradient starts around @center. The size of the gradient | |
| 4528 | - | is dictated by @hradius in horizontal orientation and by @vradius | |
| 4529 | - | in vertial orientation.</doc> | |
| 4530 | - | <source-position filename="gsk/gskrendernode.h" line="297"/> | |
| 4531 | - | <return-value transfer-ownership="full"> | |
| 4532 | - | <doc xml:space="preserve" | |
| 4533 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4534 | - | line="627">A new `GskRenderNode`</doc> | |
| 4535 | - | <type name="RepeatingRadialGradientNode" c:type="GskRenderNode*"/> | |
| 8668 | + | The uniform must be of float type.</doc> | |
| 8669 | + | <source-position filename="gsk/gskglshader.h" line="140"/> | |
| 8670 | + | <return-value transfer-ownership="none"> | |
| 8671 | + | <type name="none" c:type="void"/> | |
| 4536 | 8672 | </return-value> | |
| 4537 | 8673 | <parameters> | |
| 4538 | - | <parameter name="bounds" transfer-ownership="none"> | |
| 4539 | - | <doc xml:space="preserve" | |
| 4540 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4541 | - | line="609">the bounds of the node</doc> | |
| 4542 | - | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 4543 | - | </parameter> | |
| 4544 | - | <parameter name="center" transfer-ownership="none"> | |
| 4545 | - | <doc xml:space="preserve" | |
| 4546 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4547 | - | line="610">the center of the gradient</doc> | |
| 4548 | - | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 4549 | - | </parameter> | |
| 4550 | - | <parameter name="hradius" transfer-ownership="none"> | |
| 4551 | - | <doc xml:space="preserve" | |
| 4552 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4553 | - | line="611">the horizontal radius</doc> | |
| 4554 | - | <type name="gfloat" c:type="float"/> | |
| 4555 | - | </parameter> | |
| 4556 | - | <parameter name="vradius" transfer-ownership="none"> | |
| 4557 | - | <doc xml:space="preserve" | |
| 4558 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4559 | - | line="612">the vertical radius</doc> | |
| 4560 | - | <type name="gfloat" c:type="float"/> | |
| 4561 | - | </parameter> | |
| 4562 | - | <parameter name="start" transfer-ownership="none"> | |
| 4563 | - | <doc xml:space="preserve" | |
| 4564 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4565 | - | line="613">a percentage >= 0 that defines the start of the gradient around @center</doc> | |
| 4566 | - | <type name="gfloat" c:type="float"/> | |
| 4567 | - | </parameter> | |
| 4568 | - | <parameter name="end" transfer-ownership="none"> | |
| 4569 | - | <doc xml:space="preserve" | |
| 4570 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4571 | - | line="614">a percentage >= 0 that defines the end of the gradient around @center</doc> | |
| 4572 | - | <type name="gfloat" c:type="float"/> | |
| 4573 | - | </parameter> | |
| 4574 | - | <parameter name="color_stops" transfer-ownership="none"> | |
| 4575 | - | <doc xml:space="preserve" | |
| 4576 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4577 | - | line="615">a pointer to an array of | |
| 4578 | - | `GskColorStop` defining the gradient. The offsets of all color stops | |
| 4579 | - | must be increasing. The first stop's offset must be >= 0 and the last | |
| 4580 | - | stop's offset must be <= 1.</doc> | |
| 4581 | - | <array length="7" zero-terminated="0" c:type="const GskColorStop*"> | |
| 4582 | - | <type name="ColorStop" c:type="GskColorStop"/> | |
| 4583 | - | </array> | |
| 4584 | - | </parameter> | |
| 4585 | - | <parameter name="n_color_stops" transfer-ownership="none"> | |
| 8674 | + | <instance-parameter name="builder" transfer-ownership="none"> | |
| 4586 | 8675 | <doc xml:space="preserve" | |
| 4587 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4588 | - | line="619">the number of elements in @color_stops</doc> | |
| 4589 | - | <type name="gsize" c:type="gsize"/> | |
| 4590 | - | </parameter> | |
| 4591 | - | </parameters> | |
| 4592 | - | </constructor> | |
| 4593 | - | </class> | |
| 4594 | - | <class name="RoundedClipNode" | |
| 4595 | - | c:symbol-prefix="rounded_clip_node" | |
| 4596 | - | c:type="GskRoundedClipNode" | |
| 4597 | - | parent="RenderNode" | |
| 4598 | - | glib:type-name="GskRoundedClipNode" | |
| 4599 | - | glib:get-type="gsk_rounded_clip_node_get_type" | |
| 4600 | - | glib:fundamental="1"> | |
| 4601 | - | <doc xml:space="preserve" | |
| 4602 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4603 | - | line="3681">A render node applying a rounded rectangle clip to its single child.</doc> | |
| 4604 | - | <constructor name="new" c:identifier="gsk_rounded_clip_node_new"> | |
| 4605 | - | <doc xml:space="preserve" | |
| 4606 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4607 | - | line="3747">Creates a `GskRenderNode` that will clip the @child to the area | |
| 4608 | - | given by @clip.</doc> | |
| 4609 | - | <source-position filename="gsk/gskrendernode.h" line="441"/> | |
| 4610 | - | <return-value transfer-ownership="full"> | |
| 4611 | - | <doc xml:space="preserve" | |
| 4612 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4613 | - | line="3755">A new `GskRenderNode`</doc> | |
| 4614 | - | <type name="RoundedClipNode" c:type="GskRenderNode*"/> | |
| 4615 | - | </return-value> | |
| 4616 | - | <parameters> | |
| 4617 | - | <parameter name="child" transfer-ownership="none"> | |
| 8676 | + | filename="gsk/gskglshader.c" | |
| 8677 | + | line="1338">a `GskShaderArgsBuilder`</doc> | |
| 8678 | + | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 8679 | + | </instance-parameter> | |
| 8680 | + | <parameter name="idx" transfer-ownership="none"> | |
| 4618 | 8681 | <doc xml:space="preserve" | |
| 4619 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4620 | - | line="3749">The node to draw</doc> | |
| 4621 | - | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 8682 | + | filename="gsk/gskglshader.c" | |
| 8683 | + | line="1339">index of the uniform</doc> | |
| 8684 | + | <type name="gint" c:type="int"/> | |
| 4622 | 8685 | </parameter> | |
| 4623 | - | <parameter name="clip" transfer-ownership="none"> | |
| 8686 | + | <parameter name="value" transfer-ownership="none"> | |
| 4624 | 8687 | <doc xml:space="preserve" | |
| 4625 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4626 | - | line="3750">The clip to apply</doc> | |
| 4627 | - | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 8688 | + | filename="gsk/gskglshader.c" | |
| 8689 | + | line="1340">value to set the uniform to</doc> | |
| 8690 | + | <type name="gfloat" c:type="float"/> | |
| 4628 | 8691 | </parameter> | |
| 4629 | 8692 | </parameters> | |
| 4630 | - | </constructor> | |
| 4631 | - | <method name="get_child" c:identifier="gsk_rounded_clip_node_get_child"> | |
| 8693 | + | </method> | |
| 8694 | + | <method name="set_int" | |
| 8695 | + | c:identifier="gsk_shader_args_builder_set_int" | |
| 8696 | + | deprecated="1" | |
| 8697 | + | deprecated-version="4.16"> | |
| 4632 | 8698 | <doc xml:space="preserve" | |
| 4633 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4634 | - | line="3781">Gets the child node that is getting clipped by the given @node.</doc> | |
| 4635 | - | <source-position filename="gsk/gskrendernode.h" line="444"/> | |
| 8699 | + | filename="gsk/gskglshader.c" | |
| 8700 | + | line="1364">Sets the value of the uniform @idx. | |
| 8701 | + | ||
| 8702 | + | The uniform must be of int type.</doc> | |
| 8703 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 8704 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 8705 | + | for OpenGL rendering.</doc-deprecated> | |
| 8706 | + | <source-position filename="gsk/gskglshader.h" line="144"/> | |
| 4636 | 8707 | <return-value transfer-ownership="none"> | |
| 4637 | - | <doc xml:space="preserve" | |
| 4638 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4639 | - | line="3787">The child that is getting clipped</doc> | |
| 4640 | - | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 8708 | + | <type name="none" c:type="void"/> | |
| 4641 | 8709 | </return-value> | |
| 4642 | 8710 | <parameters> | |
| 4643 | - | <instance-parameter name="node" transfer-ownership="none"> | |
| 8711 | + | <instance-parameter name="builder" transfer-ownership="none"> | |
| 4644 | 8712 | <doc xml:space="preserve" | |
| 4645 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4646 | - | line="3783">a rounded clip `GskRenderNode`</doc> | |
| 4647 | - | <type name="RoundedClipNode" c:type="const GskRenderNode*"/> | |
| 8713 | + | filename="gsk/gskglshader.c" | |
| 8714 | + | line="1366">a `GskShaderArgsBuilder`</doc> | |
| 8715 | + | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 4648 | 8716 | </instance-parameter> | |
| 8717 | + | <parameter name="idx" transfer-ownership="none"> | |
| 8718 | + | <doc xml:space="preserve" | |
| 8719 | + | filename="gsk/gskglshader.c" | |
| 8720 | + | line="1367">index of the uniform</doc> | |
| 8721 | + | <type name="gint" c:type="int"/> | |
| 8722 | + | </parameter> | |
| 8723 | + | <parameter name="value" transfer-ownership="none"> | |
| 8724 | + | <doc xml:space="preserve" | |
| 8725 | + | filename="gsk/gskglshader.c" | |
| 8726 | + | line="1368">value to set the uniform to</doc> | |
| 8727 | + | <type name="gint32" c:type="gint32"/> | |
| 8728 | + | </parameter> | |
| 4649 | 8729 | </parameters> | |
| 4650 | 8730 | </method> | |
| 4651 | - | <method name="get_clip" c:identifier="gsk_rounded_clip_node_get_clip"> | |
| 8731 | + | <method name="set_uint" | |
| 8732 | + | c:identifier="gsk_shader_args_builder_set_uint" | |
| 8733 | + | deprecated="1" | |
| 8734 | + | deprecated-version="4.16"> | |
| 4652 | 8735 | <doc xml:space="preserve" | |
| 4653 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4654 | - | line="3797">Retrieves the rounded rectangle used to clip the contents of the @node.</doc> | |
| 4655 | - | <source-position filename="gsk/gskrendernode.h" line="446"/> | |
| 8736 | + | filename="gsk/gskglshader.c" | |
| 8737 | + | line="1396">Sets the value of the uniform @idx. | |
| 8738 | + | ||
| 8739 | + | The uniform must be of uint type.</doc> | |
| 8740 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 8741 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 8742 | + | for OpenGL rendering.</doc-deprecated> | |
| 8743 | + | <source-position filename="gsk/gskglshader.h" line="148"/> | |
| 4656 | 8744 | <return-value transfer-ownership="none"> | |
| 4657 | - | <doc xml:space="preserve" | |
| 4658 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4659 | - | line="3803">a rounded rectangle</doc> | |
| 4660 | - | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 8745 | + | <type name="none" c:type="void"/> | |
| 4661 | 8746 | </return-value> | |
| 4662 | 8747 | <parameters> | |
| 4663 | - | <instance-parameter name="node" transfer-ownership="none"> | |
| 8748 | + | <instance-parameter name="builder" transfer-ownership="none"> | |
| 4664 | 8749 | <doc xml:space="preserve" | |
| 4665 | - | filename="gsk/gskrendernodeimpl.c" | |
| 4666 | - | line="3799">a rounded clip `GskRenderNode`</doc> | |
| 4667 | - | <type name="RoundedClipNode" c:type="const GskRenderNode*"/> | |
| 8750 | + | filename="gsk/gskglshader.c" | |
| 8751 | + | line="1398">a `GskShaderArgsBuilder`</doc> | |
| 8752 | + | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 4668 | 8753 | </instance-parameter> | |
| 8754 | + | <parameter name="idx" transfer-ownership="none"> | |
| 8755 | + | <doc xml:space="preserve" | |
| 8756 | + | filename="gsk/gskglshader.c" | |
| 8757 | + | line="1399">index of the uniform</doc> | |
| 8758 | + | <type name="gint" c:type="int"/> | |
| 8759 | + | </parameter> | |
| 8760 | + | <parameter name="value" transfer-ownership="none"> | |
| 8761 | + | <doc xml:space="preserve" | |
| 8762 | + | filename="gsk/gskglshader.c" | |
| 8763 | + | line="1400">value to set the uniform to</doc> | |
| 8764 | + | <type name="guint32" c:type="guint32"/> | |
| 8765 | + | </parameter> | |
| 4669 | 8766 | </parameters> | |
| 4670 | 8767 | </method> | |
| 4671 | - | </class> | |
| 4672 | - | <record name="RoundedRect" c:type="GskRoundedRect"> | |
| 4673 | - | <doc xml:space="preserve" | |
| 4674 | - | filename="gsk/gskroundedrect.c" | |
| 4675 | - | line="19">A rectangular region with rounded corners. | |
| 4676 | - | ||
| 4677 | - | Application code should normalize rectangles using | |
| 4678 | - | [method@Gsk.RoundedRect.normalize]; this function will ensure that | |
| 4679 | - | the bounds of the rectangle are normalized and ensure that the corner | |
| 4680 | - | values are positive and the corners do not overlap. | |
| 4681 | - | ||
| 4682 | - | All functions taking a `GskRoundedRect` as an argument will internally | |
| 4683 | - | operate on a normalized copy; all functions returning a `GskRoundedRect` | |
| 4684 | - | will always return a normalized one. | |
| 4685 | - | ||
| 4686 | - | The algorithm used for normalizing corner sizes is described in | |
| 4687 | - | [the CSS specification](https://drafts.csswg.org/css-backgrounds-3/#border-radius).</doc> | |
| 4688 | - | <source-position filename="gsk/gskroundedrect.h" line="55"/> | |
| 4689 | - | <field name="bounds" writable="1"> | |
| 4690 | - | <doc xml:space="preserve" | |
| 4691 | - | filename="gsk/gskroundedrect.c" | |
| 4692 | - | line="21">the bounds of the rectangle</doc> | |
| 4693 | - | <type name="Graphene.Rect" c:type="graphene_rect_t"/> | |
| 4694 | - | </field> | |
| 4695 | - | <field name="corner" writable="1"> | |
| 4696 | - | <doc xml:space="preserve" | |
| 4697 | - | filename="gsk/gskroundedrect.c" | |
| 4698 | - | line="22">the size of the 4 rounded corners</doc> | |
| 4699 | - | <array zero-terminated="0" fixed-size="4"> | |
| 4700 | - | <type name="Graphene.Size" c:type="graphene_size_t"/> | |
| 4701 | - | </array> | |
| 4702 | - | </field> | |
| 4703 | - | <method name="contains_point" | |
| 4704 | - | c:identifier="gsk_rounded_rect_contains_point"> | |
| 8768 | + | <method name="set_vec2" | |
| 8769 | + | c:identifier="gsk_shader_args_builder_set_vec2" | |
| 8770 | + | deprecated="1" | |
| 8771 | + | deprecated-version="4.16"> | |
| 4705 | 8772 | <doc xml:space="preserve" | |
| 4706 | - | filename="gsk/gskroundedrect.c" | |
| 4707 | - | line="424">Checks if the given @point is inside the rounded rectangle.</doc> | |
| 4708 | - | <source-position filename="gsk/gskroundedrect.h" line="89"/> | |
| 8773 | + | filename="gsk/gskglshader.c" | |
| 8774 | + | line="1460">Sets the value of the uniform @idx. | |
| 8775 | + | ||
| 8776 | + | The uniform must be of vec2 type.</doc> | |
| 8777 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 8778 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 8779 | + | for OpenGL rendering.</doc-deprecated> | |
| 8780 | + | <source-position filename="gsk/gskglshader.h" line="156"/> | |
| 4709 | 8781 | <return-value transfer-ownership="none"> | |
| 4710 | - | <doc xml:space="preserve" | |
| 4711 | - | filename="gsk/gskroundedrect.c" | |
| 4712 | - | line="431">%TRUE if the @point is inside the rounded rectangle</doc> | |
| 4713 | - | <type name="gboolean" c:type="gboolean"/> | |
| 8782 | + | <type name="none" c:type="void"/> | |
| 4714 | 8783 | </return-value> | |
| 4715 | 8784 | <parameters> | |
| 4716 | - | <instance-parameter name="self" transfer-ownership="none"> | |
| 8785 | + | <instance-parameter name="builder" transfer-ownership="none"> | |
| 4717 | 8786 | <doc xml:space="preserve" | |
| 4718 | - | filename="gsk/gskroundedrect.c" | |
| 4719 | - | line="426">a `GskRoundedRect`</doc> | |
| 4720 | - | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 8787 | + | filename="gsk/gskglshader.c" | |
| 8788 | + | line="1462">A `GskShaderArgsBuilder`</doc> | |
| 8789 | + | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 4721 | 8790 | </instance-parameter> | |
| 4722 | - | <parameter name="point" transfer-ownership="none"> | |
| 8791 | + | <parameter name="idx" transfer-ownership="none"> | |
| 4723 | 8792 | <doc xml:space="preserve" | |
| 4724 | - | filename="gsk/gskroundedrect.c" | |
| 4725 | - | line="427">the point to check</doc> | |
| 4726 | - | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 8793 | + | filename="gsk/gskglshader.c" | |
| 8794 | + | line="1463">index of the uniform</doc> | |
| 8795 | + | <type name="gint" c:type="int"/> | |
| 8796 | + | </parameter> | |
| 8797 | + | <parameter name="value" transfer-ownership="none"> | |
| 8798 | + | <doc xml:space="preserve" | |
| 8799 | + | filename="gsk/gskglshader.c" | |
| 8800 | + | line="1464">value to set the uniform too</doc> | |
| 8801 | + | <type name="Graphene.Vec2" c:type="const graphene_vec2_t*"/> | |
| 4727 | 8802 | </parameter> | |
| 4728 | 8803 | </parameters> | |
| 4729 | 8804 | </method> | |
| 4730 | - | <method name="contains_rect" | |
| 4731 | - | c:identifier="gsk_rounded_rect_contains_rect"> | |
| 8805 | + | <method name="set_vec3" | |
| 8806 | + | c:identifier="gsk_shader_args_builder_set_vec3" | |
| 8807 | + | deprecated="1" | |
| 8808 | + | deprecated-version="4.16"> | |
| 4732 | 8809 | <doc xml:space="preserve" | |
| 4733 | - | filename="gsk/gskroundedrect.c" | |
| 4734 | - | line="440">Checks if the given @rect is contained inside the rounded rectangle.</doc> | |
| 4735 | - | <source-position filename="gsk/gskroundedrect.h" line="92"/> | |
| 8810 | + | filename="gsk/gskglshader.c" | |
| 8811 | + | line="1492">Sets the value of the uniform @idx. | |
| 8812 | + | ||
| 8813 | + | The uniform must be of vec3 type.</doc> | |
| 8814 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 8815 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 8816 | + | for OpenGL rendering.</doc-deprecated> | |
| 8817 | + | <source-position filename="gsk/gskglshader.h" line="160"/> | |
| 4736 | 8818 | <return-value transfer-ownership="none"> | |
| 4737 | - | <doc xml:space="preserve" | |
| 4738 | - | filename="gsk/gskroundedrect.c" | |
| 4739 | - | line="447">%TRUE if the @rect is fully contained inside the rounded rectangle</doc> | |
| 4740 | - | <type name="gboolean" c:type="gboolean"/> | |
| 8819 | + | <type name="none" c:type="void"/> | |
| 4741 | 8820 | </return-value> | |
| 4742 | 8821 | <parameters> | |
| 4743 | - | <instance-parameter name="self" transfer-ownership="none"> | |
| 8822 | + | <instance-parameter name="builder" transfer-ownership="none"> | |
| 4744 | 8823 | <doc xml:space="preserve" | |
| 4745 | - | filename="gsk/gskroundedrect.c" | |
| 4746 | - | line="442">a `GskRoundedRect`</doc> | |
| 4747 | - | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 8824 | + | filename="gsk/gskglshader.c" | |
| 8825 | + | line="1494">a `GskShaderArgsBuilder`</doc> | |
| 8826 | + | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 4748 | 8827 | </instance-parameter> | |
| 4749 | - | <parameter name="rect" transfer-ownership="none"> | |
| 8828 | + | <parameter name="idx" transfer-ownership="none"> | |
| 4750 | 8829 | <doc xml:space="preserve" | |
| 4751 | - | filename="gsk/gskroundedrect.c" | |
| 4752 | - | line="443">the rectangle to check</doc> | |
| 4753 | - | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 8830 | + | filename="gsk/gskglshader.c" | |
| 8831 | + | line="1495">index of the uniform</doc> | |
| 8832 | + | <type name="gint" c:type="int"/> | |
| 8833 | + | </parameter> | |
| 8834 | + | <parameter name="value" transfer-ownership="none"> | |
| 8835 | + | <doc xml:space="preserve" | |
| 8836 | + | filename="gsk/gskglshader.c" | |
| 8837 | + | line="1496">value to set the uniform too</doc> | |
| 8838 | + | <type name="Graphene.Vec3" c:type="const graphene_vec3_t*"/> | |
| 4754 | 8839 | </parameter> | |
| 4755 | 8840 | </parameters> | |
| 4756 | 8841 | </method> | |
| 4757 | - | <method name="init" c:identifier="gsk_rounded_rect_init"> | |
| 8842 | + | <method name="set_vec4" | |
| 8843 | + | c:identifier="gsk_shader_args_builder_set_vec4" | |
| 8844 | + | deprecated="1" | |
| 8845 | + | deprecated-version="4.16"> | |
| 4758 | 8846 | <doc xml:space="preserve" | |
| 4759 | - | filename="gsk/gskroundedrect.c" | |
| 4760 | - | line="84">Initializes the given `GskRoundedRect` with the given values. | |
| 8847 | + | filename="gsk/gskglshader.c" | |
| 8848 | + | line="1524">Sets the value of the uniform @idx. | |
| 4761 | 8849 | ||
| 4762 | - | This function will implicitly normalize the `GskRoundedRect` | |
| 4763 | - | before returning.</doc> | |
| 4764 | - | <source-position filename="gsk/gskroundedrect.h" line="58"/> | |
| 8850 | + | The uniform must be of vec4 type.</doc> | |
| 8851 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 8852 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 8853 | + | for OpenGL rendering.</doc-deprecated> | |
| 8854 | + | <source-position filename="gsk/gskglshader.h" line="164"/> | |
| 4765 | 8855 | <return-value transfer-ownership="none"> | |
| 4766 | - | <doc xml:space="preserve" | |
| 4767 | - | filename="gsk/gskroundedrect.c" | |
| 4768 | - | line="98">the initialized rectangle</doc> | |
| 4769 | - | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 8856 | + | <type name="none" c:type="void"/> | |
| 4770 | 8857 | </return-value> | |
| 4771 | 8858 | <parameters> | |
| 4772 | - | <instance-parameter name="self" transfer-ownership="none"> | |
| 8859 | + | <instance-parameter name="builder" transfer-ownership="none"> | |
| 4773 | 8860 | <doc xml:space="preserve" | |
| 4774 | - | filename="gsk/gskroundedrect.c" | |
| 4775 | - | line="86">The `GskRoundedRect` to initialize</doc> | |
| 4776 | - | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 8861 | + | filename="gsk/gskglshader.c" | |
| 8862 | + | line="1526">a `GskShaderArgsBuilder`</doc> | |
| 8863 | + | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 4777 | 8864 | </instance-parameter> | |
| 4778 | - | <parameter name="bounds" transfer-ownership="none"> | |
| 4779 | - | <doc xml:space="preserve" | |
| 4780 | - | filename="gsk/gskroundedrect.c" | |
| 4781 | - | line="87">a `graphene_rect_t` describing the bounds</doc> | |
| 4782 | - | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 4783 | - | </parameter> | |
| 4784 | - | <parameter name="top_left" transfer-ownership="none"> | |
| 4785 | - | <doc xml:space="preserve" | |
| 4786 | - | filename="gsk/gskroundedrect.c" | |
| 4787 | - | line="88">the rounding radius of the top left corner</doc> | |
| 4788 | - | <type name="Graphene.Size" c:type="const graphene_size_t*"/> | |
| 4789 | - | </parameter> | |
| 4790 | - | <parameter name="top_right" transfer-ownership="none"> | |
| 4791 | - | <doc xml:space="preserve" | |
| 4792 | - | filename="gsk/gskroundedrect.c" | |
| 4793 | - | line="89">the rounding radius of the top right corner</doc> | |
| 4794 | - | <type name="Graphene.Size" c:type="const graphene_size_t*"/> | |
| 4795 | - | </parameter> | |
| 4796 | - | <parameter name="bottom_right" transfer-ownership="none"> | |
| 8865 | + | <parameter name="idx" transfer-ownership="none"> | |
| 4797 | 8866 | <doc xml:space="preserve" | |
| 4798 | - | filename="gsk/gskroundedrect.c" | |
| 4799 | - | line="90">the rounding radius of the bottom right corner</doc> | |
| 4800 | - | <type name="Graphene.Size" c:type="const graphene_size_t*"/> | |
| 8867 | + | filename="gsk/gskglshader.c" | |
| 8868 | + | line="1527">index of the uniform</doc> | |
| 8869 | + | <type name="gint" c:type="int"/> | |
| 4801 | 8870 | </parameter> | |
| 4802 | - | <parameter name="bottom_left" transfer-ownership="none"> | |
| 8871 | + | <parameter name="value" transfer-ownership="none"> | |
| 4803 | 8872 | <doc xml:space="preserve" | |
| 4804 | - | filename="gsk/gskroundedrect.c" | |
| 4805 | - | line="91">the rounding radius of the bottom left corner</doc> | |
| 4806 | - | <type name="Graphene.Size" c:type="const graphene_size_t*"/> | |
| 8873 | + | filename="gsk/gskglshader.c" | |
| 8874 | + | line="1528">value to set the uniform too</doc> | |
| 8875 | + | <type name="Graphene.Vec4" c:type="const graphene_vec4_t*"/> | |
| 4807 | 8876 | </parameter> | |
| 4808 | 8877 | </parameters> | |
| 4809 | 8878 | </method> | |
| 4810 | - | <method name="init_copy" c:identifier="gsk_rounded_rect_init_copy"> | |
| 8879 | + | <method name="to_args" | |
| 8880 | + | c:identifier="gsk_shader_args_builder_to_args" | |
| 8881 | + | deprecated="1" | |
| 8882 | + | deprecated-version="4.16"> | |
| 4811 | 8883 | <doc xml:space="preserve" | |
| 4812 | - | filename="gsk/gskroundedrect.c" | |
| 4813 | - | line="119">Initializes @self using the given @src rectangle. | |
| 8884 | + | filename="gsk/gskglshader.c" | |
| 8885 | + | line="1225">Creates a new `GBytes` args from the current state of the | |
| 8886 | + | given @builder. | |
| 4814 | 8887 | ||
| 4815 | - | This function will not normalize the `GskRoundedRect`, | |
| 4816 | - | so make sure the source is normalized.</doc> | |
| 4817 | - | <source-position filename="gsk/gskroundedrect.h" line="65"/> | |
| 4818 | - | <return-value transfer-ownership="none"> | |
| 8888 | + | Any uniforms of the shader that have not been explicitly set on | |
| 8889 | + | the @builder are zero-initialized. | |
| 8890 | + | ||
| 8891 | + | The given `GskShaderArgsBuilder` is reset once this function returns; | |
| 8892 | + | you cannot call this function multiple times on the same @builder instance. | |
| 8893 | + | ||
| 8894 | + | This function is intended primarily for bindings. C code should use | |
| 8895 | + | [method@Gsk.ShaderArgsBuilder.free_to_args].</doc> | |
| 8896 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 8897 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 8898 | + | for OpenGL rendering.</doc-deprecated> | |
| 8899 | + | <source-position filename="gsk/gskglshader.h" line="131"/> | |
| 8900 | + | <return-value transfer-ownership="full"> | |
| 4819 | 8901 | <doc xml:space="preserve" | |
| 4820 | - | filename="gsk/gskroundedrect.c" | |
| 4821 | - | line="129">the initialized rectangle</doc> | |
| 4822 | - | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 8902 | + | filename="gsk/gskglshader.c" | |
| 8903 | + | line="1241">the newly allocated buffer with | |
| 8904 | + | all the args added to @builder</doc> | |
| 8905 | + | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 4823 | 8906 | </return-value> | |
| 4824 | 8907 | <parameters> | |
| 4825 | - | <instance-parameter name="self" transfer-ownership="none"> | |
| 8908 | + | <instance-parameter name="builder" transfer-ownership="none"> | |
| 4826 | 8909 | <doc xml:space="preserve" | |
| 4827 | - | filename="gsk/gskroundedrect.c" | |
| 4828 | - | line="121">a `GskRoundedRect`</doc> | |
| 4829 | - | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 8910 | + | filename="gsk/gskglshader.c" | |
| 8911 | + | line="1227">a `GskShaderArgsBuilder`</doc> | |
| 8912 | + | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 4830 | 8913 | </instance-parameter> | |
| 4831 | - | <parameter name="src" transfer-ownership="none"> | |
| 8914 | + | </parameters> | |
| 8915 | + | </method> | |
| 8916 | + | <method name="unref" | |
| 8917 | + | c:identifier="gsk_shader_args_builder_unref" | |
| 8918 | + | deprecated="1" | |
| 8919 | + | deprecated-version="4.16"> | |
| 8920 | + | <doc xml:space="preserve" | |
| 8921 | + | filename="gsk/gskglshader.c" | |
| 8922 | + | line="1287">Decreases the reference count of a `GskShaderArgBuilder` by one. | |
| 8923 | + | ||
| 8924 | + | If the resulting reference count is zero, frees the builder.</doc> | |
| 8925 | + | <doc-deprecated xml:space="preserve">GTK's new Vulkan-focused rendering | |
| 8926 | + | does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) | |
| 8927 | + | for OpenGL rendering.</doc-deprecated> | |
| 8928 | + | <source-position filename="gsk/gskglshader.h" line="137"/> | |
| 8929 | + | <return-value transfer-ownership="none"> | |
| 8930 | + | <type name="none" c:type="void"/> | |
| 8931 | + | </return-value> | |
| 8932 | + | <parameters> | |
| 8933 | + | <instance-parameter name="builder" transfer-ownership="none"> | |
| 4832 | 8934 | <doc xml:space="preserve" | |
| 4833 | - | filename="gsk/gskroundedrect.c" | |
| 4834 | - | line="122">a `GskRoundedRect`</doc> | |
| 4835 | - | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 4836 | - | </parameter> | |
| 8935 | + | filename="gsk/gskglshader.c" | |
| 8936 | + | line="1289">a `GskShaderArgsBuilder`</doc> | |
| 8937 | + | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 8938 | + | </instance-parameter> | |
| 4837 | 8939 | </parameters> | |
| 4838 | 8940 | </method> | |
| 4839 | - | <method name="init_from_rect" | |
| 4840 | - | c:identifier="gsk_rounded_rect_init_from_rect"> | |
| 8941 | + | </record> | |
| 8942 | + | <record name="Shadow" c:type="GskShadow"> | |
| 8943 | + | <doc xml:space="preserve" | |
| 8944 | + | filename="gsk/gskrendernode.h" | |
| 8945 | + | line="54">The shadow parameters in a shadow node.</doc> | |
| 8946 | + | <source-position filename="gsk/gskrendernode.h" line="69"/> | |
| 8947 | + | <field name="color" writable="1"> | |
| 8948 | + | <doc xml:space="preserve" | |
| 8949 | + | filename="gsk/gskrendernode.h" | |
| 8950 | + | line="56">the color of the shadow</doc> | |
| 8951 | + | <type name="Gdk.RGBA" c:type="GdkRGBA"/> | |
| 8952 | + | </field> | |
| 8953 | + | <field name="dx" writable="1"> | |
| 8954 | + | <doc xml:space="preserve" | |
| 8955 | + | filename="gsk/gskrendernode.h" | |
| 8956 | + | line="57">the horizontal offset of the shadow</doc> | |
| 8957 | + | <type name="gfloat" c:type="float"/> | |
| 8958 | + | </field> | |
| 8959 | + | <field name="dy" writable="1"> | |
| 4841 | 8960 | <doc xml:space="preserve" | |
| 4842 | - | filename="gsk/gskroundedrect.c" | |
| 4843 | - | line="140">Initializes @self to the given @bounds and sets the radius | |
| 4844 | - | of all four corners to @radius.</doc> | |
| 4845 | - | <source-position filename="gsk/gskroundedrect.h" line="68"/> | |
| 4846 | - | <return-value transfer-ownership="none"> | |
| 8961 | + | filename="gsk/gskrendernode.h" | |
| 8962 | + | line="58">the vertical offset of the shadow</doc> | |
| 8963 | + | <type name="gfloat" c:type="float"/> | |
| 8964 | + | </field> | |
| 8965 | + | <field name="radius" writable="1"> | |
| 8966 | + | <doc xml:space="preserve" | |
| 8967 | + | filename="gsk/gskrendernode.h" | |
| 8968 | + | line="59">the radius of the shadow</doc> | |
| 8969 | + | <type name="gfloat" c:type="float"/> | |
| 8970 | + | </field> | |
| 8971 | + | </record> | |
| 8972 | + | <class name="ShadowNode" | |
| 8973 | + | c:symbol-prefix="shadow_node" | |
| 8974 | + | c:type="GskShadowNode" | |
| 8975 | + | parent="RenderNode" | |
| 8976 | + | glib:type-name="GskShadowNode" | |
| 8977 | + | glib:get-type="gsk_shadow_node_get_type" | |
| 8978 | + | glib:fundamental="1"> | |
| 8979 | + | <doc xml:space="preserve" | |
| 8980 | + | filename="gsk/gskrendernodeimpl.c" | |
| 8981 | + | line="6413">A render node drawing one or more shadows behind its single child node.</doc> | |
| 8982 | + | <constructor name="new" c:identifier="gsk_shadow_node_new"> | |
| 8983 | + | <doc xml:space="preserve" | |
| 8984 | + | filename="gsk/gskrendernodeimpl.c" | |
| 8985 | + | line="6583">Creates a `GskRenderNode` that will draw a @child with the given | |
| 8986 | + | @shadows below it.</doc> | |
| 8987 | + | <source-position filename="gsk/gskrendernode.h" line="500"/> | |
| 8988 | + | <return-value transfer-ownership="full"> | |
| 4847 | 8989 | <doc xml:space="preserve" | |
| 4848 | - | filename="gsk/gskroundedrect.c" | |
| 4849 | - | line="149">the initialized rectangle</doc> | |
| 4850 | - | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 8990 | + | filename="gsk/gskrendernodeimpl.c" | |
| 8991 | + | line="6592">A new `GskRenderNode`</doc> | |
| 8992 | + | <type name="ShadowNode" c:type="GskRenderNode*"/> | |
| 4851 | 8993 | </return-value> | |
| 4852 | 8994 | <parameters> | |
| 4853 | - | <instance-parameter name="self" transfer-ownership="none"> | |
| 8995 | + | <parameter name="child" transfer-ownership="none"> | |
| 4854 | 8996 | <doc xml:space="preserve" | |
| 4855 | - | filename="gsk/gskroundedrect.c" | |
| 4856 | - | line="142">a `GskRoundedRect`</doc> | |
| 4857 | - | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 4858 | - | </instance-parameter> | |
| 4859 | - | <parameter name="bounds" transfer-ownership="none"> | |
| 8997 | + | filename="gsk/gskrendernodeimpl.c" | |
| 8998 | + | line="6585">The node to draw</doc> | |
| 8999 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 9000 | + | </parameter> | |
| 9001 | + | <parameter name="shadows" transfer-ownership="none"> | |
| 4860 | 9002 | <doc xml:space="preserve" | |
| 4861 | - | filename="gsk/gskroundedrect.c" | |
| 4862 | - | line="143">a `graphene_rect_t`</doc> | |
| 4863 | - | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 9003 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9004 | + | line="6586">The shadows to apply</doc> | |
| 9005 | + | <array length="2" zero-terminated="0" c:type="const GskShadow*"> | |
| 9006 | + | <type name="Shadow" c:type="GskShadow"/> | |
| 9007 | + | </array> | |
| 4864 | 9008 | </parameter> | |
| 4865 | - | <parameter name="radius" transfer-ownership="none"> | |
| 9009 | + | <parameter name="n_shadows" transfer-ownership="none"> | |
| 4866 | 9010 | <doc xml:space="preserve" | |
| 4867 | - | filename="gsk/gskroundedrect.c" | |
| 4868 | - | line="144">the border radius</doc> | |
| 4869 | - | <type name="gfloat" c:type="float"/> | |
| 9011 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9012 | + | line="6587">number of entries in the @shadows array</doc> | |
| 9013 | + | <type name="gsize" c:type="gsize"/> | |
| 4870 | 9014 | </parameter> | |
| 4871 | 9015 | </parameters> | |
| 4872 | - | </method> | |
| 4873 | - | <method name="intersects_rect" | |
| 4874 | - | c:identifier="gsk_rounded_rect_intersects_rect"> | |
| 9016 | + | </constructor> | |
| 9017 | + | <method name="get_child" c:identifier="gsk_shadow_node_get_child"> | |
| 4875 | 9018 | <doc xml:space="preserve" | |
| 4876 | - | filename="gsk/gskroundedrect.c" | |
| 4877 | - | line="497">Checks if part of the given @rect is contained inside the rounded rectangle.</doc> | |
| 4878 | - | <source-position filename="gsk/gskroundedrect.h" line="95"/> | |
| 9019 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9020 | + | line="6674">Retrieves the child `GskRenderNode` of the shadow @node.</doc> | |
| 9021 | + | <source-position filename="gsk/gskrendernode.h" line="504"/> | |
| 4879 | 9022 | <return-value transfer-ownership="none"> | |
| 4880 | 9023 | <doc xml:space="preserve" | |
| 4881 | - | filename="gsk/gskroundedrect.c" | |
| 4882 | - | line="504">%TRUE if the @rect intersects with the rounded rectangle</doc> | |
| 4883 | - | <type name="gboolean" c:type="gboolean"/> | |
| 9024 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9025 | + | line="6680">the child render node</doc> | |
| 9026 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 4884 | 9027 | </return-value> | |
| 4885 | 9028 | <parameters> | |
| 4886 | - | <instance-parameter name="self" transfer-ownership="none"> | |
| 9029 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 4887 | 9030 | <doc xml:space="preserve" | |
| 4888 | - | filename="gsk/gskroundedrect.c" | |
| 4889 | - | line="499">a `GskRoundedRect`</doc> | |
| 4890 | - | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 9031 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9032 | + | line="6676">a shadow `GskRenderNode`</doc> | |
| 9033 | + | <type name="ShadowNode" c:type="const GskRenderNode*"/> | |
| 4891 | 9034 | </instance-parameter> | |
| 4892 | - | <parameter name="rect" transfer-ownership="none"> | |
| 4893 | - | <doc xml:space="preserve" | |
| 4894 | - | filename="gsk/gskroundedrect.c" | |
| 4895 | - | line="500">the rectangle to check</doc> | |
| 4896 | - | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 4897 | - | </parameter> | |
| 4898 | 9035 | </parameters> | |
| 4899 | 9036 | </method> | |
| 4900 | - | <method name="is_rectilinear" | |
| 4901 | - | c:identifier="gsk_rounded_rect_is_rectilinear"> | |
| 9037 | + | <method name="get_n_shadows" | |
| 9038 | + | c:identifier="gsk_shadow_node_get_n_shadows"> | |
| 4902 | 9039 | <doc xml:space="preserve" | |
| 4903 | - | filename="gsk/gskroundedrect.c" | |
| 4904 | - | line="336">Checks if all corners of @self are right angles and the | |
| 4905 | - | rectangle covers all of its bounds. | |
| 4906 | - | ||
| 4907 | - | This information can be used to decide if [ctor@Gsk.ClipNode.new] | |
| 4908 | - | or [ctor@Gsk.RoundedClipNode.new] should be called.</doc> | |
| 4909 | - | <source-position filename="gsk/gskroundedrect.h" line="87"/> | |
| 9040 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9041 | + | line="6747">Retrieves the number of shadows in the @node.</doc> | |
| 9042 | + | <source-position filename="gsk/gskrendernode.h" line="509"/> | |
| 4910 | 9043 | <return-value transfer-ownership="none"> | |
| 4911 | 9044 | <doc xml:space="preserve" | |
| 4912 | - | filename="gsk/gskroundedrect.c" | |
| 4913 | - | line="346">%TRUE if the rectangle is rectilinear</doc> | |
| 4914 | - | <type name="gboolean" c:type="gboolean"/> | |
| 9045 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9046 | + | line="6753">the number of shadows.</doc> | |
| 9047 | + | <type name="gsize" c:type="gsize"/> | |
| 4915 | 9048 | </return-value> | |
| 4916 | 9049 | <parameters> | |
| 4917 | - | <instance-parameter name="self" transfer-ownership="none"> | |
| 9050 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 4918 | 9051 | <doc xml:space="preserve" | |
| 4919 | - | filename="gsk/gskroundedrect.c" | |
| 4920 | - | line="338">the `GskRoundedRect` to check</doc> | |
| 4921 | - | <type name="RoundedRect" c:type="const GskRoundedRect*"/> | |
| 9052 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9053 | + | line="6749">a shadow `GskRenderNode`</doc> | |
| 9054 | + | <type name="ShadowNode" c:type="const GskRenderNode*"/> | |
| 4922 | 9055 | </instance-parameter> | |
| 4923 | 9056 | </parameters> | |
| 4924 | 9057 | </method> | |
| 4925 | - | <method name="normalize" c:identifier="gsk_rounded_rect_normalize"> | |
| 9058 | + | <method name="get_shadow" c:identifier="gsk_shadow_node_get_shadow"> | |
| 4926 | 9059 | <doc xml:space="preserve" | |
| 4927 | - | filename="gsk/gskroundedrect.c" | |
| 4928 | - | line="161">Normalizes the passed rectangle. | |
| 4929 | - | ||
| 4930 | - | This function will ensure that the bounds of the rectangle | |
| 4931 | - | are normalized and ensure that the corner values are positive | |
| 4932 | - | and the corners do not overlap.</doc> | |
| 4933 | - | <source-position filename="gsk/gskroundedrect.h" line="73"/> | |
| 9060 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9061 | + | line="6690">Retrieves the shadow data at the given index @i.</doc> | |
| 9062 | + | <source-position filename="gsk/gskrendernode.h" line="506"/> | |
| 4934 | 9063 | <return-value transfer-ownership="none"> | |
| 4935 | 9064 | <doc xml:space="preserve" | |
| 4936 | - | filename="gsk/gskroundedrect.c" | |
| 4937 | - | line="171">the normalized rectangle</doc> | |
| 4938 | - | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 9065 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9066 | + | line="6697">the shadow data</doc> | |
| 9067 | + | <type name="Shadow" c:type="const GskShadow*"/> | |
| 4939 | 9068 | </return-value> | |
| 4940 | 9069 | <parameters> | |
| 4941 | - | <instance-parameter name="self" transfer-ownership="none"> | |
| 9070 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 4942 | 9071 | <doc xml:space="preserve" | |
| 4943 | - | filename="gsk/gskroundedrect.c" | |
| 4944 | - | line="163">a `GskRoundedRect`</doc> | |
| 4945 | - | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 9072 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9073 | + | line="6692">a shadow `GskRenderNode`</doc> | |
| 9074 | + | <type name="ShadowNode" c:type="const GskRenderNode*"/> | |
| 4946 | 9075 | </instance-parameter> | |
| 9076 | + | <parameter name="i" transfer-ownership="none"> | |
| 9077 | + | <doc xml:space="preserve" | |
| 9078 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9079 | + | line="6693">the given index</doc> | |
| 9080 | + | <type name="gsize" c:type="gsize"/> | |
| 9081 | + | </parameter> | |
| 4947 | 9082 | </parameters> | |
| 4948 | 9083 | </method> | |
| 4949 | - | <method name="offset" c:identifier="gsk_rounded_rect_offset"> | |
| 4950 | - | <doc xml:space="preserve" | |
| 4951 | - | filename="gsk/gskroundedrect.c" | |
| 4952 | - | line="181">Offsets the bound's origin by @dx and @dy. | |
| 4953 | - | ||
| 4954 | - | The size and corners of the rectangle are unchanged.</doc> | |
| 4955 | - | <source-position filename="gsk/gskroundedrect.h" line="76"/> | |
| 4956 | - | <return-value transfer-ownership="none"> | |
| 9084 | + | </class> | |
| 9085 | + | <record name="Stroke" | |
| 9086 | + | c:type="GskStroke" | |
| 9087 | + | opaque="1" | |
| 9088 | + | version="4.14" | |
| 9089 | + | glib:type-name="GskStroke" | |
| 9090 | + | glib:get-type="gsk_stroke_get_type" | |
| 9091 | + | c:symbol-prefix="stroke"> | |
| 9092 | + | <doc xml:space="preserve" | |
| 9093 | + | filename="gsk/gskstroke.c" | |
| 9094 | + | line="24">Collects the parameters that are needed when stroking a path.</doc> | |
| 9095 | + | <source-position filename="gsk/gsktypes.h" line="35"/> | |
| 9096 | + | <constructor name="new" c:identifier="gsk_stroke_new" version="4.14"> | |
| 9097 | + | <doc xml:space="preserve" | |
| 9098 | + | filename="gsk/gskstroke.c" | |
| 9099 | + | line="35">Creates a new `GskStroke` with the given @line_width.</doc> | |
| 9100 | + | <source-position filename="gsk/gskstroke.h" line="36"/> | |
| 9101 | + | <return-value transfer-ownership="full"> | |
| 4957 | 9102 | <doc xml:space="preserve" | |
| 4958 | - | filename="gsk/gskroundedrect.c" | |
| 4959 | - | line="191">the offset rectangle</doc> | |
| 4960 | - | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 9103 | + | filename="gsk/gskstroke.c" | |
| 9104 | + | line="41">a new `GskStroke`</doc> | |
| 9105 | + | <type name="Stroke" c:type="GskStroke*"/> | |
| 4961 | 9106 | </return-value> | |
| 4962 | 9107 | <parameters> | |
| 4963 | - | <instance-parameter name="self" transfer-ownership="none"> | |
| 9108 | + | <parameter name="line_width" transfer-ownership="none"> | |
| 4964 | 9109 | <doc xml:space="preserve" | |
| 4965 | - | filename="gsk/gskroundedrect.c" | |
| 4966 | - | line="183">a `GskRoundedRect`</doc> | |
| 4967 | - | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 4968 | - | </instance-parameter> | |
| 4969 | - | <parameter name="dx" transfer-ownership="none"> | |
| 4970 | - | <doc xml:space="preserve" | |
| 4971 | - | filename="gsk/gskroundedrect.c" | |
| 4972 | - | line="184">the horizontal offset</doc> | |
| 4973 | - | <type name="gfloat" c:type="float"/> | |
| 4974 | - | </parameter> | |
| 4975 | - | <parameter name="dy" transfer-ownership="none"> | |
| 4976 | - | <doc xml:space="preserve" | |
| 4977 | - | filename="gsk/gskroundedrect.c" | |
| 4978 | - | line="185">the vertical offset</doc> | |
| 9110 | + | filename="gsk/gskstroke.c" | |
| 9111 | + | line="37">line width of the stroke. Must be > 0</doc> | |
| 4979 | 9112 | <type name="gfloat" c:type="float"/> | |
| 4980 | 9113 | </parameter> | |
| 4981 | 9114 | </parameters> | |
| 4982 | - | </method> | |
| 4983 | - | <method name="shrink" c:identifier="gsk_rounded_rect_shrink"> | |
| 9115 | + | </constructor> | |
| 9116 | + | <method name="copy" c:identifier="gsk_stroke_copy" version="4.14"> | |
| 4984 | 9117 | <doc xml:space="preserve" | |
| 4985 | - | filename="gsk/gskroundedrect.c" | |
| 4986 | - | line="229">Shrinks (or grows) the given rectangle by moving the 4 sides | |
| 4987 | - | according to the offsets given. | |
| 4988 | - | ||
| 4989 | - | The corner radii will be changed in a way that tries to keep | |
| 4990 | - | the center of the corner circle intact. This emulates CSS behavior. | |
| 4991 | - | ||
| 4992 | - | This function also works for growing rectangles if you pass | |
| 4993 | - | negative values for the @top, @right, @bottom or @left.</doc> | |
| 4994 | - | <source-position filename="gsk/gskroundedrect.h" line="80"/> | |
| 4995 | - | <return-value transfer-ownership="none"> | |
| 9118 | + | filename="gsk/gskstroke.c" | |
| 9119 | + | line="62">Creates a copy of a `GskStroke`.</doc> | |
| 9120 | + | <source-position filename="gsk/gskstroke.h" line="38"/> | |
| 9121 | + | <return-value transfer-ownership="full"> | |
| 4996 | 9122 | <doc xml:space="preserve" | |
| 4997 | - | filename="gsk/gskroundedrect.c" | |
| 4998 | - | line="246">the resized `GskRoundedRect`</doc> | |
| 4999 | - | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 9123 | + | filename="gsk/gskstroke.c" | |
| 9124 | + | line="68">a new `GskStroke`. Use [method@Gsk.Stroke.free] to free it</doc> | |
| 9125 | + | <type name="Stroke" c:type="GskStroke*"/> | |
| 5000 | 9126 | </return-value> | |
| 5001 | 9127 | <parameters> | |
| 5002 | - | <instance-parameter name="self" transfer-ownership="none"> | |
| 9128 | + | <instance-parameter name="other" transfer-ownership="none"> | |
| 5003 | 9129 | <doc xml:space="preserve" | |
| 5004 | - | filename="gsk/gskroundedrect.c" | |
| 5005 | - | line="231">The `GskRoundedRect` to shrink or grow</doc> | |
| 5006 | - | <type name="RoundedRect" c:type="GskRoundedRect*"/> | |
| 9130 | + | filename="gsk/gskstroke.c" | |
| 9131 | + | line="64">the stroke to copy</doc> | |
| 9132 | + | <type name="Stroke" c:type="const GskStroke*"/> | |
| 5007 | 9133 | </instance-parameter> | |
| 5008 | - | <parameter name="top" transfer-ownership="none"> | |
| 5009 | - | <doc xml:space="preserve" | |
| 5010 | - | filename="gsk/gskroundedrect.c" | |
| 5011 | - | line="232">How far to move the top side downwards</doc> | |
| 5012 | - | <type name="gfloat" c:type="float"/> | |
| 5013 | - | </parameter> | |
| 5014 | - | <parameter name="right" transfer-ownership="none"> | |
| 5015 | - | <doc xml:space="preserve" | |
| 5016 | - | filename="gsk/gskroundedrect.c" | |
| 5017 | - | line="233">How far to move the right side to the left</doc> | |
| 5018 | - | <type name="gfloat" c:type="float"/> | |
| 5019 | - | </parameter> | |
| 5020 | - | <parameter name="bottom" transfer-ownership="none"> | |
| 5021 | - | <doc xml:space="preserve" | |
| 5022 | - | filename="gsk/gskroundedrect.c" | |
| 5023 | - | line="234">How far to move the bottom side upwards</doc> | |
| 5024 | - | <type name="gfloat" c:type="float"/> | |
| 5025 | - | </parameter> | |
| 5026 | - | <parameter name="left" transfer-ownership="none"> | |
| 5027 | - | <doc xml:space="preserve" | |
| 5028 | - | filename="gsk/gskroundedrect.c" | |
| 5029 | - | line="235">How far to move the left side to the right</doc> | |
| 5030 | - | <type name="gfloat" c:type="float"/> | |
| 5031 | - | </parameter> | |
| 5032 | 9134 | </parameters> | |
| 5033 | 9135 | </method> | |
| 5034 | - | </record> | |
| 5035 | - | <enumeration name="ScalingFilter" | |
| 5036 | - | glib:type-name="GskScalingFilter" | |
| 5037 | - | glib:get-type="gsk_scaling_filter_get_type" | |
| 5038 | - | c:type="GskScalingFilter"> | |
| 5039 | - | <doc xml:space="preserve" | |
| 5040 | - | filename="gsk/gskenums.h" | |
| 5041 | - | line="85">The filters used when scaling texture data. | |
| 5042 | - | ||
| 5043 | - | The actual implementation of each filter is deferred to the | |
| 5044 | - | rendering pipeline.</doc> | |
| 5045 | - | <member name="linear" | |
| 5046 | - | value="0" | |
| 5047 | - | c:identifier="GSK_SCALING_FILTER_LINEAR" | |
| 5048 | - | glib:nick="linear" | |
| 5049 | - | glib:name="GSK_SCALING_FILTER_LINEAR"> | |
| 5050 | - | <doc xml:space="preserve" | |
| 5051 | - | filename="gsk/gskenums.h" | |
| 5052 | - | line="87">linear interpolation filter</doc> | |
| 5053 | - | </member> | |
| 5054 | - | <member name="nearest" | |
| 5055 | - | value="1" | |
| 5056 | - | c:identifier="GSK_SCALING_FILTER_NEAREST" | |
| 5057 | - | glib:nick="nearest" | |
| 5058 | - | glib:name="GSK_SCALING_FILTER_NEAREST"> | |
| 5059 | - | <doc xml:space="preserve" | |
| 5060 | - | filename="gsk/gskenums.h" | |
| 5061 | - | line="88">nearest neighbor interpolation filter</doc> | |
| 5062 | - | </member> | |
| 5063 | - | <member name="trilinear" | |
| 5064 | - | value="2" | |
| 5065 | - | c:identifier="GSK_SCALING_FILTER_TRILINEAR" | |
| 5066 | - | glib:nick="trilinear" | |
| 5067 | - | glib:name="GSK_SCALING_FILTER_TRILINEAR"> | |
| 5068 | - | <doc xml:space="preserve" | |
| 5069 | - | filename="gsk/gskenums.h" | |
| 5070 | - | line="89">linear interpolation along each axis, | |
| 5071 | - | plus mipmap generation, with linear interpolation along the mipmap | |
| 5072 | - | levels</doc> | |
| 5073 | - | </member> | |
| 5074 | - | </enumeration> | |
| 5075 | - | <enumeration name="SerializationError" | |
| 5076 | - | glib:type-name="GskSerializationError" | |
| 5077 | - | glib:get-type="gsk_serialization_error_get_type" | |
| 5078 | - | c:type="GskSerializationError" | |
| 5079 | - | glib:error-domain="gsk-serialization-error-quark"> | |
| 5080 | - | <doc xml:space="preserve" | |
| 5081 | - | filename="gsk/gskenums.h" | |
| 5082 | - | line="170">Errors that can happen during (de)serialization.</doc> | |
| 5083 | - | <member name="unsupported_format" | |
| 5084 | - | value="0" | |
| 5085 | - | c:identifier="GSK_SERIALIZATION_UNSUPPORTED_FORMAT" | |
| 5086 | - | glib:nick="unsupported-format" | |
| 5087 | - | glib:name="GSK_SERIALIZATION_UNSUPPORTED_FORMAT"> | |
| 9136 | + | <method name="free" c:identifier="gsk_stroke_free" version="4.14"> | |
| 5088 | 9137 | <doc xml:space="preserve" | |
| 5089 | - | filename="gsk/gskenums.h" | |
| 5090 | - | line="172">The format can not be identified</doc> | |
| 5091 | - | </member> | |
| 5092 | - | <member name="unsupported_version" | |
| 5093 | - | value="1" | |
| 5094 | - | c:identifier="GSK_SERIALIZATION_UNSUPPORTED_VERSION" | |
| 5095 | - | glib:nick="unsupported-version" | |
| 5096 | - | glib:name="GSK_SERIALIZATION_UNSUPPORTED_VERSION"> | |
| 5097 | - | <doc xml:space="preserve" | |
| 5098 | - | filename="gsk/gskenums.h" | |
| 5099 | - | line="173">The version of the data is not | |
| 5100 | - | understood</doc> | |
| 5101 | - | </member> | |
| 5102 | - | <member name="invalid_data" | |
| 5103 | - | value="2" | |
| 5104 | - | c:identifier="GSK_SERIALIZATION_INVALID_DATA" | |
| 5105 | - | glib:nick="invalid-data" | |
| 5106 | - | glib:name="GSK_SERIALIZATION_INVALID_DATA"> | |
| 5107 | - | <doc xml:space="preserve" | |
| 5108 | - | filename="gsk/gskenums.h" | |
| 5109 | - | line="175">The given data may not exist in | |
| 5110 | - | a proper serialization</doc> | |
| 5111 | - | </member> | |
| 5112 | - | <function name="quark" c:identifier="gsk_serialization_error_quark"> | |
| 9138 | + | filename="gsk/gskstroke.c" | |
| 9139 | + | line="86">Frees a `GskStroke`.</doc> | |
| 9140 | + | <source-position filename="gsk/gskstroke.h" line="40"/> | |
| 5113 | 9141 | <return-value transfer-ownership="none"> | |
| 5114 | - | <type name="GLib.Quark" c:type="GQuark"/> | |
| 9142 | + | <type name="none" c:type="void"/> | |
| 5115 | 9143 | </return-value> | |
| 5116 | - | </function> | |
| 5117 | - | </enumeration> | |
| 5118 | - | <record name="ShaderArgsBuilder" | |
| 5119 | - | c:type="GskShaderArgsBuilder" | |
| 5120 | - | glib:type-name="GskShaderArgsBuilder" | |
| 5121 | - | glib:get-type="gsk_shader_args_builder_get_type" | |
| 5122 | - | c:symbol-prefix="shader_args_builder"> | |
| 5123 | - | <doc xml:space="preserve" | |
| 5124 | - | filename="gsk/gskglshader.h" | |
| 5125 | - | line="35">An object to build the uniforms data for a `GskGLShader`.</doc> | |
| 5126 | - | <source-position filename="gsk/gskglshader.h" line="40"/> | |
| 5127 | - | <constructor name="new" c:identifier="gsk_shader_args_builder_new"> | |
| 9144 | + | <parameters> | |
| 9145 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 9146 | + | <doc xml:space="preserve" | |
| 9147 | + | filename="gsk/gskstroke.c" | |
| 9148 | + | line="88">a stroke</doc> | |
| 9149 | + | <type name="Stroke" c:type="GskStroke*"/> | |
| 9150 | + | </instance-parameter> | |
| 9151 | + | </parameters> | |
| 9152 | + | </method> | |
| 9153 | + | <method name="get_dash" | |
| 9154 | + | c:identifier="gsk_stroke_get_dash" | |
| 9155 | + | version="4.14"> | |
| 5128 | 9156 | <doc xml:space="preserve" | |
| 5129 | - | filename="gsk/gskglshader.c" | |
| 5130 | - | line="1106">Allocates a builder that can be used to construct a new uniform data | |
| 5131 | - | chunk.</doc> | |
| 5132 | - | <source-position filename="gsk/gskglshader.h" line="124"/> | |
| 5133 | - | <return-value transfer-ownership="full"> | |
| 9157 | + | filename="gsk/gskstroke.c" | |
| 9158 | + | line="430">Gets the dash array in use.</doc> | |
| 9159 | + | <source-position filename="gsk/gskstroke.h" line="73"/> | |
| 9160 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 5134 | 9161 | <doc xml:space="preserve" | |
| 5135 | - | filename="gsk/gskglshader.c" | |
| 5136 | - | line="1114">The newly allocated builder, free with | |
| 5137 | - | [method@Gsk.ShaderArgsBuilder.unref]</doc> | |
| 5138 | - | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 9162 | + | filename="gsk/gskstroke.c" | |
| 9163 | + | line="437"> | |
| 9164 | + | the dash array or `NULL` if the dash array is empty</doc> | |
| 9165 | + | <array length="0" zero-terminated="0" c:type="const float*"> | |
| 9166 | + | <type name="gfloat" c:type="float"/> | |
| 9167 | + | </array> | |
| 5139 | 9168 | </return-value> | |
| 5140 | 9169 | <parameters> | |
| 5141 | - | <parameter name="shader" transfer-ownership="none"> | |
| 9170 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5142 | 9171 | <doc xml:space="preserve" | |
| 5143 | - | filename="gsk/gskglshader.c" | |
| 5144 | - | line="1108">a `GskGLShader`</doc> | |
| 5145 | - | <type name="GLShader" c:type="GskGLShader*"/> | |
| 5146 | - | </parameter> | |
| 5147 | - | <parameter name="initial_values" | |
| 5148 | - | transfer-ownership="none" | |
| 5149 | - | nullable="1" | |
| 5150 | - | allow-none="1"> | |
| 9172 | + | filename="gsk/gskstroke.c" | |
| 9173 | + | line="432">a stroke</doc> | |
| 9174 | + | <type name="Stroke" c:type="const GskStroke*"/> | |
| 9175 | + | </instance-parameter> | |
| 9176 | + | <parameter name="n_dash" | |
| 9177 | + | direction="out" | |
| 9178 | + | caller-allocates="0" | |
| 9179 | + | transfer-ownership="full"> | |
| 5151 | 9180 | <doc xml:space="preserve" | |
| 5152 | - | filename="gsk/gskglshader.c" | |
| 5153 | - | line="1109">optional `GBytes` with initial values</doc> | |
| 5154 | - | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 9181 | + | filename="gsk/gskstroke.c" | |
| 9182 | + | line="433">number of elements in the array returned</doc> | |
| 9183 | + | <type name="gsize" c:type="gsize*"/> | |
| 5155 | 9184 | </parameter> | |
| 5156 | 9185 | </parameters> | |
| 5157 | - | </constructor> | |
| 5158 | - | <method name="free_to_args" | |
| 5159 | - | c:identifier="gsk_shader_args_builder_free_to_args" | |
| 5160 | - | introspectable="0"> | |
| 9186 | + | </method> | |
| 9187 | + | <method name="get_dash_offset" | |
| 9188 | + | c:identifier="gsk_stroke_get_dash_offset" | |
| 9189 | + | version="4.14"> | |
| 5161 | 9190 | <doc xml:space="preserve" | |
| 5162 | - | filename="gsk/gskglshader.c" | |
| 5163 | - | line="1165">Creates a new `GBytes` args from the current state of the | |
| 5164 | - | given @builder, and frees the @builder instance. | |
| 5165 | - | ||
| 5166 | - | Any uniforms of the shader that have not been explicitly set | |
| 5167 | - | on the @builder are zero-initialized.</doc> | |
| 5168 | - | <source-position filename="gsk/gskglshader.h" line="129"/> | |
| 5169 | - | <return-value transfer-ownership="full"> | |
| 9191 | + | filename="gsk/gskstroke.c" | |
| 9192 | + | line="477">Gets the dash offset.</doc> | |
| 9193 | + | <source-position filename="gsk/gskstroke.h" line="80"/> | |
| 9194 | + | <return-value transfer-ownership="none"> | |
| 5170 | 9195 | <doc xml:space="preserve" | |
| 5171 | - | filename="gsk/gskglshader.c" | |
| 5172 | - | line="1175">the newly allocated buffer with | |
| 5173 | - | all the args added to @builder</doc> | |
| 5174 | - | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 9196 | + | filename="gsk/gskstroke.c" | |
| 9197 | + | line="483">the dash offset</doc> | |
| 9198 | + | <type name="gfloat" c:type="float"/> | |
| 5175 | 9199 | </return-value> | |
| 5176 | 9200 | <parameters> | |
| 5177 | - | <instance-parameter name="builder" transfer-ownership="none"> | |
| 9201 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5178 | 9202 | <doc xml:space="preserve" | |
| 5179 | - | filename="gsk/gskglshader.c" | |
| 5180 | - | line="1167">a `GskShaderArgsBuilder`</doc> | |
| 5181 | - | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 9203 | + | filename="gsk/gskstroke.c" | |
| 9204 | + | line="479">a stroke</doc> | |
| 9205 | + | <type name="Stroke" c:type="const GskStroke*"/> | |
| 5182 | 9206 | </instance-parameter> | |
| 5183 | 9207 | </parameters> | |
| 5184 | 9208 | </method> | |
| 5185 | - | <method name="ref" c:identifier="gsk_shader_args_builder_ref"> | |
| 9209 | + | <method name="get_line_cap" | |
| 9210 | + | c:identifier="gsk_stroke_get_line_cap" | |
| 9211 | + | version="4.14"> | |
| 5186 | 9212 | <doc xml:space="preserve" | |
| 5187 | - | filename="gsk/gskglshader.c" | |
| 5188 | - | line="1217">Increases the reference count of a `GskShaderArgsBuilder` by one.</doc> | |
| 5189 | - | <source-position filename="gsk/gskglshader.h" line="131"/> | |
| 5190 | - | <return-value transfer-ownership="full"> | |
| 9213 | + | filename="gsk/gskstroke.c" | |
| 9214 | + | line="264">Gets the line cap used. | |
| 9215 | + | ||
| 9216 | + | See [enum@Gsk.LineCap] for details.</doc> | |
| 9217 | + | <source-position filename="gsk/gskstroke.h" line="55"/> | |
| 9218 | + | <return-value transfer-ownership="none"> | |
| 5191 | 9219 | <doc xml:space="preserve" | |
| 5192 | - | filename="gsk/gskglshader.c" | |
| 5193 | - | line="1223">the passed in `GskShaderArgsBuilder`</doc> | |
| 5194 | - | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 9220 | + | filename="gsk/gskstroke.c" | |
| 9221 | + | line="272">the line cap</doc> | |
| 9222 | + | <type name="LineCap" c:type="GskLineCap"/> | |
| 5195 | 9223 | </return-value> | |
| 5196 | 9224 | <parameters> | |
| 5197 | - | <instance-parameter name="builder" transfer-ownership="none"> | |
| 9225 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5198 | 9226 | <doc xml:space="preserve" | |
| 5199 | - | filename="gsk/gskglshader.c" | |
| 5200 | - | line="1219">a `GskShaderArgsBuilder`</doc> | |
| 5201 | - | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 9227 | + | filename="gsk/gskstroke.c" | |
| 9228 | + | line="266">a stroke</doc> | |
| 9229 | + | <type name="Stroke" c:type="const GskStroke*"/> | |
| 5202 | 9230 | </instance-parameter> | |
| 5203 | 9231 | </parameters> | |
| 5204 | 9232 | </method> | |
| 5205 | - | <method name="set_bool" c:identifier="gsk_shader_args_builder_set_bool"> | |
| 9233 | + | <method name="get_line_join" | |
| 9234 | + | c:identifier="gsk_stroke_get_line_join" | |
| 9235 | + | version="4.14"> | |
| 5206 | 9236 | <doc xml:space="preserve" | |
| 5207 | - | filename="gsk/gskglshader.c" | |
| 5208 | - | line="1318">Sets the value of the uniform @idx. | |
| 9237 | + | filename="gsk/gskstroke.c" | |
| 9238 | + | line="304">Gets the line join used. | |
| 5209 | 9239 | ||
| 5210 | - | The uniform must be of bool type.</doc> | |
| 5211 | - | <source-position filename="gsk/gskglshader.h" line="148"/> | |
| 9240 | + | See [enum@Gsk.LineJoin] for details.</doc> | |
| 9241 | + | <source-position filename="gsk/gskstroke.h" line="60"/> | |
| 5212 | 9242 | <return-value transfer-ownership="none"> | |
| 5213 | - | <type name="none" c:type="void"/> | |
| 9243 | + | <doc xml:space="preserve" | |
| 9244 | + | filename="gsk/gskstroke.c" | |
| 9245 | + | line="312">the line join</doc> | |
| 9246 | + | <type name="LineJoin" c:type="GskLineJoin"/> | |
| 5214 | 9247 | </return-value> | |
| 5215 | 9248 | <parameters> | |
| 5216 | - | <instance-parameter name="builder" transfer-ownership="none"> | |
| 9249 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5217 | 9250 | <doc xml:space="preserve" | |
| 5218 | - | filename="gsk/gskglshader.c" | |
| 5219 | - | line="1320">a `GskShaderArgsBuilder`</doc> | |
| 5220 | - | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 9251 | + | filename="gsk/gskstroke.c" | |
| 9252 | + | line="306">a stroke</doc> | |
| 9253 | + | <type name="Stroke" c:type="const GskStroke*"/> | |
| 5221 | 9254 | </instance-parameter> | |
| 5222 | - | <parameter name="idx" transfer-ownership="none"> | |
| 5223 | - | <doc xml:space="preserve" | |
| 5224 | - | filename="gsk/gskglshader.c" | |
| 5225 | - | line="1321">index of the uniform</doc> | |
| 5226 | - | <type name="gint" c:type="int"/> | |
| 5227 | - | </parameter> | |
| 5228 | - | <parameter name="value" transfer-ownership="none"> | |
| 5229 | - | <doc xml:space="preserve" | |
| 5230 | - | filename="gsk/gskglshader.c" | |
| 5231 | - | line="1322">value to set the uniform to</doc> | |
| 5232 | - | <type name="gboolean" c:type="gboolean"/> | |
| 5233 | - | </parameter> | |
| 5234 | 9255 | </parameters> | |
| 5235 | 9256 | </method> | |
| 5236 | - | <method name="set_float" | |
| 5237 | - | c:identifier="gsk_shader_args_builder_set_float"> | |
| 9257 | + | <method name="get_line_width" | |
| 9258 | + | c:identifier="gsk_stroke_get_line_width" | |
| 9259 | + | version="4.14"> | |
| 5238 | 9260 | <doc xml:space="preserve" | |
| 5239 | - | filename="gsk/gskglshader.c" | |
| 5240 | - | line="1234">Sets the value of the uniform @idx. | |
| 5241 | - | ||
| 5242 | - | The uniform must be of float type.</doc> | |
| 5243 | - | <source-position filename="gsk/gskglshader.h" line="136"/> | |
| 9261 | + | filename="gsk/gskstroke.c" | |
| 9262 | + | line="226">Gets the line width used.</doc> | |
| 9263 | + | <source-position filename="gsk/gskstroke.h" line="50"/> | |
| 5244 | 9264 | <return-value transfer-ownership="none"> | |
| 5245 | - | <type name="none" c:type="void"/> | |
| 9265 | + | <doc xml:space="preserve" | |
| 9266 | + | filename="gsk/gskstroke.c" | |
| 9267 | + | line="232">the line width</doc> | |
| 9268 | + | <type name="gfloat" c:type="float"/> | |
| 5246 | 9269 | </return-value> | |
| 5247 | 9270 | <parameters> | |
| 5248 | - | <instance-parameter name="builder" transfer-ownership="none"> | |
| 9271 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5249 | 9272 | <doc xml:space="preserve" | |
| 5250 | - | filename="gsk/gskglshader.c" | |
| 5251 | - | line="1236">a `GskShaderArgsBuilder`</doc> | |
| 5252 | - | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 9273 | + | filename="gsk/gskstroke.c" | |
| 9274 | + | line="228">a stroke</doc> | |
| 9275 | + | <type name="Stroke" c:type="const GskStroke*"/> | |
| 5253 | 9276 | </instance-parameter> | |
| 5254 | - | <parameter name="idx" transfer-ownership="none"> | |
| 5255 | - | <doc xml:space="preserve" | |
| 5256 | - | filename="gsk/gskglshader.c" | |
| 5257 | - | line="1237">index of the uniform</doc> | |
| 5258 | - | <type name="gint" c:type="int"/> | |
| 5259 | - | </parameter> | |
| 5260 | - | <parameter name="value" transfer-ownership="none"> | |
| 9277 | + | </parameters> | |
| 9278 | + | </method> | |
| 9279 | + | <method name="get_miter_limit" | |
| 9280 | + | c:identifier="gsk_stroke_get_miter_limit" | |
| 9281 | + | version="4.14"> | |
| 9282 | + | <doc xml:space="preserve" | |
| 9283 | + | filename="gsk/gskstroke.c" | |
| 9284 | + | line="351">Gets the miter limit.</doc> | |
| 9285 | + | <source-position filename="gsk/gskstroke.h" line="66"/> | |
| 9286 | + | <return-value transfer-ownership="none"> | |
| 9287 | + | <doc xml:space="preserve" | |
| 9288 | + | filename="gsk/gskstroke.c" | |
| 9289 | + | line="357">the miter limit</doc> | |
| 9290 | + | <type name="gfloat" c:type="float"/> | |
| 9291 | + | </return-value> | |
| 9292 | + | <parameters> | |
| 9293 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5261 | 9294 | <doc xml:space="preserve" | |
| 5262 | - | filename="gsk/gskglshader.c" | |
| 5263 | - | line="1238">value to set the uniform to</doc> | |
| 5264 | - | <type name="gfloat" c:type="float"/> | |
| 5265 | - | </parameter> | |
| 9295 | + | filename="gsk/gskstroke.c" | |
| 9296 | + | line="353">a stroke</doc> | |
| 9297 | + | <type name="Stroke" c:type="const GskStroke*"/> | |
| 9298 | + | </instance-parameter> | |
| 5266 | 9299 | </parameters> | |
| 5267 | 9300 | </method> | |
| 5268 | - | <method name="set_int" c:identifier="gsk_shader_args_builder_set_int"> | |
| 9301 | + | <method name="set_dash" | |
| 9302 | + | c:identifier="gsk_stroke_set_dash" | |
| 9303 | + | version="4.14"> | |
| 5269 | 9304 | <doc xml:space="preserve" | |
| 5270 | - | filename="gsk/gskglshader.c" | |
| 5271 | - | line="1262">Sets the value of the uniform @idx. | |
| 9305 | + | filename="gsk/gskstroke.c" | |
| 9306 | + | line="369">Sets the dash pattern to use. | |
| 5272 | 9307 | ||
| 5273 | - | The uniform must be of int type.</doc> | |
| 5274 | - | <source-position filename="gsk/gskglshader.h" line="140"/> | |
| 9308 | + | A dash pattern is specified by an array of alternating non-negative | |
| 9309 | + | values. Each value provides the length of alternate "on" and "off" | |
| 9310 | + | portions of the stroke. | |
| 9311 | + | ||
| 9312 | + | Each "on" segment will have caps applied as if the segment were a | |
| 9313 | + | separate contour. In particular, it is valid to use an "on" length | |
| 9314 | + | of 0 with [enum@Gsk.LineCap.round] or [enum@Gsk.LineCap.square] | |
| 9315 | + | to draw dots or squares along a path. | |
| 9316 | + | ||
| 9317 | + | If @n_dash is 0, if all elements in @dash are 0, or if there are | |
| 9318 | + | negative values in @dash, then dashing is disabled. | |
| 9319 | + | ||
| 9320 | + | If @n_dash is 1, an alternating "on" and "off" pattern with the | |
| 9321 | + | single dash length provided is assumed. | |
| 9322 | + | ||
| 9323 | + | If @n_dash is uneven, the dash array will be used with the first | |
| 9324 | + | element in @dash defining an "on" or "off" in alternating passes | |
| 9325 | + | through the array. | |
| 9326 | + | ||
| 9327 | + | You can specify a starting offset into the dash with | |
| 9328 | + | [method@Gsk.Stroke.set_dash_offset].</doc> | |
| 9329 | + | <source-position filename="gsk/gskstroke.h" line="69"/> | |
| 5275 | 9330 | <return-value transfer-ownership="none"> | |
| 5276 | 9331 | <type name="none" c:type="void"/> | |
| 5277 | 9332 | </return-value> | |
| 5278 | 9333 | <parameters> | |
| 5279 | - | <instance-parameter name="builder" transfer-ownership="none"> | |
| 9334 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5280 | 9335 | <doc xml:space="preserve" | |
| 5281 | - | filename="gsk/gskglshader.c" | |
| 5282 | - | line="1264">a `GskShaderArgsBuilder`</doc> | |
| 5283 | - | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 9336 | + | filename="gsk/gskstroke.c" | |
| 9337 | + | line="371">a stroke</doc> | |
| 9338 | + | <type name="Stroke" c:type="GskStroke*"/> | |
| 5284 | 9339 | </instance-parameter> | |
| 5285 | - | <parameter name="idx" transfer-ownership="none"> | |
| 9340 | + | <parameter name="dash" | |
| 9341 | + | transfer-ownership="none" | |
| 9342 | + | nullable="1" | |
| 9343 | + | allow-none="1"> | |
| 5286 | 9344 | <doc xml:space="preserve" | |
| 5287 | - | filename="gsk/gskglshader.c" | |
| 5288 | - | line="1265">index of the uniform</doc> | |
| 5289 | - | <type name="gint" c:type="int"/> | |
| 9345 | + | filename="gsk/gskstroke.c" | |
| 9346 | + | line="372"> | |
| 9347 | + | the array of dashes</doc> | |
| 9348 | + | <array length="1" zero-terminated="0" c:type="const float*"> | |
| 9349 | + | <type name="gfloat" c:type="float"/> | |
| 9350 | + | </array> | |
| 5290 | 9351 | </parameter> | |
| 5291 | - | <parameter name="value" transfer-ownership="none"> | |
| 9352 | + | <parameter name="n_dash" transfer-ownership="none"> | |
| 5292 | 9353 | <doc xml:space="preserve" | |
| 5293 | - | filename="gsk/gskglshader.c" | |
| 5294 | - | line="1266">value to set the uniform to</doc> | |
| 5295 | - | <type name="gint32" c:type="gint32"/> | |
| 9354 | + | filename="gsk/gskstroke.c" | |
| 9355 | + | line="374">number of elements in @dash</doc> | |
| 9356 | + | <type name="gsize" c:type="gsize"/> | |
| 5296 | 9357 | </parameter> | |
| 5297 | 9358 | </parameters> | |
| 5298 | 9359 | </method> | |
| 5299 | - | <method name="set_uint" c:identifier="gsk_shader_args_builder_set_uint"> | |
| 9360 | + | <method name="set_dash_offset" | |
| 9361 | + | c:identifier="gsk_stroke_set_dash_offset" | |
| 9362 | + | version="4.14"> | |
| 5300 | 9363 | <doc xml:space="preserve" | |
| 5301 | - | filename="gsk/gskglshader.c" | |
| 5302 | - | line="1290">Sets the value of the uniform @idx. | |
| 9364 | + | filename="gsk/gskstroke.c" | |
| 9365 | + | line="454">Sets the offset into the dash pattern where dashing should begin. | |
| 5303 | 9366 | ||
| 5304 | - | The uniform must be of uint type.</doc> | |
| 5305 | - | <source-position filename="gsk/gskglshader.h" line="144"/> | |
| 9367 | + | This is an offset into the length of the path, not an index into | |
| 9368 | + | the array values of the dash array. | |
| 9369 | + | ||
| 9370 | + | See [method@Gsk.Stroke.set_dash] for more details on dashing.</doc> | |
| 9371 | + | <source-position filename="gsk/gskstroke.h" line="77"/> | |
| 5306 | 9372 | <return-value transfer-ownership="none"> | |
| 5307 | 9373 | <type name="none" c:type="void"/> | |
| 5308 | 9374 | </return-value> | |
| 5309 | 9375 | <parameters> | |
| 5310 | - | <instance-parameter name="builder" transfer-ownership="none"> | |
| 9376 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5311 | 9377 | <doc xml:space="preserve" | |
| 5312 | - | filename="gsk/gskglshader.c" | |
| 5313 | - | line="1292">a `GskShaderArgsBuilder`</doc> | |
| 5314 | - | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 9378 | + | filename="gsk/gskstroke.c" | |
| 9379 | + | line="456">a stroke</doc> | |
| 9380 | + | <type name="Stroke" c:type="GskStroke*"/> | |
| 5315 | 9381 | </instance-parameter> | |
| 5316 | - | <parameter name="idx" transfer-ownership="none"> | |
| 5317 | - | <doc xml:space="preserve" | |
| 5318 | - | filename="gsk/gskglshader.c" | |
| 5319 | - | line="1293">index of the uniform</doc> | |
| 5320 | - | <type name="gint" c:type="int"/> | |
| 5321 | - | </parameter> | |
| 5322 | - | <parameter name="value" transfer-ownership="none"> | |
| 9382 | + | <parameter name="offset" transfer-ownership="none"> | |
| 5323 | 9383 | <doc xml:space="preserve" | |
| 5324 | - | filename="gsk/gskglshader.c" | |
| 5325 | - | line="1294">value to set the uniform to</doc> | |
| 5326 | - | <type name="guint32" c:type="guint32"/> | |
| 9384 | + | filename="gsk/gskstroke.c" | |
| 9385 | + | line="457">offset into the dash pattern</doc> | |
| 9386 | + | <type name="gfloat" c:type="float"/> | |
| 5327 | 9387 | </parameter> | |
| 5328 | 9388 | </parameters> | |
| 5329 | 9389 | </method> | |
| 5330 | - | <method name="set_vec2" c:identifier="gsk_shader_args_builder_set_vec2"> | |
| 9390 | + | <method name="set_line_cap" | |
| 9391 | + | c:identifier="gsk_stroke_set_line_cap" | |
| 9392 | + | version="4.14"> | |
| 5331 | 9393 | <doc xml:space="preserve" | |
| 5332 | - | filename="gsk/gskglshader.c" | |
| 5333 | - | line="1346">Sets the value of the uniform @idx. | |
| 9394 | + | filename="gsk/gskstroke.c" | |
| 9395 | + | line="244">Sets the line cap to be used when stroking. | |
| 5334 | 9396 | ||
| 5335 | - | The uniform must be of vec2 type.</doc> | |
| 5336 | - | <source-position filename="gsk/gskglshader.h" line="152"/> | |
| 9397 | + | See [enum@Gsk.LineCap] for details.</doc> | |
| 9398 | + | <source-position filename="gsk/gskstroke.h" line="52"/> | |
| 5337 | 9399 | <return-value transfer-ownership="none"> | |
| 5338 | 9400 | <type name="none" c:type="void"/> | |
| 5339 | 9401 | </return-value> | |
| 5340 | 9402 | <parameters> | |
| 5341 | - | <instance-parameter name="builder" transfer-ownership="none"> | |
| 9403 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5342 | 9404 | <doc xml:space="preserve" | |
| 5343 | - | filename="gsk/gskglshader.c" | |
| 5344 | - | line="1348">A `GskShaderArgsBuilder`</doc> | |
| 5345 | - | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 9405 | + | filename="gsk/gskstroke.c" | |
| 9406 | + | line="246">a stroke</doc> | |
| 9407 | + | <type name="Stroke" c:type="GskStroke*"/> | |
| 5346 | 9408 | </instance-parameter> | |
| 5347 | - | <parameter name="idx" transfer-ownership="none"> | |
| 5348 | - | <doc xml:space="preserve" | |
| 5349 | - | filename="gsk/gskglshader.c" | |
| 5350 | - | line="1349">index of the uniform</doc> | |
| 5351 | - | <type name="gint" c:type="int"/> | |
| 5352 | - | </parameter> | |
| 5353 | - | <parameter name="value" transfer-ownership="none"> | |
| 9409 | + | <parameter name="line_cap" transfer-ownership="none"> | |
| 5354 | 9410 | <doc xml:space="preserve" | |
| 5355 | - | filename="gsk/gskglshader.c" | |
| 5356 | - | line="1350">value to set the uniform too</doc> | |
| 5357 | - | <type name="Graphene.Vec2" c:type="const graphene_vec2_t*"/> | |
| 9411 | + | filename="gsk/gskstroke.c" | |
| 9412 | + | line="247">the line cap</doc> | |
| 9413 | + | <type name="LineCap" c:type="GskLineCap"/> | |
| 5358 | 9414 | </parameter> | |
| 5359 | 9415 | </parameters> | |
| 5360 | 9416 | </method> | |
| 5361 | - | <method name="set_vec3" c:identifier="gsk_shader_args_builder_set_vec3"> | |
| 9417 | + | <method name="set_line_join" | |
| 9418 | + | c:identifier="gsk_stroke_set_line_join" | |
| 9419 | + | version="4.14"> | |
| 5362 | 9420 | <doc xml:space="preserve" | |
| 5363 | - | filename="gsk/gskglshader.c" | |
| 5364 | - | line="1374">Sets the value of the uniform @idx. | |
| 9421 | + | filename="gsk/gskstroke.c" | |
| 9422 | + | line="284">Sets the line join to be used when stroking. | |
| 5365 | 9423 | ||
| 5366 | - | The uniform must be of vec3 type.</doc> | |
| 5367 | - | <source-position filename="gsk/gskglshader.h" line="156"/> | |
| 9424 | + | See [enum@Gsk.LineJoin] for details.</doc> | |
| 9425 | + | <source-position filename="gsk/gskstroke.h" line="57"/> | |
| 5368 | 9426 | <return-value transfer-ownership="none"> | |
| 5369 | 9427 | <type name="none" c:type="void"/> | |
| 5370 | 9428 | </return-value> | |
| 5371 | 9429 | <parameters> | |
| 5372 | - | <instance-parameter name="builder" transfer-ownership="none"> | |
| 9430 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5373 | 9431 | <doc xml:space="preserve" | |
| 5374 | - | filename="gsk/gskglshader.c" | |
| 5375 | - | line="1376">a `GskShaderArgsBuilder`</doc> | |
| 5376 | - | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 9432 | + | filename="gsk/gskstroke.c" | |
| 9433 | + | line="286">a stroke</doc> | |
| 9434 | + | <type name="Stroke" c:type="GskStroke*"/> | |
| 5377 | 9435 | </instance-parameter> | |
| 5378 | - | <parameter name="idx" transfer-ownership="none"> | |
| 5379 | - | <doc xml:space="preserve" | |
| 5380 | - | filename="gsk/gskglshader.c" | |
| 5381 | - | line="1377">index of the uniform</doc> | |
| 5382 | - | <type name="gint" c:type="int"/> | |
| 5383 | - | </parameter> | |
| 5384 | - | <parameter name="value" transfer-ownership="none"> | |
| 9436 | + | <parameter name="line_join" transfer-ownership="none"> | |
| 5385 | 9437 | <doc xml:space="preserve" | |
| 5386 | - | filename="gsk/gskglshader.c" | |
| 5387 | - | line="1378">value to set the uniform too</doc> | |
| 5388 | - | <type name="Graphene.Vec3" c:type="const graphene_vec3_t*"/> | |
| 9438 | + | filename="gsk/gskstroke.c" | |
| 9439 | + | line="287">the line join to use</doc> | |
| 9440 | + | <type name="LineJoin" c:type="GskLineJoin"/> | |
| 5389 | 9441 | </parameter> | |
| 5390 | 9442 | </parameters> | |
| 5391 | 9443 | </method> | |
| 5392 | - | <method name="set_vec4" c:identifier="gsk_shader_args_builder_set_vec4"> | |
| 9444 | + | <method name="set_line_width" | |
| 9445 | + | c:identifier="gsk_stroke_set_line_width" | |
| 9446 | + | version="4.14"> | |
| 5393 | 9447 | <doc xml:space="preserve" | |
| 5394 | - | filename="gsk/gskglshader.c" | |
| 5395 | - | line="1402">Sets the value of the uniform @idx. | |
| 9448 | + | filename="gsk/gskstroke.c" | |
| 9449 | + | line="205">Sets the line width to be used when stroking. | |
| 5396 | 9450 | ||
| 5397 | - | The uniform must be of vec4 type.</doc> | |
| 5398 | - | <source-position filename="gsk/gskglshader.h" line="160"/> | |
| 9451 | + | The line width must be > 0.</doc> | |
| 9452 | + | <source-position filename="gsk/gskstroke.h" line="47"/> | |
| 5399 | 9453 | <return-value transfer-ownership="none"> | |
| 5400 | 9454 | <type name="none" c:type="void"/> | |
| 5401 | 9455 | </return-value> | |
| 5402 | 9456 | <parameters> | |
| 5403 | - | <instance-parameter name="builder" transfer-ownership="none"> | |
| 9457 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5404 | 9458 | <doc xml:space="preserve" | |
| 5405 | - | filename="gsk/gskglshader.c" | |
| 5406 | - | line="1404">a `GskShaderArgsBuilder`</doc> | |
| 5407 | - | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 9459 | + | filename="gsk/gskstroke.c" | |
| 9460 | + | line="207">a stroke</doc> | |
| 9461 | + | <type name="Stroke" c:type="GskStroke*"/> | |
| 5408 | 9462 | </instance-parameter> | |
| 5409 | - | <parameter name="idx" transfer-ownership="none"> | |
| 9463 | + | <parameter name="line_width" transfer-ownership="none"> | |
| 5410 | 9464 | <doc xml:space="preserve" | |
| 5411 | - | filename="gsk/gskglshader.c" | |
| 5412 | - | line="1405">index of the uniform</doc> | |
| 5413 | - | <type name="gint" c:type="int"/> | |
| 5414 | - | </parameter> | |
| 5415 | - | <parameter name="value" transfer-ownership="none"> | |
| 5416 | - | <doc xml:space="preserve" | |
| 5417 | - | filename="gsk/gskglshader.c" | |
| 5418 | - | line="1406">value to set the uniform too</doc> | |
| 5419 | - | <type name="Graphene.Vec4" c:type="const graphene_vec4_t*"/> | |
| 9465 | + | filename="gsk/gskstroke.c" | |
| 9466 | + | line="208">width of the line in pixels</doc> | |
| 9467 | + | <type name="gfloat" c:type="float"/> | |
| 5420 | 9468 | </parameter> | |
| 5421 | 9469 | </parameters> | |
| 5422 | 9470 | </method> | |
| 5423 | - | <method name="to_args" c:identifier="gsk_shader_args_builder_to_args"> | |
| 9471 | + | <method name="set_miter_limit" | |
| 9472 | + | c:identifier="gsk_stroke_set_miter_limit" | |
| 9473 | + | version="4.14"> | |
| 5424 | 9474 | <doc xml:space="preserve" | |
| 5425 | - | filename="gsk/gskglshader.c" | |
| 5426 | - | line="1138">Creates a new `GBytes` args from the current state of the | |
| 5427 | - | given @builder. | |
| 9475 | + | filename="gsk/gskstroke.c" | |
| 9476 | + | line="324">Sets the miter limit to be used when stroking. | |
| 5428 | 9477 | ||
| 5429 | - | Any uniforms of the shader that have not been explicitly set on | |
| 5430 | - | the @builder are zero-initialized. | |
| 9478 | + | The miter limit is the distance from the corner where sharp | |
| 9479 | + | turns of joins get cut off. | |
| 5431 | 9480 | ||
| 5432 | - | The given `GskShaderArgsBuilder` is reset once this function returns; | |
| 5433 | - | you cannot call this function multiple times on the same @builder instance. | |
| 9481 | + | The limit is specfied in units of line width and must be non-negative. | |
| 5434 | 9482 | ||
| 5435 | - | This function is intended primarily for bindings. C code should use | |
| 5436 | - | [method@Gsk.ShaderArgsBuilder.free_to_args].</doc> | |
| 5437 | - | <source-position filename="gsk/gskglshader.h" line="127"/> | |
| 5438 | - | <return-value transfer-ownership="full"> | |
| 5439 | - | <doc xml:space="preserve" | |
| 5440 | - | filename="gsk/gskglshader.c" | |
| 5441 | - | line="1155">the newly allocated buffer with | |
| 5442 | - | all the args added to @builder</doc> | |
| 5443 | - | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 9483 | + | For joins of type [enum@Gsk.LineJoin.miter] that exceed the miter limit, | |
| 9484 | + | the join gets rendered as if it was of type [enum@Gsk.LineJoin.bevel].</doc> | |
| 9485 | + | <source-position filename="gsk/gskstroke.h" line="63"/> | |
| 9486 | + | <return-value transfer-ownership="none"> | |
| 9487 | + | <type name="none" c:type="void"/> | |
| 5444 | 9488 | </return-value> | |
| 5445 | 9489 | <parameters> | |
| 5446 | - | <instance-parameter name="builder" transfer-ownership="none"> | |
| 9490 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5447 | 9491 | <doc xml:space="preserve" | |
| 5448 | - | filename="gsk/gskglshader.c" | |
| 5449 | - | line="1140">a `GskShaderArgsBuilder`</doc> | |
| 5450 | - | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 9492 | + | filename="gsk/gskstroke.c" | |
| 9493 | + | line="326">a stroke</doc> | |
| 9494 | + | <type name="Stroke" c:type="GskStroke*"/> | |
| 5451 | 9495 | </instance-parameter> | |
| 9496 | + | <parameter name="limit" transfer-ownership="none"> | |
| 9497 | + | <doc xml:space="preserve" | |
| 9498 | + | filename="gsk/gskstroke.c" | |
| 9499 | + | line="327">the miter limit</doc> | |
| 9500 | + | <type name="gfloat" c:type="float"/> | |
| 9501 | + | </parameter> | |
| 5452 | 9502 | </parameters> | |
| 5453 | 9503 | </method> | |
| 5454 | - | <method name="unref" c:identifier="gsk_shader_args_builder_unref"> | |
| 9504 | + | <method name="to_cairo" | |
| 9505 | + | c:identifier="gsk_stroke_to_cairo" | |
| 9506 | + | version="4.14"> | |
| 5455 | 9507 | <doc xml:space="preserve" | |
| 5456 | - | filename="gsk/gskglshader.c" | |
| 5457 | - | line="1193">Decreases the reference count of a `GskShaderArgBuilder` by one. | |
| 5458 | - | ||
| 5459 | - | If the resulting reference count is zero, frees the builder.</doc> | |
| 5460 | - | <source-position filename="gsk/gskglshader.h" line="133"/> | |
| 9508 | + | filename="gsk/gskstroke.c" | |
| 9509 | + | line="105">A helper function that sets the stroke parameters | |
| 9510 | + | of a cairo context from a `GskStroke`.</doc> | |
| 9511 | + | <source-position filename="gsk/gskstroke.h" line="83"/> | |
| 5461 | 9512 | <return-value transfer-ownership="none"> | |
| 5462 | 9513 | <type name="none" c:type="void"/> | |
| 5463 | 9514 | </return-value> | |
| 5464 | 9515 | <parameters> | |
| 5465 | - | <instance-parameter name="builder" transfer-ownership="none"> | |
| 9516 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 5466 | 9517 | <doc xml:space="preserve" | |
| 5467 | - | filename="gsk/gskglshader.c" | |
| 5468 | - | line="1195">a `GskShaderArgsBuilder`</doc> | |
| 5469 | - | <type name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder*"/> | |
| 9518 | + | filename="gsk/gskstroke.c" | |
| 9519 | + | line="107">a stroke</doc> | |
| 9520 | + | <type name="Stroke" c:type="const GskStroke*"/> | |
| 5470 | 9521 | </instance-parameter> | |
| 5471 | - | </parameters> | |
| 5472 | - | </method> | |
| 5473 | - | </record> | |
| 5474 | - | <record name="Shadow" c:type="GskShadow"> | |
| 5475 | - | <doc xml:space="preserve" | |
| 5476 | - | filename="gsk/gskrendernode.h" | |
| 5477 | - | line="56">The shadow parameters in a shadow node.</doc> | |
| 5478 | - | <source-position filename="gsk/gskrendernode.h" line="71"/> | |
| 5479 | - | <field name="color" writable="1"> | |
| 5480 | - | <doc xml:space="preserve" | |
| 5481 | - | filename="gsk/gskrendernode.h" | |
| 5482 | - | line="58">the color of the shadow</doc> | |
| 5483 | - | <type name="Gdk.RGBA" c:type="GdkRGBA"/> | |
| 5484 | - | </field> | |
| 5485 | - | <field name="dx" writable="1"> | |
| 5486 | - | <doc xml:space="preserve" | |
| 5487 | - | filename="gsk/gskrendernode.h" | |
| 5488 | - | line="59">the horizontal offset of the shadow</doc> | |
| 5489 | - | <type name="gfloat" c:type="float"/> | |
| 5490 | - | </field> | |
| 5491 | - | <field name="dy" writable="1"> | |
| 5492 | - | <doc xml:space="preserve" | |
| 5493 | - | filename="gsk/gskrendernode.h" | |
| 5494 | - | line="60">the vertical offset of the shadow</doc> | |
| 5495 | - | <type name="gfloat" c:type="float"/> | |
| 5496 | - | </field> | |
| 5497 | - | <field name="radius" writable="1"> | |
| 9522 | + | <parameter name="cr" transfer-ownership="none"> | |
| 9523 | + | <doc xml:space="preserve" | |
| 9524 | + | filename="gsk/gskstroke.c" | |
| 9525 | + | line="108">the cairo context to configure</doc> | |
| 9526 | + | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 9527 | + | </parameter> | |
| 9528 | + | </parameters> | |
| 9529 | + | </method> | |
| 9530 | + | <function name="equal" c:identifier="gsk_stroke_equal" version="4.14"> | |
| 5498 | 9531 | <doc xml:space="preserve" | |
| 5499 | - | filename="gsk/gskrendernode.h" | |
| 5500 | - | line="61">the radius of the shadow</doc> | |
| 5501 | - | <type name="gfloat" c:type="float"/> | |
| 5502 | - | </field> | |
| 9532 | + | filename="gsk/gskstroke.c" | |
| 9533 | + | line="172">Checks if two strokes are identical.</doc> | |
| 9534 | + | <source-position filename="gsk/gskstroke.h" line="43"/> | |
| 9535 | + | <return-value transfer-ownership="none"> | |
| 9536 | + | <doc xml:space="preserve" | |
| 9537 | + | filename="gsk/gskstroke.c" | |
| 9538 | + | line="179">true if the two strokes are equal, false otherwise</doc> | |
| 9539 | + | <type name="gboolean" c:type="gboolean"/> | |
| 9540 | + | </return-value> | |
| 9541 | + | <parameters> | |
| 9542 | + | <parameter name="stroke1" | |
| 9543 | + | transfer-ownership="none" | |
| 9544 | + | nullable="1" | |
| 9545 | + | allow-none="1"> | |
| 9546 | + | <doc xml:space="preserve" | |
| 9547 | + | filename="gsk/gskstroke.c" | |
| 9548 | + | line="174">the first stroke</doc> | |
| 9549 | + | <type name="gpointer" c:type="gconstpointer"/> | |
| 9550 | + | </parameter> | |
| 9551 | + | <parameter name="stroke2" | |
| 9552 | + | transfer-ownership="none" | |
| 9553 | + | nullable="1" | |
| 9554 | + | allow-none="1"> | |
| 9555 | + | <doc xml:space="preserve" | |
| 9556 | + | filename="gsk/gskstroke.c" | |
| 9557 | + | line="175">the second stroke</doc> | |
| 9558 | + | <type name="gpointer" c:type="gconstpointer"/> | |
| 9559 | + | </parameter> | |
| 9560 | + | </parameters> | |
| 9561 | + | </function> | |
| 5503 | 9562 | </record> | |
| 5504 | - | <class name="ShadowNode" | |
| 5505 | - | c:symbol-prefix="shadow_node" | |
| 5506 | - | c:type="GskShadowNode" | |
| 9563 | + | <class name="StrokeNode" | |
| 9564 | + | c:symbol-prefix="stroke_node" | |
| 9565 | + | c:type="GskStrokeNode" | |
| 9566 | + | version="4.14" | |
| 5507 | 9567 | parent="RenderNode" | |
| 5508 | - | glib:type-name="GskShadowNode" | |
| 5509 | - | glib:get-type="gsk_shadow_node_get_type" | |
| 9568 | + | glib:type-name="GskStrokeNode" | |
| 9569 | + | glib:get-type="gsk_stroke_node_get_type" | |
| 5510 | 9570 | glib:fundamental="1"> | |
| 5511 | 9571 | <doc xml:space="preserve" | |
| 5512 | 9572 | filename="gsk/gskrendernodeimpl.c" | |
| 5513 | - | line="3815">A render node drawing one or more shadows behind its single child node.</doc> | |
| 5514 | - | <constructor name="new" c:identifier="gsk_shadow_node_new"> | |
| 9573 | + | line="6202">A render node that will fill the area determined by stroking the the given | |
| 9574 | + | [struct@Gsk.Path] using the [struct@Gsk.Stroke] attributes.</doc> | |
| 9575 | + | <constructor name="new" | |
| 9576 | + | c:identifier="gsk_stroke_node_new" | |
| 9577 | + | version="4.14"> | |
| 5515 | 9578 | <doc xml:space="preserve" | |
| 5516 | 9579 | filename="gsk/gskrendernodeimpl.c" | |
| 5517 | - | line="3964">Creates a `GskRenderNode` that will draw a @child with the given | |
| 5518 | - | @shadows below it.</doc> | |
| 5519 | - | <source-position filename="gsk/gskrendernode.h" line="451"/> | |
| 5520 | - | <return-value transfer-ownership="full"> | |
| 9580 | + | line="6303">Creates a #GskRenderNode that will fill the outline generated by stroking | |
| 9581 | + | the given @path using the attributes defined in @stroke. | |
| 9582 | + | ||
| 9583 | + | The area is filled with @child.</doc> | |
| 9584 | + | <source-position filename="gsk/gskrendernode.h" line="487"/> | |
| 9585 | + | <return-value transfer-ownership="none"> | |
| 5521 | 9586 | <doc xml:space="preserve" | |
| 5522 | 9587 | filename="gsk/gskrendernodeimpl.c" | |
| 5523 | - | line="3973">A new `GskRenderNode`</doc> | |
| 5524 | - | <type name="ShadowNode" c:type="GskRenderNode*"/> | |
| 9588 | + | line="6314">A new #GskRenderNode</doc> | |
| 9589 | + | <type name="StrokeNode" c:type="GskRenderNode*"/> | |
| 5525 | 9590 | </return-value> | |
| 5526 | 9591 | <parameters> | |
| 5527 | 9592 | <parameter name="child" transfer-ownership="none"> | |
| 5528 | 9593 | <doc xml:space="preserve" | |
| 5529 | 9594 | filename="gsk/gskrendernodeimpl.c" | |
| 5530 | - | line="3966">The node to draw</doc> | |
| 9595 | + | line="6305">The node to stroke the area with</doc> | |
| 5531 | 9596 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 5532 | 9597 | </parameter> | |
| 5533 | - | <parameter name="shadows" transfer-ownership="none"> | |
| 9598 | + | <parameter name="path" transfer-ownership="none"> | |
| 5534 | 9599 | <doc xml:space="preserve" | |
| 5535 | 9600 | filename="gsk/gskrendernodeimpl.c" | |
| 5536 | - | line="3967">The shadows to apply</doc> | |
| 5537 | - | <array length="2" zero-terminated="0" c:type="const GskShadow*"> | |
| 5538 | - | <type name="Shadow" c:type="GskShadow"/> | |
| 5539 | - | </array> | |
| 9601 | + | line="6306">The path describing the area to stroke</doc> | |
| 9602 | + | <type name="Path" c:type="GskPath*"/> | |
| 5540 | 9603 | </parameter> | |
| 5541 | - | <parameter name="n_shadows" transfer-ownership="none"> | |
| 9604 | + | <parameter name="stroke" transfer-ownership="none"> | |
| 5542 | 9605 | <doc xml:space="preserve" | |
| 5543 | 9606 | filename="gsk/gskrendernodeimpl.c" | |
| 5544 | - | line="3968">number of entries in the @shadows array</doc> | |
| 5545 | - | <type name="gsize" c:type="gsize"/> | |
| 9607 | + | line="6307">The stroke attributes to use</doc> | |
| 9608 | + | <type name="Stroke" c:type="const GskStroke*"/> | |
| 5546 | 9609 | </parameter> | |
| 5547 | 9610 | </parameters> | |
| 5548 | 9611 | </constructor> | |
| 5549 | - | <method name="get_child" c:identifier="gsk_shadow_node_get_child"> | |
| 9612 | + | <method name="get_child" | |
| 9613 | + | c:identifier="gsk_stroke_node_get_child" | |
| 9614 | + | version="4.14"> | |
| 5550 | 9615 | <doc xml:space="preserve" | |
| 5551 | 9616 | filename="gsk/gskrendernodeimpl.c" | |
| 5552 | - | line="4003">Retrieves the child `GskRenderNode` of the shadow @node.</doc> | |
| 5553 | - | <source-position filename="gsk/gskrendernode.h" line="455"/> | |
| 9617 | + | line="6349">Gets the child node that is getting drawn by the given @node.</doc> | |
| 9618 | + | <source-position filename="gsk/gskrendernode.h" line="491"/> | |
| 5554 | 9619 | <return-value transfer-ownership="none"> | |
| 5555 | 9620 | <doc xml:space="preserve" | |
| 5556 | 9621 | filename="gsk/gskrendernodeimpl.c" | |
| 5557 | - | line="4009">the child render node</doc> | |
| 9622 | + | line="6355">The child that is getting drawn</doc> | |
| 5558 | 9623 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 5559 | 9624 | </return-value> | |
| 5560 | 9625 | <parameters> | |
| 5561 | 9626 | <instance-parameter name="node" transfer-ownership="none"> | |
| 5562 | 9627 | <doc xml:space="preserve" | |
| 5563 | 9628 | filename="gsk/gskrendernodeimpl.c" | |
| 5564 | - | line="4005">a shadow `GskRenderNode`</doc> | |
| 5565 | - | <type name="ShadowNode" c:type="const GskRenderNode*"/> | |
| 9629 | + | line="6351">a stroke #GskRenderNode</doc> | |
| 9630 | + | <type name="StrokeNode" c:type="const GskRenderNode*"/> | |
| 5566 | 9631 | </instance-parameter> | |
| 5567 | 9632 | </parameters> | |
| 5568 | 9633 | </method> | |
| 5569 | - | <method name="get_n_shadows" | |
| 5570 | - | c:identifier="gsk_shadow_node_get_n_shadows"> | |
| 9634 | + | <method name="get_path" | |
| 9635 | + | c:identifier="gsk_stroke_node_get_path" | |
| 9636 | + | version="4.14"> | |
| 5571 | 9637 | <doc xml:space="preserve" | |
| 5572 | 9638 | filename="gsk/gskrendernodeimpl.c" | |
| 5573 | - | line="4037">Retrieves the number of shadows in the @node.</doc> | |
| 5574 | - | <source-position filename="gsk/gskrendernode.h" line="460"/> | |
| 9639 | + | line="6369">Retrieves the path that will be stroked with the contents of | |
| 9640 | + | the @node.</doc> | |
| 9641 | + | <source-position filename="gsk/gskrendernode.h" line="493"/> | |
| 5575 | 9642 | <return-value transfer-ownership="none"> | |
| 5576 | 9643 | <doc xml:space="preserve" | |
| 5577 | 9644 | filename="gsk/gskrendernodeimpl.c" | |
| 5578 | - | line="4043">the number of shadows.</doc> | |
| 5579 | - | <type name="gsize" c:type="gsize"/> | |
| 9645 | + | line="6376">a #GskPath</doc> | |
| 9646 | + | <type name="Path" c:type="GskPath*"/> | |
| 5580 | 9647 | </return-value> | |
| 5581 | 9648 | <parameters> | |
| 5582 | 9649 | <instance-parameter name="node" transfer-ownership="none"> | |
| 5583 | 9650 | <doc xml:space="preserve" | |
| 5584 | 9651 | filename="gsk/gskrendernodeimpl.c" | |
| 5585 | - | line="4039">a shadow `GskRenderNode`</doc> | |
| 5586 | - | <type name="ShadowNode" c:type="const GskRenderNode*"/> | |
| 9652 | + | line="6371">a stroke #GskRenderNode</doc> | |
| 9653 | + | <type name="StrokeNode" c:type="const GskRenderNode*"/> | |
| 5587 | 9654 | </instance-parameter> | |
| 5588 | 9655 | </parameters> | |
| 5589 | 9656 | </method> | |
| 5590 | - | <method name="get_shadow" c:identifier="gsk_shadow_node_get_shadow"> | |
| 9657 | + | <method name="get_stroke" | |
| 9658 | + | c:identifier="gsk_stroke_node_get_stroke" | |
| 9659 | + | version="4.14"> | |
| 5591 | 9660 | <doc xml:space="preserve" | |
| 5592 | 9661 | filename="gsk/gskrendernodeimpl.c" | |
| 5593 | - | line="4019">Retrieves the shadow data at the given index @i.</doc> | |
| 5594 | - | <source-position filename="gsk/gskrendernode.h" line="457"/> | |
| 9662 | + | line="6390">Retrieves the stroke attributes used in this @node.</doc> | |
| 9663 | + | <source-position filename="gsk/gskrendernode.h" line="495"/> | |
| 5595 | 9664 | <return-value transfer-ownership="none"> | |
| 5596 | 9665 | <doc xml:space="preserve" | |
| 5597 | 9666 | filename="gsk/gskrendernodeimpl.c" | |
| 5598 | - | line="4026">the shadow data</doc> | |
| 5599 | - | <type name="Shadow" c:type="const GskShadow*"/> | |
| 9667 | + | line="6396">a #GskStroke</doc> | |
| 9668 | + | <type name="Stroke" c:type="const GskStroke*"/> | |
| 5600 | 9669 | </return-value> | |
| 5601 | 9670 | <parameters> | |
| 5602 | 9671 | <instance-parameter name="node" transfer-ownership="none"> | |
| 5603 | 9672 | <doc xml:space="preserve" | |
| 5604 | 9673 | filename="gsk/gskrendernodeimpl.c" | |
| 5605 | - | line="4021">a shadow `GskRenderNode`</doc> | |
| 5606 | - | <type name="ShadowNode" c:type="const GskRenderNode*"/> | |
| 9674 | + | line="6392">a stroke #GskRenderNode</doc> | |
| 9675 | + | <type name="StrokeNode" c:type="const GskRenderNode*"/> | |
| 5607 | 9676 | </instance-parameter> | |
| 5608 | - | <parameter name="i" transfer-ownership="none"> | |
| 9677 | + | </parameters> | |
| 9678 | + | </method> | |
| 9679 | + | </class> | |
| 9680 | + | <class name="SubsurfaceNode" | |
| 9681 | + | c:symbol-prefix="subsurface_node" | |
| 9682 | + | c:type="GskSubsurfaceNode" | |
| 9683 | + | version="4.14" | |
| 9684 | + | parent="RenderNode" | |
| 9685 | + | glib:type-name="GskSubsurfaceNode" | |
| 9686 | + | glib:get-type="gsk_subsurface_node_get_type" | |
| 9687 | + | glib:fundamental="1"> | |
| 9688 | + | <doc xml:space="preserve" | |
| 9689 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9690 | + | line="8542">A render node that potentially diverts a part of the scene graph to a subsurface.</doc> | |
| 9691 | + | <constructor name="new" | |
| 9692 | + | c:identifier="gsk_subsurface_node_new" | |
| 9693 | + | version="4.14" | |
| 9694 | + | introspectable="0"> | |
| 9695 | + | <doc xml:space="preserve" | |
| 9696 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9697 | + | line="8642">Creates a `GskRenderNode` that will possibly divert the child | |
| 9698 | + | node to a subsurface. | |
| 9699 | + | ||
| 9700 | + | Note: Since subsurfaces are currently private, these nodes cannot | |
| 9701 | + | currently be created outside of GTK. See | |
| 9702 | + | [GtkGraphicsOffload](../gtk4/class.GraphicsOffload.html).</doc> | |
| 9703 | + | <source-position filename="gsk/gskrendernode.h" line="606"/> | |
| 9704 | + | <return-value transfer-ownership="full"> | |
| 9705 | + | <doc xml:space="preserve" | |
| 9706 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9707 | + | line="8654">A new `GskRenderNode`</doc> | |
| 9708 | + | <type name="SubsurfaceNode" c:type="GskRenderNode*"/> | |
| 9709 | + | </return-value> | |
| 9710 | + | <parameters> | |
| 9711 | + | <parameter name="child" transfer-ownership="none"> | |
| 5609 | 9712 | <doc xml:space="preserve" | |
| 5610 | 9713 | filename="gsk/gskrendernodeimpl.c" | |
| 5611 | - | line="4022">the given index</doc> | |
| 5612 | - | <type name="gsize" c:type="gsize"/> | |
| 9714 | + | line="8644">The child to divert to a subsurface</doc> | |
| 9715 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 9716 | + | </parameter> | |
| 9717 | + | <parameter name="subsurface" | |
| 9718 | + | transfer-ownership="none" | |
| 9719 | + | nullable="1" | |
| 9720 | + | allow-none="1"> | |
| 9721 | + | <doc xml:space="preserve" | |
| 9722 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9723 | + | line="8645">the subsurface to use</doc> | |
| 9724 | + | <type name="gpointer" c:type="gpointer"/> | |
| 9725 | + | </parameter> | |
| 9726 | + | </parameters> | |
| 9727 | + | </constructor> | |
| 9728 | + | <function name="get_subsurface" | |
| 9729 | + | c:identifier="gsk_subsurface_node_get_subsurface" | |
| 9730 | + | version="4.14" | |
| 9731 | + | introspectable="0"> | |
| 9732 | + | <doc xml:space="preserve" | |
| 9733 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9734 | + | line="8704">Gets the subsurface that was set on this node</doc> | |
| 9735 | + | <source-position filename="gsk/gskrendernode.h" line="611"/> | |
| 9736 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 9737 | + | <doc xml:space="preserve" | |
| 9738 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9739 | + | line="8710">the subsurface</doc> | |
| 9740 | + | <type name="gpointer" c:type="gpointer"/> | |
| 9741 | + | </return-value> | |
| 9742 | + | <parameters> | |
| 9743 | + | <parameter name="node" transfer-ownership="none"> | |
| 9744 | + | <doc xml:space="preserve" | |
| 9745 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9746 | + | line="8706">a debug `GskRenderNode`</doc> | |
| 9747 | + | <type name="DebugNode" c:type="const GskRenderNode*"/> | |
| 5613 | 9748 | </parameter> | |
| 5614 | 9749 | </parameters> | |
| 9750 | + | </function> | |
| 9751 | + | <method name="get_child" | |
| 9752 | + | c:identifier="gsk_subsurface_node_get_child" | |
| 9753 | + | version="4.14"> | |
| 9754 | + | <doc xml:space="preserve" | |
| 9755 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9756 | + | line="8686">Gets the child node that is getting drawn by the given @node.</doc> | |
| 9757 | + | <source-position filename="gsk/gskrendernode.h" line="609"/> | |
| 9758 | + | <return-value transfer-ownership="none"> | |
| 9759 | + | <doc xml:space="preserve" | |
| 9760 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9761 | + | line="8692">the child `GskRenderNode`</doc> | |
| 9762 | + | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 9763 | + | </return-value> | |
| 9764 | + | <parameters> | |
| 9765 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 9766 | + | <doc xml:space="preserve" | |
| 9767 | + | filename="gsk/gskrendernodeimpl.c" | |
| 9768 | + | line="8688">a debug `GskRenderNode`</doc> | |
| 9769 | + | <type name="SubsurfaceNode" c:type="const GskRenderNode*"/> | |
| 9770 | + | </instance-parameter> | |
| 9771 | + | </parameters> | |
| 5615 | 9772 | </method> | |
| 5616 | 9773 | </class> | |
| 5617 | 9774 | <class name="TextNode" | |
| @@ -5623,44 +9780,44 @@ If the resulting reference count is zero, frees the builder.</doc> | |||
| 5623 | 9780 | glib:fundamental="1"> | |
| 5624 | 9781 | <doc xml:space="preserve" | |
| 5625 | 9782 | filename="gsk/gskrendernodeimpl.c" | |
| 5626 | - | line="4400">A render node drawing a set of glyphs.</doc> | |
| 9783 | + | line="7173">A render node drawing a set of glyphs.</doc> | |
| 5627 | 9784 | <constructor name="new" c:identifier="gsk_text_node_new"> | |
| 5628 | 9785 | <doc xml:space="preserve" | |
| 5629 | 9786 | filename="gsk/gskrendernodeimpl.c" | |
| 5630 | - | line="4489">Creates a render node that renders the given glyphs. | |
| 9787 | + | line="7294">Creates a render node that renders the given glyphs. | |
| 5631 | 9788 | ||
| 5632 | 9789 | Note that @color may not be used if the font contains | |
| 5633 | 9790 | color glyphs.</doc> | |
| 5634 | - | <source-position filename="gsk/gskrendernode.h" line="491"/> | |
| 9791 | + | <source-position filename="gsk/gskrendernode.h" line="540"/> | |
| 5635 | 9792 | <return-value transfer-ownership="full" nullable="1"> | |
| 5636 | 9793 | <doc xml:space="preserve" | |
| 5637 | 9794 | filename="gsk/gskrendernodeimpl.c" | |
| 5638 | - | line="4501">a new `GskRenderNode`</doc> | |
| 9795 | + | line="7306">a new `GskRenderNode`</doc> | |
| 5639 | 9796 | <type name="TextNode" c:type="GskRenderNode*"/> | |
| 5640 | 9797 | </return-value> | |
| 5641 | 9798 | <parameters> | |
| 5642 | 9799 | <parameter name="font" transfer-ownership="none"> | |
| 5643 | 9800 | <doc xml:space="preserve" | |
| 5644 | 9801 | filename="gsk/gskrendernodeimpl.c" | |
| 5645 | - | line="4491">the `PangoFont` containing the glyphs</doc> | |
| 9802 | + | line="7296">the `PangoFont` containing the glyphs</doc> | |
| 5646 | 9803 | <type name="Pango.Font" c:type="PangoFont*"/> | |
| 5647 | 9804 | </parameter> | |
| 5648 | 9805 | <parameter name="glyphs" transfer-ownership="none"> | |
| 5649 | 9806 | <doc xml:space="preserve" | |
| 5650 | 9807 | filename="gsk/gskrendernodeimpl.c" | |
| 5651 | - | line="4492">the `PangoGlyphString` to render</doc> | |
| 9808 | + | line="7297">the `PangoGlyphString` to render</doc> | |
| 5652 | 9809 | <type name="Pango.GlyphString" c:type="PangoGlyphString*"/> | |
| 5653 | 9810 | </parameter> | |
| 5654 | 9811 | <parameter name="color" transfer-ownership="none"> | |
| 5655 | 9812 | <doc xml:space="preserve" | |
| 5656 | 9813 | filename="gsk/gskrendernodeimpl.c" | |
| 5657 | - | line="4493">the foreground color to render with</doc> | |
| 9814 | + | line="7298">the foreground color to render with</doc> | |
| 5658 | 9815 | <type name="Gdk.RGBA" c:type="const GdkRGBA*"/> | |
| 5659 | 9816 | </parameter> | |
| 5660 | 9817 | <parameter name="offset" transfer-ownership="none"> | |
| 5661 | 9818 | <doc xml:space="preserve" | |
| 5662 | 9819 | filename="gsk/gskrendernodeimpl.c" | |
| 5663 | - | line="4494">offset of the baseline</doc> | |
| 9820 | + | line="7299">offset of the baseline</doc> | |
| 5664 | 9821 | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 5665 | 9822 | </parameter> | |
| 5666 | 9823 | </parameters> | |
| @@ -5668,19 +9825,22 @@ color glyphs.</doc> | |||
| 5668 | 9825 | <method name="get_color" c:identifier="gsk_text_node_get_color"> | |
| 5669 | 9826 | <doc xml:space="preserve" | |
| 5670 | 9827 | filename="gsk/gskrendernodeimpl.c" | |
| 5671 | - | line="4560">Retrieves the color used by the text @node.</doc> | |
| 5672 | - | <source-position filename="gsk/gskrendernode.h" line="505"/> | |
| 9828 | + | line="7410">Retrieves the color used by the text @node. | |
| 9829 | + | ||
| 9830 | + | The value returned by this function will not be correct | |
| 9831 | + | if the render node was created for a non-sRGB color.</doc> | |
| 9832 | + | <source-position filename="gsk/gskrendernode.h" line="554"/> | |
| 5673 | 9833 | <return-value transfer-ownership="none"> | |
| 5674 | 9834 | <doc xml:space="preserve" | |
| 5675 | 9835 | filename="gsk/gskrendernodeimpl.c" | |
| 5676 | - | line="4566">the text color</doc> | |
| 9836 | + | line="7419">the text color</doc> | |
| 5677 | 9837 | <type name="Gdk.RGBA" c:type="const GdkRGBA*"/> | |
| 5678 | 9838 | </return-value> | |
| 5679 | 9839 | <parameters> | |
| 5680 | 9840 | <instance-parameter name="node" transfer-ownership="none"> | |
| 5681 | 9841 | <doc xml:space="preserve" | |
| 5682 | 9842 | filename="gsk/gskrendernodeimpl.c" | |
| 5683 | - | line="4562">a text `GskRenderNode`</doc> | |
| 9843 | + | line="7412">a text `GskRenderNode`</doc> | |
| 5684 | 9844 | <type name="TextNode" c:type="const GskRenderNode*"/> | |
| 5685 | 9845 | </instance-parameter> | |
| 5686 | 9846 | </parameters> | |
| @@ -5688,19 +9848,19 @@ color glyphs.</doc> | |||
| 5688 | 9848 | <method name="get_font" c:identifier="gsk_text_node_get_font"> | |
| 5689 | 9849 | <doc xml:space="preserve" | |
| 5690 | 9850 | filename="gsk/gskrendernodeimpl.c" | |
| 5691 | - | line="4576">Returns the font used by the text @node.</doc> | |
| 5692 | - | <source-position filename="gsk/gskrendernode.h" line="496"/> | |
| 9851 | + | line="7446">Returns the font used by the text @node.</doc> | |
| 9852 | + | <source-position filename="gsk/gskrendernode.h" line="545"/> | |
| 5693 | 9853 | <return-value transfer-ownership="none"> | |
| 5694 | 9854 | <doc xml:space="preserve" | |
| 5695 | 9855 | filename="gsk/gskrendernodeimpl.c" | |
| 5696 | - | line="4582">the font</doc> | |
| 9856 | + | line="7452">the font</doc> | |
| 5697 | 9857 | <type name="Pango.Font" c:type="PangoFont*"/> | |
| 5698 | 9858 | </return-value> | |
| 5699 | 9859 | <parameters> | |
| 5700 | 9860 | <instance-parameter name="node" transfer-ownership="none"> | |
| 5701 | 9861 | <doc xml:space="preserve" | |
| 5702 | 9862 | filename="gsk/gskrendernodeimpl.c" | |
| 5703 | - | line="4578">The `GskRenderNode`</doc> | |
| 9863 | + | line="7448">The `GskRenderNode`</doc> | |
| 5704 | 9864 | <type name="TextNode" c:type="const GskRenderNode*"/> | |
| 5705 | 9865 | </instance-parameter> | |
| 5706 | 9866 | </parameters> | |
| @@ -5708,12 +9868,12 @@ color glyphs.</doc> | |||
| 5708 | 9868 | <method name="get_glyphs" c:identifier="gsk_text_node_get_glyphs"> | |
| 5709 | 9869 | <doc xml:space="preserve" | |
| 5710 | 9870 | filename="gsk/gskrendernodeimpl.c" | |
| 5711 | - | line="4626">Retrieves the glyph information in the @node.</doc> | |
| 5712 | - | <source-position filename="gsk/gskrendernode.h" line="502"/> | |
| 9871 | + | line="7504">Retrieves the glyph information in the @node.</doc> | |
| 9872 | + | <source-position filename="gsk/gskrendernode.h" line="551"/> | |
| 5713 | 9873 | <return-value transfer-ownership="none"> | |
| 5714 | 9874 | <doc xml:space="preserve" | |
| 5715 | 9875 | filename="gsk/gskrendernodeimpl.c" | |
| 5716 | - | line="4633">the glyph information</doc> | |
| 9876 | + | line="7511">the glyph information</doc> | |
| 5717 | 9877 | <array length="0" zero-terminated="0" c:type="const PangoGlyphInfo*"> | |
| 5718 | 9878 | <type name="Pango.GlyphInfo" c:type="PangoGlyphInfo"/> | |
| 5719 | 9879 | </array> | |
| @@ -5722,7 +9882,7 @@ color glyphs.</doc> | |||
| 5722 | 9882 | <instance-parameter name="node" transfer-ownership="none"> | |
| 5723 | 9883 | <doc xml:space="preserve" | |
| 5724 | 9884 | filename="gsk/gskrendernodeimpl.c" | |
| 5725 | - | line="4628">a text `GskRenderNode`</doc> | |
| 9885 | + | line="7506">a text `GskRenderNode`</doc> | |
| 5726 | 9886 | <type name="TextNode" c:type="const GskRenderNode*"/> | |
| 5727 | 9887 | </instance-parameter> | |
| 5728 | 9888 | <parameter name="n_glyphs" | |
| @@ -5733,7 +9893,7 @@ color glyphs.</doc> | |||
| 5733 | 9893 | allow-none="1"> | |
| 5734 | 9894 | <doc xml:space="preserve" | |
| 5735 | 9895 | filename="gsk/gskrendernodeimpl.c" | |
| 5736 | - | line="4629">the number of glyphs returned</doc> | |
| 9896 | + | line="7507">the number of glyphs returned</doc> | |
| 5737 | 9897 | <type name="guint" c:type="guint*"/> | |
| 5738 | 9898 | </parameter> | |
| 5739 | 9899 | </parameters> | |
| @@ -5742,19 +9902,19 @@ color glyphs.</doc> | |||
| 5742 | 9902 | c:identifier="gsk_text_node_get_num_glyphs"> | |
| 5743 | 9903 | <doc xml:space="preserve" | |
| 5744 | 9904 | filename="gsk/gskrendernodeimpl.c" | |
| 5745 | - | line="4610">Retrieves the number of glyphs in the text node.</doc> | |
| 5746 | - | <source-position filename="gsk/gskrendernode.h" line="500"/> | |
| 9905 | + | line="7488">Retrieves the number of glyphs in the text node.</doc> | |
| 9906 | + | <source-position filename="gsk/gskrendernode.h" line="549"/> | |
| 5747 | 9907 | <return-value transfer-ownership="none"> | |
| 5748 | 9908 | <doc xml:space="preserve" | |
| 5749 | 9909 | filename="gsk/gskrendernodeimpl.c" | |
| 5750 | - | line="4616">the number of glyphs</doc> | |
| 9910 | + | line="7494">the number of glyphs</doc> | |
| 5751 | 9911 | <type name="guint" c:type="guint"/> | |
| 5752 | 9912 | </return-value> | |
| 5753 | 9913 | <parameters> | |
| 5754 | 9914 | <instance-parameter name="node" transfer-ownership="none"> | |
| 5755 | 9915 | <doc xml:space="preserve" | |
| 5756 | 9916 | filename="gsk/gskrendernodeimpl.c" | |
| 5757 | - | line="4612">a text `GskRenderNode`</doc> | |
| 9917 | + | line="7490">a text `GskRenderNode`</doc> | |
| 5758 | 9918 | <type name="TextNode" c:type="const GskRenderNode*"/> | |
| 5759 | 9919 | </instance-parameter> | |
| 5760 | 9920 | </parameters> | |
| @@ -5762,19 +9922,19 @@ color glyphs.</doc> | |||
| 5762 | 9922 | <method name="get_offset" c:identifier="gsk_text_node_get_offset"> | |
| 5763 | 9923 | <doc xml:space="preserve" | |
| 5764 | 9924 | filename="gsk/gskrendernodeimpl.c" | |
| 5765 | - | line="4647">Retrieves the offset applied to the text.</doc> | |
| 5766 | - | <source-position filename="gsk/gskrendernode.h" line="507"/> | |
| 9925 | + | line="7525">Retrieves the offset applied to the text.</doc> | |
| 9926 | + | <source-position filename="gsk/gskrendernode.h" line="556"/> | |
| 5767 | 9927 | <return-value transfer-ownership="none"> | |
| 5768 | 9928 | <doc xml:space="preserve" | |
| 5769 | 9929 | filename="gsk/gskrendernodeimpl.c" | |
| 5770 | - | line="4653">a point with the horizontal and vertical offsets</doc> | |
| 9930 | + | line="7531">a point with the horizontal and vertical offsets</doc> | |
| 5771 | 9931 | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 5772 | 9932 | </return-value> | |
| 5773 | 9933 | <parameters> | |
| 5774 | 9934 | <instance-parameter name="node" transfer-ownership="none"> | |
| 5775 | 9935 | <doc xml:space="preserve" | |
| 5776 | 9936 | filename="gsk/gskrendernodeimpl.c" | |
| 5777 | - | line="4649">a text `GskRenderNode`</doc> | |
| 9937 | + | line="7527">a text `GskRenderNode`</doc> | |
| 5778 | 9938 | <type name="TextNode" c:type="const GskRenderNode*"/> | |
| 5779 | 9939 | </instance-parameter> | |
| 5780 | 9940 | </parameters> | |
| @@ -5784,19 +9944,19 @@ color glyphs.</doc> | |||
| 5784 | 9944 | version="4.2"> | |
| 5785 | 9945 | <doc xml:space="preserve" | |
| 5786 | 9946 | filename="gsk/gskrendernodeimpl.c" | |
| 5787 | - | line="4592">Checks whether the text @node has color glyphs.</doc> | |
| 5788 | - | <source-position filename="gsk/gskrendernode.h" line="498"/> | |
| 9947 | + | line="7470">Checks whether the text @node has color glyphs.</doc> | |
| 9948 | + | <source-position filename="gsk/gskrendernode.h" line="547"/> | |
| 5789 | 9949 | <return-value transfer-ownership="none"> | |
| 5790 | 9950 | <doc xml:space="preserve" | |
| 5791 | 9951 | filename="gsk/gskrendernodeimpl.c" | |
| 5792 | - | line="4598">%TRUE if the text node has color glyphs</doc> | |
| 9952 | + | line="7476">%TRUE if the text node has color glyphs</doc> | |
| 5793 | 9953 | <type name="gboolean" c:type="gboolean"/> | |
| 5794 | 9954 | </return-value> | |
| 5795 | 9955 | <parameters> | |
| 5796 | 9956 | <instance-parameter name="node" transfer-ownership="none"> | |
| 5797 | 9957 | <doc xml:space="preserve" | |
| 5798 | 9958 | filename="gsk/gskrendernodeimpl.c" | |
| 5799 | - | line="4594">a text `GskRenderNode`</doc> | |
| 9959 | + | line="7472">a text `GskRenderNode`</doc> | |
| 5800 | 9960 | <type name="TextNode" c:type="const GskRenderNode*"/> | |
| 5801 | 9961 | </instance-parameter> | |
| 5802 | 9962 | </parameters> | |
| @@ -5811,30 +9971,34 @@ color glyphs.</doc> | |||
| 5811 | 9971 | glib:fundamental="1"> | |
| 5812 | 9972 | <doc xml:space="preserve" | |
| 5813 | 9973 | filename="gsk/gskrendernodeimpl.c" | |
| 5814 | - | line="1464">A render node for a `GdkTexture`.</doc> | |
| 9974 | + | line="2694">A render node for a `GdkTexture`.</doc> | |
| 5815 | 9975 | <constructor name="new" c:identifier="gsk_texture_node_new"> | |
| 5816 | 9976 | <doc xml:space="preserve" | |
| 5817 | 9977 | filename="gsk/gskrendernodeimpl.c" | |
| 5818 | - | line="1547">Creates a `GskRenderNode` that will render the given | |
| 5819 | - | @texture into the area given by @bounds.</doc> | |
| 5820 | - | <source-position filename="gsk/gskrendernode.h" line="215"/> | |
| 9978 | + | line="2880">Creates a `GskRenderNode` that will render the given | |
| 9979 | + | @texture into the area given by @bounds. | |
| 9980 | + | ||
| 9981 | + | Note that GSK applies linear filtering when textures are | |
| 9982 | + | scaled and transformed. See [class@Gsk.TextureScaleNode] | |
| 9983 | + | for a way to influence filtering.</doc> | |
| 9984 | + | <source-position filename="gsk/gskrendernode.h" line="227"/> | |
| 5821 | 9985 | <return-value transfer-ownership="full"> | |
| 5822 | 9986 | <doc xml:space="preserve" | |
| 5823 | 9987 | filename="gsk/gskrendernodeimpl.c" | |
| 5824 | - | line="1555">A new `GskRenderNode`</doc> | |
| 9988 | + | line="2892">A new `GskRenderNode`</doc> | |
| 5825 | 9989 | <type name="TextureNode" c:type="GskRenderNode*"/> | |
| 5826 | 9990 | </return-value> | |
| 5827 | 9991 | <parameters> | |
| 5828 | 9992 | <parameter name="texture" transfer-ownership="none"> | |
| 5829 | 9993 | <doc xml:space="preserve" | |
| 5830 | 9994 | filename="gsk/gskrendernodeimpl.c" | |
| 5831 | - | line="1549">the `GdkTexture`</doc> | |
| 9995 | + | line="2882">the `GdkTexture`</doc> | |
| 5832 | 9996 | <type name="Gdk.Texture" c:type="GdkTexture*"/> | |
| 5833 | 9997 | </parameter> | |
| 5834 | 9998 | <parameter name="bounds" transfer-ownership="none"> | |
| 5835 | 9999 | <doc xml:space="preserve" | |
| 5836 | 10000 | filename="gsk/gskrendernodeimpl.c" | |
| 5837 | - | line="1550">the rectangle to render the texture into</doc> | |
| 10001 | + | line="2883">the rectangle to render the texture into</doc> | |
| 5838 | 10002 | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 5839 | 10003 | </parameter> | |
| 5840 | 10004 | </parameters> | |
| @@ -5842,32 +10006,134 @@ color glyphs.</doc> | |||
| 5842 | 10006 | <method name="get_texture" c:identifier="gsk_texture_node_get_texture"> | |
| 5843 | 10007 | <doc xml:space="preserve" | |
| 5844 | 10008 | filename="gsk/gskrendernodeimpl.c" | |
| 5845 | - | line="1531">Retrieves the `GdkTexture` used when creating this `GskRenderNode`.</doc> | |
| 5846 | - | <source-position filename="gsk/gskrendernode.h" line="218"/> | |
| 10009 | + | line="2864">Retrieves the `GdkTexture` used when creating this `GskRenderNode`.</doc> | |
| 10010 | + | <source-position filename="gsk/gskrendernode.h" line="230"/> | |
| 5847 | 10011 | <return-value transfer-ownership="none"> | |
| 5848 | 10012 | <doc xml:space="preserve" | |
| 5849 | 10013 | filename="gsk/gskrendernodeimpl.c" | |
| 5850 | - | line="1537">the `GdkTexture`</doc> | |
| 10014 | + | line="2870">the `GdkTexture`</doc> | |
| 5851 | 10015 | <type name="Gdk.Texture" c:type="GdkTexture*"/> | |
| 5852 | 10016 | </return-value> | |
| 5853 | 10017 | <parameters> | |
| 5854 | 10018 | <instance-parameter name="node" transfer-ownership="none"> | |
| 5855 | 10019 | <doc xml:space="preserve" | |
| 5856 | 10020 | filename="gsk/gskrendernodeimpl.c" | |
| 5857 | - | line="1533">a `GskRenderNode` of type %GSK_TEXTURE_NODE</doc> | |
| 10021 | + | line="2866">a `GskRenderNode` of type %GSK_TEXTURE_NODE</doc> | |
| 5858 | 10022 | <type name="TextureNode" c:type="const GskRenderNode*"/> | |
| 5859 | 10023 | </instance-parameter> | |
| 5860 | 10024 | </parameters> | |
| 5861 | 10025 | </method> | |
| 5862 | 10026 | </class> | |
| 10027 | + | <class name="TextureScaleNode" | |
| 10028 | + | c:symbol-prefix="texture_scale_node" | |
| 10029 | + | c:type="GskTextureScaleNode" | |
| 10030 | + | version="4.10" | |
| 10031 | + | parent="RenderNode" | |
| 10032 | + | glib:type-name="GskTextureScaleNode" | |
| 10033 | + | glib:get-type="gsk_texture_scale_node_get_type" | |
| 10034 | + | glib:fundamental="1"> | |
| 10035 | + | <doc xml:space="preserve" | |
| 10036 | + | filename="gsk/gskrendernodeimpl.c" | |
| 10037 | + | line="2922">A render node for a `GdkTexture`, with control over scaling.</doc> | |
| 10038 | + | <constructor name="new" | |
| 10039 | + | c:identifier="gsk_texture_scale_node_new" | |
| 10040 | + | version="4.10"> | |
| 10041 | + | <doc xml:space="preserve" | |
| 10042 | + | filename="gsk/gskrendernodeimpl.c" | |
| 10043 | + | line="3091">Creates a node that scales the texture to the size given by the | |
| 10044 | + | bounds using the filter and then places it at the bounds' position. | |
| 10045 | + | ||
| 10046 | + | Note that further scaling and other transformations which are | |
| 10047 | + | applied to the node will apply linear filtering to the resulting | |
| 10048 | + | texture, as usual. | |
| 10049 | + | ||
| 10050 | + | This node is intended for tight control over scaling applied | |
| 10051 | + | to a texture, such as in image editors and requires the | |
| 10052 | + | application to be aware of the whole render tree as further | |
| 10053 | + | transforms may be applied that conflict with the desired effect | |
| 10054 | + | of this node.</doc> | |
| 10055 | + | <source-position filename="gsk/gskrendernode.h" line="235"/> | |
| 10056 | + | <return-value transfer-ownership="full"> | |
| 10057 | + | <doc xml:space="preserve" | |
| 10058 | + | filename="gsk/gskrendernodeimpl.c" | |
| 10059 | + | line="3110">A new `GskRenderNode`</doc> | |
| 10060 | + | <type name="TextureScaleNode" c:type="GskRenderNode*"/> | |
| 10061 | + | </return-value> | |
| 10062 | + | <parameters> | |
| 10063 | + | <parameter name="texture" transfer-ownership="none"> | |
| 10064 | + | <doc xml:space="preserve" | |
| 10065 | + | filename="gsk/gskrendernodeimpl.c" | |
| 10066 | + | line="3093">the texture to scale</doc> | |
| 10067 | + | <type name="Gdk.Texture" c:type="GdkTexture*"/> | |
| 10068 | + | </parameter> | |
| 10069 | + | <parameter name="bounds" transfer-ownership="none"> | |
| 10070 | + | <doc xml:space="preserve" | |
| 10071 | + | filename="gsk/gskrendernodeimpl.c" | |
| 10072 | + | line="3094">the size of the texture to scale to</doc> | |
| 10073 | + | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 10074 | + | </parameter> | |
| 10075 | + | <parameter name="filter" transfer-ownership="none"> | |
| 10076 | + | <doc xml:space="preserve" | |
| 10077 | + | filename="gsk/gskrendernodeimpl.c" | |
| 10078 | + | line="3095">how to scale the texture</doc> | |
| 10079 | + | <type name="ScalingFilter" c:type="GskScalingFilter"/> | |
| 10080 | + | </parameter> | |
| 10081 | + | </parameters> | |
| 10082 | + | </constructor> | |
| 10083 | + | <method name="get_filter" | |
| 10084 | + | c:identifier="gsk_texture_scale_node_get_filter" | |
| 10085 | + | version="4.10"> | |
| 10086 | + | <doc xml:space="preserve" | |
| 10087 | + | filename="gsk/gskrendernodeimpl.c" | |
| 10088 | + | line="3073">Retrieves the `GskScalingFilter` used when creating this `GskRenderNode`.</doc> | |
| 10089 | + | <source-position filename="gsk/gskrendernode.h" line="241"/> | |
| 10090 | + | <return-value transfer-ownership="none"> | |
| 10091 | + | <doc xml:space="preserve" | |
| 10092 | + | filename="gsk/gskrendernodeimpl.c" | |
| 10093 | + | line="3079">the `GskScalingFilter`</doc> | |
| 10094 | + | <type name="ScalingFilter" c:type="GskScalingFilter"/> | |
| 10095 | + | </return-value> | |
| 10096 | + | <parameters> | |
| 10097 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 10098 | + | <doc xml:space="preserve" | |
| 10099 | + | filename="gsk/gskrendernodeimpl.c" | |
| 10100 | + | line="3075">a `GskRenderNode` of type %GSK_TEXTURE_SCALE_NODE</doc> | |
| 10101 | + | <type name="TextureScaleNode" c:type="const GskRenderNode*"/> | |
| 10102 | + | </instance-parameter> | |
| 10103 | + | </parameters> | |
| 10104 | + | </method> | |
| 10105 | + | <method name="get_texture" | |
| 10106 | + | c:identifier="gsk_texture_scale_node_get_texture" | |
| 10107 | + | version="4.10"> | |
| 10108 | + | <doc xml:space="preserve" | |
| 10109 | + | filename="gsk/gskrendernodeimpl.c" | |
| 10110 | + | line="3055">Retrieves the `GdkTexture` used when creating this `GskRenderNode`.</doc> | |
| 10111 | + | <source-position filename="gsk/gskrendernode.h" line="239"/> | |
| 10112 | + | <return-value transfer-ownership="none"> | |
| 10113 | + | <doc xml:space="preserve" | |
| 10114 | + | filename="gsk/gskrendernodeimpl.c" | |
| 10115 | + | line="3061">the `GdkTexture`</doc> | |
| 10116 | + | <type name="Gdk.Texture" c:type="GdkTexture*"/> | |
| 10117 | + | </return-value> | |
| 10118 | + | <parameters> | |
| 10119 | + | <instance-parameter name="node" transfer-ownership="none"> | |
| 10120 | + | <doc xml:space="preserve" | |
| 10121 | + | filename="gsk/gskrendernodeimpl.c" | |
| 10122 | + | line="3057">a `GskRenderNode` of type %GSK_TEXTURE_SCALE_NODE</doc> | |
| 10123 | + | <type name="TextureScaleNode" c:type="const GskRenderNode*"/> | |
| 10124 | + | </instance-parameter> | |
| 10125 | + | </parameters> | |
| 10126 | + | </method> | |
| 10127 | + | </class> | |
| 5863 | 10128 | <record name="Transform" | |
| 5864 | 10129 | c:type="GskTransform" | |
| 10130 | + | opaque="1" | |
| 5865 | 10131 | glib:type-name="GskTransform" | |
| 5866 | 10132 | glib:get-type="gsk_transform_get_type" | |
| 5867 | 10133 | c:symbol-prefix="transform"> | |
| 5868 | 10134 | <doc xml:space="preserve" | |
| 5869 | 10135 | filename="gsk/gsktransform.c" | |
| 5870 | - | line="21">`GskTransform` is an object to describe transform matrices. | |
| 10136 | + | line="21">Describes a 3D transform. | |
| 5871 | 10137 | ||
| 5872 | 10138 | Unlike `graphene_matrix_t`, `GskTransform` retains the steps in how | |
| 5873 | 10139 | a transform was constructed, and allows inspecting them. It is modeled | |
| @@ -5876,22 +10142,31 @@ after the way CSS describes transforms. | |||
| 5876 | 10142 | `GskTransform` objects are immutable and cannot be changed after creation. | |
| 5877 | 10143 | This means code can safely expose them as properties of objects without | |
| 5878 | 10144 | having to worry about others changing them.</doc> | |
| 5879 | - | <source-position filename="gsk/gsktypes.h" line="30"/> | |
| 10145 | + | <source-position filename="gsk/gsktypes.h" line="36"/> | |
| 5880 | 10146 | <constructor name="new" c:identifier="gsk_transform_new"> | |
| 5881 | - | <source-position filename="gsk/gsktransform.h" line="89"/> | |
| 10147 | + | <doc xml:space="preserve" | |
| 10148 | + | filename="gsk/gsktransform.c" | |
| 10149 | + | line="2347">Creates a new identity transform. | |
| 10150 | + | ||
| 10151 | + | This function is meant to be used by language | |
| 10152 | + | bindings. For C code, this is equivalent to using `NULL`.</doc> | |
| 10153 | + | <source-position filename="gsk/gsktransform.h" line="88"/> | |
| 5882 | 10154 | <return-value transfer-ownership="full"> | |
| 10155 | + | <doc xml:space="preserve" | |
| 10156 | + | filename="gsk/gsktransform.c" | |
| 10157 | + | line="2355">A new identity transform</doc> | |
| 5883 | 10158 | <type name="Transform" c:type="GskTransform*"/> | |
| 5884 | 10159 | </return-value> | |
| 5885 | 10160 | </constructor> | |
| 5886 | 10161 | <method name="equal" c:identifier="gsk_transform_equal"> | |
| 5887 | 10162 | <doc xml:space="preserve" | |
| 5888 | 10163 | filename="gsk/gsktransform.c" | |
| 5889 | - | line="1957">Checks two transforms for equality.</doc> | |
| 5890 | - | <source-position filename="gsk/gsktransform.h" line="85"/> | |
| 10164 | + | line="2272">Checks two transforms for equality.</doc> | |
| 10165 | + | <source-position filename="gsk/gsktransform.h" line="84"/> | |
| 5891 | 10166 | <return-value transfer-ownership="none"> | |
| 5892 | 10167 | <doc xml:space="preserve" | |
| 5893 | 10168 | filename="gsk/gsktransform.c" | |
| 5894 | - | line="1964">%TRUE if the two transforms perform the same operation</doc> | |
| 10169 | + | line="2279">true if the two transforms perform the same operation</doc> | |
| 5895 | 10170 | <type name="gboolean" c:type="gboolean"/> | |
| 5896 | 10171 | </return-value> | |
| 5897 | 10172 | <parameters> | |
| @@ -5901,7 +10176,7 @@ having to worry about others changing them.</doc> | |||
| 5901 | 10176 | allow-none="1"> | |
| 5902 | 10177 | <doc xml:space="preserve" | |
| 5903 | 10178 | filename="gsk/gsktransform.c" | |
| 5904 | - | line="1959">the first transform</doc> | |
| 10179 | + | line="2274">the first transform</doc> | |
| 5905 | 10180 | <type name="Transform" c:type="GskTransform*"/> | |
| 5906 | 10181 | </instance-parameter> | |
| 5907 | 10182 | <parameter name="second" | |
| @@ -5910,7 +10185,7 @@ having to worry about others changing them.</doc> | |||
| 5910 | 10185 | allow-none="1"> | |
| 5911 | 10186 | <doc xml:space="preserve" | |
| 5912 | 10187 | filename="gsk/gsktransform.c" | |
| 5913 | - | line="1960">the second transform</doc> | |
| 10188 | + | line="2275">the second transform</doc> | |
| 5914 | 10189 | <type name="Transform" c:type="GskTransform*"/> | |
| 5915 | 10190 | </parameter> | |
| 5916 | 10191 | </parameters> | |
| @@ -5918,12 +10193,12 @@ having to worry about others changing them.</doc> | |||
| 5918 | 10193 | <method name="get_category" c:identifier="gsk_transform_get_category"> | |
| 5919 | 10194 | <doc xml:space="preserve" | |
| 5920 | 10195 | filename="gsk/gsktransform.c" | |
| 5921 | - | line="1988">Returns the category this transform belongs to.</doc> | |
| 5922 | - | <source-position filename="gsk/gsktransform.h" line="83"/> | |
| 10196 | + | line="2303">Returns the category this transform belongs to.</doc> | |
| 10197 | + | <source-position filename="gsk/gsktransform.h" line="82"/> | |
| 5923 | 10198 | <return-value transfer-ownership="none"> | |
| 5924 | 10199 | <doc xml:space="preserve" | |
| 5925 | 10200 | filename="gsk/gsktransform.c" | |
| 5926 | - | line="1994">The category of the transform</doc> | |
| 10201 | + | line="2309">The category of the transform</doc> | |
| 5927 | 10202 | <type name="TransformCategory" c:type="GskTransformCategory"/> | |
| 5928 | 10203 | </return-value> | |
| 5929 | 10204 | <parameters> | |
| @@ -5933,7 +10208,7 @@ having to worry about others changing them.</doc> | |||
| 5933 | 10208 | allow-none="1"> | |
| 5934 | 10209 | <doc xml:space="preserve" | |
| 5935 | 10210 | filename="gsk/gsktransform.c" | |
| 5936 | - | line="1990">A `GskTransform`</doc> | |
| 10211 | + | line="2305">a transform</doc> | |
| 5937 | 10212 | <type name="Transform" c:type="GskTransform*"/> | |
| 5938 | 10213 | </instance-parameter> | |
| 5939 | 10214 | </parameters> | |
| @@ -5941,18 +10216,21 @@ having to worry about others changing them.</doc> | |||
| 5941 | 10216 | <method name="invert" c:identifier="gsk_transform_invert"> | |
| 5942 | 10217 | <doc xml:space="preserve" | |
| 5943 | 10218 | filename="gsk/gsktransform.c" | |
| 5944 | - | line="1925">Inverts the given transform. | |
| 5945 | - | ||
| 5946 | - | If @self is not invertible, %NULL is returned. | |
| 5947 | - | Note that inverting %NULL also returns %NULL, which is | |
| 5948 | - | the correct inverse of %NULL. If you need to differentiate | |
| 5949 | - | between those cases, you should check @self is not %NULL | |
| 5950 | - | before calling this function.</doc> | |
| 5951 | - | <source-position filename="gsk/gsktransform.h" line="94"/> | |
| 10219 | + | line="2237">Inverts the given transform. | |
| 10220 | + | ||
| 10221 | + | If @self is not invertible, `NULL` is returned. | |
| 10222 | + | Note that inverting `NULL` also returns `NULL`, which is | |
| 10223 | + | the correct inverse of `NULL`. If you need to differentiate | |
| 10224 | + | between those cases, you should check @self is not `NULL` | |
| 10225 | + | before calling this function. | |
| 10226 | + | ||
| 10227 | + | This function consumes @self. Use [method@Gsk.Transform.ref] first | |
| 10228 | + | if you want to keep it around.</doc> | |
| 10229 | + | <source-position filename="gsk/gsktransform.h" line="93"/> | |
| 5952 | 10230 | <return-value transfer-ownership="full" nullable="1"> | |
| 5953 | 10231 | <doc xml:space="preserve" | |
| 5954 | 10232 | filename="gsk/gsktransform.c" | |
| 5955 | - | line="1937">The inverted transform</doc> | |
| 10233 | + | line="2252">The inverted transform</doc> | |
| 5956 | 10234 | <type name="Transform" c:type="GskTransform*"/> | |
| 5957 | 10235 | </return-value> | |
| 5958 | 10236 | <parameters> | |
| @@ -5962,7 +10240,7 @@ before calling this function.</doc> | |||
| 5962 | 10240 | allow-none="1"> | |
| 5963 | 10241 | <doc xml:space="preserve" | |
| 5964 | 10242 | filename="gsk/gsktransform.c" | |
| 5965 | - | line="1927">Transform to invert</doc> | |
| 10243 | + | line="2239">transform to invert</doc> | |
| 5966 | 10244 | <type name="Transform" c:type="GskTransform*"/> | |
| 5967 | 10245 | </instance-parameter> | |
| 5968 | 10246 | </parameters> | |
| @@ -5970,12 +10248,15 @@ before calling this function.</doc> | |||
| 5970 | 10248 | <method name="matrix" c:identifier="gsk_transform_matrix"> | |
| 5971 | 10249 | <doc xml:space="preserve" | |
| 5972 | 10250 | filename="gsk/gsktransform.c" | |
| 5973 | - | line="465">Multiplies @next with the given @matrix.</doc> | |
| 5974 | - | <source-position filename="gsk/gsktransform.h" line="96"/> | |
| 10251 | + | line="550">Multiplies @next with the given @matrix. | |
| 10252 | + | ||
| 10253 | + | This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 10254 | + | if you want to keep it around.</doc> | |
| 10255 | + | <source-position filename="gsk/gsktransform.h" line="95"/> | |
| 5975 | 10256 | <return-value transfer-ownership="full"> | |
| 5976 | 10257 | <doc xml:space="preserve" | |
| 5977 | 10258 | filename="gsk/gsktransform.c" | |
| 5978 | - | line="472">The new transform</doc> | |
| 10259 | + | line="560">The new transform</doc> | |
| 5979 | 10260 | <type name="Transform" c:type="GskTransform*"/> | |
| 5980 | 10261 | </return-value> | |
| 5981 | 10262 | <parameters> | |
| @@ -5985,13 +10266,13 @@ before calling this function.</doc> | |||
| 5985 | 10266 | allow-none="1"> | |
| 5986 | 10267 | <doc xml:space="preserve" | |
| 5987 | 10268 | filename="gsk/gsktransform.c" | |
| 5988 | - | line="467">the next transform</doc> | |
| 10269 | + | line="552">the next transform</doc> | |
| 5989 | 10270 | <type name="Transform" c:type="GskTransform*"/> | |
| 5990 | 10271 | </instance-parameter> | |
| 5991 | 10272 | <parameter name="matrix" transfer-ownership="none"> | |
| 5992 | 10273 | <doc xml:space="preserve" | |
| 5993 | 10274 | filename="gsk/gsktransform.c" | |
| 5994 | - | line="468">the matrix to multiply @next with</doc> | |
| 10275 | + | line="553">the matrix to multiply @next with</doc> | |
| 5995 | 10276 | <type name="Graphene.Matrix" c:type="const graphene_matrix_t*"/> | |
| 5996 | 10277 | </parameter> | |
| 5997 | 10278 | </parameters> | |
| @@ -5999,17 +10280,20 @@ before calling this function.</doc> | |||
| 5999 | 10280 | <method name="perspective" c:identifier="gsk_transform_perspective"> | |
| 6000 | 10281 | <doc xml:space="preserve" | |
| 6001 | 10282 | filename="gsk/gsktransform.c" | |
| 6002 | - | line="1478">Applies a perspective projection transform. | |
| 10283 | + | line="1686">Applies a perspective projection transform. | |
| 6003 | 10284 | ||
| 6004 | 10285 | This transform scales points in X and Y based on their Z value, | |
| 6005 | 10286 | scaling points with positive Z values away from the origin, and | |
| 6006 | 10287 | those with negative Z values towards the origin. Points | |
| 6007 | - | on the z=0 plane are unchanged.</doc> | |
| 6008 | - | <source-position filename="gsk/gsktransform.h" line="125"/> | |
| 10288 | + | on the z=0 plane are unchanged. | |
| 10289 | + | ||
| 10290 | + | This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 10291 | + | if you want to keep it around.</doc> | |
| 10292 | + | <source-position filename="gsk/gsktransform.h" line="124"/> | |
| 6009 | 10293 | <return-value transfer-ownership="full"> | |
| 6010 | 10294 | <doc xml:space="preserve" | |
| 6011 | 10295 | filename="gsk/gsktransform.c" | |
| 6012 | - | line="1492">The new transform</doc> | |
| 10296 | + | line="1703">The new transform</doc> | |
| 6013 | 10297 | <type name="Transform" c:type="GskTransform*"/> | |
| 6014 | 10298 | </return-value> | |
| 6015 | 10299 | <parameters> | |
| @@ -6019,13 +10303,13 @@ on the z=0 plane are unchanged.</doc> | |||
| 6019 | 10303 | allow-none="1"> | |
| 6020 | 10304 | <doc xml:space="preserve" | |
| 6021 | 10305 | filename="gsk/gsktransform.c" | |
| 6022 | - | line="1480">the next transform</doc> | |
| 10306 | + | line="1688">the next transform</doc> | |
| 6023 | 10307 | <type name="Transform" c:type="GskTransform*"/> | |
| 6024 | 10308 | </instance-parameter> | |
| 6025 | 10309 | <parameter name="depth" transfer-ownership="none"> | |
| 6026 | 10310 | <doc xml:space="preserve" | |
| 6027 | 10311 | filename="gsk/gsktransform.c" | |
| 6028 | - | line="1481">distance of the z=0 plane. Lower values give a more | |
| 10312 | + | line="1689">distance of the z=0 plane. Lower values give a more | |
| 6029 | 10313 | flattened pyramid and therefore a more pronounced | |
| 6030 | 10314 | perspective effect.</doc> | |
| 6031 | 10315 | <type name="gfloat" c:type="float"/> | |
| @@ -6035,12 +10319,11 @@ on the z=0 plane are unchanged.</doc> | |||
| 6035 | 10319 | <method name="print" c:identifier="gsk_transform_print"> | |
| 6036 | 10320 | <doc xml:space="preserve" | |
| 6037 | 10321 | filename="gsk/gsktransform.c" | |
| 6038 | - | line="1555">Converts @self into a human-readable string representation suitable | |
| 6039 | - | for printing. | |
| 10322 | + | line="1766">Converts the transform into a human-readable representation. | |
| 6040 | 10323 | ||
| 6041 | 10324 | The result of this function can later be parsed with | |
| 6042 | 10325 | [func@Gsk.Transform.parse].</doc> | |
| 6043 | - | <source-position filename="gsk/gsktransform.h" line="44"/> | |
| 10326 | + | <source-position filename="gsk/gsktransform.h" line="43"/> | |
| 6044 | 10327 | <return-value transfer-ownership="none"> | |
| 6045 | 10328 | <type name="none" c:type="void"/> | |
| 6046 | 10329 | </return-value> | |
| @@ -6051,13 +10334,13 @@ The result of this function can later be parsed with | |||
| 6051 | 10334 | allow-none="1"> | |
| 6052 | 10335 | <doc xml:space="preserve" | |
| 6053 | 10336 | filename="gsk/gsktransform.c" | |
| 6054 | - | line="1557">a `GskTransform`</doc> | |
| 10337 | + | line="1768">a transform</doc> | |
| 6055 | 10338 | <type name="Transform" c:type="GskTransform*"/> | |
| 6056 | 10339 | </instance-parameter> | |
| 6057 | 10340 | <parameter name="string" transfer-ownership="none"> | |
| 6058 | 10341 | <doc xml:space="preserve" | |
| 6059 | 10342 | filename="gsk/gsktransform.c" | |
| 6060 | - | line="1558">The string to print into</doc> | |
| 10343 | + | line="1769">The string to print into</doc> | |
| 6061 | 10344 | <type name="GLib.String" c:type="GString*"/> | |
| 6062 | 10345 | </parameter> | |
| 6063 | 10346 | </parameters> | |
| @@ -6065,12 +10348,12 @@ The result of this function can later be parsed with | |||
| 6065 | 10348 | <method name="ref" c:identifier="gsk_transform_ref"> | |
| 6066 | 10349 | <doc xml:space="preserve" | |
| 6067 | 10350 | filename="gsk/gsktransform.c" | |
| 6068 | - | line="1520">Acquires a reference on the given `GskTransform`.</doc> | |
| 6069 | - | <source-position filename="gsk/gsktransform.h" line="39"/> | |
| 10351 | + | line="1731">Acquires a reference on the given transform.</doc> | |
| 10352 | + | <source-position filename="gsk/gsktransform.h" line="38"/> | |
| 6070 | 10353 | <return-value transfer-ownership="none" nullable="1"> | |
| 6071 | 10354 | <doc xml:space="preserve" | |
| 6072 | 10355 | filename="gsk/gsktransform.c" | |
| 6073 | - | line="1526">the `GskTransform` with an additional reference</doc> | |
| 10356 | + | line="1737">the transform with an additional reference</doc> | |
| 6074 | 10357 | <type name="Transform" c:type="GskTransform*"/> | |
| 6075 | 10358 | </return-value> | |
| 6076 | 10359 | <parameters> | |
| @@ -6080,7 +10363,7 @@ The result of this function can later be parsed with | |||
| 6080 | 10363 | allow-none="1"> | |
| 6081 | 10364 | <doc xml:space="preserve" | |
| 6082 | 10365 | filename="gsk/gsktransform.c" | |
| 6083 | - | line="1522">a `GskTransform`</doc> | |
| 10366 | + | line="1733">a transform</doc> | |
| 6084 | 10367 | <type name="Transform" c:type="GskTransform*"/> | |
| 6085 | 10368 | </instance-parameter> | |
| 6086 | 10369 | </parameters> | |
| @@ -6088,12 +10371,17 @@ The result of this function can later be parsed with | |||
| 6088 | 10371 | <method name="rotate" c:identifier="gsk_transform_rotate"> | |
| 6089 | 10372 | <doc xml:space="preserve" | |
| 6090 | 10373 | filename="gsk/gsktransform.c" | |
| 6091 | - | line="855">Rotates @next @angle degrees in 2D - or in 3D-speak, around the z axis.</doc> | |
| 6092 | - | <source-position filename="gsk/gsktransform.h" line="109"/> | |
| 10374 | + | line="987">Rotates @next by an angle around the Z axis. | |
| 10375 | + | ||
| 10376 | + | The rotation happens around the origin point of (0, 0). | |
| 10377 | + | ||
| 10378 | + | This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 10379 | + | if you want to keep it around.</doc> | |
| 10380 | + | <source-position filename="gsk/gsktransform.h" line="108"/> | |
| 6093 | 10381 | <return-value transfer-ownership="full" nullable="1"> | |
| 6094 | 10382 | <doc xml:space="preserve" | |
| 6095 | 10383 | filename="gsk/gsktransform.c" | |
| 6096 | - | line="862">The new transform</doc> | |
| 10384 | + | line="999">The new transform</doc> | |
| 6097 | 10385 | <type name="Transform" c:type="GskTransform*"/> | |
| 6098 | 10386 | </return-value> | |
| 6099 | 10387 | <parameters> | |
| @@ -6103,13 +10391,13 @@ The result of this function can later be parsed with | |||
| 6103 | 10391 | allow-none="1"> | |
| 6104 | 10392 | <doc xml:space="preserve" | |
| 6105 | 10393 | filename="gsk/gsktransform.c" | |
| 6106 | - | line="857">the next transform</doc> | |
| 10394 | + | line="989">the next transform</doc> | |
| 6107 | 10395 | <type name="Transform" c:type="GskTransform*"/> | |
| 6108 | 10396 | </instance-parameter> | |
| 6109 | 10397 | <parameter name="angle" transfer-ownership="none"> | |
| 6110 | 10398 | <doc xml:space="preserve" | |
| 6111 | 10399 | filename="gsk/gsktransform.c" | |
| 6112 | - | line="858">the rotation angle, in degrees (clockwise)</doc> | |
| 10400 | + | line="990">the rotation angle, in degrees (clockwise)</doc> | |
| 6113 | 10401 | <type name="gfloat" c:type="float"/> | |
| 6114 | 10402 | </parameter> | |
| 6115 | 10403 | </parameters> | |
| @@ -6117,14 +10405,17 @@ The result of this function can later be parsed with | |||
| 6117 | 10405 | <method name="rotate_3d" c:identifier="gsk_transform_rotate_3d"> | |
| 6118 | 10406 | <doc xml:space="preserve" | |
| 6119 | 10407 | filename="gsk/gsktransform.c" | |
| 6120 | - | line="980">Rotates @next @angle degrees around @axis. | |
| 10408 | + | line="1120">Rotates @next @angle degrees around @axis. | |
| 10409 | + | ||
| 10410 | + | For a rotation in 2D space, use [method@Gsk.Transform.rotate] | |
| 6121 | 10411 | ||
| 6122 | - | For a rotation in 2D space, use [method@Gsk.Transform.rotate]</doc> | |
| 6123 | - | <source-position filename="gsk/gsktransform.h" line="112"/> | |
| 10412 | + | This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 10413 | + | if you want to keep it around.</doc> | |
| 10414 | + | <source-position filename="gsk/gsktransform.h" line="111"/> | |
| 6124 | 10415 | <return-value transfer-ownership="full" nullable="1"> | |
| 6125 | 10416 | <doc xml:space="preserve" | |
| 6126 | 10417 | filename="gsk/gsktransform.c" | |
| 6127 | - | line="990">The new transform</doc> | |
| 10418 | + | line="1133">The new transform</doc> | |
| 6128 | 10419 | <type name="Transform" c:type="GskTransform*"/> | |
| 6129 | 10420 | </return-value> | |
| 6130 | 10421 | <parameters> | |
| @@ -6134,19 +10425,19 @@ For a rotation in 2D space, use [method@Gsk.Transform.rotate]</doc> | |||
| 6134 | 10425 | allow-none="1"> | |
| 6135 | 10426 | <doc xml:space="preserve" | |
| 6136 | 10427 | filename="gsk/gsktransform.c" | |
| 6137 | - | line="982">the next transform</doc> | |
| 10428 | + | line="1122">the next transform</doc> | |
| 6138 | 10429 | <type name="Transform" c:type="GskTransform*"/> | |
| 6139 | 10430 | </instance-parameter> | |
| 6140 | 10431 | <parameter name="angle" transfer-ownership="none"> | |
| 6141 | 10432 | <doc xml:space="preserve" | |
| 6142 | 10433 | filename="gsk/gsktransform.c" | |
| 6143 | - | line="983">the rotation angle, in degrees (clockwise)</doc> | |
| 10434 | + | line="1123">the rotation angle, in degrees (clockwise)</doc> | |
| 6144 | 10435 | <type name="gfloat" c:type="float"/> | |
| 6145 | 10436 | </parameter> | |
| 6146 | 10437 | <parameter name="axis" transfer-ownership="none"> | |
| 6147 | 10438 | <doc xml:space="preserve" | |
| 6148 | 10439 | filename="gsk/gsktransform.c" | |
| 6149 | - | line="984">The rotation axis</doc> | |
| 10440 | + | line="1124">The rotation axis</doc> | |
| 6150 | 10441 | <type name="Graphene.Vec3" c:type="const graphene_vec3_t*"/> | |
| 6151 | 10442 | </parameter> | |
| 6152 | 10443 | </parameters> | |
| @@ -6154,14 +10445,17 @@ For a rotation in 2D space, use [method@Gsk.Transform.rotate]</doc> | |||
| 6154 | 10445 | <method name="scale" c:identifier="gsk_transform_scale"> | |
| 6155 | 10446 | <doc xml:space="preserve" | |
| 6156 | 10447 | filename="gsk/gsktransform.c" | |
| 6157 | - | line="1328">Scales @next in 2-dimensional space by the given factors. | |
| 10448 | + | line="1522">Scales @next in 2-dimensional space by the given factors. | |
| 6158 | 10449 | ||
| 6159 | - | Use [method@Gsk.Transform.scale_3d] to scale in all 3 dimensions.</doc> | |
| 6160 | - | <source-position filename="gsk/gsktransform.h" line="116"/> | |
| 10450 | + | Use [method@Gsk.Transform.scale_3d] to scale in all 3 dimensions. | |
| 10451 | + | ||
| 10452 | + | This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 10453 | + | if you want to keep it around.</doc> | |
| 10454 | + | <source-position filename="gsk/gsktransform.h" line="115"/> | |
| 6161 | 10455 | <return-value transfer-ownership="full" nullable="1"> | |
| 6162 | 10456 | <doc xml:space="preserve" | |
| 6163 | 10457 | filename="gsk/gsktransform.c" | |
| 6164 | - | line="1338">The new transform</doc> | |
| 10458 | + | line="1535">The new transform</doc> | |
| 6165 | 10459 | <type name="Transform" c:type="GskTransform*"/> | |
| 6166 | 10460 | </return-value> | |
| 6167 | 10461 | <parameters> | |
| @@ -6171,19 +10465,19 @@ Use [method@Gsk.Transform.scale_3d] to scale in all 3 dimensions.</doc> | |||
| 6171 | 10465 | allow-none="1"> | |
| 6172 | 10466 | <doc xml:space="preserve" | |
| 6173 | 10467 | filename="gsk/gsktransform.c" | |
| 6174 | - | line="1330">the next transform</doc> | |
| 10468 | + | line="1524">the next transform</doc> | |
| 6175 | 10469 | <type name="Transform" c:type="GskTransform*"/> | |
| 6176 | 10470 | </instance-parameter> | |
| 6177 | 10471 | <parameter name="factor_x" transfer-ownership="none"> | |
| 6178 | 10472 | <doc xml:space="preserve" | |
| 6179 | 10473 | filename="gsk/gsktransform.c" | |
| 6180 | - | line="1331">scaling factor on the X axis</doc> | |
| 10474 | + | line="1525">scaling factor on the X axis</doc> | |
| 6181 | 10475 | <type name="gfloat" c:type="float"/> | |
| 6182 | 10476 | </parameter> | |
| 6183 | 10477 | <parameter name="factor_y" transfer-ownership="none"> | |
| 6184 | 10478 | <doc xml:space="preserve" | |
| 6185 | 10479 | filename="gsk/gsktransform.c" | |
| 6186 | - | line="1332">scaling factor on the Y axis</doc> | |
| 10480 | + | line="1526">scaling factor on the Y axis</doc> | |
| 6187 | 10481 | <type name="gfloat" c:type="float"/> | |
| 6188 | 10482 | </parameter> | |
| 6189 | 10483 | </parameters> | |
| @@ -6191,12 +10485,15 @@ Use [method@Gsk.Transform.scale_3d] to scale in all 3 dimensions.</doc> | |||
| 6191 | 10485 | <method name="scale_3d" c:identifier="gsk_transform_scale_3d"> | |
| 6192 | 10486 | <doc xml:space="preserve" | |
| 6193 | 10487 | filename="gsk/gsktransform.c" | |
| 6194 | - | line="1348">Scales @next by the given factors.</doc> | |
| 6195 | - | <source-position filename="gsk/gsktransform.h" line="120"/> | |
| 10488 | + | line="1545">Scales @next by the given factors. | |
| 10489 | + | ||
| 10490 | + | This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 10491 | + | if you want to keep it around.</doc> | |
| 10492 | + | <source-position filename="gsk/gsktransform.h" line="119"/> | |
| 6196 | 10493 | <return-value transfer-ownership="full" nullable="1"> | |
| 6197 | 10494 | <doc xml:space="preserve" | |
| 6198 | 10495 | filename="gsk/gsktransform.c" | |
| 6199 | - | line="1357">The new transform</doc> | |
| 10496 | + | line="1557">The new transform</doc> | |
| 6200 | 10497 | <type name="Transform" c:type="GskTransform*"/> | |
| 6201 | 10498 | </return-value> | |
| 6202 | 10499 | <parameters> | |
| @@ -6206,25 +10503,25 @@ Use [method@Gsk.Transform.scale_3d] to scale in all 3 dimensions.</doc> | |||
| 6206 | 10503 | allow-none="1"> | |
| 6207 | 10504 | <doc xml:space="preserve" | |
| 6208 | 10505 | filename="gsk/gsktransform.c" | |
| 6209 | - | line="1350">the next transform</doc> | |
| 10506 | + | line="1547">the next transform</doc> | |
| 6210 | 10507 | <type name="Transform" c:type="GskTransform*"/> | |
| 6211 | 10508 | </instance-parameter> | |
| 6212 | 10509 | <parameter name="factor_x" transfer-ownership="none"> | |
| 6213 | 10510 | <doc xml:space="preserve" | |
| 6214 | 10511 | filename="gsk/gsktransform.c" | |
| 6215 | - | line="1351">scaling factor on the X axis</doc> | |
| 10512 | + | line="1548">scaling factor on the X axis</doc> | |
| 6216 | 10513 | <type name="gfloat" c:type="float"/> | |
| 6217 | 10514 | </parameter> | |
| 6218 | 10515 | <parameter name="factor_y" transfer-ownership="none"> | |
| 6219 | 10516 | <doc xml:space="preserve" | |
| 6220 | 10517 | filename="gsk/gsktransform.c" | |
| 6221 | - | line="1352">scaling factor on the Y axis</doc> | |
| 10518 | + | line="1549">scaling factor on the Y axis</doc> | |
| 6222 | 10519 | <type name="gfloat" c:type="float"/> | |
| 6223 | 10520 | </parameter> | |
| 6224 | 10521 | <parameter name="factor_z" transfer-ownership="none"> | |
| 6225 | 10522 | <doc xml:space="preserve" | |
| 6226 | 10523 | filename="gsk/gsktransform.c" | |
| 6227 | - | line="1353">scaling factor on the Z axis</doc> | |
| 10524 | + | line="1550">scaling factor on the Z axis</doc> | |
| 6228 | 10525 | <type name="gfloat" c:type="float"/> | |
| 6229 | 10526 | </parameter> | |
| 6230 | 10527 | </parameters> | |
| @@ -6232,12 +10529,15 @@ Use [method@Gsk.Transform.scale_3d] to scale in all 3 dimensions.</doc> | |||
| 6232 | 10529 | <method name="skew" c:identifier="gsk_transform_skew" version="4.6"> | |
| 6233 | 10530 | <doc xml:space="preserve" | |
| 6234 | 10531 | filename="gsk/gsktransform.c" | |
| 6235 | - | line="1158">Applies a skew transform.</doc> | |
| 6236 | - | <source-position filename="gsk/gsktransform.h" line="105"/> | |
| 10532 | + | line="1303">Applies a skew transform. | |
| 10533 | + | ||
| 10534 | + | This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 10535 | + | if you want to keep it around.</doc> | |
| 10536 | + | <source-position filename="gsk/gsktransform.h" line="104"/> | |
| 6237 | 10537 | <return-value transfer-ownership="full" nullable="1"> | |
| 6238 | 10538 | <doc xml:space="preserve" | |
| 6239 | 10539 | filename="gsk/gsktransform.c" | |
| 6240 | - | line="1166">The new transform</doc> | |
| 10540 | + | line="1314">The new transform</doc> | |
| 6241 | 10541 | <type name="Transform" c:type="GskTransform*"/> | |
| 6242 | 10542 | </return-value> | |
| 6243 | 10543 | <parameters> | |
| @@ -6247,19 +10547,19 @@ Use [method@Gsk.Transform.scale_3d] to scale in all 3 dimensions.</doc> | |||
| 6247 | 10547 | allow-none="1"> | |
| 6248 | 10548 | <doc xml:space="preserve" | |
| 6249 | 10549 | filename="gsk/gsktransform.c" | |
| 6250 | - | line="1160">the next transform</doc> | |
| 10550 | + | line="1305">the next transform</doc> | |
| 6251 | 10551 | <type name="Transform" c:type="GskTransform*"/> | |
| 6252 | 10552 | </instance-parameter> | |
| 6253 | 10553 | <parameter name="skew_x" transfer-ownership="none"> | |
| 6254 | 10554 | <doc xml:space="preserve" | |
| 6255 | 10555 | filename="gsk/gsktransform.c" | |
| 6256 | - | line="1161">skew factor, in degrees, on the X axis</doc> | |
| 10556 | + | line="1306">skew factor, in degrees, on the X axis</doc> | |
| 6257 | 10557 | <type name="gfloat" c:type="float"/> | |
| 6258 | 10558 | </parameter> | |
| 6259 | 10559 | <parameter name="skew_y" transfer-ownership="none"> | |
| 6260 | 10560 | <doc xml:space="preserve" | |
| 6261 | 10561 | filename="gsk/gsktransform.c" | |
| 6262 | - | line="1162">skew factor, in degrees, on the Y axis</doc> | |
| 10562 | + | line="1307">skew factor, in degrees, on the Y axis</doc> | |
| 6263 | 10563 | <type name="gfloat" c:type="float"/> | |
| 6264 | 10564 | </parameter> | |
| 6265 | 10565 | </parameters> | |
| @@ -6267,13 +10567,18 @@ Use [method@Gsk.Transform.scale_3d] to scale in all 3 dimensions.</doc> | |||
| 6267 | 10567 | <method name="to_2d" c:identifier="gsk_transform_to_2d"> | |
| 6268 | 10568 | <doc xml:space="preserve" | |
| 6269 | 10569 | filename="gsk/gsktransform.c" | |
| 6270 | - | line="1637">Converts a `GskTransform` to a 2D transformation matrix. | |
| 10570 | + | line="1847">Converts a transform to a 2D transformation matrix. | |
| 6271 | 10571 | ||
| 6272 | 10572 | @self must be a 2D transformation. If you are not | |
| 6273 | - | sure, use gsk_transform_get_category() >= | |
| 6274 | - | %GSK_TRANSFORM_CATEGORY_2D to check. | |
| 10573 | + | sure, use | |
| 6275 | 10574 | ||
| 6276 | - | The returned values have the following layout: | |
| 10575 | + | gsk_transform_get_category() >= GSK_TRANSFORM_CATEGORY_2D | |
| 10576 | + | ||
| 10577 | + | to check. | |
| 10578 | + | ||
| 10579 | + | The returned values are a subset of the full 4x4 matrix that | |
| 10580 | + | is computed by [method@Gsk.Transform.to_matrix] and have the | |
| 10581 | + | following layout: | |
| 6277 | 10582 | ||
| 6278 | 10583 | ``` | |
| 6279 | 10584 | | xx yx | | a b 0 | | |
| @@ -6284,7 +10589,7 @@ The returned values have the following layout: | |||
| 6284 | 10589 | This function can be used to convert between a `GskTransform` | |
| 6285 | 10590 | and a matrix type from other 2D drawing libraries, in particular | |
| 6286 | 10591 | Cairo.</doc> | |
| 6287 | - | <source-position filename="gsk/gsktransform.h" line="55"/> | |
| 10592 | + | <source-position filename="gsk/gsktransform.h" line="54"/> | |
| 6288 | 10593 | <return-value transfer-ownership="none"> | |
| 6289 | 10594 | <type name="none" c:type="void"/> | |
| 6290 | 10595 | </return-value> | |
| @@ -6292,7 +10597,7 @@ Cairo.</doc> | |||
| 6292 | 10597 | <instance-parameter name="self" transfer-ownership="none"> | |
| 6293 | 10598 | <doc xml:space="preserve" | |
| 6294 | 10599 | filename="gsk/gsktransform.c" | |
| 6295 | - | line="1639">a 2D `GskTransform`</doc> | |
| 10600 | + | line="1849">a 2D transform</doc> | |
| 6296 | 10601 | <type name="Transform" c:type="GskTransform*"/> | |
| 6297 | 10602 | </instance-parameter> | |
| 6298 | 10603 | <parameter name="out_xx" | |
| @@ -6301,7 +10606,7 @@ Cairo.</doc> | |||
| 6301 | 10606 | transfer-ownership="full"> | |
| 6302 | 10607 | <doc xml:space="preserve" | |
| 6303 | 10608 | filename="gsk/gsktransform.c" | |
| 6304 | - | line="1640">return location for the xx member</doc> | |
| 10609 | + | line="1850">return location for the xx member</doc> | |
| 6305 | 10610 | <type name="gfloat" c:type="float*"/> | |
| 6306 | 10611 | </parameter> | |
| 6307 | 10612 | <parameter name="out_yx" | |
| @@ -6310,7 +10615,7 @@ Cairo.</doc> | |||
| 6310 | 10615 | transfer-ownership="full"> | |
| 6311 | 10616 | <doc xml:space="preserve" | |
| 6312 | 10617 | filename="gsk/gsktransform.c" | |
| 6313 | - | line="1641">return location for the yx member</doc> | |
| 10618 | + | line="1851">return location for the yx member</doc> | |
| 6314 | 10619 | <type name="gfloat" c:type="float*"/> | |
| 6315 | 10620 | </parameter> | |
| 6316 | 10621 | <parameter name="out_xy" | |
| @@ -6319,7 +10624,7 @@ Cairo.</doc> | |||
| 6319 | 10624 | transfer-ownership="full"> | |
| 6320 | 10625 | <doc xml:space="preserve" | |
| 6321 | 10626 | filename="gsk/gsktransform.c" | |
| 6322 | - | line="1642">return location for the xy member</doc> | |
| 10627 | + | line="1852">return location for the xy member</doc> | |
| 6323 | 10628 | <type name="gfloat" c:type="float*"/> | |
| 6324 | 10629 | </parameter> | |
| 6325 | 10630 | <parameter name="out_yy" | |
| @@ -6328,7 +10633,7 @@ Cairo.</doc> | |||
| 6328 | 10633 | transfer-ownership="full"> | |
| 6329 | 10634 | <doc xml:space="preserve" | |
| 6330 | 10635 | filename="gsk/gsktransform.c" | |
| 6331 | - | line="1643">return location for the yy member</doc> | |
| 10636 | + | line="1853">return location for the yy member</doc> | |
| 6332 | 10637 | <type name="gfloat" c:type="float*"/> | |
| 6333 | 10638 | </parameter> | |
| 6334 | 10639 | <parameter name="out_dx" | |
| @@ -6337,7 +10642,7 @@ Cairo.</doc> | |||
| 6337 | 10642 | transfer-ownership="full"> | |
| 6338 | 10643 | <doc xml:space="preserve" | |
| 6339 | 10644 | filename="gsk/gsktransform.c" | |
| 6340 | - | line="1644">return location for the x0 member</doc> | |
| 10645 | + | line="1854">return location for the x0 member</doc> | |
| 6341 | 10646 | <type name="gfloat" c:type="float*"/> | |
| 6342 | 10647 | </parameter> | |
| 6343 | 10648 | <parameter name="out_dy" | |
| @@ -6346,7 +10651,7 @@ Cairo.</doc> | |||
| 6346 | 10651 | transfer-ownership="full"> | |
| 6347 | 10652 | <doc xml:space="preserve" | |
| 6348 | 10653 | filename="gsk/gsktransform.c" | |
| 6349 | - | line="1645">return location for the y0 member</doc> | |
| 10654 | + | line="1855">return location for the y0 member</doc> | |
| 6350 | 10655 | <type name="gfloat" c:type="float*"/> | |
| 6351 | 10656 | </parameter> | |
| 6352 | 10657 | </parameters> | |
| @@ -6356,7 +10661,7 @@ Cairo.</doc> | |||
| 6356 | 10661 | version="4.6"> | |
| 6357 | 10662 | <doc xml:space="preserve" | |
| 6358 | 10663 | filename="gsk/gsktransform.c" | |
| 6359 | - | line="1703">Converts a `GskTransform` to 2D transformation factors. | |
| 10664 | + | line="1918">Converts a transform to 2D transformation factors. | |
| 6360 | 10665 | ||
| 6361 | 10666 | To recreate an equivalent transform from the factors returned | |
| 6362 | 10667 | by this function, use | |
| @@ -6371,10 +10676,10 @@ by this function, use | |||
| 6371 | 10676 | ||
| 6372 | 10677 | @self must be a 2D transformation. If you are not sure, use | |
| 6373 | 10678 | ||
| 6374 | - | gsk_transform_get_category() >= %GSK_TRANSFORM_CATEGORY_2D | |
| 10679 | + | gsk_transform_get_category() >= GSK_TRANSFORM_CATEGORY_2D | |
| 6375 | 10680 | ||
| 6376 | 10681 | to check.</doc> | |
| 6377 | - | <source-position filename="gsk/gsktransform.h" line="63"/> | |
| 10682 | + | <source-position filename="gsk/gsktransform.h" line="62"/> | |
| 6378 | 10683 | <return-value transfer-ownership="none"> | |
| 6379 | 10684 | <type name="none" c:type="void"/> | |
| 6380 | 10685 | </return-value> | |
| @@ -6382,7 +10687,7 @@ to check.</doc> | |||
| 6382 | 10687 | <instance-parameter name="self" transfer-ownership="none"> | |
| 6383 | 10688 | <doc xml:space="preserve" | |
| 6384 | 10689 | filename="gsk/gsktransform.c" | |
| 6385 | - | line="1705">a `GskTransform`</doc> | |
| 10690 | + | line="1920">a transform</doc> | |
| 6386 | 10691 | <type name="Transform" c:type="GskTransform*"/> | |
| 6387 | 10692 | </instance-parameter> | |
| 6388 | 10693 | <parameter name="out_skew_x" | |
| @@ -6391,7 +10696,7 @@ to check.</doc> | |||
| 6391 | 10696 | transfer-ownership="full"> | |
| 6392 | 10697 | <doc xml:space="preserve" | |
| 6393 | 10698 | filename="gsk/gsktransform.c" | |
| 6394 | - | line="1706">return location for the skew factor | |
| 10699 | + | line="1921">return location for the skew factor | |
| 6395 | 10700 | in the x direction</doc> | |
| 6396 | 10701 | <type name="gfloat" c:type="float*"/> | |
| 6397 | 10702 | </parameter> | |
| @@ -6401,7 +10706,7 @@ to check.</doc> | |||
| 6401 | 10706 | transfer-ownership="full"> | |
| 6402 | 10707 | <doc xml:space="preserve" | |
| 6403 | 10708 | filename="gsk/gsktransform.c" | |
| 6404 | - | line="1708">return location for the skew factor | |
| 10709 | + | line="1923">return location for the skew factor | |
| 6405 | 10710 | in the y direction</doc> | |
| 6406 | 10711 | <type name="gfloat" c:type="float*"/> | |
| 6407 | 10712 | </parameter> | |
| @@ -6411,7 +10716,7 @@ to check.</doc> | |||
| 6411 | 10716 | transfer-ownership="full"> | |
| 6412 | 10717 | <doc xml:space="preserve" | |
| 6413 | 10718 | filename="gsk/gsktransform.c" | |
| 6414 | - | line="1710">return location for the scale | |
| 10719 | + | line="1925">return location for the scale | |
| 6415 | 10720 | factor in the x direction</doc> | |
| 6416 | 10721 | <type name="gfloat" c:type="float*"/> | |
| 6417 | 10722 | </parameter> | |
| @@ -6421,7 +10726,7 @@ to check.</doc> | |||
| 6421 | 10726 | transfer-ownership="full"> | |
| 6422 | 10727 | <doc xml:space="preserve" | |
| 6423 | 10728 | filename="gsk/gsktransform.c" | |
| 6424 | - | line="1712">return location for the scale | |
| 10729 | + | line="1927">return location for the scale | |
| 6425 | 10730 | factor in the y direction</doc> | |
| 6426 | 10731 | <type name="gfloat" c:type="float*"/> | |
| 6427 | 10732 | </parameter> | |
| @@ -6431,7 +10736,7 @@ to check.</doc> | |||
| 6431 | 10736 | transfer-ownership="full"> | |
| 6432 | 10737 | <doc xml:space="preserve" | |
| 6433 | 10738 | filename="gsk/gsktransform.c" | |
| 6434 | - | line="1714">return location for the rotation angle</doc> | |
| 10739 | + | line="1929">return location for the rotation angle</doc> | |
| 6435 | 10740 | <type name="gfloat" c:type="float*"/> | |
| 6436 | 10741 | </parameter> | |
| 6437 | 10742 | <parameter name="out_dx" | |
| @@ -6440,7 +10745,7 @@ to check.</doc> | |||
| 6440 | 10745 | transfer-ownership="full"> | |
| 6441 | 10746 | <doc xml:space="preserve" | |
| 6442 | 10747 | filename="gsk/gsktransform.c" | |
| 6443 | - | line="1715">return location for the translation | |
| 10748 | + | line="1930">return location for the translation | |
| 6444 | 10749 | in the x direction</doc> | |
| 6445 | 10750 | <type name="gfloat" c:type="float*"/> | |
| 6446 | 10751 | </parameter> | |
| @@ -6450,7 +10755,7 @@ to check.</doc> | |||
| 6450 | 10755 | transfer-ownership="full"> | |
| 6451 | 10756 | <doc xml:space="preserve" | |
| 6452 | 10757 | filename="gsk/gsktransform.c" | |
| 6453 | - | line="1717">return location for the translation | |
| 10758 | + | line="1932">return location for the translation | |
| 6454 | 10759 | in the y direction</doc> | |
| 6455 | 10760 | <type name="gfloat" c:type="float*"/> | |
| 6456 | 10761 | </parameter> | |
| @@ -6459,22 +10764,24 @@ to check.</doc> | |||
| 6459 | 10764 | <method name="to_affine" c:identifier="gsk_transform_to_affine"> | |
| 6460 | 10765 | <doc xml:space="preserve" | |
| 6461 | 10766 | filename="gsk/gsktransform.c" | |
| 6462 | - | line="1792">Converts a `GskTransform` to 2D affine transformation factors. | |
| 10767 | + | line="2007">Converts a transform to 2D affine transformation factors. | |
| 6463 | 10768 | ||
| 6464 | 10769 | To recreate an equivalent transform from the factors returned | |
| 6465 | 10770 | by this function, use | |
| 6466 | 10771 | ||
| 6467 | - | gsk_transform_scale (gsk_transform_translate (NULL, | |
| 6468 | - | &GRAPHENE_POINT_T (dx, dy)), | |
| 6469 | - | sx, sy) | |
| 10772 | + | gsk_transform_scale ( | |
| 10773 | + | gsk_transform_translate ( | |
| 10774 | + | NULL, | |
| 10775 | + | &GRAPHENE_POINT_T (dx, dy)), | |
| 10776 | + | sx, sy) | |
| 6470 | 10777 | ||
| 6471 | 10778 | @self must be a 2D affine transformation. If you are not | |
| 6472 | 10779 | sure, use | |
| 6473 | 10780 | ||
| 6474 | - | gsk_transform_get_category() >= %GSK_TRANSFORM_CATEGORY_2D_AFFINE | |
| 10781 | + | gsk_transform_get_category() >= GSK_TRANSFORM_CATEGORY_2D_AFFINE | |
| 6475 | 10782 | ||
| 6476 | 10783 | to check.</doc> | |
| 6477 | - | <source-position filename="gsk/gsktransform.h" line="72"/> | |
| 10784 | + | <source-position filename="gsk/gsktransform.h" line="71"/> | |
| 6478 | 10785 | <return-value transfer-ownership="none"> | |
| 6479 | 10786 | <type name="none" c:type="void"/> | |
| 6480 | 10787 | </return-value> | |
| @@ -6482,7 +10789,7 @@ to check.</doc> | |||
| 6482 | 10789 | <instance-parameter name="self" transfer-ownership="none"> | |
| 6483 | 10790 | <doc xml:space="preserve" | |
| 6484 | 10791 | filename="gsk/gsktransform.c" | |
| 6485 | - | line="1794">a `GskTransform`</doc> | |
| 10792 | + | line="2009">a transform</doc> | |
| 6486 | 10793 | <type name="Transform" c:type="GskTransform*"/> | |
| 6487 | 10794 | </instance-parameter> | |
| 6488 | 10795 | <parameter name="out_scale_x" | |
| @@ -6491,7 +10798,7 @@ to check.</doc> | |||
| 6491 | 10798 | transfer-ownership="full"> | |
| 6492 | 10799 | <doc xml:space="preserve" | |
| 6493 | 10800 | filename="gsk/gsktransform.c" | |
| 6494 | - | line="1795">return location for the scale | |
| 10801 | + | line="2010">return location for the scale | |
| 6495 | 10802 | factor in the x direction</doc> | |
| 6496 | 10803 | <type name="gfloat" c:type="float*"/> | |
| 6497 | 10804 | </parameter> | |
| @@ -6501,7 +10808,7 @@ to check.</doc> | |||
| 6501 | 10808 | transfer-ownership="full"> | |
| 6502 | 10809 | <doc xml:space="preserve" | |
| 6503 | 10810 | filename="gsk/gsktransform.c" | |
| 6504 | - | line="1797">return location for the scale | |
| 10811 | + | line="2012">return location for the scale | |
| 6505 | 10812 | factor in the y direction</doc> | |
| 6506 | 10813 | <type name="gfloat" c:type="float*"/> | |
| 6507 | 10814 | </parameter> | |
| @@ -6511,7 +10818,7 @@ to check.</doc> | |||
| 6511 | 10818 | transfer-ownership="full"> | |
| 6512 | 10819 | <doc xml:space="preserve" | |
| 6513 | 10820 | filename="gsk/gsktransform.c" | |
| 6514 | - | line="1799">return location for the translation | |
| 10821 | + | line="2014">return location for the translation | |
| 6515 | 10822 | in the x direction</doc> | |
| 6516 | 10823 | <type name="gfloat" c:type="float*"/> | |
| 6517 | 10824 | </parameter> | |
| @@ -6521,7 +10828,7 @@ to check.</doc> | |||
| 6521 | 10828 | transfer-ownership="full"> | |
| 6522 | 10829 | <doc xml:space="preserve" | |
| 6523 | 10830 | filename="gsk/gsktransform.c" | |
| 6524 | - | line="1801">return location for the translation | |
| 10831 | + | line="2016">return location for the translation | |
| 6525 | 10832 | in the y direction</doc> | |
| 6526 | 10833 | <type name="gfloat" c:type="float*"/> | |
| 6527 | 10834 | </parameter> | |
| @@ -6530,10 +10837,10 @@ to check.</doc> | |||
| 6530 | 10837 | <method name="to_matrix" c:identifier="gsk_transform_to_matrix"> | |
| 6531 | 10838 | <doc xml:space="preserve" | |
| 6532 | 10839 | filename="gsk/gsktransform.c" | |
| 6533 | - | line="1611">Computes the actual value of @self and stores it in @out_matrix. | |
| 10840 | + | line="1821">Computes the 4x4 matrix for the transform. | |
| 6534 | 10841 | ||
| 6535 | 10842 | The previous value of @out_matrix will be ignored.</doc> | |
| 6536 | - | <source-position filename="gsk/gsktransform.h" line="52"/> | |
| 10843 | + | <source-position filename="gsk/gsktransform.h" line="51"/> | |
| 6537 | 10844 | <return-value transfer-ownership="none"> | |
| 6538 | 10845 | <type name="none" c:type="void"/> | |
| 6539 | 10846 | </return-value> | |
| @@ -6544,7 +10851,7 @@ The previous value of @out_matrix will be ignored.</doc> | |||
| 6544 | 10851 | allow-none="1"> | |
| 6545 | 10852 | <doc xml:space="preserve" | |
| 6546 | 10853 | filename="gsk/gsktransform.c" | |
| 6547 | - | line="1613">a `GskTransform`</doc> | |
| 10854 | + | line="1823">a transform</doc> | |
| 6548 | 10855 | <type name="Transform" c:type="GskTransform*"/> | |
| 6549 | 10856 | </instance-parameter> | |
| 6550 | 10857 | <parameter name="out_matrix" | |
| @@ -6553,7 +10860,7 @@ The previous value of @out_matrix will be ignored.</doc> | |||
| 6553 | 10860 | transfer-ownership="none"> | |
| 6554 | 10861 | <doc xml:space="preserve" | |
| 6555 | 10862 | filename="gsk/gsktransform.c" | |
| 6556 | - | line="1614">The matrix to set</doc> | |
| 10863 | + | line="1824">return location for the matrix</doc> | |
| 6557 | 10864 | <type name="Graphene.Matrix" c:type="graphene_matrix_t*"/> | |
| 6558 | 10865 | </parameter> | |
| 6559 | 10866 | </parameters> | |
| @@ -6561,16 +10868,16 @@ The previous value of @out_matrix will be ignored.</doc> | |||
| 6561 | 10868 | <method name="to_string" c:identifier="gsk_transform_to_string"> | |
| 6562 | 10869 | <doc xml:space="preserve" | |
| 6563 | 10870 | filename="gsk/gsktransform.c" | |
| 6564 | - | line="1587">Converts a matrix into a string that is suitable for printing. | |
| 10871 | + | line="1797">Converts the transform into a human-readable string. | |
| 6565 | 10872 | ||
| 6566 | 10873 | The resulting string can be parsed with [func@Gsk.Transform.parse]. | |
| 6567 | 10874 | ||
| 6568 | 10875 | This is a wrapper around [method@Gsk.Transform.print].</doc> | |
| 6569 | - | <source-position filename="gsk/gsktransform.h" line="47"/> | |
| 10876 | + | <source-position filename="gsk/gsktransform.h" line="46"/> | |
| 6570 | 10877 | <return-value transfer-ownership="full"> | |
| 6571 | 10878 | <doc xml:space="preserve" | |
| 6572 | 10879 | filename="gsk/gsktransform.c" | |
| 6573 | - | line="1597">A new string for @self</doc> | |
| 10880 | + | line="1807">A new string for @self</doc> | |
| 6574 | 10881 | <type name="utf8" c:type="char*"/> | |
| 6575 | 10882 | </return-value> | |
| 6576 | 10883 | <parameters> | |
| @@ -6580,7 +10887,7 @@ This is a wrapper around [method@Gsk.Transform.print].</doc> | |||
| 6580 | 10887 | allow-none="1"> | |
| 6581 | 10888 | <doc xml:space="preserve" | |
| 6582 | 10889 | filename="gsk/gsktransform.c" | |
| 6583 | - | line="1589">a `GskTransform`</doc> | |
| 10890 | + | line="1799">a transform</doc> | |
| 6584 | 10891 | <type name="Transform" c:type="GskTransform*"/> | |
| 6585 | 10892 | </instance-parameter> | |
| 6586 | 10893 | </parameters> | |
| @@ -6588,15 +10895,15 @@ This is a wrapper around [method@Gsk.Transform.print].</doc> | |||
| 6588 | 10895 | <method name="to_translate" c:identifier="gsk_transform_to_translate"> | |
| 6589 | 10896 | <doc xml:space="preserve" | |
| 6590 | 10897 | filename="gsk/gsktransform.c" | |
| 6591 | - | line="1852">Converts a `GskTransform` to a translation operation. | |
| 10898 | + | line="2161">Converts a transform to a translation operation. | |
| 6592 | 10899 | ||
| 6593 | 10900 | @self must be a 2D transformation. If you are not | |
| 6594 | 10901 | sure, use | |
| 6595 | 10902 | ||
| 6596 | - | gsk_transform_get_category() >= %GSK_TRANSFORM_CATEGORY_2D_TRANSLATE | |
| 10903 | + | gsk_transform_get_category() >= GSK_TRANSFORM_CATEGORY_2D_TRANSLATE | |
| 6597 | 10904 | ||
| 6598 | 10905 | to check.</doc> | |
| 6599 | - | <source-position filename="gsk/gsktransform.h" line="78"/> | |
| 10906 | + | <source-position filename="gsk/gsktransform.h" line="77"/> | |
| 6600 | 10907 | <return-value transfer-ownership="none"> | |
| 6601 | 10908 | <type name="none" c:type="void"/> | |
| 6602 | 10909 | </return-value> | |
| @@ -6604,7 +10911,7 @@ to check.</doc> | |||
| 6604 | 10911 | <instance-parameter name="self" transfer-ownership="none"> | |
| 6605 | 10912 | <doc xml:space="preserve" | |
| 6606 | 10913 | filename="gsk/gsktransform.c" | |
| 6607 | - | line="1854">a `GskTransform`</doc> | |
| 10914 | + | line="2163">a transform</doc> | |
| 6608 | 10915 | <type name="Transform" c:type="GskTransform*"/> | |
| 6609 | 10916 | </instance-parameter> | |
| 6610 | 10917 | <parameter name="out_dx" | |
| @@ -6613,7 +10920,7 @@ to check.</doc> | |||
| 6613 | 10920 | transfer-ownership="full"> | |
| 6614 | 10921 | <doc xml:space="preserve" | |
| 6615 | 10922 | filename="gsk/gsktransform.c" | |
| 6616 | - | line="1855">return location for the translation | |
| 10923 | + | line="2164">return location for the translation | |
| 6617 | 10924 | in the x direction</doc> | |
| 6618 | 10925 | <type name="gfloat" c:type="float*"/> | |
| 6619 | 10926 | </parameter> | |
| @@ -6623,7 +10930,7 @@ to check.</doc> | |||
| 6623 | 10930 | transfer-ownership="full"> | |
| 6624 | 10931 | <doc xml:space="preserve" | |
| 6625 | 10932 | filename="gsk/gsktransform.c" | |
| 6626 | - | line="1857">return location for the translation | |
| 10933 | + | line="2166">return location for the translation | |
| 6627 | 10934 | in the y direction</doc> | |
| 6628 | 10935 | <type name="gfloat" c:type="float*"/> | |
| 6629 | 10936 | </parameter> | |
| @@ -6632,12 +10939,15 @@ to check.</doc> | |||
| 6632 | 10939 | <method name="transform" c:identifier="gsk_transform_transform"> | |
| 6633 | 10940 | <doc xml:space="preserve" | |
| 6634 | 10941 | filename="gsk/gsktransform.c" | |
| 6635 | - | line="1894">Applies all the operations from @other to @next.</doc> | |
| 6636 | - | <source-position filename="gsk/gsktransform.h" line="91"/> | |
| 10942 | + | line="2203">Applies all the operations from @other to @next. | |
| 10943 | + | ||
| 10944 | + | This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 10945 | + | if you want to keep it around.</doc> | |
| 10946 | + | <source-position filename="gsk/gsktransform.h" line="90"/> | |
| 6637 | 10947 | <return-value transfer-ownership="full" nullable="1"> | |
| 6638 | 10948 | <doc xml:space="preserve" | |
| 6639 | 10949 | filename="gsk/gsktransform.c" | |
| 6640 | - | line="1901">The new transform</doc> | |
| 10950 | + | line="2213">The new transform</doc> | |
| 6641 | 10951 | <type name="Transform" c:type="GskTransform*"/> | |
| 6642 | 10952 | </return-value> | |
| 6643 | 10953 | <parameters> | |
| @@ -6647,7 +10957,7 @@ to check.</doc> | |||
| 6647 | 10957 | allow-none="1"> | |
| 6648 | 10958 | <doc xml:space="preserve" | |
| 6649 | 10959 | filename="gsk/gsktransform.c" | |
| 6650 | - | line="1896">Transform to apply @other to</doc> | |
| 10960 | + | line="2205">transform to apply @other to</doc> | |
| 6651 | 10961 | <type name="Transform" c:type="GskTransform*"/> | |
| 6652 | 10962 | </instance-parameter> | |
| 6653 | 10963 | <parameter name="other" | |
| @@ -6656,7 +10966,7 @@ to check.</doc> | |||
| 6656 | 10966 | allow-none="1"> | |
| 6657 | 10967 | <doc xml:space="preserve" | |
| 6658 | 10968 | filename="gsk/gsktransform.c" | |
| 6659 | - | line="1897">Transform to apply</doc> | |
| 10969 | + | line="2206">transform to apply</doc> | |
| 6660 | 10970 | <type name="Transform" c:type="GskTransform*"/> | |
| 6661 | 10971 | </parameter> | |
| 6662 | 10972 | </parameters> | |
| @@ -6665,10 +10975,10 @@ to check.</doc> | |||
| 6665 | 10975 | c:identifier="gsk_transform_transform_bounds"> | |
| 6666 | 10976 | <doc xml:space="preserve" | |
| 6667 | 10977 | filename="gsk/gsktransform.c" | |
| 6668 | - | line="2021">Transforms a `graphene_rect_t` using the given transform @self. | |
| 10978 | + | line="2363">Transforms a rectangle using the given transform. | |
| 6669 | 10979 | ||
| 6670 | 10980 | The result is the bounding box containing the coplanar quad.</doc> | |
| 6671 | - | <source-position filename="gsk/gsktransform.h" line="129"/> | |
| 10981 | + | <source-position filename="gsk/gsktransform.h" line="128"/> | |
| 6672 | 10982 | <return-value transfer-ownership="none"> | |
| 6673 | 10983 | <type name="none" c:type="void"/> | |
| 6674 | 10984 | </return-value> | |
| @@ -6676,13 +10986,13 @@ The result is the bounding box containing the coplanar quad.</doc> | |||
| 6676 | 10986 | <instance-parameter name="self" transfer-ownership="none"> | |
| 6677 | 10987 | <doc xml:space="preserve" | |
| 6678 | 10988 | filename="gsk/gsktransform.c" | |
| 6679 | - | line="2023">a `GskTransform`</doc> | |
| 10989 | + | line="2365">a transform</doc> | |
| 6680 | 10990 | <type name="Transform" c:type="GskTransform*"/> | |
| 6681 | 10991 | </instance-parameter> | |
| 6682 | 10992 | <parameter name="rect" transfer-ownership="none"> | |
| 6683 | 10993 | <doc xml:space="preserve" | |
| 6684 | 10994 | filename="gsk/gsktransform.c" | |
| 6685 | - | line="2024">a `graphene_rect_t`</doc> | |
| 10995 | + | line="2366">the rectangle to transform</doc> | |
| 6686 | 10996 | <type name="Graphene.Rect" c:type="const graphene_rect_t*"/> | |
| 6687 | 10997 | </parameter> | |
| 6688 | 10998 | <parameter name="out_rect" | |
| @@ -6691,7 +11001,7 @@ The result is the bounding box containing the coplanar quad.</doc> | |||
| 6691 | 11001 | transfer-ownership="none"> | |
| 6692 | 11002 | <doc xml:space="preserve" | |
| 6693 | 11003 | filename="gsk/gsktransform.c" | |
| 6694 | - | line="2025">return location for the bounds | |
| 11004 | + | line="2367">return location for the bounds | |
| 6695 | 11005 | of the transformed rectangle</doc> | |
| 6696 | 11006 | <type name="Graphene.Rect" c:type="graphene_rect_t*"/> | |
| 6697 | 11007 | </parameter> | |
| @@ -6701,8 +11011,8 @@ The result is the bounding box containing the coplanar quad.</doc> | |||
| 6701 | 11011 | c:identifier="gsk_transform_transform_point"> | |
| 6702 | 11012 | <doc xml:space="preserve" | |
| 6703 | 11013 | filename="gsk/gsktransform.c" | |
| 6704 | - | line="2085">Transforms a `graphene_point_t` using the given transform @self.</doc> | |
| 6705 | - | <source-position filename="gsk/gsktransform.h" line="133"/> | |
| 11014 | + | line="2444">Transforms a point using the given transform.</doc> | |
| 11015 | + | <source-position filename="gsk/gsktransform.h" line="132"/> | |
| 6706 | 11016 | <return-value transfer-ownership="none"> | |
| 6707 | 11017 | <type name="none" c:type="void"/> | |
| 6708 | 11018 | </return-value> | |
| @@ -6710,13 +11020,13 @@ The result is the bounding box containing the coplanar quad.</doc> | |||
| 6710 | 11020 | <instance-parameter name="self" transfer-ownership="none"> | |
| 6711 | 11021 | <doc xml:space="preserve" | |
| 6712 | 11022 | filename="gsk/gsktransform.c" | |
| 6713 | - | line="2087">a `GskTransform`</doc> | |
| 11023 | + | line="2446">a transform</doc> | |
| 6714 | 11024 | <type name="Transform" c:type="GskTransform*"/> | |
| 6715 | 11025 | </instance-parameter> | |
| 6716 | 11026 | <parameter name="point" transfer-ownership="none"> | |
| 6717 | 11027 | <doc xml:space="preserve" | |
| 6718 | 11028 | filename="gsk/gsktransform.c" | |
| 6719 | - | line="2088">a `graphene_point_t`</doc> | |
| 11029 | + | line="2447">the point to transform</doc> | |
| 6720 | 11030 | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 6721 | 11031 | </parameter> | |
| 6722 | 11032 | <parameter name="out_point" | |
| @@ -6725,7 +11035,7 @@ The result is the bounding box containing the coplanar quad.</doc> | |||
| 6725 | 11035 | transfer-ownership="none"> | |
| 6726 | 11036 | <doc xml:space="preserve" | |
| 6727 | 11037 | filename="gsk/gsktransform.c" | |
| 6728 | - | line="2089">return location for | |
| 11038 | + | line="2448">return location for | |
| 6729 | 11039 | the transformed point</doc> | |
| 6730 | 11040 | <type name="Graphene.Point" c:type="graphene_point_t*"/> | |
| 6731 | 11041 | </parameter> | |
| @@ -6734,12 +11044,15 @@ The result is the bounding box containing the coplanar quad.</doc> | |||
| 6734 | 11044 | <method name="translate" c:identifier="gsk_transform_translate"> | |
| 6735 | 11045 | <doc xml:space="preserve" | |
| 6736 | 11046 | filename="gsk/gsktransform.c" | |
| 6737 | - | line="619">Translates @next in 2-dimensional space by @point.</doc> | |
| 6738 | - | <source-position filename="gsk/gsktransform.h" line="99"/> | |
| 11047 | + | line="727">Translates @next in 2-dimensional space by @point. | |
| 11048 | + | ||
| 11049 | + | This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 11050 | + | if you want to keep it around.</doc> | |
| 11051 | + | <source-position filename="gsk/gsktransform.h" line="98"/> | |
| 6739 | 11052 | <return-value transfer-ownership="full" nullable="1"> | |
| 6740 | 11053 | <doc xml:space="preserve" | |
| 6741 | 11054 | filename="gsk/gsktransform.c" | |
| 6742 | - | line="626">The new transform</doc> | |
| 11055 | + | line="737">The new transform</doc> | |
| 6743 | 11056 | <type name="Transform" c:type="GskTransform*"/> | |
| 6744 | 11057 | </return-value> | |
| 6745 | 11058 | <parameters> | |
| @@ -6749,13 +11062,13 @@ The result is the bounding box containing the coplanar quad.</doc> | |||
| 6749 | 11062 | allow-none="1"> | |
| 6750 | 11063 | <doc xml:space="preserve" | |
| 6751 | 11064 | filename="gsk/gsktransform.c" | |
| 6752 | - | line="621">the next transform</doc> | |
| 11065 | + | line="729">the next transform</doc> | |
| 6753 | 11066 | <type name="Transform" c:type="GskTransform*"/> | |
| 6754 | 11067 | </instance-parameter> | |
| 6755 | 11068 | <parameter name="point" transfer-ownership="none"> | |
| 6756 | 11069 | <doc xml:space="preserve" | |
| 6757 | 11070 | filename="gsk/gsktransform.c" | |
| 6758 | - | line="622">the point to translate the transform by</doc> | |
| 11071 | + | line="730">the point to translate the transform by</doc> | |
| 6759 | 11072 | <type name="Graphene.Point" c:type="const graphene_point_t*"/> | |
| 6760 | 11073 | </parameter> | |
| 6761 | 11074 | </parameters> | |
| @@ -6763,12 +11076,15 @@ The result is the bounding box containing the coplanar quad.</doc> | |||
| 6763 | 11076 | <method name="translate_3d" c:identifier="gsk_transform_translate_3d"> | |
| 6764 | 11077 | <doc xml:space="preserve" | |
| 6765 | 11078 | filename="gsk/gsktransform.c" | |
| 6766 | - | line="639">Translates @next by @point.</doc> | |
| 6767 | - | <source-position filename="gsk/gsktransform.h" line="102"/> | |
| 11079 | + | line="750">Translates @next by @point. | |
| 11080 | + | ||
| 11081 | + | This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 11082 | + | if you want to keep it around.</doc> | |
| 11083 | + | <source-position filename="gsk/gsktransform.h" line="101"/> | |
| 6768 | 11084 | <return-value transfer-ownership="full" nullable="1"> | |
| 6769 | 11085 | <doc xml:space="preserve" | |
| 6770 | 11086 | filename="gsk/gsktransform.c" | |
| 6771 | - | line="646">The new transform</doc> | |
| 11087 | + | line="760">The new transform</doc> | |
| 6772 | 11088 | <type name="Transform" c:type="GskTransform*"/> | |
| 6773 | 11089 | </return-value> | |
| 6774 | 11090 | <parameters> | |
| @@ -6778,13 +11094,13 @@ The result is the bounding box containing the coplanar quad.</doc> | |||
| 6778 | 11094 | allow-none="1"> | |
| 6779 | 11095 | <doc xml:space="preserve" | |
| 6780 | 11096 | filename="gsk/gsktransform.c" | |
| 6781 | - | line="641">the next transform</doc> | |
| 11097 | + | line="752">the next transform</doc> | |
| 6782 | 11098 | <type name="Transform" c:type="GskTransform*"/> | |
| 6783 | 11099 | </instance-parameter> | |
| 6784 | 11100 | <parameter name="point" transfer-ownership="none"> | |
| 6785 | 11101 | <doc xml:space="preserve" | |
| 6786 | 11102 | filename="gsk/gsktransform.c" | |
| 6787 | - | line="642">the point to translate the transform by</doc> | |
| 11103 | + | line="753">the point to translate the transform by</doc> | |
| 6788 | 11104 | <type name="Graphene.Point3D" c:type="const graphene_point3d_t*"/> | |
| 6789 | 11105 | </parameter> | |
| 6790 | 11106 | </parameters> | |
| @@ -6792,11 +11108,11 @@ The result is the bounding box containing the coplanar quad.</doc> | |||
| 6792 | 11108 | <method name="unref" c:identifier="gsk_transform_unref"> | |
| 6793 | 11109 | <doc xml:space="preserve" | |
| 6794 | 11110 | filename="gsk/gsktransform.c" | |
| 6795 | - | line="1537">Releases a reference on the given `GskTransform`. | |
| 11111 | + | line="1748">Releases a reference on the given transform. | |
| 6796 | 11112 | ||
| 6797 | 11113 | If the reference was the last, the resources associated to the @self are | |
| 6798 | 11114 | freed.</doc> | |
| 6799 | - | <source-position filename="gsk/gsktransform.h" line="41"/> | |
| 11115 | + | <source-position filename="gsk/gsktransform.h" line="40"/> | |
| 6800 | 11116 | <return-value transfer-ownership="none"> | |
| 6801 | 11117 | <type name="none" c:type="void"/> | |
| 6802 | 11118 | </return-value> | |
| @@ -6807,7 +11123,7 @@ freed.</doc> | |||
| 6807 | 11123 | allow-none="1"> | |
| 6808 | 11124 | <doc xml:space="preserve" | |
| 6809 | 11125 | filename="gsk/gsktransform.c" | |
| 6810 | - | line="1539">a `GskTransform`</doc> | |
| 11126 | + | line="1750">a transform</doc> | |
| 6811 | 11127 | <type name="Transform" c:type="GskTransform*"/> | |
| 6812 | 11128 | </instance-parameter> | |
| 6813 | 11129 | </parameters> | |
| @@ -6815,26 +11131,25 @@ freed.</doc> | |||
| 6815 | 11131 | <function name="parse" c:identifier="gsk_transform_parse"> | |
| 6816 | 11132 | <doc xml:space="preserve" | |
| 6817 | 11133 | filename="gsk/gsktransform.c" | |
| 6818 | - | line="2366">Parses the given @string into a transform and puts it in | |
| 6819 | - | @out_transform. | |
| 11134 | + | line="2739">Parses a given into a transform. | |
| 6820 | 11135 | ||
| 6821 | 11136 | Strings printed via [method@Gsk.Transform.to_string] | |
| 6822 | 11137 | can be read in again successfully using this function. | |
| 6823 | 11138 | ||
| 6824 | - | If @string does not describe a valid transform, %FALSE is | |
| 6825 | - | returned and %NULL is put in @out_transform.</doc> | |
| 6826 | - | <source-position filename="gsk/gsktransform.h" line="49"/> | |
| 11139 | + | If @string does not describe a valid transform, false | |
| 11140 | + | is returned and `NULL` is put in @out_transform.</doc> | |
| 11141 | + | <source-position filename="gsk/gsktransform.h" line="48"/> | |
| 6827 | 11142 | <return-value transfer-ownership="none"> | |
| 6828 | 11143 | <doc xml:space="preserve" | |
| 6829 | 11144 | filename="gsk/gsktransform.c" | |
| 6830 | - | line="2380">%TRUE if @string described a valid transform.</doc> | |
| 11145 | + | line="2752">true if @string described a valid transform</doc> | |
| 6831 | 11146 | <type name="gboolean" c:type="gboolean"/> | |
| 6832 | 11147 | </return-value> | |
| 6833 | 11148 | <parameters> | |
| 6834 | 11149 | <parameter name="string" transfer-ownership="none"> | |
| 6835 | 11150 | <doc xml:space="preserve" | |
| 6836 | 11151 | filename="gsk/gsktransform.c" | |
| 6837 | - | line="2368">the string to parse</doc> | |
| 11152 | + | line="2741">the string to parse</doc> | |
| 6838 | 11153 | <type name="utf8" c:type="const char*"/> | |
| 6839 | 11154 | </parameter> | |
| 6840 | 11155 | <parameter name="out_transform" | |
| @@ -6843,7 +11158,7 @@ returned and %NULL is put in @out_transform.</doc> | |||
| 6843 | 11158 | transfer-ownership="full"> | |
| 6844 | 11159 | <doc xml:space="preserve" | |
| 6845 | 11160 | filename="gsk/gsktransform.c" | |
| 6846 | - | line="2369">The location to put the transform in</doc> | |
| 11161 | + | line="2742">return location for the transform</doc> | |
| 6847 | 11162 | <type name="Transform" c:type="GskTransform**"/> | |
| 6848 | 11163 | </parameter> | |
| 6849 | 11164 | </parameters> | |
| @@ -6855,7 +11170,7 @@ returned and %NULL is put in @out_transform.</doc> | |||
| 6855 | 11170 | c:type="GskTransformCategory"> | |
| 6856 | 11171 | <doc xml:space="preserve" | |
| 6857 | 11172 | filename="gsk/gskenums.h" | |
| 6858 | - | line="186">The categories of matrices relevant for GSK and GTK. | |
| 11173 | + | line="388">The categories of matrices relevant for GSK and GTK. | |
| 6859 | 11174 | ||
| 6860 | 11175 | Note that any category includes matrices of all later categories. | |
| 6861 | 11176 | So if you want to for example check if a matrix is a 2D matrix, | |
| @@ -6872,7 +11187,7 @@ multiplication `C = A * B`, `category(C) = MIN (category(A), category(B))`.</doc | |||
| 6872 | 11187 | glib:name="GSK_TRANSFORM_CATEGORY_UNKNOWN"> | |
| 6873 | 11188 | <doc xml:space="preserve" | |
| 6874 | 11189 | filename="gsk/gskenums.h" | |
| 6875 | - | line="188">The category of the matrix has not been | |
| 11190 | + | line="390">The category of the matrix has not been | |
| 6876 | 11191 | determined.</doc> | |
| 6877 | 11192 | </member> | |
| 6878 | 11193 | <member name="any" | |
| @@ -6882,7 +11197,7 @@ multiplication `C = A * B`, `category(C) = MIN (category(A), category(B))`.</doc | |||
| 6882 | 11197 | glib:name="GSK_TRANSFORM_CATEGORY_ANY"> | |
| 6883 | 11198 | <doc xml:space="preserve" | |
| 6884 | 11199 | filename="gsk/gskenums.h" | |
| 6885 | - | line="190">Analyzing the matrix concluded that it does | |
| 11200 | + | line="392">Analyzing the matrix concluded that it does | |
| 6886 | 11201 | not fit in any other category.</doc> | |
| 6887 | 11202 | </member> | |
| 6888 | 11203 | <member name="3d" | |
| @@ -6892,7 +11207,7 @@ multiplication `C = A * B`, `category(C) = MIN (category(A), category(B))`.</doc | |||
| 6892 | 11207 | glib:name="GSK_TRANSFORM_CATEGORY_3D"> | |
| 6893 | 11208 | <doc xml:space="preserve" | |
| 6894 | 11209 | filename="gsk/gskenums.h" | |
| 6895 | - | line="192">The matrix is a 3D matrix. This means that | |
| 11210 | + | line="394">The matrix is a 3D matrix. This means that | |
| 6896 | 11211 | the w column (the last column) has the values (0, 0, 0, 1).</doc> | |
| 6897 | 11212 | </member> | |
| 6898 | 11213 | <member name="2d" | |
| @@ -6902,7 +11217,7 @@ multiplication `C = A * B`, `category(C) = MIN (category(A), category(B))`.</doc | |||
| 6902 | 11217 | glib:name="GSK_TRANSFORM_CATEGORY_2D"> | |
| 6903 | 11218 | <doc xml:space="preserve" | |
| 6904 | 11219 | filename="gsk/gskenums.h" | |
| 6905 | - | line="194">The matrix is a 2D matrix. This is equivalent | |
| 11220 | + | line="396">The matrix is a 2D matrix. This is equivalent | |
| 6906 | 11221 | to graphene_matrix_is_2d() returning %TRUE. In particular, this | |
| 6907 | 11222 | means that Cairo can deal with the matrix.</doc> | |
| 6908 | 11223 | </member> | |
| @@ -6913,7 +11228,7 @@ multiplication `C = A * B`, `category(C) = MIN (category(A), category(B))`.</doc | |||
| 6913 | 11228 | glib:name="GSK_TRANSFORM_CATEGORY_2D_AFFINE"> | |
| 6914 | 11229 | <doc xml:space="preserve" | |
| 6915 | 11230 | filename="gsk/gskenums.h" | |
| 6916 | - | line="197">The matrix is a combination of 2D scale | |
| 11231 | + | line="399">The matrix is a combination of 2D scale | |
| 6917 | 11232 | and 2D translation operations. In particular, this means that any | |
| 6918 | 11233 | rectangle can be transformed exactly using this matrix.</doc> | |
| 6919 | 11234 | </member> | |
| @@ -6924,7 +11239,7 @@ multiplication `C = A * B`, `category(C) = MIN (category(A), category(B))`.</doc | |||
| 6924 | 11239 | glib:name="GSK_TRANSFORM_CATEGORY_2D_TRANSLATE"> | |
| 6925 | 11240 | <doc xml:space="preserve" | |
| 6926 | 11241 | filename="gsk/gskenums.h" | |
| 6927 | - | line="200">The matrix is a 2D translation.</doc> | |
| 11242 | + | line="402">The matrix is a 2D translation.</doc> | |
| 6928 | 11243 | </member> | |
| 6929 | 11244 | <member name="identity" | |
| 6930 | 11245 | value="6" | |
| @@ -6933,7 +11248,7 @@ multiplication `C = A * B`, `category(C) = MIN (category(A), category(B))`.</doc | |||
| 6933 | 11248 | glib:name="GSK_TRANSFORM_CATEGORY_IDENTITY"> | |
| 6934 | 11249 | <doc xml:space="preserve" | |
| 6935 | 11250 | filename="gsk/gskenums.h" | |
| 6936 | - | line="201">The matrix is the identity matrix.</doc> | |
| 11251 | + | line="403">The matrix is the identity matrix.</doc> | |
| 6937 | 11252 | </member> | |
| 6938 | 11253 | </enumeration> | |
| 6939 | 11254 | <class name="TransformNode" | |
| @@ -6945,30 +11260,30 @@ multiplication `C = A * B`, `category(C) = MIN (category(A), category(B))`.</doc | |||
| 6945 | 11260 | glib:fundamental="1"> | |
| 6946 | 11261 | <doc xml:space="preserve" | |
| 6947 | 11262 | filename="gsk/gskrendernodeimpl.c" | |
| 6948 | - | line="2840">A render node applying a `GskTransform` to its single child node.</doc> | |
| 11263 | + | line="4683">A render node applying a `GskTransform` to its single child node.</doc> | |
| 6949 | 11264 | <constructor name="new" c:identifier="gsk_transform_node_new"> | |
| 6950 | 11265 | <doc xml:space="preserve" | |
| 6951 | 11266 | filename="gsk/gskrendernodeimpl.c" | |
| 6952 | - | line="2977">Creates a `GskRenderNode` that will transform the given @child | |
| 11267 | + | line="4863">Creates a `GskRenderNode` that will transform the given @child | |
| 6953 | 11268 | with the given @transform.</doc> | |
| 6954 | - | <source-position filename="gsk/gskrendernode.h" line="386"/> | |
| 11269 | + | <source-position filename="gsk/gskrendernode.h" line="409"/> | |
| 6955 | 11270 | <return-value transfer-ownership="full"> | |
| 6956 | 11271 | <doc xml:space="preserve" | |
| 6957 | 11272 | filename="gsk/gskrendernodeimpl.c" | |
| 6958 | - | line="2985">A new `GskRenderNode`</doc> | |
| 11273 | + | line="4871">A new `GskRenderNode`</doc> | |
| 6959 | 11274 | <type name="TransformNode" c:type="GskRenderNode*"/> | |
| 6960 | 11275 | </return-value> | |
| 6961 | 11276 | <parameters> | |
| 6962 | 11277 | <parameter name="child" transfer-ownership="none"> | |
| 6963 | 11278 | <doc xml:space="preserve" | |
| 6964 | 11279 | filename="gsk/gskrendernodeimpl.c" | |
| 6965 | - | line="2979">The node to transform</doc> | |
| 11280 | + | line="4865">The node to transform</doc> | |
| 6966 | 11281 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 6967 | 11282 | </parameter> | |
| 6968 | 11283 | <parameter name="transform" transfer-ownership="none"> | |
| 6969 | 11284 | <doc xml:space="preserve" | |
| 6970 | 11285 | filename="gsk/gskrendernodeimpl.c" | |
| 6971 | - | line="2980">The transform to apply</doc> | |
| 11286 | + | line="4866">The transform to apply</doc> | |
| 6972 | 11287 | <type name="Transform" c:type="GskTransform*"/> | |
| 6973 | 11288 | </parameter> | |
| 6974 | 11289 | </parameters> | |
| @@ -6976,19 +11291,19 @@ with the given @transform.</doc> | |||
| 6976 | 11291 | <method name="get_child" c:identifier="gsk_transform_node_get_child"> | |
| 6977 | 11292 | <doc xml:space="preserve" | |
| 6978 | 11293 | filename="gsk/gskrendernodeimpl.c" | |
| 6979 | - | line="3018">Gets the child node that is getting transformed by the given @node.</doc> | |
| 6980 | - | <source-position filename="gsk/gskrendernode.h" line="389"/> | |
| 11294 | + | line="4909">Gets the child node that is getting transformed by the given @node.</doc> | |
| 11295 | + | <source-position filename="gsk/gskrendernode.h" line="412"/> | |
| 6981 | 11296 | <return-value transfer-ownership="none"> | |
| 6982 | 11297 | <doc xml:space="preserve" | |
| 6983 | 11298 | filename="gsk/gskrendernodeimpl.c" | |
| 6984 | - | line="3024">The child that is getting transformed</doc> | |
| 11299 | + | line="4915">The child that is getting transformed</doc> | |
| 6985 | 11300 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 6986 | 11301 | </return-value> | |
| 6987 | 11302 | <parameters> | |
| 6988 | 11303 | <instance-parameter name="node" transfer-ownership="none"> | |
| 6989 | 11304 | <doc xml:space="preserve" | |
| 6990 | 11305 | filename="gsk/gskrendernodeimpl.c" | |
| 6991 | - | line="3020">a `GskRenderNode` for a transform</doc> | |
| 11306 | + | line="4911">a `GskRenderNode` for a transform</doc> | |
| 6992 | 11307 | <type name="TransformNode" c:type="const GskRenderNode*"/> | |
| 6993 | 11308 | </instance-parameter> | |
| 6994 | 11309 | </parameters> | |
| @@ -6997,19 +11312,19 @@ with the given @transform.</doc> | |||
| 6997 | 11312 | c:identifier="gsk_transform_node_get_transform"> | |
| 6998 | 11313 | <doc xml:space="preserve" | |
| 6999 | 11314 | filename="gsk/gskrendernodeimpl.c" | |
| 7000 | - | line="3034">Retrieves the `GskTransform` used by the @node.</doc> | |
| 7001 | - | <source-position filename="gsk/gskrendernode.h" line="391"/> | |
| 11315 | + | line="4925">Retrieves the `GskTransform` used by the @node.</doc> | |
| 11316 | + | <source-position filename="gsk/gskrendernode.h" line="414"/> | |
| 7002 | 11317 | <return-value transfer-ownership="none"> | |
| 7003 | 11318 | <doc xml:space="preserve" | |
| 7004 | 11319 | filename="gsk/gskrendernodeimpl.c" | |
| 7005 | - | line="3040">a `GskTransform`</doc> | |
| 11320 | + | line="4931">a `GskTransform`</doc> | |
| 7006 | 11321 | <type name="Transform" c:type="GskTransform*"/> | |
| 7007 | 11322 | </return-value> | |
| 7008 | 11323 | <parameters> | |
| 7009 | 11324 | <instance-parameter name="node" transfer-ownership="none"> | |
| 7010 | 11325 | <doc xml:space="preserve" | |
| 7011 | 11326 | filename="gsk/gskrendernodeimpl.c" | |
| 7012 | - | line="3036">a `GskRenderNode` for a transform</doc> | |
| 11327 | + | line="4927">a `GskRenderNode` for a transform</doc> | |
| 7013 | 11328 | <type name="TransformNode" c:type="const GskRenderNode*"/> | |
| 7014 | 11329 | </instance-parameter> | |
| 7015 | 11330 | </parameters> | |
| @@ -7020,48 +11335,200 @@ with the given @transform.</doc> | |||
| 7020 | 11335 | introspectable="0"> | |
| 7021 | 11336 | <doc xml:space="preserve" | |
| 7022 | 11337 | filename="gsk/gskrendernode.h" | |
| 7023 | - | line="537">Evaluates to %TRUE if @value was initialized with %GSK_TYPE_RENDER_NODE.</doc> | |
| 7024 | - | <source-position filename="gsk/gskrendernode.h" line="543"/> | |
| 11338 | + | line="613">Evaluates to true if @value was initialized with `GSK_TYPE_RENDER_NODE`.</doc> | |
| 11339 | + | <source-position filename="gsk/gskrendernode.h" line="619"/> | |
| 7025 | 11340 | <parameters> | |
| 7026 | 11341 | <parameter name="value"> | |
| 7027 | 11342 | <doc xml:space="preserve" | |
| 7028 | 11343 | filename="gsk/gskrendernode.h" | |
| 7029 | - | line="539">a `GValue`</doc> | |
| 11344 | + | line="615">a `GValue`</doc> | |
| 11345 | + | </parameter> | |
| 11346 | + | </parameters> | |
| 11347 | + | </function-macro> | |
| 11348 | + | <function-macro name="VULKAN_RENDERER" | |
| 11349 | + | c:identifier="GSK_VULKAN_RENDERER" | |
| 11350 | + | introspectable="0"> | |
| 11351 | + | <source-position filename="gsk/gpu/gskvulkanrenderer.h" line="27"/> | |
| 11352 | + | <parameters> | |
| 11353 | + | <parameter name="obj"> | |
| 11354 | + | </parameter> | |
| 11355 | + | </parameters> | |
| 11356 | + | </function-macro> | |
| 11357 | + | <function-macro name="VULKAN_RENDERER_CLASS" | |
| 11358 | + | c:identifier="GSK_VULKAN_RENDERER_CLASS" | |
| 11359 | + | introspectable="0"> | |
| 11360 | + | <source-position filename="gsk/gpu/gskvulkanrenderer.h" line="29"/> | |
| 11361 | + | <parameters> | |
| 11362 | + | <parameter name="klass"> | |
| 11363 | + | </parameter> | |
| 11364 | + | </parameters> | |
| 11365 | + | </function-macro> | |
| 11366 | + | <function-macro name="VULKAN_RENDERER_GET_CLASS" | |
| 11367 | + | c:identifier="GSK_VULKAN_RENDERER_GET_CLASS" | |
| 11368 | + | introspectable="0"> | |
| 11369 | + | <source-position filename="gsk/gpu/gskvulkanrenderer.h" line="31"/> | |
| 11370 | + | <parameters> | |
| 11371 | + | <parameter name="obj"> | |
| 7030 | 11372 | </parameter> | |
| 7031 | 11373 | </parameters> | |
| 7032 | 11374 | </function-macro> | |
| 11375 | + | <class name="VulkanRenderer" | |
| 11376 | + | c:symbol-prefix="vulkan_renderer" | |
| 11377 | + | c:type="GskVulkanRenderer" | |
| 11378 | + | parent="Renderer" | |
| 11379 | + | glib:type-name="GskVulkanRenderer" | |
| 11380 | + | glib:get-type="gsk_vulkan_renderer_get_type" | |
| 11381 | + | glib:type-struct="VulkanRendererClass"> | |
| 11382 | + | <doc xml:space="preserve" | |
| 11383 | + | filename="gsk/gpu/gskvulkanrenderer.h" | |
| 11384 | + | line="33">Renders a GSK rendernode tree with Vulkan. | |
| 11385 | + | ||
| 11386 | + | This renderer will fail to realize if Vulkan is not supported.</doc> | |
| 11387 | + | <source-position filename="gsk/gpu/gskvulkanrenderer.h" line="41"/> | |
| 11388 | + | <constructor name="new" c:identifier="gsk_vulkan_renderer_new"> | |
| 11389 | + | <doc xml:space="preserve" | |
| 11390 | + | filename="gsk/gpu/gskvulkanrenderer.c" | |
| 11391 | + | line="173">Creates a new Vulkan renderer. | |
| 11392 | + | ||
| 11393 | + | The Vulkan renderer is a renderer that uses the Vulkan library for | |
| 11394 | + | rendering. | |
| 11395 | + | ||
| 11396 | + | This renderer will fail to realize when GTK was not compiled with | |
| 11397 | + | Vulkan support.</doc> | |
| 11398 | + | <source-position filename="gsk/gpu/gskvulkanrenderer.h" line="47"/> | |
| 11399 | + | <return-value transfer-ownership="full"> | |
| 11400 | + | <doc xml:space="preserve" | |
| 11401 | + | filename="gsk/gpu/gskvulkanrenderer.c" | |
| 11402 | + | line="184">a new Vulkan renderer</doc> | |
| 11403 | + | <type name="Renderer" c:type="GskRenderer*"/> | |
| 11404 | + | </return-value> | |
| 11405 | + | </constructor> | |
| 11406 | + | </class> | |
| 11407 | + | <record name="VulkanRendererClass" | |
| 11408 | + | c:type="GskVulkanRendererClass" | |
| 11409 | + | disguised="1" | |
| 11410 | + | opaque="1" | |
| 11411 | + | glib:is-gtype-struct-for="VulkanRenderer"> | |
| 11412 | + | <source-position filename="gsk/gpu/gskvulkanrenderer.h" line="41"/> | |
| 11413 | + | </record> | |
| 11414 | + | <function name="path_parse" | |
| 11415 | + | c:identifier="gsk_path_parse" | |
| 11416 | + | moved-to="Path.parse" | |
| 11417 | + | version="4.14"> | |
| 11418 | + | <doc xml:space="preserve" | |
| 11419 | + | filename="gsk/gskpathparser.c" | |
| 11420 | + | line="358">Constructs a path from a serialized form. | |
| 11421 | + | ||
| 11422 | + | The string is expected to be in (a superset of) | |
| 11423 | + | [SVG path syntax](https://www.w3.org/TR/SVG11/paths.html#PathData), | |
| 11424 | + | as e.g. produced by [method@Gsk.Path.to_string]. | |
| 11425 | + | ||
| 11426 | + | A high-level summary of the syntax: | |
| 11427 | + | ||
| 11428 | + | - `M x y` Move to `(x, y)` | |
| 11429 | + | - `L x y` Add a line from the current point to `(x, y)` | |
| 11430 | + | - `Q x1 y1 x2 y2` Add a quadratic Bézier from the current point to `(x2, y2)`, with control point `(x1, y1)` | |
| 11431 | + | - `C x1 y1 x2 y2 x3 y3` Add a cubic Bézier from the current point to `(x3, y3)`, with control points `(x1, y1)` and `(x2, y2)` | |
| 11432 | + | - `Z` Close the contour by drawing a line back to the start point | |
| 11433 | + | - `H x` Add a horizontal line from the current point to the given x value | |
| 11434 | + | - `V y` Add a vertical line from the current point to the given y value | |
| 11435 | + | - `T x2 y2` Add a quadratic Bézier, using the reflection of the previous segments' control point as control point | |
| 11436 | + | - `S x2 y2 x3 y3` Add a cubic Bézier, using the reflection of the previous segments' second control point as first control point | |
| 11437 | + | - `A rx ry r l s x y` Add an elliptical arc from the current point to `(x, y)` with radii rx and ry. See the SVG documentation for how the other parameters influence the arc. | |
| 11438 | + | - `O x1 y1 x2 y2 w` Add a rational quadratic Bézier from the current point to `(x2, y2)` with control point `(x1, y1)` and weight `w`. | |
| 11439 | + | ||
| 11440 | + | All the commands have lowercase variants that interpret coordinates | |
| 11441 | + | relative to the current point. | |
| 11442 | + | ||
| 11443 | + | The `O` command is an extension that is not supported in SVG.</doc> | |
| 11444 | + | <source-position filename="gsk/gskpath.h" line="100"/> | |
| 11445 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 11446 | + | <doc xml:space="preserve" | |
| 11447 | + | filename="gsk/gskpathparser.c" | |
| 11448 | + | line="387">a new `GskPath`, or `NULL` if @string could not be parsed</doc> | |
| 11449 | + | <type name="Path" c:type="GskPath*"/> | |
| 11450 | + | </return-value> | |
| 11451 | + | <parameters> | |
| 11452 | + | <parameter name="string" transfer-ownership="none"> | |
| 11453 | + | <doc xml:space="preserve" | |
| 11454 | + | filename="gsk/gskpathparser.c" | |
| 11455 | + | line="360">a string</doc> | |
| 11456 | + | <type name="utf8" c:type="const char*"/> | |
| 11457 | + | </parameter> | |
| 11458 | + | </parameters> | |
| 11459 | + | </function> | |
| 7033 | 11460 | <function name="serialization_error_quark" | |
| 7034 | 11461 | c:identifier="gsk_serialization_error_quark" | |
| 7035 | 11462 | moved-to="SerializationError.quark"> | |
| 11463 | + | <doc xml:space="preserve" | |
| 11464 | + | filename="gsk/gskrendernode.c" | |
| 11465 | + | line="53">Registers an error quark for [class@Gsk.RenderNode] errors.</doc> | |
| 7036 | 11466 | <return-value transfer-ownership="none"> | |
| 11467 | + | <doc xml:space="preserve" | |
| 11468 | + | filename="gsk/gskrendernode.c" | |
| 11469 | + | line="58">the error quark</doc> | |
| 7037 | 11470 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 7038 | 11471 | </return-value> | |
| 7039 | 11472 | </function> | |
| 11473 | + | <function name="stroke_equal" | |
| 11474 | + | c:identifier="gsk_stroke_equal" | |
| 11475 | + | moved-to="Stroke.equal" | |
| 11476 | + | version="4.14"> | |
| 11477 | + | <doc xml:space="preserve" | |
| 11478 | + | filename="gsk/gskstroke.c" | |
| 11479 | + | line="172">Checks if two strokes are identical.</doc> | |
| 11480 | + | <source-position filename="gsk/gskstroke.h" line="43"/> | |
| 11481 | + | <return-value transfer-ownership="none"> | |
| 11482 | + | <doc xml:space="preserve" | |
| 11483 | + | filename="gsk/gskstroke.c" | |
| 11484 | + | line="179">true if the two strokes are equal, false otherwise</doc> | |
| 11485 | + | <type name="gboolean" c:type="gboolean"/> | |
| 11486 | + | </return-value> | |
| 11487 | + | <parameters> | |
| 11488 | + | <parameter name="stroke1" | |
| 11489 | + | transfer-ownership="none" | |
| 11490 | + | nullable="1" | |
| 11491 | + | allow-none="1"> | |
| 11492 | + | <doc xml:space="preserve" | |
| 11493 | + | filename="gsk/gskstroke.c" | |
| 11494 | + | line="174">the first stroke</doc> | |
| 11495 | + | <type name="gpointer" c:type="gconstpointer"/> | |
| 11496 | + | </parameter> | |
| 11497 | + | <parameter name="stroke2" | |
| 11498 | + | transfer-ownership="none" | |
| 11499 | + | nullable="1" | |
| 11500 | + | allow-none="1"> | |
| 11501 | + | <doc xml:space="preserve" | |
| 11502 | + | filename="gsk/gskstroke.c" | |
| 11503 | + | line="175">the second stroke</doc> | |
| 11504 | + | <type name="gpointer" c:type="gconstpointer"/> | |
| 11505 | + | </parameter> | |
| 11506 | + | </parameters> | |
| 11507 | + | </function> | |
| 7040 | 11508 | <function name="transform_parse" | |
| 7041 | 11509 | c:identifier="gsk_transform_parse" | |
| 7042 | 11510 | moved-to="Transform.parse"> | |
| 7043 | 11511 | <doc xml:space="preserve" | |
| 7044 | 11512 | filename="gsk/gsktransform.c" | |
| 7045 | - | line="2366">Parses the given @string into a transform and puts it in | |
| 7046 | - | @out_transform. | |
| 11513 | + | line="2739">Parses a given into a transform. | |
| 7047 | 11514 | ||
| 7048 | 11515 | Strings printed via [method@Gsk.Transform.to_string] | |
| 7049 | 11516 | can be read in again successfully using this function. | |
| 7050 | 11517 | ||
| 7051 | - | If @string does not describe a valid transform, %FALSE is | |
| 7052 | - | returned and %NULL is put in @out_transform.</doc> | |
| 7053 | - | <source-position filename="gsk/gsktransform.h" line="49"/> | |
| 11518 | + | If @string does not describe a valid transform, false | |
| 11519 | + | is returned and `NULL` is put in @out_transform.</doc> | |
| 11520 | + | <source-position filename="gsk/gsktransform.h" line="48"/> | |
| 7054 | 11521 | <return-value transfer-ownership="none"> | |
| 7055 | 11522 | <doc xml:space="preserve" | |
| 7056 | 11523 | filename="gsk/gsktransform.c" | |
| 7057 | - | line="2380">%TRUE if @string described a valid transform.</doc> | |
| 11524 | + | line="2752">true if @string described a valid transform</doc> | |
| 7058 | 11525 | <type name="gboolean" c:type="gboolean"/> | |
| 7059 | 11526 | </return-value> | |
| 7060 | 11527 | <parameters> | |
| 7061 | 11528 | <parameter name="string" transfer-ownership="none"> | |
| 7062 | 11529 | <doc xml:space="preserve" | |
| 7063 | 11530 | filename="gsk/gsktransform.c" | |
| 7064 | - | line="2368">the string to parse</doc> | |
| 11531 | + | line="2741">the string to parse</doc> | |
| 7065 | 11532 | <type name="utf8" c:type="const char*"/> | |
| 7066 | 11533 | </parameter> | |
| 7067 | 11534 | <parameter name="out_transform" | |
| @@ -7070,7 +11537,7 @@ returned and %NULL is put in @out_transform.</doc> | |||
| 7070 | 11537 | transfer-ownership="full"> | |
| 7071 | 11538 | <doc xml:space="preserve" | |
| 7072 | 11539 | filename="gsk/gsktransform.c" | |
| 7073 | - | line="2369">The location to put the transform in</doc> | |
| 11540 | + | line="2742">return location for the transform</doc> | |
| 7074 | 11541 | <type name="Transform" c:type="GskTransform**"/> | |
| 7075 | 11542 | </parameter> | |
| 7076 | 11543 | </parameters> | |
| @@ -7080,20 +11547,20 @@ returned and %NULL is put in @out_transform.</doc> | |||
| 7080 | 11547 | version="4.6"> | |
| 7081 | 11548 | <doc xml:space="preserve" | |
| 7082 | 11549 | filename="gsk/gskrendernode.c" | |
| 7083 | - | line="714">Retrieves the `GskRenderNode` stored inside the given `value`, and acquires | |
| 7084 | - | a reference to it.</doc> | |
| 7085 | - | <source-position filename="gsk/gskrendernode.h" line="554"/> | |
| 11550 | + | line="793">Retrieves the render node stored inside a `GValue`, | |
| 11551 | + | and acquires a reference to it.</doc> | |
| 11552 | + | <source-position filename="gsk/gskrendernode.h" line="630"/> | |
| 7086 | 11553 | <return-value transfer-ownership="full" nullable="1"> | |
| 7087 | 11554 | <doc xml:space="preserve" | |
| 7088 | 11555 | filename="gsk/gskrendernode.c" | |
| 7089 | - | line="721">a `GskRenderNode`</doc> | |
| 11556 | + | line="800">the render node</doc> | |
| 7090 | 11557 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 7091 | 11558 | </return-value> | |
| 7092 | 11559 | <parameters> | |
| 7093 | 11560 | <parameter name="value" transfer-ownership="none"> | |
| 7094 | 11561 | <doc xml:space="preserve" | |
| 7095 | 11562 | filename="gsk/gskrendernode.c" | |
| 7096 | - | line="716">a [struct@GObject.Value] initialized with type `GSK_TYPE_RENDER_NODE`</doc> | |
| 11563 | + | line="795">a [struct@GObject.Value] initialized with type `GSK_TYPE_RENDER_NODE`</doc> | |
| 7097 | 11564 | <type name="GObject.Value" c:type="const GValue*"/> | |
| 7098 | 11565 | </parameter> | |
| 7099 | 11566 | </parameters> | |
| @@ -7103,19 +11570,19 @@ a reference to it.</doc> | |||
| 7103 | 11570 | version="4.6"> | |
| 7104 | 11571 | <doc xml:space="preserve" | |
| 7105 | 11572 | filename="gsk/gskrendernode.c" | |
| 7106 | - | line="696">Retrieves the `GskRenderNode` stored inside the given `value`.</doc> | |
| 7107 | - | <source-position filename="gsk/gskrendernode.h" line="552"/> | |
| 11573 | + | line="775">Retrieves the render node stored inside a `GValue`.</doc> | |
| 11574 | + | <source-position filename="gsk/gskrendernode.h" line="628"/> | |
| 7108 | 11575 | <return-value transfer-ownership="none" nullable="1"> | |
| 7109 | 11576 | <doc xml:space="preserve" | |
| 7110 | 11577 | filename="gsk/gskrendernode.c" | |
| 7111 | - | line="702">a `GskRenderNode`</doc> | |
| 11578 | + | line="781">the render node</doc> | |
| 7112 | 11579 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 7113 | 11580 | </return-value> | |
| 7114 | 11581 | <parameters> | |
| 7115 | 11582 | <parameter name="value" transfer-ownership="none"> | |
| 7116 | 11583 | <doc xml:space="preserve" | |
| 7117 | 11584 | filename="gsk/gskrendernode.c" | |
| 7118 | - | line="698">a `GValue` initialized with type `GSK_TYPE_RENDER_NODE`</doc> | |
| 11585 | + | line="777">a `GValue` initialized with type `GSK_TYPE_RENDER_NODE`</doc> | |
| 7119 | 11586 | <type name="GObject.Value" c:type="const GValue*"/> | |
| 7120 | 11587 | </parameter> | |
| 7121 | 11588 | </parameters> | |
| @@ -7125,10 +11592,11 @@ a reference to it.</doc> | |||
| 7125 | 11592 | version="4.6"> | |
| 7126 | 11593 | <doc xml:space="preserve" | |
| 7127 | 11594 | filename="gsk/gskrendernode.c" | |
| 7128 | - | line="624">Stores the given `GskRenderNode` inside `value`. | |
| 11595 | + | line="701">Stores the given render node inside a `GValue`. | |
| 7129 | 11596 | ||
| 7130 | - | The [struct@GObject.Value] will acquire a reference to the `node`.</doc> | |
| 7131 | - | <source-position filename="gsk/gskrendernode.h" line="546"/> | |
| 11597 | + | The [struct@GObject.Value] will acquire a reference | |
| 11598 | + | to the render node.</doc> | |
| 11599 | + | <source-position filename="gsk/gskrendernode.h" line="622"/> | |
| 7132 | 11600 | <return-value transfer-ownership="none"> | |
| 7133 | 11601 | <type name="none" c:type="void"/> | |
| 7134 | 11602 | </return-value> | |
| @@ -7136,13 +11604,13 @@ The [struct@GObject.Value] will acquire a reference to the `node`.</doc> | |||
| 7136 | 11604 | <parameter name="value" transfer-ownership="none"> | |
| 7137 | 11605 | <doc xml:space="preserve" | |
| 7138 | 11606 | filename="gsk/gskrendernode.c" | |
| 7139 | - | line="626">a [struct@GObject.Value] initialized with type `GSK_TYPE_RENDER_NODE`</doc> | |
| 11607 | + | line="703">a [struct@GObject.Value] initialized with type `GSK_TYPE_RENDER_NODE`</doc> | |
| 7140 | 11608 | <type name="GObject.Value" c:type="GValue*"/> | |
| 7141 | 11609 | </parameter> | |
| 7142 | 11610 | <parameter name="node" transfer-ownership="none"> | |
| 7143 | 11611 | <doc xml:space="preserve" | |
| 7144 | 11612 | filename="gsk/gskrendernode.c" | |
| 7145 | - | line="627">a `GskRenderNode`</doc> | |
| 11613 | + | line="704">a render node</doc> | |
| 7146 | 11614 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 7147 | 11615 | </parameter> | |
| 7148 | 11616 | </parameters> | |
| @@ -7152,10 +11620,11 @@ The [struct@GObject.Value] will acquire a reference to the `node`.</doc> | |||
| 7152 | 11620 | version="4.6"> | |
| 7153 | 11621 | <doc xml:space="preserve" | |
| 7154 | 11622 | filename="gsk/gskrendernode.c" | |
| 7155 | - | line="660">Stores the given `GskRenderNode` inside `value`. | |
| 11623 | + | line="738">Stores the given render node inside a `GValue`. | |
| 7156 | 11624 | ||
| 7157 | - | This function transfers the ownership of the `node` to the `GValue`.</doc> | |
| 7158 | - | <source-position filename="gsk/gskrendernode.h" line="549"/> | |
| 11625 | + | This function transfers the ownership of the | |
| 11626 | + | render node to the `GValue`.</doc> | |
| 11627 | + | <source-position filename="gsk/gskrendernode.h" line="625"/> | |
| 7159 | 11628 | <return-value transfer-ownership="none"> | |
| 7160 | 11629 | <type name="none" c:type="void"/> | |
| 7161 | 11630 | </return-value> | |
| @@ -7163,7 +11632,7 @@ This function transfers the ownership of the `node` to the `GValue`.</doc> | |||
| 7163 | 11632 | <parameter name="value" transfer-ownership="none"> | |
| 7164 | 11633 | <doc xml:space="preserve" | |
| 7165 | 11634 | filename="gsk/gskrendernode.c" | |
| 7166 | - | line="662">a [struct@GObject.Value] initialized with type `GSK_TYPE_RENDER_NODE`</doc> | |
| 11635 | + | line="740">a [struct@GObject.Value] initialized with type `GSK_TYPE_RENDER_NODE`</doc> | |
| 7167 | 11636 | <type name="GObject.Value" c:type="GValue*"/> | |
| 7168 | 11637 | </parameter> | |
| 7169 | 11638 | <parameter name="node" | |
| @@ -7172,7 +11641,7 @@ This function transfers the ownership of the `node` to the `GValue`.</doc> | |||
| 7172 | 11641 | allow-none="1"> | |
| 7173 | 11642 | <doc xml:space="preserve" | |
| 7174 | 11643 | filename="gsk/gskrendernode.c" | |
| 7175 | - | line="663">a `GskRenderNode`</doc> | |
| 11644 | + | line="741">a render node</doc> | |
| 7176 | 11645 | <type name="RenderNode" c:type="GskRenderNode*"/> | |
| 7177 | 11646 | </parameter> | |
| 7178 | 11647 | </parameters> | |
M internal/gir/spec/Gtk-4.0.gir +51228 -32207 large diff (83435 lines changed): collapsed
M internal/gir/spec/Pango-1.0.gir +4994 -4371 large diff (9365 lines changed): collapsed
M internal/gir/spec/PangoCairo-1.0.gir +145 -143
| @@ -5,12 +5,14 @@ and/or use gtk-doc annotations. --> | |||
| 5 | 5 | <repository version="1.2" | |
| 6 | 6 | xmlns="http://www.gtk.org/introspection/core/1.0" | |
| 7 | 7 | xmlns:c="http://www.gtk.org/introspection/c/1.0" | |
| 8 | + | xmlns:doc="http://www.gtk.org/introspection/doc/1.0" | |
| 8 | 9 | xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> | |
| 9 | 10 | <include name="GObject" version="2.0"/> | |
| 10 | 11 | <include name="Pango" version="1.0"/> | |
| 11 | 12 | <include name="cairo" version="1.0"/> | |
| 12 | 13 | <package name="pangocairo"/> | |
| 13 | 14 | <c:include name="pango/pangocairo.h"/> | |
| 15 | + | <doc:format name="unknown"/> | |
| 14 | 16 | <namespace name="PangoCairo" | |
| 15 | 17 | version="1.0" | |
| 16 | 18 | shared-library="libpangocairo-1.0.so.0" | |
| @@ -19,7 +21,7 @@ and/or use gtk-doc annotations. --> | |||
| 19 | 21 | <function-macro name="FONT" | |
| 20 | 22 | c:identifier="PANGO_CAIRO_FONT" | |
| 21 | 23 | introspectable="0"> | |
| 22 | - | <source-position filename="../pango/pangocairo.h" line="49"/> | |
| 24 | + | <source-position filename="pango/pangocairo.h" line="49"/> | |
| 23 | 25 | <parameters> | |
| 24 | 26 | <parameter name="obj"> | |
| 25 | 27 | </parameter> | |
| @@ -28,7 +30,7 @@ and/or use gtk-doc annotations. --> | |||
| 28 | 30 | <function-macro name="FONT_MAP" | |
| 29 | 31 | c:identifier="PANGO_CAIRO_FONT_MAP" | |
| 30 | 32 | introspectable="0"> | |
| 31 | - | <source-position filename="../pango/pangocairo.h" line="72"/> | |
| 33 | + | <source-position filename="pango/pangocairo.h" line="72"/> | |
| 32 | 34 | <parameters> | |
| 33 | 35 | <parameter name="obj"> | |
| 34 | 36 | </parameter> | |
| @@ -41,7 +43,7 @@ and/or use gtk-doc annotations. --> | |||
| 41 | 43 | glib:type-name="PangoCairoFont" | |
| 42 | 44 | glib:get-type="pango_cairo_font_get_type"> | |
| 43 | 45 | <doc xml:space="preserve" | |
| 44 | - | filename="../pango/pangocairo.h" | |
| 46 | + | filename="pango/pangocairo.h" | |
| 45 | 47 | line="30">`PangoCairoFont` is an interface exported by fonts for | |
| 46 | 48 | use with Cairo. | |
| 47 | 49 | ||
| @@ -52,14 +54,14 @@ font technology Cairo was compiled to use.</doc> | |||
| 52 | 54 | c:identifier="pango_cairo_font_get_scaled_font" | |
| 53 | 55 | version="1.18"> | |
| 54 | 56 | <doc xml:space="preserve" | |
| 55 | - | filename="../pango/pangocairo-font.c" | |
| 57 | + | filename="pango/pangocairo-font.c" | |
| 56 | 58 | line="138">Gets the `cairo_scaled_font_t` used by @font. | |
| 57 | 59 | The scaled font can be referenced and kept using | |
| 58 | 60 | cairo_scaled_font_reference().</doc> | |
| 59 | - | <source-position filename="../pango/pangocairo.h" line="133"/> | |
| 61 | + | <source-position filename="pango/pangocairo.h" line="133"/> | |
| 60 | 62 | <return-value transfer-ownership="none" nullable="1"> | |
| 61 | 63 | <doc xml:space="preserve" | |
| 62 | - | filename="../pango/pangocairo-font.c" | |
| 64 | + | filename="pango/pangocairo-font.c" | |
| 63 | 65 | line="146">the `cairo_scaled_font_t` | |
| 64 | 66 | used by @font</doc> | |
| 65 | 67 | <type name="cairo.ScaledFont" c:type="cairo_scaled_font_t*"/> | |
| @@ -70,7 +72,7 @@ cairo_scaled_font_reference().</doc> | |||
| 70 | 72 | nullable="1" | |
| 71 | 73 | allow-none="1"> | |
| 72 | 74 | <doc xml:space="preserve" | |
| 73 | - | filename="../pango/pangocairo-font.c" | |
| 75 | + | filename="pango/pangocairo-font.c" | |
| 74 | 76 | line="140">a `PangoFont` from a `PangoCairoFontMap`</doc> | |
| 75 | 77 | <type name="Font" c:type="PangoCairoFont*"/> | |
| 76 | 78 | </instance-parameter> | |
| @@ -84,7 +86,7 @@ cairo_scaled_font_reference().</doc> | |||
| 84 | 86 | glib:type-name="PangoCairoFontMap" | |
| 85 | 87 | glib:get-type="pango_cairo_font_map_get_type"> | |
| 86 | 88 | <doc xml:space="preserve" | |
| 87 | - | filename="../pango/pangocairo.h" | |
| 89 | + | filename="pango/pangocairo.h" | |
| 88 | 90 | line="57">`PangoCairoFontMap` is an interface exported by font maps for | |
| 89 | 91 | use with Cairo. | |
| 90 | 92 | ||
| @@ -95,7 +97,7 @@ font technology Cairo was compiled to use.</doc> | |||
| 95 | 97 | c:identifier="pango_cairo_font_map_get_default" | |
| 96 | 98 | version="1.10"> | |
| 97 | 99 | <doc xml:space="preserve" | |
| 98 | - | filename="../pango/pangocairo-fontmap.c" | |
| 100 | + | filename="pango/pangocairo-fontmap.c" | |
| 99 | 101 | line="151">Gets a default `PangoCairoFontMap` to use with Cairo. | |
| 100 | 102 | ||
| 101 | 103 | Note that the type of the returned object will depend on the | |
| @@ -111,10 +113,10 @@ for example. | |||
| 111 | 113 | Note that since Pango 1.32.6, the default fontmap is per-thread. | |
| 112 | 114 | Each thread gets its own default fontmap. In this way, PangoCairo | |
| 113 | 115 | can be used safely from multiple threads.</doc> | |
| 114 | - | <source-position filename="../pango/pangocairo.h" line="110"/> | |
| 116 | + | <source-position filename="pango/pangocairo.h" line="110"/> | |
| 115 | 117 | <return-value transfer-ownership="none"> | |
| 116 | 118 | <doc xml:space="preserve" | |
| 117 | - | filename="../pango/pangocairo-fontmap.c" | |
| 119 | + | filename="pango/pangocairo-fontmap.c" | |
| 118 | 120 | line="170">the default PangoCairo fontmap | |
| 119 | 121 | for the current thread. This object is owned by Pango and must | |
| 120 | 122 | not be freed.</doc> | |
| @@ -125,7 +127,7 @@ can be used safely from multiple threads.</doc> | |||
| 125 | 127 | c:identifier="pango_cairo_font_map_new" | |
| 126 | 128 | version="1.10"> | |
| 127 | 129 | <doc xml:space="preserve" | |
| 128 | - | filename="../pango/pangocairo-fontmap.c" | |
| 130 | + | filename="pango/pangocairo-fontmap.c" | |
| 129 | 131 | line="47">Creates a new `PangoCairoFontMap` object. | |
| 130 | 132 | ||
| 131 | 133 | A fontmap is used to cache information about available fonts, | |
| @@ -144,10 +146,10 @@ based on your build, are fc (fontconfig), win32, and coretext. | |||
| 144 | 146 | If requested type is not available, NULL is returned. Ie. | |
| 145 | 147 | this is only useful for testing, when at least two backends | |
| 146 | 148 | are compiled in.</doc> | |
| 147 | - | <source-position filename="../pango/pangocairo.h" line="106"/> | |
| 149 | + | <source-position filename="pango/pangocairo.h" line="106"/> | |
| 148 | 150 | <return-value transfer-ownership="full"> | |
| 149 | 151 | <doc xml:space="preserve" | |
| 150 | - | filename="../pango/pangocairo-fontmap.c" | |
| 152 | + | filename="pango/pangocairo-fontmap.c" | |
| 151 | 153 | line="69">the newly allocated `PangoFontMap`, | |
| 152 | 154 | which should be freed with g_object_unref().</doc> | |
| 153 | 155 | <type name="Pango.FontMap" c:type="PangoFontMap*"/> | |
| @@ -157,16 +159,16 @@ are compiled in.</doc> | |||
| 157 | 159 | c:identifier="pango_cairo_font_map_new_for_font_type" | |
| 158 | 160 | version="1.18"> | |
| 159 | 161 | <doc xml:space="preserve" | |
| 160 | - | filename="../pango/pangocairo-fontmap.c" | |
| 162 | + | filename="pango/pangocairo-fontmap.c" | |
| 161 | 163 | line="110">Creates a new `PangoCairoFontMap` object of the type suitable | |
| 162 | 164 | to be used with cairo font backend of type @fonttype. | |
| 163 | 165 | ||
| 164 | 166 | In most cases one should simply use [func@PangoCairo.FontMap.new], or | |
| 165 | 167 | in fact in most of those cases, just use [func@PangoCairo.FontMap.get_default].</doc> | |
| 166 | - | <source-position filename="../pango/pangocairo.h" line="108"/> | |
| 168 | + | <source-position filename="pango/pangocairo.h" line="108"/> | |
| 167 | 169 | <return-value transfer-ownership="full" nullable="1"> | |
| 168 | 170 | <doc xml:space="preserve" | |
| 169 | - | filename="../pango/pangocairo-fontmap.c" | |
| 171 | + | filename="pango/pangocairo-fontmap.c" | |
| 170 | 172 | line="120">the newly allocated | |
| 171 | 173 | `PangoFontMap` of suitable type which should be freed with | |
| 172 | 174 | g_object_unref(), or %NULL if the requested cairo font backend | |
| @@ -176,7 +178,7 @@ in fact in most of those cases, just use [func@PangoCairo.FontMap.get_default].< | |||
| 176 | 178 | <parameters> | |
| 177 | 179 | <parameter name="fonttype" transfer-ownership="none"> | |
| 178 | 180 | <doc xml:space="preserve" | |
| 179 | - | filename="../pango/pangocairo-fontmap.c" | |
| 181 | + | filename="pango/pangocairo-fontmap.c" | |
| 180 | 182 | line="112">desired #cairo_font_type_t</doc> | |
| 181 | 183 | <type name="cairo.FontType" c:type="cairo_font_type_t"/> | |
| 182 | 184 | </parameter> | |
| @@ -189,20 +191,20 @@ in fact in most of those cases, just use [func@PangoCairo.FontMap.get_default].< | |||
| 189 | 191 | deprecated="1" | |
| 190 | 192 | deprecated-version="1.22"> | |
| 191 | 193 | <doc xml:space="preserve" | |
| 192 | - | filename="../pango/pangocairo-fontmap.c" | |
| 194 | + | filename="pango/pangocairo-fontmap.c" | |
| 193 | 195 | line="267">Create a `PangoContext` for the given fontmap.</doc> | |
| 194 | 196 | <doc-deprecated xml:space="preserve">Use pango_font_map_create_context() instead.</doc-deprecated> | |
| 195 | - | <source-position filename="../pango/pangocairo.h" line="123"/> | |
| 197 | + | <source-position filename="pango/pangocairo.h" line="123"/> | |
| 196 | 198 | <return-value> | |
| 197 | 199 | <doc xml:space="preserve" | |
| 198 | - | filename="../pango/pangocairo-fontmap.c" | |
| 200 | + | filename="pango/pangocairo-fontmap.c" | |
| 199 | 201 | line="273">the newly created context; free with g_object_unref().</doc> | |
| 200 | 202 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 201 | 203 | </return-value> | |
| 202 | 204 | <parameters> | |
| 203 | 205 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 204 | 206 | <doc xml:space="preserve" | |
| 205 | - | filename="../pango/pangocairo-fontmap.c" | |
| 207 | + | filename="pango/pangocairo-fontmap.c" | |
| 206 | 208 | line="269">a `PangoCairoFontMap`</doc> | |
| 207 | 209 | <type name="FontMap" c:type="PangoCairoFontMap*"/> | |
| 208 | 210 | </instance-parameter> | |
| @@ -212,19 +214,19 @@ in fact in most of those cases, just use [func@PangoCairo.FontMap.get_default].< | |||
| 212 | 214 | c:identifier="pango_cairo_font_map_get_font_type" | |
| 213 | 215 | version="1.18"> | |
| 214 | 216 | <doc xml:space="preserve" | |
| 215 | - | filename="../pango/pangocairo-fontmap.c" | |
| 217 | + | filename="pango/pangocairo-fontmap.c" | |
| 216 | 218 | line="287">Gets the type of Cairo font backend that @fontmap uses.</doc> | |
| 217 | - | <source-position filename="../pango/pangocairo.h" line="114"/> | |
| 219 | + | <source-position filename="pango/pangocairo.h" line="114"/> | |
| 218 | 220 | <return-value transfer-ownership="none"> | |
| 219 | 221 | <doc xml:space="preserve" | |
| 220 | - | filename="../pango/pangocairo-fontmap.c" | |
| 222 | + | filename="pango/pangocairo-fontmap.c" | |
| 221 | 223 | line="293">the `cairo_font_type_t` cairo font backend type</doc> | |
| 222 | 224 | <type name="cairo.FontType" c:type="cairo_font_type_t"/> | |
| 223 | 225 | </return-value> | |
| 224 | 226 | <parameters> | |
| 225 | 227 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 226 | 228 | <doc xml:space="preserve" | |
| 227 | - | filename="../pango/pangocairo-fontmap.c" | |
| 229 | + | filename="pango/pangocairo-fontmap.c" | |
| 228 | 230 | line="289">a `PangoCairoFontMap`</doc> | |
| 229 | 231 | <type name="FontMap" c:type="PangoCairoFontMap*"/> | |
| 230 | 232 | </instance-parameter> | |
| @@ -234,21 +236,21 @@ in fact in most of those cases, just use [func@PangoCairo.FontMap.get_default].< | |||
| 234 | 236 | c:identifier="pango_cairo_font_map_get_resolution" | |
| 235 | 237 | version="1.10"> | |
| 236 | 238 | <doc xml:space="preserve" | |
| 237 | - | filename="../pango/pangocairo-fontmap.c" | |
| 239 | + | filename="pango/pangocairo-fontmap.c" | |
| 238 | 240 | line="247">Gets the resolution for the fontmap. | |
| 239 | 241 | ||
| 240 | 242 | See [method@PangoCairo.FontMap.set_resolution].</doc> | |
| 241 | - | <source-position filename="../pango/pangocairo.h" line="120"/> | |
| 243 | + | <source-position filename="pango/pangocairo.h" line="120"/> | |
| 242 | 244 | <return-value transfer-ownership="none"> | |
| 243 | 245 | <doc xml:space="preserve" | |
| 244 | - | filename="../pango/pangocairo-fontmap.c" | |
| 246 | + | filename="pango/pangocairo-fontmap.c" | |
| 245 | 247 | line="255">the resolution in "dots per inch"</doc> | |
| 246 | 248 | <type name="gdouble" c:type="double"/> | |
| 247 | 249 | </return-value> | |
| 248 | 250 | <parameters> | |
| 249 | 251 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 250 | 252 | <doc xml:space="preserve" | |
| 251 | - | filename="../pango/pangocairo-fontmap.c" | |
| 253 | + | filename="pango/pangocairo-fontmap.c" | |
| 252 | 254 | line="249">a `PangoCairoFontMap`</doc> | |
| 253 | 255 | <type name="FontMap" c:type="PangoCairoFontMap*"/> | |
| 254 | 256 | </instance-parameter> | |
| @@ -258,7 +260,7 @@ See [method@PangoCairo.FontMap.set_resolution].</doc> | |||
| 258 | 260 | c:identifier="pango_cairo_font_map_set_default" | |
| 259 | 261 | version="1.22"> | |
| 260 | 262 | <doc xml:space="preserve" | |
| 261 | - | filename="../pango/pangocairo-fontmap.c" | |
| 263 | + | filename="pango/pangocairo-fontmap.c" | |
| 262 | 264 | line="190">Sets a default `PangoCairoFontMap` to use with Cairo. | |
| 263 | 265 | ||
| 264 | 266 | This can be used to change the Cairo font backend that the | |
| @@ -274,7 +276,7 @@ still be created using [func@PangoCairo.FontMap.new]. | |||
| 274 | 276 | A value of %NULL for @fontmap will cause the current default | |
| 275 | 277 | font map to be released and a new default font map to be created | |
| 276 | 278 | on demand, using [func@PangoCairo.FontMap.new].</doc> | |
| 277 | - | <source-position filename="../pango/pangocairo.h" line="112"/> | |
| 279 | + | <source-position filename="pango/pangocairo.h" line="112"/> | |
| 278 | 280 | <return-value transfer-ownership="none"> | |
| 279 | 281 | <type name="none" c:type="void"/> | |
| 280 | 282 | </return-value> | |
| @@ -284,7 +286,7 @@ on demand, using [func@PangoCairo.FontMap.new].</doc> | |||
| 284 | 286 | nullable="1" | |
| 285 | 287 | allow-none="1"> | |
| 286 | 288 | <doc xml:space="preserve" | |
| 287 | - | filename="../pango/pangocairo-fontmap.c" | |
| 289 | + | filename="pango/pangocairo-fontmap.c" | |
| 288 | 290 | line="192">The new default font map</doc> | |
| 289 | 291 | <type name="FontMap" c:type="PangoCairoFontMap*"/> | |
| 290 | 292 | </instance-parameter> | |
| @@ -294,27 +296,27 @@ on demand, using [func@PangoCairo.FontMap.new].</doc> | |||
| 294 | 296 | c:identifier="pango_cairo_font_map_set_resolution" | |
| 295 | 297 | version="1.10"> | |
| 296 | 298 | <doc xml:space="preserve" | |
| 297 | - | filename="../pango/pangocairo-fontmap.c" | |
| 299 | + | filename="pango/pangocairo-fontmap.c" | |
| 298 | 300 | line="223">Sets the resolution for the fontmap. | |
| 299 | 301 | ||
| 300 | 302 | This is a scale factor between | |
| 301 | 303 | points specified in a `PangoFontDescription` and Cairo units. The | |
| 302 | 304 | default value is 96, meaning that a 10 point font will be 13 | |
| 303 | 305 | units high. (10 * 96. / 72. = 13.3).</doc> | |
| 304 | - | <source-position filename="../pango/pangocairo.h" line="117"/> | |
| 306 | + | <source-position filename="pango/pangocairo.h" line="117"/> | |
| 305 | 307 | <return-value transfer-ownership="none"> | |
| 306 | 308 | <type name="none" c:type="void"/> | |
| 307 | 309 | </return-value> | |
| 308 | 310 | <parameters> | |
| 309 | 311 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 310 | 312 | <doc xml:space="preserve" | |
| 311 | - | filename="../pango/pangocairo-fontmap.c" | |
| 313 | + | filename="pango/pangocairo-fontmap.c" | |
| 312 | 314 | line="225">a `PangoCairoFontMap`</doc> | |
| 313 | 315 | <type name="FontMap" c:type="PangoCairoFontMap*"/> | |
| 314 | 316 | </instance-parameter> | |
| 315 | 317 | <parameter name="dpi" transfer-ownership="none"> | |
| 316 | 318 | <doc xml:space="preserve" | |
| 317 | - | filename="../pango/pangocairo-fontmap.c" | |
| 319 | + | filename="pango/pangocairo-fontmap.c" | |
| 318 | 320 | line="226">the resolution in "dots per inch". (Physical inches aren't actually | |
| 319 | 321 | involved; the terminology is conventional.)</doc> | |
| 320 | 322 | <type name="gdouble" c:type="double"/> | |
| @@ -325,7 +327,7 @@ units high. (10 * 96. / 72. = 13.3).</doc> | |||
| 325 | 327 | <function-macro name="IS_FONT" | |
| 326 | 328 | c:identifier="PANGO_CAIRO_IS_FONT" | |
| 327 | 329 | introspectable="0"> | |
| 328 | - | <source-position filename="../pango/pangocairo.h" line="50"/> | |
| 330 | + | <source-position filename="pango/pangocairo.h" line="50"/> | |
| 329 | 331 | <parameters> | |
| 330 | 332 | <parameter name="obj"> | |
| 331 | 333 | </parameter> | |
| @@ -334,7 +336,7 @@ units high. (10 * 96. / 72. = 13.3).</doc> | |||
| 334 | 336 | <function-macro name="IS_FONT_MAP" | |
| 335 | 337 | c:identifier="PANGO_CAIRO_IS_FONT_MAP" | |
| 336 | 338 | introspectable="0"> | |
| 337 | - | <source-position filename="../pango/pangocairo.h" line="73"/> | |
| 339 | + | <source-position filename="pango/pangocairo.h" line="73"/> | |
| 338 | 340 | <parameters> | |
| 339 | 341 | <parameter name="obj"> | |
| 340 | 342 | </parameter> | |
| @@ -342,30 +344,30 @@ units high. (10 * 96. / 72. = 13.3).</doc> | |||
| 342 | 344 | </function-macro> | |
| 343 | 345 | <callback name="ShapeRendererFunc" c:type="PangoCairoShapeRendererFunc"> | |
| 344 | 346 | <doc xml:space="preserve" | |
| 345 | - | filename="../pango/pangocairo.h" | |
| 347 | + | filename="pango/pangocairo.h" | |
| 346 | 348 | line="80">Function type for rendering attributes of type %PANGO_ATTR_SHAPE | |
| 347 | 349 | with Pango's Cairo renderer.</doc> | |
| 348 | - | <source-position filename="../pango/pangocairo.h" line="94"/> | |
| 350 | + | <source-position filename="pango/pangocairo.h" line="94"/> | |
| 349 | 351 | <return-value transfer-ownership="none"> | |
| 350 | 352 | <type name="none" c:type="void"/> | |
| 351 | 353 | </return-value> | |
| 352 | 354 | <parameters> | |
| 353 | 355 | <parameter name="cr" transfer-ownership="none"> | |
| 354 | 356 | <doc xml:space="preserve" | |
| 355 | - | filename="../pango/pangocairo.h" | |
| 357 | + | filename="pango/pangocairo.h" | |
| 356 | 358 | line="82">a Cairo context with current point set to where the shape should | |
| 357 | 359 | be rendered</doc> | |
| 358 | 360 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 359 | 361 | </parameter> | |
| 360 | 362 | <parameter name="attr" transfer-ownership="none"> | |
| 361 | 363 | <doc xml:space="preserve" | |
| 362 | - | filename="../pango/pangocairo.h" | |
| 364 | + | filename="pango/pangocairo.h" | |
| 363 | 365 | line="84">the %PANGO_ATTR_SHAPE to render</doc> | |
| 364 | 366 | <type name="Pango.AttrShape" c:type="PangoAttrShape*"/> | |
| 365 | 367 | </parameter> | |
| 366 | 368 | <parameter name="do_path" transfer-ownership="none"> | |
| 367 | 369 | <doc xml:space="preserve" | |
| 368 | - | filename="../pango/pangocairo.h" | |
| 370 | + | filename="pango/pangocairo.h" | |
| 369 | 371 | line="85">whether only the shape path should be appended to current | |
| 370 | 372 | path of @cr and no filling/stroking done. This will be set | |
| 371 | 373 | to %TRUE when called from pango_cairo_layout_path() and | |
| @@ -378,7 +380,7 @@ pango_cairo_layout_line_path() rendering functions.</doc> | |||
| 378 | 380 | allow-none="1" | |
| 379 | 381 | closure="3"> | |
| 380 | 382 | <doc xml:space="preserve" | |
| 381 | - | filename="../pango/pangocairo.h" | |
| 383 | + | filename="pango/pangocairo.h" | |
| 382 | 384 | line="89">user data passed to pango_cairo_context_set_shape_renderer()</doc> | |
| 383 | 385 | <type name="gpointer" c:type="gpointer"/> | |
| 384 | 386 | </parameter> | |
| @@ -388,16 +390,16 @@ pango_cairo_layout_line_path() rendering functions.</doc> | |||
| 388 | 390 | c:identifier="pango_cairo_context_get_font_options" | |
| 389 | 391 | version="1.10"> | |
| 390 | 392 | <doc xml:space="preserve" | |
| 391 | - | filename="../pango/pangocairo-context.c" | |
| 393 | + | filename="pango/pangocairo-context.c" | |
| 392 | 394 | line="284">Retrieves any font rendering options previously set with | |
| 393 | 395 | [func@PangoCairo.context_set_font_options]. | |
| 394 | 396 | ||
| 395 | 397 | This function does not report options that are derived from | |
| 396 | 398 | the target surface by [func@update_context].</doc> | |
| 397 | - | <source-position filename="../pango/pangocairo.h" line="145"/> | |
| 399 | + | <source-position filename="pango/pangocairo.h" line="145"/> | |
| 398 | 400 | <return-value transfer-ownership="none" nullable="1"> | |
| 399 | 401 | <doc xml:space="preserve" | |
| 400 | - | filename="../pango/pangocairo-context.c" | |
| 402 | + | filename="pango/pangocairo-context.c" | |
| 401 | 403 | line="294">the font options previously set on the | |
| 402 | 404 | context, or %NULL if no options have been set. This value is | |
| 403 | 405 | owned by the context and must not be modified or freed.</doc> | |
| @@ -406,7 +408,7 @@ the target surface by [func@update_context].</doc> | |||
| 406 | 408 | <parameters> | |
| 407 | 409 | <parameter name="context" transfer-ownership="none"> | |
| 408 | 410 | <doc xml:space="preserve" | |
| 409 | - | filename="../pango/pangocairo-context.c" | |
| 411 | + | filename="pango/pangocairo-context.c" | |
| 410 | 412 | line="286">a `PangoContext`, from a pangocairo font map</doc> | |
| 411 | 413 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 412 | 414 | </parameter> | |
| @@ -416,14 +418,14 @@ the target surface by [func@update_context].</doc> | |||
| 416 | 418 | c:identifier="pango_cairo_context_get_resolution" | |
| 417 | 419 | version="1.10"> | |
| 418 | 420 | <doc xml:space="preserve" | |
| 419 | - | filename="../pango/pangocairo-context.c" | |
| 421 | + | filename="pango/pangocairo-context.c" | |
| 420 | 422 | line="205">Gets the resolution for the context. | |
| 421 | 423 | ||
| 422 | 424 | See [func@PangoCairo.context_set_resolution]</doc> | |
| 423 | - | <source-position filename="../pango/pangocairo.h" line="151"/> | |
| 425 | + | <source-position filename="pango/pangocairo.h" line="151"/> | |
| 424 | 426 | <return-value transfer-ownership="none"> | |
| 425 | 427 | <doc xml:space="preserve" | |
| 426 | - | filename="../pango/pangocairo-context.c" | |
| 428 | + | filename="pango/pangocairo-context.c" | |
| 427 | 429 | line="213">the resolution in "dots per inch". A negative value will | |
| 428 | 430 | be returned if no resolution has previously been set.</doc> | |
| 429 | 431 | <type name="gdouble" c:type="double"/> | |
| @@ -431,7 +433,7 @@ See [func@PangoCairo.context_set_resolution]</doc> | |||
| 431 | 433 | <parameters> | |
| 432 | 434 | <parameter name="context" transfer-ownership="none"> | |
| 433 | 435 | <doc xml:space="preserve" | |
| 434 | - | filename="../pango/pangocairo-context.c" | |
| 436 | + | filename="pango/pangocairo-context.c" | |
| 435 | 437 | line="207">a `PangoContext`, from a pangocairo font map</doc> | |
| 436 | 438 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 437 | 439 | </parameter> | |
| @@ -442,7 +444,7 @@ See [func@PangoCairo.context_set_resolution]</doc> | |||
| 442 | 444 | version="1.18" | |
| 443 | 445 | introspectable="0"> | |
| 444 | 446 | <doc xml:space="preserve" | |
| 445 | - | filename="../pango/pangocairo-context.c" | |
| 447 | + | filename="pango/pangocairo-context.c" | |
| 446 | 448 | line="380">Sets callback function for context to use for rendering attributes | |
| 447 | 449 | of type %PANGO_ATTR_SHAPE. | |
| 448 | 450 | ||
| @@ -451,10 +453,10 @@ See `PangoCairoShapeRendererFunc` for details. | |||
| 451 | 453 | Retrieves callback function and associated user data for rendering | |
| 452 | 454 | attributes of type %PANGO_ATTR_SHAPE as set by | |
| 453 | 455 | [func@PangoCairo.context_set_shape_renderer], if any.</doc> | |
| 454 | - | <source-position filename="../pango/pangocairo.h" line="159"/> | |
| 456 | + | <source-position filename="pango/pangocairo.h" line="159"/> | |
| 455 | 457 | <return-value transfer-ownership="none" nullable="1"> | |
| 456 | 458 | <doc xml:space="preserve" | |
| 457 | - | filename="../pango/pangocairo-context.c" | |
| 459 | + | filename="pango/pangocairo-context.c" | |
| 458 | 460 | line="394">the shape rendering callback | |
| 459 | 461 | previously set on the context, or %NULL if no shape rendering callback | |
| 460 | 462 | have been set.</doc> | |
| @@ -463,7 +465,7 @@ attributes of type %PANGO_ATTR_SHAPE as set by | |||
| 463 | 465 | <parameters> | |
| 464 | 466 | <parameter name="context" transfer-ownership="none"> | |
| 465 | 467 | <doc xml:space="preserve" | |
| 466 | - | filename="../pango/pangocairo-context.c" | |
| 468 | + | filename="pango/pangocairo-context.c" | |
| 467 | 469 | line="382">a `PangoContext`, from a pangocairo font map</doc> | |
| 468 | 470 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 469 | 471 | </parameter> | |
| @@ -472,7 +474,7 @@ attributes of type %PANGO_ATTR_SHAPE as set by | |||
| 472 | 474 | nullable="1" | |
| 473 | 475 | allow-none="1"> | |
| 474 | 476 | <doc xml:space="preserve" | |
| 475 | - | filename="../pango/pangocairo-context.c" | |
| 477 | + | filename="pango/pangocairo-context.c" | |
| 476 | 478 | line="383">Pointer to `gpointer` to return user data</doc> | |
| 477 | 479 | <type name="gpointer" c:type="gpointer*"/> | |
| 478 | 480 | </parameter> | |
| @@ -482,19 +484,19 @@ attributes of type %PANGO_ATTR_SHAPE as set by | |||
| 482 | 484 | c:identifier="pango_cairo_context_set_font_options" | |
| 483 | 485 | version="1.10"> | |
| 484 | 486 | <doc xml:space="preserve" | |
| 485 | - | filename="../pango/pangocairo-context.c" | |
| 487 | + | filename="pango/pangocairo-context.c" | |
| 486 | 488 | line="229">Sets the font options used when rendering text with this context. | |
| 487 | 489 | ||
| 488 | 490 | These options override any options that [func@update_context] | |
| 489 | 491 | derives from the target surface.</doc> | |
| 490 | - | <source-position filename="../pango/pangocairo.h" line="142"/> | |
| 492 | + | <source-position filename="pango/pangocairo.h" line="142"/> | |
| 491 | 493 | <return-value transfer-ownership="none"> | |
| 492 | 494 | <type name="none" c:type="void"/> | |
| 493 | 495 | </return-value> | |
| 494 | 496 | <parameters> | |
| 495 | 497 | <parameter name="context" transfer-ownership="none"> | |
| 496 | 498 | <doc xml:space="preserve" | |
| 497 | - | filename="../pango/pangocairo-context.c" | |
| 499 | + | filename="pango/pangocairo-context.c" | |
| 498 | 500 | line="231">a `PangoContext`, from a pangocairo font map</doc> | |
| 499 | 501 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 500 | 502 | </parameter> | |
| @@ -503,7 +505,7 @@ derives from the target surface.</doc> | |||
| 503 | 505 | nullable="1" | |
| 504 | 506 | allow-none="1"> | |
| 505 | 507 | <doc xml:space="preserve" | |
| 506 | - | filename="../pango/pangocairo-context.c" | |
| 508 | + | filename="pango/pangocairo-context.c" | |
| 507 | 509 | line="232">a `cairo_font_options_t`, or %NULL to unset | |
| 508 | 510 | any previously set options. A copy is made.</doc> | |
| 509 | 511 | <type name="cairo.FontOptions" c:type="const cairo_font_options_t*"/> | |
| @@ -514,26 +516,26 @@ derives from the target surface.</doc> | |||
| 514 | 516 | c:identifier="pango_cairo_context_set_resolution" | |
| 515 | 517 | version="1.10"> | |
| 516 | 518 | <doc xml:space="preserve" | |
| 517 | - | filename="../pango/pangocairo-context.c" | |
| 519 | + | filename="pango/pangocairo-context.c" | |
| 518 | 520 | line="182">Sets the resolution for the context. | |
| 519 | 521 | ||
| 520 | 522 | This is a scale factor between points specified in a `PangoFontDescription` | |
| 521 | 523 | and Cairo units. The default value is 96, meaning that a 10 point font will | |
| 522 | 524 | be 13 units high. (10 * 96. / 72. = 13.3).</doc> | |
| 523 | - | <source-position filename="../pango/pangocairo.h" line="148"/> | |
| 525 | + | <source-position filename="pango/pangocairo.h" line="148"/> | |
| 524 | 526 | <return-value transfer-ownership="none"> | |
| 525 | 527 | <type name="none" c:type="void"/> | |
| 526 | 528 | </return-value> | |
| 527 | 529 | <parameters> | |
| 528 | 530 | <parameter name="context" transfer-ownership="none"> | |
| 529 | 531 | <doc xml:space="preserve" | |
| 530 | - | filename="../pango/pangocairo-context.c" | |
| 532 | + | filename="pango/pangocairo-context.c" | |
| 531 | 533 | line="184">a `PangoContext`, from a pangocairo font map</doc> | |
| 532 | 534 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 533 | 535 | </parameter> | |
| 534 | 536 | <parameter name="dpi" transfer-ownership="none"> | |
| 535 | 537 | <doc xml:space="preserve" | |
| 536 | - | filename="../pango/pangocairo-context.c" | |
| 538 | + | filename="pango/pangocairo-context.c" | |
| 537 | 539 | line="185">the resolution in "dots per inch". (Physical inches aren't actually | |
| 538 | 540 | involved; the terminology is conventional.) A 0 or negative value | |
| 539 | 541 | means to use the resolution from the font map.</doc> | |
| @@ -545,19 +547,19 @@ be 13 units high. (10 * 96. / 72. = 13.3).</doc> | |||
| 545 | 547 | c:identifier="pango_cairo_context_set_shape_renderer" | |
| 546 | 548 | version="1.18"> | |
| 547 | 549 | <doc xml:space="preserve" | |
| 548 | - | filename="../pango/pangocairo-context.c" | |
| 550 | + | filename="pango/pangocairo-context.c" | |
| 549 | 551 | line="344">Sets callback function for context to use for rendering attributes | |
| 550 | 552 | of type %PANGO_ATTR_SHAPE. | |
| 551 | 553 | ||
| 552 | 554 | See `PangoCairoShapeRendererFunc` for details.</doc> | |
| 553 | - | <source-position filename="../pango/pangocairo.h" line="154"/> | |
| 555 | + | <source-position filename="pango/pangocairo.h" line="154"/> | |
| 554 | 556 | <return-value transfer-ownership="none"> | |
| 555 | 557 | <type name="none" c:type="void"/> | |
| 556 | 558 | </return-value> | |
| 557 | 559 | <parameters> | |
| 558 | 560 | <parameter name="context" transfer-ownership="none"> | |
| 559 | 561 | <doc xml:space="preserve" | |
| 560 | - | filename="../pango/pangocairo-context.c" | |
| 562 | + | filename="pango/pangocairo-context.c" | |
| 561 | 563 | line="346">a `PangoContext`, from a pangocairo font map</doc> | |
| 562 | 564 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 563 | 565 | </parameter> | |
| @@ -569,7 +571,7 @@ See `PangoCairoShapeRendererFunc` for details.</doc> | |||
| 569 | 571 | closure="2" | |
| 570 | 572 | destroy="3"> | |
| 571 | 573 | <doc xml:space="preserve" | |
| 572 | - | filename="../pango/pangocairo-context.c" | |
| 574 | + | filename="pango/pangocairo-context.c" | |
| 573 | 575 | line="347">Callback function for rendering attributes of | |
| 574 | 576 | type %PANGO_ATTR_SHAPE, or %NULL to disable shape rendering.</doc> | |
| 575 | 577 | <type name="ShapeRendererFunc" c:type="PangoCairoShapeRendererFunc"/> | |
| @@ -579,7 +581,7 @@ See `PangoCairoShapeRendererFunc` for details.</doc> | |||
| 579 | 581 | nullable="1" | |
| 580 | 582 | allow-none="1"> | |
| 581 | 583 | <doc xml:space="preserve" | |
| 582 | - | filename="../pango/pangocairo-context.c" | |
| 584 | + | filename="pango/pangocairo-context.c" | |
| 583 | 585 | line="349">User data that will be passed to @func.</doc> | |
| 584 | 586 | <type name="gpointer" c:type="gpointer"/> | |
| 585 | 587 | </parameter> | |
| @@ -589,7 +591,7 @@ See `PangoCairoShapeRendererFunc` for details.</doc> | |||
| 589 | 591 | allow-none="1" | |
| 590 | 592 | scope="async"> | |
| 591 | 593 | <doc xml:space="preserve" | |
| 592 | - | filename="../pango/pangocairo-context.c" | |
| 594 | + | filename="pango/pangocairo-context.c" | |
| 593 | 595 | line="350">Callback that will be called when the | |
| 594 | 596 | context is freed to release @data</doc> | |
| 595 | 597 | <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/> | |
| @@ -600,7 +602,7 @@ See `PangoCairoShapeRendererFunc` for details.</doc> | |||
| 600 | 602 | c:identifier="pango_cairo_create_context" | |
| 601 | 603 | version="1.22"> | |
| 602 | 604 | <doc xml:space="preserve" | |
| 603 | - | filename="../pango/pangocairo-context.c" | |
| 605 | + | filename="pango/pangocairo-context.c" | |
| 604 | 606 | line="424">Creates a context object set up to match the current transformation | |
| 605 | 607 | and target surface of the Cairo context. | |
| 606 | 608 | ||
| @@ -611,17 +613,17 @@ This function is a convenience function that creates a context using | |||
| 611 | 613 | the default font map, then updates it to @cr. If you just need to | |
| 612 | 614 | create a layout for use with @cr and do not need to access `PangoContext` | |
| 613 | 615 | directly, you can use [func@create_layout] instead.</doc> | |
| 614 | - | <source-position filename="../pango/pangocairo.h" line="165"/> | |
| 616 | + | <source-position filename="pango/pangocairo.h" line="165"/> | |
| 615 | 617 | <return-value transfer-ownership="full"> | |
| 616 | 618 | <doc xml:space="preserve" | |
| 617 | - | filename="../pango/pangocairo-context.c" | |
| 619 | + | filename="pango/pangocairo-context.c" | |
| 618 | 620 | line="439">the newly created `PangoContext`</doc> | |
| 619 | 621 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 620 | 622 | </return-value> | |
| 621 | 623 | <parameters> | |
| 622 | 624 | <parameter name="cr" transfer-ownership="none"> | |
| 623 | 625 | <doc xml:space="preserve" | |
| 624 | - | filename="../pango/pangocairo-context.c" | |
| 626 | + | filename="pango/pangocairo-context.c" | |
| 625 | 627 | line="426">a Cairo context</doc> | |
| 626 | 628 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 627 | 629 | </parameter> | |
| @@ -631,7 +633,7 @@ directly, you can use [func@create_layout] instead.</doc> | |||
| 631 | 633 | c:identifier="pango_cairo_create_layout" | |
| 632 | 634 | version="1.10"> | |
| 633 | 635 | <doc xml:space="preserve" | |
| 634 | - | filename="../pango/pangocairo-context.c" | |
| 636 | + | filename="pango/pangocairo-context.c" | |
| 635 | 637 | line="458">Creates a layout object set up to match the current transformation | |
| 636 | 638 | and target surface of the Cairo context. | |
| 637 | 639 | ||
| @@ -644,17 +646,17 @@ This function is the most convenient way to use Cairo with Pango, | |||
| 644 | 646 | however it is slightly inefficient since it creates a separate | |
| 645 | 647 | `PangoContext` object for each layout. This might matter in an | |
| 646 | 648 | application that was laying out large amounts of text.</doc> | |
| 647 | - | <source-position filename="../pango/pangocairo.h" line="167"/> | |
| 649 | + | <source-position filename="pango/pangocairo.h" line="167"/> | |
| 648 | 650 | <return-value transfer-ownership="full"> | |
| 649 | 651 | <doc xml:space="preserve" | |
| 650 | - | filename="../pango/pangocairo-context.c" | |
| 652 | + | filename="pango/pangocairo-context.c" | |
| 651 | 653 | line="475">the newly created `PangoLayout`</doc> | |
| 652 | 654 | <type name="Pango.Layout" c:type="PangoLayout*"/> | |
| 653 | 655 | </return-value> | |
| 654 | 656 | <parameters> | |
| 655 | 657 | <parameter name="cr" transfer-ownership="none"> | |
| 656 | 658 | <doc xml:space="preserve" | |
| 657 | - | filename="../pango/pangocairo-context.c" | |
| 659 | + | filename="pango/pangocairo-context.c" | |
| 658 | 660 | line="460">a Cairo context</doc> | |
| 659 | 661 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 660 | 662 | </parameter> | |
| @@ -664,45 +666,45 @@ application that was laying out large amounts of text.</doc> | |||
| 664 | 666 | c:identifier="pango_cairo_error_underline_path" | |
| 665 | 667 | version="1.14"> | |
| 666 | 668 | <doc xml:space="preserve" | |
| 667 | - | filename="../pango/pangocairo-render.c" | |
| 669 | + | filename="pango/pangocairo-render.c" | |
| 668 | 670 | line="1244">Add a squiggly line to the current path in the specified cairo context that | |
| 669 | 671 | approximately covers the given rectangle in the style of an underline used | |
| 670 | 672 | to indicate a spelling error. | |
| 671 | 673 | ||
| 672 | 674 | The width of the underline is rounded to an integer number of up/down | |
| 673 | 675 | segments and the resulting rectangle is centered in the original rectangle.</doc> | |
| 674 | - | <source-position filename="../pango/pangocairo.h" line="212"/> | |
| 676 | + | <source-position filename="pango/pangocairo.h" line="212"/> | |
| 675 | 677 | <return-value transfer-ownership="none"> | |
| 676 | 678 | <type name="none" c:type="void"/> | |
| 677 | 679 | </return-value> | |
| 678 | 680 | <parameters> | |
| 679 | 681 | <parameter name="cr" transfer-ownership="none"> | |
| 680 | 682 | <doc xml:space="preserve" | |
| 681 | - | filename="../pango/pangocairo-render.c" | |
| 683 | + | filename="pango/pangocairo-render.c" | |
| 682 | 684 | line="1246">a Cairo context</doc> | |
| 683 | 685 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 684 | 686 | </parameter> | |
| 685 | 687 | <parameter name="x" transfer-ownership="none"> | |
| 686 | 688 | <doc xml:space="preserve" | |
| 687 | - | filename="../pango/pangocairo-render.c" | |
| 689 | + | filename="pango/pangocairo-render.c" | |
| 688 | 690 | line="1247">The X coordinate of one corner of the rectangle</doc> | |
| 689 | 691 | <type name="gdouble" c:type="double"/> | |
| 690 | 692 | </parameter> | |
| 691 | 693 | <parameter name="y" transfer-ownership="none"> | |
| 692 | 694 | <doc xml:space="preserve" | |
| 693 | - | filename="../pango/pangocairo-render.c" | |
| 695 | + | filename="pango/pangocairo-render.c" | |
| 694 | 696 | line="1248">The Y coordinate of one corner of the rectangle</doc> | |
| 695 | 697 | <type name="gdouble" c:type="double"/> | |
| 696 | 698 | </parameter> | |
| 697 | 699 | <parameter name="width" transfer-ownership="none"> | |
| 698 | 700 | <doc xml:space="preserve" | |
| 699 | - | filename="../pango/pangocairo-render.c" | |
| 701 | + | filename="pango/pangocairo-render.c" | |
| 700 | 702 | line="1249">Non-negative width of the rectangle</doc> | |
| 701 | 703 | <type name="gdouble" c:type="double"/> | |
| 702 | 704 | </parameter> | |
| 703 | 705 | <parameter name="height" transfer-ownership="none"> | |
| 704 | 706 | <doc xml:space="preserve" | |
| 705 | - | filename="../pango/pangocairo-render.c" | |
| 707 | + | filename="pango/pangocairo-render.c" | |
| 706 | 708 | line="1250">Non-negative height of the rectangle</doc> | |
| 707 | 709 | <type name="gdouble" c:type="double"/> | |
| 708 | 710 | </parameter> | |
| @@ -713,7 +715,7 @@ segments and the resulting rectangle is centered in the original rectangle.</doc | |||
| 713 | 715 | moved-to="FontMap.get_default" | |
| 714 | 716 | version="1.10"> | |
| 715 | 717 | <doc xml:space="preserve" | |
| 716 | - | filename="../pango/pangocairo-fontmap.c" | |
| 718 | + | filename="pango/pangocairo-fontmap.c" | |
| 717 | 719 | line="151">Gets a default `PangoCairoFontMap` to use with Cairo. | |
| 718 | 720 | ||
| 719 | 721 | Note that the type of the returned object will depend on the | |
| @@ -729,10 +731,10 @@ for example. | |||
| 729 | 731 | Note that since Pango 1.32.6, the default fontmap is per-thread. | |
| 730 | 732 | Each thread gets its own default fontmap. In this way, PangoCairo | |
| 731 | 733 | can be used safely from multiple threads.</doc> | |
| 732 | - | <source-position filename="../pango/pangocairo.h" line="110"/> | |
| 734 | + | <source-position filename="pango/pangocairo.h" line="110"/> | |
| 733 | 735 | <return-value transfer-ownership="none"> | |
| 734 | 736 | <doc xml:space="preserve" | |
| 735 | - | filename="../pango/pangocairo-fontmap.c" | |
| 737 | + | filename="pango/pangocairo-fontmap.c" | |
| 736 | 738 | line="170">the default PangoCairo fontmap | |
| 737 | 739 | for the current thread. This object is owned by Pango and must | |
| 738 | 740 | not be freed.</doc> | |
| @@ -744,7 +746,7 @@ can be used safely from multiple threads.</doc> | |||
| 744 | 746 | moved-to="FontMap.new" | |
| 745 | 747 | version="1.10"> | |
| 746 | 748 | <doc xml:space="preserve" | |
| 747 | - | filename="../pango/pangocairo-fontmap.c" | |
| 749 | + | filename="pango/pangocairo-fontmap.c" | |
| 748 | 750 | line="47">Creates a new `PangoCairoFontMap` object. | |
| 749 | 751 | ||
| 750 | 752 | A fontmap is used to cache information about available fonts, | |
| @@ -763,10 +765,10 @@ based on your build, are fc (fontconfig), win32, and coretext. | |||
| 763 | 765 | If requested type is not available, NULL is returned. Ie. | |
| 764 | 766 | this is only useful for testing, when at least two backends | |
| 765 | 767 | are compiled in.</doc> | |
| 766 | - | <source-position filename="../pango/pangocairo.h" line="106"/> | |
| 768 | + | <source-position filename="pango/pangocairo.h" line="106"/> | |
| 767 | 769 | <return-value transfer-ownership="full"> | |
| 768 | 770 | <doc xml:space="preserve" | |
| 769 | - | filename="../pango/pangocairo-fontmap.c" | |
| 771 | + | filename="pango/pangocairo-fontmap.c" | |
| 770 | 772 | line="69">the newly allocated `PangoFontMap`, | |
| 771 | 773 | which should be freed with g_object_unref().</doc> | |
| 772 | 774 | <type name="Pango.FontMap" c:type="PangoFontMap*"/> | |
| @@ -777,16 +779,16 @@ are compiled in.</doc> | |||
| 777 | 779 | moved-to="FontMap.new_for_font_type" | |
| 778 | 780 | version="1.18"> | |
| 779 | 781 | <doc xml:space="preserve" | |
| 780 | - | filename="../pango/pangocairo-fontmap.c" | |
| 782 | + | filename="pango/pangocairo-fontmap.c" | |
| 781 | 783 | line="110">Creates a new `PangoCairoFontMap` object of the type suitable | |
| 782 | 784 | to be used with cairo font backend of type @fonttype. | |
| 783 | 785 | ||
| 784 | 786 | In most cases one should simply use [func@PangoCairo.FontMap.new], or | |
| 785 | 787 | in fact in most of those cases, just use [func@PangoCairo.FontMap.get_default].</doc> | |
| 786 | - | <source-position filename="../pango/pangocairo.h" line="108"/> | |
| 788 | + | <source-position filename="pango/pangocairo.h" line="108"/> | |
| 787 | 789 | <return-value transfer-ownership="full" nullable="1"> | |
| 788 | 790 | <doc xml:space="preserve" | |
| 789 | - | filename="../pango/pangocairo-fontmap.c" | |
| 791 | + | filename="pango/pangocairo-fontmap.c" | |
| 790 | 792 | line="120">the newly allocated | |
| 791 | 793 | `PangoFontMap` of suitable type which should be freed with | |
| 792 | 794 | g_object_unref(), or %NULL if the requested cairo font backend | |
| @@ -796,7 +798,7 @@ in fact in most of those cases, just use [func@PangoCairo.FontMap.get_default].< | |||
| 796 | 798 | <parameters> | |
| 797 | 799 | <parameter name="fonttype" transfer-ownership="none"> | |
| 798 | 800 | <doc xml:space="preserve" | |
| 799 | - | filename="../pango/pangocairo-fontmap.c" | |
| 801 | + | filename="pango/pangocairo-fontmap.c" | |
| 800 | 802 | line="112">desired #cairo_font_type_t</doc> | |
| 801 | 803 | <type name="cairo.FontType" c:type="cairo_font_type_t"/> | |
| 802 | 804 | </parameter> | |
| @@ -806,32 +808,32 @@ in fact in most of those cases, just use [func@PangoCairo.FontMap.get_default].< | |||
| 806 | 808 | c:identifier="pango_cairo_glyph_string_path" | |
| 807 | 809 | version="1.10"> | |
| 808 | 810 | <doc xml:space="preserve" | |
| 809 | - | filename="../pango/pangocairo-render.c" | |
| 811 | + | filename="pango/pangocairo-render.c" | |
| 810 | 812 | line="1173">Adds the glyphs in @glyphs to the current path in the specified | |
| 811 | 813 | cairo context. | |
| 812 | 814 | ||
| 813 | 815 | The origin of the glyphs (the left edge of the baseline) | |
| 814 | 816 | will be at the current point of the cairo context.</doc> | |
| 815 | - | <source-position filename="../pango/pangocairo.h" line="201"/> | |
| 817 | + | <source-position filename="pango/pangocairo.h" line="201"/> | |
| 816 | 818 | <return-value transfer-ownership="none"> | |
| 817 | 819 | <type name="none" c:type="void"/> | |
| 818 | 820 | </return-value> | |
| 819 | 821 | <parameters> | |
| 820 | 822 | <parameter name="cr" transfer-ownership="none"> | |
| 821 | 823 | <doc xml:space="preserve" | |
| 822 | - | filename="../pango/pangocairo-render.c" | |
| 824 | + | filename="pango/pangocairo-render.c" | |
| 823 | 825 | line="1175">a Cairo context</doc> | |
| 824 | 826 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 825 | 827 | </parameter> | |
| 826 | 828 | <parameter name="font" transfer-ownership="none"> | |
| 827 | 829 | <doc xml:space="preserve" | |
| 828 | - | filename="../pango/pangocairo-render.c" | |
| 830 | + | filename="pango/pangocairo-render.c" | |
| 829 | 831 | line="1176">a `PangoFont` from a `PangoCairoFontMap`</doc> | |
| 830 | 832 | <type name="Pango.Font" c:type="PangoFont*"/> | |
| 831 | 833 | </parameter> | |
| 832 | 834 | <parameter name="glyphs" transfer-ownership="none"> | |
| 833 | 835 | <doc xml:space="preserve" | |
| 834 | - | filename="../pango/pangocairo-render.c" | |
| 836 | + | filename="pango/pangocairo-render.c" | |
| 835 | 837 | line="1177">a `PangoGlyphString`</doc> | |
| 836 | 838 | <type name="Pango.GlyphString" c:type="PangoGlyphString*"/> | |
| 837 | 839 | </parameter> | |
| @@ -841,26 +843,26 @@ will be at the current point of the cairo context.</doc> | |||
| 841 | 843 | c:identifier="pango_cairo_layout_line_path" | |
| 842 | 844 | version="1.10"> | |
| 843 | 845 | <doc xml:space="preserve" | |
| 844 | - | filename="../pango/pangocairo-render.c" | |
| 846 | + | filename="pango/pangocairo-render.c" | |
| 845 | 847 | line="1198">Adds the text in `PangoLayoutLine` to the current path in the | |
| 846 | 848 | specified cairo context. | |
| 847 | 849 | ||
| 848 | 850 | The origin of the glyphs (the left edge of the line) will be | |
| 849 | 851 | at the current point of the cairo context.</doc> | |
| 850 | - | <source-position filename="../pango/pangocairo.h" line="205"/> | |
| 852 | + | <source-position filename="pango/pangocairo.h" line="205"/> | |
| 851 | 853 | <return-value transfer-ownership="none"> | |
| 852 | 854 | <type name="none" c:type="void"/> | |
| 853 | 855 | </return-value> | |
| 854 | 856 | <parameters> | |
| 855 | 857 | <parameter name="cr" transfer-ownership="none"> | |
| 856 | 858 | <doc xml:space="preserve" | |
| 857 | - | filename="../pango/pangocairo-render.c" | |
| 859 | + | filename="pango/pangocairo-render.c" | |
| 858 | 860 | line="1200">a Cairo context</doc> | |
| 859 | 861 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 860 | 862 | </parameter> | |
| 861 | 863 | <parameter name="line" transfer-ownership="none"> | |
| 862 | 864 | <doc xml:space="preserve" | |
| 863 | - | filename="../pango/pangocairo-render.c" | |
| 865 | + | filename="pango/pangocairo-render.c" | |
| 864 | 866 | line="1201">a `PangoLayoutLine`</doc> | |
| 865 | 867 | <type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/> | |
| 866 | 868 | </parameter> | |
| @@ -870,26 +872,26 @@ at the current point of the cairo context.</doc> | |||
| 870 | 872 | c:identifier="pango_cairo_layout_path" | |
| 871 | 873 | version="1.10"> | |
| 872 | 874 | <doc xml:space="preserve" | |
| 873 | - | filename="../pango/pangocairo-render.c" | |
| 875 | + | filename="pango/pangocairo-render.c" | |
| 874 | 876 | line="1221">Adds the text in a `PangoLayout` to the current path in the | |
| 875 | 877 | specified cairo context. | |
| 876 | 878 | ||
| 877 | 879 | The top-left corner of the `PangoLayout` will be at the | |
| 878 | 880 | current point of the cairo context.</doc> | |
| 879 | - | <source-position filename="../pango/pangocairo.h" line="208"/> | |
| 881 | + | <source-position filename="pango/pangocairo.h" line="208"/> | |
| 880 | 882 | <return-value transfer-ownership="none"> | |
| 881 | 883 | <type name="none" c:type="void"/> | |
| 882 | 884 | </return-value> | |
| 883 | 885 | <parameters> | |
| 884 | 886 | <parameter name="cr" transfer-ownership="none"> | |
| 885 | 887 | <doc xml:space="preserve" | |
| 886 | - | filename="../pango/pangocairo-render.c" | |
| 888 | + | filename="pango/pangocairo-render.c" | |
| 887 | 889 | line="1223">a Cairo context</doc> | |
| 888 | 890 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 889 | 891 | </parameter> | |
| 890 | 892 | <parameter name="layout" transfer-ownership="none"> | |
| 891 | 893 | <doc xml:space="preserve" | |
| 892 | - | filename="../pango/pangocairo-render.c" | |
| 894 | + | filename="pango/pangocairo-render.c" | |
| 893 | 895 | line="1224">a Pango layout</doc> | |
| 894 | 896 | <type name="Pango.Layout" c:type="PangoLayout*"/> | |
| 895 | 897 | </parameter> | |
| @@ -899,7 +901,7 @@ current point of the cairo context.</doc> | |||
| 899 | 901 | c:identifier="pango_cairo_show_error_underline" | |
| 900 | 902 | version="1.14"> | |
| 901 | 903 | <doc xml:space="preserve" | |
| 902 | - | filename="../pango/pangocairo-render.c" | |
| 904 | + | filename="pango/pangocairo-render.c" | |
| 903 | 905 | line="1142">Draw a squiggly line in the specified cairo context that approximately | |
| 904 | 906 | covers the given rectangle in the style of an underline used to indicate a | |
| 905 | 907 | spelling error. | |
| @@ -907,38 +909,38 @@ spelling error. | |||
| 907 | 909 | The width of the underline is rounded to an integer | |
| 908 | 910 | number of up/down segments and the resulting rectangle is centered in the | |
| 909 | 911 | original rectangle.</doc> | |
| 910 | - | <source-position filename="../pango/pangocairo.h" line="191"/> | |
| 912 | + | <source-position filename="pango/pangocairo.h" line="191"/> | |
| 911 | 913 | <return-value transfer-ownership="none"> | |
| 912 | 914 | <type name="none" c:type="void"/> | |
| 913 | 915 | </return-value> | |
| 914 | 916 | <parameters> | |
| 915 | 917 | <parameter name="cr" transfer-ownership="none"> | |
| 916 | 918 | <doc xml:space="preserve" | |
| 917 | - | filename="../pango/pangocairo-render.c" | |
| 919 | + | filename="pango/pangocairo-render.c" | |
| 918 | 920 | line="1144">a Cairo context</doc> | |
| 919 | 921 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 920 | 922 | </parameter> | |
| 921 | 923 | <parameter name="x" transfer-ownership="none"> | |
| 922 | 924 | <doc xml:space="preserve" | |
| 923 | - | filename="../pango/pangocairo-render.c" | |
| 925 | + | filename="pango/pangocairo-render.c" | |
| 924 | 926 | line="1145">The X coordinate of one corner of the rectangle</doc> | |
| 925 | 927 | <type name="gdouble" c:type="double"/> | |
| 926 | 928 | </parameter> | |
| 927 | 929 | <parameter name="y" transfer-ownership="none"> | |
| 928 | 930 | <doc xml:space="preserve" | |
| 929 | - | filename="../pango/pangocairo-render.c" | |
| 931 | + | filename="pango/pangocairo-render.c" | |
| 930 | 932 | line="1146">The Y coordinate of one corner of the rectangle</doc> | |
| 931 | 933 | <type name="gdouble" c:type="double"/> | |
| 932 | 934 | </parameter> | |
| 933 | 935 | <parameter name="width" transfer-ownership="none"> | |
| 934 | 936 | <doc xml:space="preserve" | |
| 935 | - | filename="../pango/pangocairo-render.c" | |
| 937 | + | filename="pango/pangocairo-render.c" | |
| 936 | 938 | line="1147">Non-negative width of the rectangle</doc> | |
| 937 | 939 | <type name="gdouble" c:type="double"/> | |
| 938 | 940 | </parameter> | |
| 939 | 941 | <parameter name="height" transfer-ownership="none"> | |
| 940 | 942 | <doc xml:space="preserve" | |
| 941 | - | filename="../pango/pangocairo-render.c" | |
| 943 | + | filename="pango/pangocairo-render.c" | |
| 942 | 944 | line="1148">Non-negative height of the rectangle</doc> | |
| 943 | 945 | <type name="gdouble" c:type="double"/> | |
| 944 | 946 | </parameter> | |
| @@ -948,7 +950,7 @@ original rectangle.</doc> | |||
| 948 | 950 | c:identifier="pango_cairo_show_glyph_item" | |
| 949 | 951 | version="1.22"> | |
| 950 | 952 | <doc xml:space="preserve" | |
| 951 | - | filename="../pango/pangocairo-render.c" | |
| 953 | + | filename="pango/pangocairo-render.c" | |
| 952 | 954 | line="1066">Draws the glyphs in @glyph_item in the specified cairo context, | |
| 953 | 955 | ||
| 954 | 956 | embedding the text associated with the glyphs in the output if the | |
| @@ -960,26 +962,26 @@ be drawn at the current point of the cairo context. | |||
| 960 | 962 | ||
| 961 | 963 | Note that @text is the start of the text for layout, which is then | |
| 962 | 964 | indexed by `glyph_item->item->offset`.</doc> | |
| 963 | - | <source-position filename="../pango/pangocairo.h" line="180"/> | |
| 965 | + | <source-position filename="pango/pangocairo.h" line="180"/> | |
| 964 | 966 | <return-value transfer-ownership="none"> | |
| 965 | 967 | <type name="none" c:type="void"/> | |
| 966 | 968 | </return-value> | |
| 967 | 969 | <parameters> | |
| 968 | 970 | <parameter name="cr" transfer-ownership="none"> | |
| 969 | 971 | <doc xml:space="preserve" | |
| 970 | - | filename="../pango/pangocairo-render.c" | |
| 972 | + | filename="pango/pangocairo-render.c" | |
| 971 | 973 | line="1068">a Cairo context</doc> | |
| 972 | 974 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 973 | 975 | </parameter> | |
| 974 | 976 | <parameter name="text" transfer-ownership="none"> | |
| 975 | 977 | <doc xml:space="preserve" | |
| 976 | - | filename="../pango/pangocairo-render.c" | |
| 978 | + | filename="pango/pangocairo-render.c" | |
| 977 | 979 | line="1069">the UTF-8 text that @glyph_item refers to</doc> | |
| 978 | 980 | <type name="utf8" c:type="const char*"/> | |
| 979 | 981 | </parameter> | |
| 980 | 982 | <parameter name="glyph_item" transfer-ownership="none"> | |
| 981 | 983 | <doc xml:space="preserve" | |
| 982 | - | filename="../pango/pangocairo-render.c" | |
| 984 | + | filename="pango/pangocairo-render.c" | |
| 983 | 985 | line="1070">a `PangoGlyphItem`</doc> | |
| 984 | 986 | <type name="Pango.GlyphItem" c:type="PangoGlyphItem*"/> | |
| 985 | 987 | </parameter> | |
| @@ -989,31 +991,31 @@ indexed by `glyph_item->item->offset`.</doc> | |||
| 989 | 991 | c:identifier="pango_cairo_show_glyph_string" | |
| 990 | 992 | version="1.10"> | |
| 991 | 993 | <doc xml:space="preserve" | |
| 992 | - | filename="../pango/pangocairo-render.c" | |
| 994 | + | filename="pango/pangocairo-render.c" | |
| 993 | 995 | line="1041">Draws the glyphs in @glyphs in the specified cairo context. | |
| 994 | 996 | ||
| 995 | 997 | The origin of the glyphs (the left edge of the baseline) will | |
| 996 | 998 | be drawn at the current point of the cairo context.</doc> | |
| 997 | - | <source-position filename="../pango/pangocairo.h" line="176"/> | |
| 999 | + | <source-position filename="pango/pangocairo.h" line="176"/> | |
| 998 | 1000 | <return-value transfer-ownership="none"> | |
| 999 | 1001 | <type name="none" c:type="void"/> | |
| 1000 | 1002 | </return-value> | |
| 1001 | 1003 | <parameters> | |
| 1002 | 1004 | <parameter name="cr" transfer-ownership="none"> | |
| 1003 | 1005 | <doc xml:space="preserve" | |
| 1004 | - | filename="../pango/pangocairo-render.c" | |
| 1006 | + | filename="pango/pangocairo-render.c" | |
| 1005 | 1007 | line="1043">a Cairo context</doc> | |
| 1006 | 1008 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 1007 | 1009 | </parameter> | |
| 1008 | 1010 | <parameter name="font" transfer-ownership="none"> | |
| 1009 | 1011 | <doc xml:space="preserve" | |
| 1010 | - | filename="../pango/pangocairo-render.c" | |
| 1012 | + | filename="pango/pangocairo-render.c" | |
| 1011 | 1013 | line="1044">a `PangoFont` from a `PangoCairoFontMap`</doc> | |
| 1012 | 1014 | <type name="Pango.Font" c:type="PangoFont*"/> | |
| 1013 | 1015 | </parameter> | |
| 1014 | 1016 | <parameter name="glyphs" transfer-ownership="none"> | |
| 1015 | 1017 | <doc xml:space="preserve" | |
| 1016 | - | filename="../pango/pangocairo-render.c" | |
| 1018 | + | filename="pango/pangocairo-render.c" | |
| 1017 | 1019 | line="1045">a `PangoGlyphString`</doc> | |
| 1018 | 1020 | <type name="Pango.GlyphString" c:type="PangoGlyphString*"/> | |
| 1019 | 1021 | </parameter> | |
| @@ -1023,25 +1025,25 @@ be drawn at the current point of the cairo context.</doc> | |||
| 1023 | 1025 | c:identifier="pango_cairo_show_layout" | |
| 1024 | 1026 | version="1.10"> | |
| 1025 | 1027 | <doc xml:space="preserve" | |
| 1026 | - | filename="../pango/pangocairo-render.c" | |
| 1028 | + | filename="pango/pangocairo-render.c" | |
| 1027 | 1029 | line="1120">Draws a `PangoLayout` in the specified cairo context. | |
| 1028 | 1030 | ||
| 1029 | 1031 | The top-left corner of the `PangoLayout` will be drawn | |
| 1030 | 1032 | at the current point of the cairo context.</doc> | |
| 1031 | - | <source-position filename="../pango/pangocairo.h" line="187"/> | |
| 1033 | + | <source-position filename="pango/pangocairo.h" line="187"/> | |
| 1032 | 1034 | <return-value transfer-ownership="none"> | |
| 1033 | 1035 | <type name="none" c:type="void"/> | |
| 1034 | 1036 | </return-value> | |
| 1035 | 1037 | <parameters> | |
| 1036 | 1038 | <parameter name="cr" transfer-ownership="none"> | |
| 1037 | 1039 | <doc xml:space="preserve" | |
| 1038 | - | filename="../pango/pangocairo-render.c" | |
| 1040 | + | filename="pango/pangocairo-render.c" | |
| 1039 | 1041 | line="1122">a Cairo context</doc> | |
| 1040 | 1042 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 1041 | 1043 | </parameter> | |
| 1042 | 1044 | <parameter name="layout" transfer-ownership="none"> | |
| 1043 | 1045 | <doc xml:space="preserve" | |
| 1044 | - | filename="../pango/pangocairo-render.c" | |
| 1046 | + | filename="pango/pangocairo-render.c" | |
| 1045 | 1047 | line="1123">a Pango layout</doc> | |
| 1046 | 1048 | <type name="Pango.Layout" c:type="PangoLayout*"/> | |
| 1047 | 1049 | </parameter> | |
| @@ -1051,25 +1053,25 @@ at the current point of the cairo context.</doc> | |||
| 1051 | 1053 | c:identifier="pango_cairo_show_layout_line" | |
| 1052 | 1054 | version="1.10"> | |
| 1053 | 1055 | <doc xml:space="preserve" | |
| 1054 | - | filename="../pango/pangocairo-render.c" | |
| 1056 | + | filename="pango/pangocairo-render.c" | |
| 1055 | 1057 | line="1098">Draws a `PangoLayoutLine` in the specified cairo context. | |
| 1056 | 1058 | ||
| 1057 | 1059 | The origin of the glyphs (the left edge of the line) will | |
| 1058 | 1060 | be drawn at the current point of the cairo context.</doc> | |
| 1059 | - | <source-position filename="../pango/pangocairo.h" line="184"/> | |
| 1061 | + | <source-position filename="pango/pangocairo.h" line="184"/> | |
| 1060 | 1062 | <return-value transfer-ownership="none"> | |
| 1061 | 1063 | <type name="none" c:type="void"/> | |
| 1062 | 1064 | </return-value> | |
| 1063 | 1065 | <parameters> | |
| 1064 | 1066 | <parameter name="cr" transfer-ownership="none"> | |
| 1065 | 1067 | <doc xml:space="preserve" | |
| 1066 | - | filename="../pango/pangocairo-render.c" | |
| 1068 | + | filename="pango/pangocairo-render.c" | |
| 1067 | 1069 | line="1100">a Cairo context</doc> | |
| 1068 | 1070 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 1069 | 1071 | </parameter> | |
| 1070 | 1072 | <parameter name="line" transfer-ownership="none"> | |
| 1071 | 1073 | <doc xml:space="preserve" | |
| 1072 | - | filename="../pango/pangocairo-render.c" | |
| 1074 | + | filename="pango/pangocairo-render.c" | |
| 1073 | 1075 | line="1101">a `PangoLayoutLine`</doc> | |
| 1074 | 1076 | <type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/> | |
| 1075 | 1077 | </parameter> | |
| @@ -1079,27 +1081,27 @@ be drawn at the current point of the cairo context.</doc> | |||
| 1079 | 1081 | c:identifier="pango_cairo_update_context" | |
| 1080 | 1082 | version="1.10"> | |
| 1081 | 1083 | <doc xml:space="preserve" | |
| 1082 | - | filename="../pango/pangocairo-context.c" | |
| 1084 | + | filename="pango/pangocairo-context.c" | |
| 1083 | 1085 | line="158">Updates a `PangoContext` previously created for use with Cairo to | |
| 1084 | 1086 | match the current transformation and target surface of a Cairo | |
| 1085 | 1087 | context. | |
| 1086 | 1088 | ||
| 1087 | 1089 | If any layouts have been created for the context, it's necessary | |
| 1088 | 1090 | to call [method@Pango.Layout.context_changed] on those layouts.</doc> | |
| 1089 | - | <source-position filename="../pango/pangocairo.h" line="138"/> | |
| 1091 | + | <source-position filename="pango/pangocairo.h" line="138"/> | |
| 1090 | 1092 | <return-value transfer-ownership="none"> | |
| 1091 | 1093 | <type name="none" c:type="void"/> | |
| 1092 | 1094 | </return-value> | |
| 1093 | 1095 | <parameters> | |
| 1094 | 1096 | <parameter name="cr" transfer-ownership="none"> | |
| 1095 | 1097 | <doc xml:space="preserve" | |
| 1096 | - | filename="../pango/pangocairo-context.c" | |
| 1098 | + | filename="pango/pangocairo-context.c" | |
| 1097 | 1099 | line="160">a Cairo context</doc> | |
| 1098 | 1100 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 1099 | 1101 | </parameter> | |
| 1100 | 1102 | <parameter name="context" transfer-ownership="none"> | |
| 1101 | 1103 | <doc xml:space="preserve" | |
| 1102 | - | filename="../pango/pangocairo-context.c" | |
| 1104 | + | filename="pango/pangocairo-context.c" | |
| 1103 | 1105 | line="161">a `PangoContext`, from a pangocairo font map</doc> | |
| 1104 | 1106 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 1105 | 1107 | </parameter> | |
| @@ -1109,24 +1111,24 @@ to call [method@Pango.Layout.context_changed] on those layouts.</doc> | |||
| 1109 | 1111 | c:identifier="pango_cairo_update_layout" | |
| 1110 | 1112 | version="1.10"> | |
| 1111 | 1113 | <doc xml:space="preserve" | |
| 1112 | - | filename="../pango/pangocairo-context.c" | |
| 1114 | + | filename="pango/pangocairo-context.c" | |
| 1113 | 1115 | line="494">Updates the private `PangoContext` of a `PangoLayout` created with | |
| 1114 | 1116 | [func@create_layout] to match the current transformation and target | |
| 1115 | 1117 | surface of a Cairo context.</doc> | |
| 1116 | - | <source-position filename="../pango/pangocairo.h" line="169"/> | |
| 1118 | + | <source-position filename="pango/pangocairo.h" line="169"/> | |
| 1117 | 1119 | <return-value transfer-ownership="none"> | |
| 1118 | 1120 | <type name="none" c:type="void"/> | |
| 1119 | 1121 | </return-value> | |
| 1120 | 1122 | <parameters> | |
| 1121 | 1123 | <parameter name="cr" transfer-ownership="none"> | |
| 1122 | 1124 | <doc xml:space="preserve" | |
| 1123 | - | filename="../pango/pangocairo-context.c" | |
| 1125 | + | filename="pango/pangocairo-context.c" | |
| 1124 | 1126 | line="496">a Cairo context</doc> | |
| 1125 | 1127 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 1126 | 1128 | </parameter> | |
| 1127 | 1129 | <parameter name="layout" transfer-ownership="none"> | |
| 1128 | 1130 | <doc xml:space="preserve" | |
| 1129 | - | filename="../pango/pangocairo-context.c" | |
| 1131 | + | filename="pango/pangocairo-context.c" | |
| 1130 | 1132 | line="497">a `PangoLayout`, from [func@create_layout]</doc> | |
| 1131 | 1133 | <type name="Pango.Layout" c:type="PangoLayout*"/> | |
| 1132 | 1134 | </parameter> | |