1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
/* automatically generated by rust-bindgen */

pub const _STDINT_H: ::std::os::raw::c_uint = 1;
pub const _FEATURES_H: ::std::os::raw::c_uint = 1;
pub const _ISOC95_SOURCE: ::std::os::raw::c_uint = 1;
pub const _ISOC99_SOURCE: ::std::os::raw::c_uint = 1;
pub const _ISOC11_SOURCE: ::std::os::raw::c_uint = 1;
pub const _POSIX_SOURCE: ::std::os::raw::c_uint = 1;
pub const _POSIX_C_SOURCE: ::std::os::raw::c_uint = 200809;
pub const _XOPEN_SOURCE: ::std::os::raw::c_uint = 700;
pub const _XOPEN_SOURCE_EXTENDED: ::std::os::raw::c_uint = 1;
pub const _LARGEFILE64_SOURCE: ::std::os::raw::c_uint = 1;
pub const _DEFAULT_SOURCE: ::std::os::raw::c_uint = 1;
pub const _ATFILE_SOURCE: ::std::os::raw::c_uint = 1;
pub const __USE_ISOC11: ::std::os::raw::c_uint = 1;
pub const __USE_ISOC99: ::std::os::raw::c_uint = 1;
pub const __USE_ISOC95: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX2: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX199309: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX199506: ::std::os::raw::c_uint = 1;
pub const __USE_XOPEN2K: ::std::os::raw::c_uint = 1;
pub const __USE_XOPEN2K8: ::std::os::raw::c_uint = 1;
pub const __USE_XOPEN: ::std::os::raw::c_uint = 1;
pub const __USE_XOPEN_EXTENDED: ::std::os::raw::c_uint = 1;
pub const __USE_UNIX98: ::std::os::raw::c_uint = 1;
pub const _LARGEFILE_SOURCE: ::std::os::raw::c_uint = 1;
pub const __USE_XOPEN2K8XSI: ::std::os::raw::c_uint = 1;
pub const __USE_XOPEN2KXSI: ::std::os::raw::c_uint = 1;
pub const __USE_LARGEFILE: ::std::os::raw::c_uint = 1;
pub const __USE_LARGEFILE64: ::std::os::raw::c_uint = 1;
pub const __USE_MISC: ::std::os::raw::c_uint = 1;
pub const __USE_ATFILE: ::std::os::raw::c_uint = 1;
pub const __USE_GNU: ::std::os::raw::c_uint = 1;
pub const __USE_FORTIFY_LEVEL: ::std::os::raw::c_uint = 0;
pub const __GLIBC_USE_DEPRECATED_GETS: ::std::os::raw::c_uint = 1;
pub const _STDC_PREDEF_H: ::std::os::raw::c_uint = 1;
pub const __STDC_IEC_559__: ::std::os::raw::c_uint = 1;
pub const __STDC_IEC_559_COMPLEX__: ::std::os::raw::c_uint = 1;
pub const __STDC_ISO_10646__: ::std::os::raw::c_uint = 201706;
pub const __STDC_NO_THREADS__: ::std::os::raw::c_uint = 1;
pub const __GNU_LIBRARY__: ::std::os::raw::c_uint = 6;
pub const __GLIBC__: ::std::os::raw::c_uint = 2;
pub const __GLIBC_MINOR__: ::std::os::raw::c_uint = 26;
pub const _SYS_CDEFS_H: ::std::os::raw::c_uint = 1;
pub const __glibc_c99_flexarr_available: ::std::os::raw::c_uint = 1;
pub const __WORDSIZE: ::std::os::raw::c_uint = 64;
pub const __WORDSIZE_TIME64_COMPAT32: ::std::os::raw::c_uint = 1;
pub const __SYSCALL_WORDSIZE: ::std::os::raw::c_uint = 64;
pub const __HAVE_GENERIC_SELECTION: ::std::os::raw::c_uint = 0;
pub const __GLIBC_USE_LIB_EXT2: ::std::os::raw::c_uint = 1;
pub const __GLIBC_USE_IEC_60559_BFP_EXT: ::std::os::raw::c_uint = 1;
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: ::std::os::raw::c_uint = 1;
pub const __GLIBC_USE_IEC_60559_TYPES_EXT: ::std::os::raw::c_uint = 1;
pub const _BITS_TYPES_H: ::std::os::raw::c_uint = 1;
pub const _BITS_TYPESIZES_H: ::std::os::raw::c_uint = 1;
pub const __OFF_T_MATCHES_OFF64_T: ::std::os::raw::c_uint = 1;
pub const __INO_T_MATCHES_INO64_T: ::std::os::raw::c_uint = 1;
pub const __RLIM_T_MATCHES_RLIM64_T: ::std::os::raw::c_uint = 1;
pub const __FD_SETSIZE: ::std::os::raw::c_uint = 1024;
pub const _BITS_WCHAR_H: ::std::os::raw::c_uint = 1;
pub const _BITS_STDINT_INTN_H: ::std::os::raw::c_uint = 1;
pub const _BITS_STDINT_UINTN_H: ::std::os::raw::c_uint = 1;
pub const INT8_MIN: ::std::os::raw::c_int = -128;
pub const INT16_MIN: ::std::os::raw::c_int = -32768;
pub const INT32_MIN: ::std::os::raw::c_int = -2147483648;
pub const INT8_MAX: ::std::os::raw::c_uint = 127;
pub const INT16_MAX: ::std::os::raw::c_uint = 32767;
pub const INT32_MAX: ::std::os::raw::c_uint = 2147483647;
pub const UINT8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT16_MAX: ::std::os::raw::c_uint = 65535;
pub const UINT32_MAX: ::std::os::raw::c_uint = 4294967295;
pub const INT_LEAST8_MIN: ::std::os::raw::c_int = -128;
pub const INT_LEAST16_MIN: ::std::os::raw::c_int = -32768;
pub const INT_LEAST32_MIN: ::std::os::raw::c_int = -2147483648;
pub const INT_LEAST8_MAX: ::std::os::raw::c_uint = 127;
pub const INT_LEAST16_MAX: ::std::os::raw::c_uint = 32767;
pub const INT_LEAST32_MAX: ::std::os::raw::c_uint = 2147483647;
pub const UINT_LEAST8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT_LEAST16_MAX: ::std::os::raw::c_uint = 65535;
pub const UINT_LEAST32_MAX: ::std::os::raw::c_uint = 4294967295;
pub const INT_FAST8_MIN: ::std::os::raw::c_int = -128;
pub const INT_FAST16_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INT_FAST32_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INT_FAST8_MAX: ::std::os::raw::c_uint = 127;
pub const INT_FAST16_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const INT_FAST32_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const UINT_FAST8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT_FAST16_MAX: ::std::os::raw::c_int = -1;
pub const UINT_FAST32_MAX: ::std::os::raw::c_int = -1;
pub const INTPTR_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INTPTR_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const UINTPTR_MAX: ::std::os::raw::c_int = -1;
pub const PTRDIFF_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const PTRDIFF_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const SIG_ATOMIC_MIN: ::std::os::raw::c_int = -2147483648;
pub const SIG_ATOMIC_MAX: ::std::os::raw::c_uint = 2147483647;
pub const SIZE_MAX: ::std::os::raw::c_int = -1;
pub const WINT_MIN: ::std::os::raw::c_uint = 0;
pub const WINT_MAX: ::std::os::raw::c_uint = 4294967295;
pub const INT8_WIDTH: ::std::os::raw::c_uint = 8;
pub const UINT8_WIDTH: ::std::os::raw::c_uint = 8;
pub const INT16_WIDTH: ::std::os::raw::c_uint = 16;
pub const UINT16_WIDTH: ::std::os::raw::c_uint = 16;
pub const INT32_WIDTH: ::std::os::raw::c_uint = 32;
pub const UINT32_WIDTH: ::std::os::raw::c_uint = 32;
pub const INT64_WIDTH: ::std::os::raw::c_uint = 64;
pub const UINT64_WIDTH: ::std::os::raw::c_uint = 64;
pub const INT_LEAST8_WIDTH: ::std::os::raw::c_uint = 8;
pub const UINT_LEAST8_WIDTH: ::std::os::raw::c_uint = 8;
pub const INT_LEAST16_WIDTH: ::std::os::raw::c_uint = 16;
pub const UINT_LEAST16_WIDTH: ::std::os::raw::c_uint = 16;
pub const INT_LEAST32_WIDTH: ::std::os::raw::c_uint = 32;
pub const UINT_LEAST32_WIDTH: ::std::os::raw::c_uint = 32;
pub const INT_LEAST64_WIDTH: ::std::os::raw::c_uint = 64;
pub const UINT_LEAST64_WIDTH: ::std::os::raw::c_uint = 64;
pub const INT_FAST8_WIDTH: ::std::os::raw::c_uint = 8;
pub const UINT_FAST8_WIDTH: ::std::os::raw::c_uint = 8;
pub const INT_FAST16_WIDTH: ::std::os::raw::c_uint = 64;
pub const UINT_FAST16_WIDTH: ::std::os::raw::c_uint = 64;
pub const INT_FAST32_WIDTH: ::std::os::raw::c_uint = 64;
pub const UINT_FAST32_WIDTH: ::std::os::raw::c_uint = 64;
pub const INT_FAST64_WIDTH: ::std::os::raw::c_uint = 64;
pub const UINT_FAST64_WIDTH: ::std::os::raw::c_uint = 64;
pub const INTPTR_WIDTH: ::std::os::raw::c_uint = 64;
pub const UINTPTR_WIDTH: ::std::os::raw::c_uint = 64;
pub const INTMAX_WIDTH: ::std::os::raw::c_uint = 64;
pub const UINTMAX_WIDTH: ::std::os::raw::c_uint = 64;
pub const PTRDIFF_WIDTH: ::std::os::raw::c_uint = 64;
pub const SIG_ATOMIC_WIDTH: ::std::os::raw::c_uint = 32;
pub const SIZE_WIDTH: ::std::os::raw::c_uint = 64;
pub const WCHAR_WIDTH: ::std::os::raw::c_uint = 32;
pub const WINT_WIDTH: ::std::os::raw::c_uint = 32;
pub type __u_char = ::std::os::raw::c_uchar;
pub type __u_short = ::std::os::raw::c_ushort;
pub type __u_int = ::std::os::raw::c_uint;
pub type __u_long = ::std::os::raw::c_ulong;
pub type __int8_t = ::std::os::raw::c_schar;
pub type __uint8_t = ::std::os::raw::c_uchar;
pub type __int16_t = ::std::os::raw::c_short;
pub type __uint16_t = ::std::os::raw::c_ushort;
pub type __int32_t = ::std::os::raw::c_int;
pub type __uint32_t = ::std::os::raw::c_uint;
pub type __int64_t = ::std::os::raw::c_long;
pub type __uint64_t = ::std::os::raw::c_ulong;
pub type __quad_t = ::std::os::raw::c_long;
pub type __u_quad_t = ::std::os::raw::c_ulong;
pub type __intmax_t = ::std::os::raw::c_long;
pub type __uintmax_t = ::std::os::raw::c_ulong;
pub type __dev_t = ::std::os::raw::c_ulong;
pub type __uid_t = ::std::os::raw::c_uint;
pub type __gid_t = ::std::os::raw::c_uint;
pub type __ino_t = ::std::os::raw::c_ulong;
pub type __ino64_t = ::std::os::raw::c_ulong;
pub type __mode_t = ::std::os::raw::c_uint;
pub type __nlink_t = ::std::os::raw::c_ulong;
pub type __off_t = ::std::os::raw::c_long;
pub type __off64_t = ::std::os::raw::c_long;
pub type __pid_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __fsid_t {
    pub __val: [::std::os::raw::c_int; 2usize],
}
#[test]
fn bindgen_test_layout___fsid_t() {
    assert_eq!(
        ::std::mem::size_of::<__fsid_t>(),
        8usize,
        concat!("Size of: ", stringify!(__fsid_t))
    );
    assert_eq!(
        ::std::mem::align_of::<__fsid_t>(),
        4usize,
        concat!("Alignment of ", stringify!(__fsid_t))
    );
    assert_eq!(
        unsafe { &(*(0 as *const __fsid_t)).__val as *const _ as usize },
        0usize,
        concat!(
            "Alignment of field: ",
            stringify!(__fsid_t),
            "::",
            stringify!(__val)
        )
    );
}
pub type __clock_t = ::std::os::raw::c_long;
pub type __rlim_t = ::std::os::raw::c_ulong;
pub type __rlim64_t = ::std::os::raw::c_ulong;
pub type __id_t = ::std::os::raw::c_uint;
pub type __time_t = ::std::os::raw::c_long;
pub type __useconds_t = ::std::os::raw::c_uint;
pub type __suseconds_t = ::std::os::raw::c_long;
pub type __daddr_t = ::std::os::raw::c_int;
pub type __key_t = ::std::os::raw::c_int;
pub type __clockid_t = ::std::os::raw::c_int;
pub type __timer_t = *mut ::std::os::raw::c_void;
pub type __blksize_t = ::std::os::raw::c_long;
pub type __blkcnt_t = ::std::os::raw::c_long;
pub type __blkcnt64_t = ::std::os::raw::c_long;
pub type __fsblkcnt_t = ::std::os::raw::c_ulong;
pub type __fsblkcnt64_t = ::std::os::raw::c_ulong;
pub type __fsfilcnt_t = ::std::os::raw::c_ulong;
pub type __fsfilcnt64_t = ::std::os::raw::c_ulong;
pub type __fsword_t = ::std::os::raw::c_long;
pub type __ssize_t = ::std::os::raw::c_long;
pub type __syscall_slong_t = ::std::os::raw::c_long;
pub type __syscall_ulong_t = ::std::os::raw::c_ulong;
pub type __loff_t = __off64_t;
pub type __qaddr_t = *mut __quad_t;
pub type __caddr_t = *mut ::std::os::raw::c_char;
pub type __intptr_t = ::std::os::raw::c_long;
pub type __socklen_t = ::std::os::raw::c_uint;
pub type __sig_atomic_t = ::std::os::raw::c_int;
pub type int_least8_t = ::std::os::raw::c_schar;
pub type int_least16_t = ::std::os::raw::c_short;
pub type int_least32_t = ::std::os::raw::c_int;
pub type int_least64_t = ::std::os::raw::c_long;
pub type uint_least8_t = ::std::os::raw::c_uchar;
pub type uint_least16_t = ::std::os::raw::c_ushort;
pub type uint_least32_t = ::std::os::raw::c_uint;
pub type uint_least64_t = ::std::os::raw::c_ulong;
pub type int_fast8_t = ::std::os::raw::c_schar;
pub type int_fast16_t = ::std::os::raw::c_long;
pub type int_fast32_t = ::std::os::raw::c_long;
pub type int_fast64_t = ::std::os::raw::c_long;
pub type uint_fast8_t = ::std::os::raw::c_uchar;
pub type uint_fast16_t = ::std::os::raw::c_ulong;
pub type uint_fast32_t = ::std::os::raw::c_ulong;
pub type uint_fast64_t = ::std::os::raw::c_ulong;
pub type intmax_t = __intmax_t;
pub type uintmax_t = __uintmax_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct qtc_qguiapp {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct qtc_qimage {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct qtc_qpainter {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct qtc_qpainterpath {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct qtc_qtransform {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct qtc_qpen {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct qtc_qbrush {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct qtc_qlineargradient {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct qtc_qradialgradient {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct qtc_qfont {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct qtc_qfontmetricsf {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct resvg_rect_f {
    pub x: f64,
    pub y: f64,
    pub w: f64,
    pub h: f64,
}
#[test]
fn bindgen_test_layout_resvg_rect_f() {
    assert_eq!(
        ::std::mem::size_of::<resvg_rect_f>(),
        32usize,
        concat!("Size of: ", stringify!(resvg_rect_f))
    );
    assert_eq!(
        ::std::mem::align_of::<resvg_rect_f>(),
        8usize,
        concat!("Alignment of ", stringify!(resvg_rect_f))
    );
    assert_eq!(
        unsafe { &(*(0 as *const resvg_rect_f)).x as *const _ as usize },
        0usize,
        concat!(
            "Alignment of field: ",
            stringify!(resvg_rect_f),
            "::",
            stringify!(x)
        )
    );
    assert_eq!(
        unsafe { &(*(0 as *const resvg_rect_f)).y as *const _ as usize },
        8usize,
        concat!(
            "Alignment of field: ",
            stringify!(resvg_rect_f),
            "::",
            stringify!(y)
        )
    );
    assert_eq!(
        unsafe { &(*(0 as *const resvg_rect_f)).w as *const _ as usize },
        16usize,
        concat!(
            "Alignment of field: ",
            stringify!(resvg_rect_f),
            "::",
            stringify!(w)
        )
    );
    assert_eq!(
        unsafe { &(*(0 as *const resvg_rect_f)).h as *const _ as usize },
        24usize,
        concat!(
            "Alignment of field: ",
            stringify!(resvg_rect_f),
            "::",
            stringify!(h)
        )
    );
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum PenCapStyle {
    FlatCap = 0,
    SquareCap = 16,
    RoundCap = 32,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum PenJoinStyle {
    BevelJoin = 64,
    RoundJoin = 128,
    MiterJoin = 256,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum FillRule {
    OddEvenFill = 0,
    WindingFill = 1,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum Spread {
    PadSpread = 0,
    ReflectSpread = 1,
    RepeatSpread = 2,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum CoordinateMode {
    LogicalMode = 0,
    StretchToDeviceMode = 1,
    ObjectBoundingMode = 2,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum FontStyle {
    StyleNormal = 0,
    StyleItalic = 1,
    StyleOblique = 2,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum FontWeight {
    Thin = 0,
    ExtraLight = 12,
    Light = 25,
    Normal = 50,
    Medium = 57,
    DemiBold = 63,
    Bold = 75,
    ExtraBold = 81,
    Black = 87,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum FontStretch {
    UltraCondensed = 50,
    ExtraCondensed = 62,
    Condensed = 75,
    SemiCondensed = 87,
    Unstretched = 100,
    SemiExpanded = 112,
    Expanded = 125,
    ExtraExpanded = 150,
    UltraExpanded = 200,
}
extern "C" {
    pub fn qtc_create_gui(app_name: *const ::std::os::raw::c_char) -> *mut qtc_qguiapp;
}
extern "C" {
    pub fn qtc_destroy_gui(c_app: *mut qtc_qguiapp);
}
extern "C" {
    pub fn qtc_qimage_create(width: u32, height: u32) -> *mut qtc_qimage;
}
extern "C" {
    pub fn qtc_qimage_from_file(path: *const ::std::os::raw::c_char) -> *mut qtc_qimage;
}
extern "C" {
    pub fn qtc_qimage_from_data(data: *const u8, size: ::std::os::raw::c_int) -> *mut qtc_qimage;
}
extern "C" {
    pub fn qtc_qimage_resize(
        c_img: *mut qtc_qimage,
        width: ::std::os::raw::c_int,
        height: ::std::os::raw::c_int,
    ) -> *mut qtc_qimage;
}
extern "C" {
    pub fn qtc_qimage_fill(c_img: *mut qtc_qimage, r: u8, g: u8, b: u8, a: u8);
}
extern "C" {
    pub fn qtc_qimage_set_dpi(c_img: *mut qtc_qimage, dpi: f64);
}
extern "C" {
    pub fn qtc_qimage_save(c_img: *mut qtc_qimage, path: *const ::std::os::raw::c_char) -> bool;
}
extern "C" {
    pub fn qtc_qimage_destroy(c_img: *mut qtc_qimage);
}
extern "C" {
    pub fn qtc_qpainter_create(c_img: *mut qtc_qimage) -> *mut qtc_qpainter;
}
extern "C" {
    pub fn qtc_qpainter_set_font(c_p: *mut qtc_qpainter, c_f: *mut qtc_qfont);
}
extern "C" {
    pub fn qtc_qpainter_set_pen(c_p: *mut qtc_qpainter, c_pen: *mut qtc_qpen);
}
extern "C" {
    pub fn qtc_qpainter_reset_pen(c_p: *mut qtc_qpainter);
}
extern "C" {
    pub fn qtc_qpainter_set_brush(c_p: *mut qtc_qpainter, c_brush: *mut qtc_qbrush);
}
extern "C" {
    pub fn qtc_qpainter_reset_brush(c_p: *mut qtc_qpainter);
}
extern "C" {
    pub fn qtc_qpainter_set_opacity(c_p: *mut qtc_qpainter, opacity: f64);
}
extern "C" {
    pub fn qtc_qpainter_draw_path(c_p: *mut qtc_qpainter, c_pp: *mut qtc_qpainterpath);
}
extern "C" {
    pub fn qtc_qpainter_draw_image(c_p: *mut qtc_qpainter, x: f64, y: f64, c_img: *mut qtc_qimage);
}
extern "C" {
    pub fn qtc_qpainter_draw_text(
        c_p: *mut qtc_qpainter,
        x: f64,
        y: f64,
        c_text: *const ::std::os::raw::c_char,
    );
}
extern "C" {
    pub fn qtc_qpainter_scale(c_p: *mut qtc_qpainter, sx: f64, sy: f64);
}
extern "C" {
    pub fn qtc_qpainter_get_transform(c_p: *mut qtc_qpainter) -> *mut qtc_qtransform;
}
extern "C" {
    pub fn qtc_qpainter_set_transform(
        c_p: *mut qtc_qpainter,
        q_ts: *mut qtc_qtransform,
        combine: bool,
    );
}
extern "C" {
    pub fn qtc_qpainter_get_fontmetricsf(c_p: *mut qtc_qpainter) -> *mut qtc_qfontmetricsf;
}
extern "C" {
    pub fn qtc_qpainter_end(c_p: *mut qtc_qpainter);
}
extern "C" {
    pub fn qtc_qpainter_destroy(c_p: *mut qtc_qpainter);
}
extern "C" {
    pub fn qtc_qpainterpath_create() -> *mut qtc_qpainterpath;
}
extern "C" {
    pub fn qtc_qpainterpath_move_to(c_pp: *mut qtc_qpainterpath, x: f64, y: f64);
}
extern "C" {
    pub fn qtc_qpainterpath_line_to(c_pp: *mut qtc_qpainterpath, x: f64, y: f64);
}
extern "C" {
    pub fn qtc_qpainterpath_curve_to(
        c_pp: *mut qtc_qpainterpath,
        x1: f64,
        y1: f64,
        x2: f64,
        y2: f64,
        x: f64,
        y: f64,
    );
}
extern "C" {
    pub fn qtc_qpainterpath_close_path(c_pp: *mut qtc_qpainterpath);
}
extern "C" {
    pub fn qtc_qpainterpath_set_fill_rule(c_pp: *mut qtc_qpainterpath, rule: FillRule);
}
extern "C" {
    pub fn qtc_qpainterpath_destroy(c_pp: *mut qtc_qpainterpath);
}
extern "C" {
    pub fn qtc_qtransform_create() -> *mut qtc_qtransform;
}
extern "C" {
    pub fn qtc_qtransform_create_from(
        a: f64,
        b: f64,
        c: f64,
        d: f64,
        e: f64,
        f: f64,
    ) -> *mut qtc_qtransform;
}
extern "C" {
    pub fn qtc_qtransform_destroy(c_ts: *mut qtc_qtransform);
}
extern "C" {
    pub fn qtc_qpen_create() -> *mut qtc_qpen;
}
extern "C" {
    pub fn qtc_qpen_set_color(c_pen: *mut qtc_qpen, r: u8, g: u8, b: u8, a: u8);
}
extern "C" {
    pub fn qtc_qpen_set_brush(c_pen: *mut qtc_qpen, c_brush: *mut qtc_qbrush);
}
extern "C" {
    pub fn qtc_qpen_set_line_cap(c_pen: *mut qtc_qpen, s: PenCapStyle);
}
extern "C" {
    pub fn qtc_qpen_set_line_join(c_pen: *mut qtc_qpen, s: PenJoinStyle);
}
extern "C" {
    pub fn qtc_qpen_set_width(c_pen: *mut qtc_qpen, width: f64);
}
extern "C" {
    pub fn qtc_qpen_set_miter_limit(c_pen: *mut qtc_qpen, limit: f64);
}
extern "C" {
    pub fn qtc_qpen_set_dash_offset(c_pen: *mut qtc_qpen, offset: f64);
}
extern "C" {
    pub fn qtc_qpen_set_dash_array(
        c_pen: *mut qtc_qpen,
        array: *const f64,
        len: ::std::os::raw::c_int,
    );
}
extern "C" {
    pub fn qtc_qpen_destroy(c_pen: *mut qtc_qpen);
}
extern "C" {
    pub fn qtc_qbrush_create() -> *mut qtc_qbrush;
}
extern "C" {
    pub fn qtc_qbrush_set_color(c_brush: *mut qtc_qbrush, r: u8, g: u8, b: u8, a: u8);
}
extern "C" {
    pub fn qtc_qbrush_set_linear_gradient(c_brush: *mut qtc_qbrush, c_lg: *mut qtc_qlineargradient);
}
extern "C" {
    pub fn qtc_qbrush_set_radial_gradient(c_brush: *mut qtc_qbrush, c_rg: *mut qtc_qradialgradient);
}
extern "C" {
    pub fn qtc_qbrush_set_transform(c_brush: *mut qtc_qbrush, c_ts: *mut qtc_qtransform);
}
extern "C" {
    pub fn qtc_qbrush_destroy(c_brush: *mut qtc_qbrush);
}
extern "C" {
    pub fn qtc_qlineargradient_create(
        x1: f64,
        y1: f64,
        x2: f64,
        y2: f64,
    ) -> *mut qtc_qlineargradient;
}
extern "C" {
    pub fn qtc_qlineargradient_set_color_at(
        c_lg: *mut qtc_qlineargradient,
        offset: f64,
        r: u8,
        g: u8,
        b: u8,
        a: u8,
    );
}
extern "C" {
    pub fn qtc_qlineargradient_set_spread(c_lg: *mut qtc_qlineargradient, s: Spread);
}
extern "C" {
    pub fn qtc_qlineargradient_set_units(c_lg: *mut qtc_qlineargradient, s: CoordinateMode);
}
extern "C" {
    pub fn qtc_qlineargradient_destroy(c_lg: *mut qtc_qlineargradient);
}
extern "C" {
    pub fn qtc_qradialgradient_create(
        cx: f64,
        cy: f64,
        fx: f64,
        fy: f64,
        r: f64,
    ) -> *mut qtc_qradialgradient;
}
extern "C" {
    pub fn qtc_qradialgradient_set_color_at(
        c_rg: *mut qtc_qradialgradient,
        offset: f64,
        r: u8,
        g: u8,
        b: u8,
        a: u8,
    );
}
extern "C" {
    pub fn qtc_qradialgradient_set_spread(c_rg: *mut qtc_qradialgradient, s: Spread);
}
extern "C" {
    pub fn qtc_qradialgradient_set_units(c_rg: *mut qtc_qradialgradient, s: CoordinateMode);
}
extern "C" {
    pub fn qtc_qradialgradient_destroy(c_rg: *mut qtc_qradialgradient);
}
extern "C" {
    pub fn qtc_qfont_create() -> *mut qtc_qfont;
}
extern "C" {
    pub fn qtc_qfont_set_family(c_f: *mut qtc_qfont, family: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn qtc_qfont_set_style(c_f: *mut qtc_qfont, style: FontStyle);
}
extern "C" {
    pub fn qtc_qfont_set_small_caps(c_f: *mut qtc_qfont, flag: bool);
}
extern "C" {
    pub fn qtc_qfont_set_weight(c_f: *mut qtc_qfont, weight: FontWeight);
}
extern "C" {
    pub fn qtc_qfont_set_stretch(c_f: *mut qtc_qfont, stretch: FontStretch);
}
extern "C" {
    pub fn qtc_qfont_set_size(c_f: *mut qtc_qfont, size: f64);
}
extern "C" {
    pub fn qtc_qfont_print_debug(c_f: *mut qtc_qfont);
}
extern "C" {
    pub fn qtc_qfont_destroy(c_f: *mut qtc_qfont);
}
extern "C" {
    pub fn qtc_qfontmetricsf_height(c_fm: *mut qtc_qfontmetricsf) -> f64;
}
extern "C" {
    pub fn qtc_qfontmetricsf_width(
        c_fm: *mut qtc_qfontmetricsf,
        text: *const ::std::os::raw::c_char,
    ) -> f64;
}
extern "C" {
    pub fn qtc_qfontmetricsf_full_width(
        c_fm: *mut qtc_qfontmetricsf,
        text: *const ::std::os::raw::c_char,
    ) -> f64;
}
extern "C" {
    pub fn qtc_qfontmetricsf_get_bbox(
        c_fm: *mut qtc_qfontmetricsf,
        text: *const ::std::os::raw::c_char,
    ) -> resvg_rect_f;
}
extern "C" {
    pub fn qtc_qfontmetricsf_get_ascent(c_fm: *mut qtc_qfontmetricsf) -> f64;
}
extern "C" {
    pub fn qtc_qfontmetricsf_get_underline_pos(c_fm: *mut qtc_qfontmetricsf) -> f64;
}
extern "C" {
    pub fn qtc_qfontmetricsf_get_overline_pos(c_fm: *mut qtc_qfontmetricsf) -> f64;
}
extern "C" {
    pub fn qtc_qfontmetricsf_get_strikeout_pos(c_fm: *mut qtc_qfontmetricsf) -> f64;
}
extern "C" {
    pub fn qtc_qfontmetricsf_get_line_width(c_fm: *mut qtc_qfontmetricsf) -> f64;
}
extern "C" {
    pub fn qtc_qfontmetricsf_destroy(c_fm: *mut qtc_qfontmetricsf);
}