ckia_sys 121.0.0

c bindings crate for skia
Documentation
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
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
/* automatically generated by rust-bindgen 0.69.1 */

pub const _VCRT_COMPILER_PREPROCESSOR: u32 = 1;
pub const _SAL_VERSION: u32 = 20;
pub const __SAL_H_VERSION: u32 = 180000000;
pub const _USE_DECLSPECS_FOR_SAL: u32 = 0;
pub const _USE_ATTRIBUTES_FOR_SAL: u32 = 0;
pub const _CRT_PACKING: u32 = 8;
pub const _HAS_EXCEPTIONS: u32 = 1;
pub const _STL_LANG: u32 = 0;
pub const _HAS_CXX17: u32 = 0;
pub const _HAS_CXX20: u32 = 0;
pub const _HAS_CXX23: u32 = 0;
pub const _HAS_NODISCARD: u32 = 0;
pub const WCHAR_MIN: u32 = 0;
pub const WCHAR_MAX: u32 = 65535;
pub const WINT_MIN: u32 = 0;
pub const WINT_MAX: u32 = 65535;
pub const __bool_true_false_are_defined: u32 = 1;
pub const true_: u32 = 1;
pub const false_: u32 = 0;
pub const SK_C_INCREMENT: u32 = 0;
pub const FONTMETRICS_FLAGS_UNDERLINE_THICKNESS_IS_VALID: u32 = 1;
pub const FONTMETRICS_FLAGS_UNDERLINE_POSITION_IS_VALID: u32 = 2;
pub type wchar_t = ::std::os::raw::c_ushort;
pub type max_align_t = f64;
pub type va_list = *mut ::std::os::raw::c_char;
pub type __vcrt_bool = bool;
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_longlong;
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_ulonglong;
pub type int_fast8_t = ::std::os::raw::c_schar;
pub type int_fast16_t = ::std::os::raw::c_int;
pub type int_fast32_t = ::std::os::raw::c_int;
pub type int_fast64_t = ::std::os::raw::c_longlong;
pub type uint_fast8_t = ::std::os::raw::c_uchar;
pub type uint_fast16_t = ::std::os::raw::c_uint;
pub type uint_fast32_t = ::std::os::raw::c_uint;
pub type uint_fast64_t = ::std::os::raw::c_ulonglong;
pub type intmax_t = ::std::os::raw::c_longlong;
pub type uintmax_t = ::std::os::raw::c_ulonglong;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_refcnt_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_nvrefcnt_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_flattenable_t {
    _unused: [u8; 0],
}
pub type sk_color_t = u32;
pub type sk_pmcolor_t = u32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_color4f_t {
    pub fR: f32,
    pub fG: f32,
    pub fB: f32,
    pub fA: f32,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_colortype_t {
    UNKNOWN_SK_COLORTYPE = 0,
    ALPHA_8_SK_COLORTYPE = 1,
    RGB_565_SK_COLORTYPE = 2,
    ARGB_4444_SK_COLORTYPE = 3,
    RGBA_8888_SK_COLORTYPE = 4,
    RGB_888X_SK_COLORTYPE = 5,
    BGRA_8888_SK_COLORTYPE = 6,
    RGBA_1010102_SK_COLORTYPE = 7,
    BGRA_1010102_SK_COLORTYPE = 8,
    RGB_101010X_SK_COLORTYPE = 9,
    BGR_101010X_SK_COLORTYPE = 10,
    BGR_101010X_XR_SK_COLORTYPE = 11,
    RGBA_10X6_SK_COLORTYPE = 12,
    GRAY_8_SK_COLORTYPE = 13,
    RGBA_F16_NORM_SK_COLORTYPE = 14,
    RGBA_F16_SK_COLORTYPE = 15,
    RGBA_F32_SK_COLORTYPE = 16,
    R8G8_UNORM_SK_COLORTYPE = 17,
    A16_FLOAT_SK_COLORTYPE = 18,
    R16G16_FLOAT_SK_COLORTYPE = 19,
    A16_UNORM_SK_COLORTYPE = 20,
    R16G16_UNORM_SK_COLORTYPE = 21,
    R16G16B16A16_UNORM_SK_COLORTYPE = 22,
    SRGBA_8888_SK_COLORTYPE = 23,
    R8_UNORM_SK_COLORTYPE = 24,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_alphatype_t {
    UNKNOWN_SK_ALPHATYPE = 0,
    OPAQUE_SK_ALPHATYPE = 1,
    PREMUL_SK_ALPHATYPE = 2,
    UNPREMUL_SK_ALPHATYPE = 3,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_pixelgeometry_t {
    UNKNOWN_SK_PIXELGEOMETRY = 0,
    RGB_H_SK_PIXELGEOMETRY = 1,
    BGR_H_SK_PIXELGEOMETRY = 2,
    RGB_V_SK_PIXELGEOMETRY = 3,
    BGR_V_SK_PIXELGEOMETRY = 4,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_surfaceprops_flags_t {
    NONE_SK_SURFACE_PROPS_FLAGS = 0,
    USE_DEVICE_INDEPENDENT_FONTS_SK_SURFACE_PROPS_FLAGS = 1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_surfaceprops_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_point_t {
    pub x: f32,
    pub y: f32,
}
pub type sk_vector_t = sk_point_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_irect_t {
    pub left: i32,
    pub top: i32,
    pub right: i32,
    pub bottom: i32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_rect_t {
    pub left: f32,
    pub top: f32,
    pub right: f32,
    pub bottom: f32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_matrix_t {
    pub scaleX: f32,
    pub skewX: f32,
    pub transX: f32,
    pub skewY: f32,
    pub scaleY: f32,
    pub transY: f32,
    pub persp0: f32,
    pub persp1: f32,
    pub persp2: f32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_matrix44_t {
    pub m00: f32,
    pub m01: f32,
    pub m02: f32,
    pub m03: f32,
    pub m10: f32,
    pub m11: f32,
    pub m12: f32,
    pub m13: f32,
    pub m20: f32,
    pub m21: f32,
    pub m22: f32,
    pub m23: f32,
    pub m30: f32,
    pub m31: f32,
    pub m32: f32,
    pub m33: f32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_canvas_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_nodraw_canvas_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_nway_canvas_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_overdraw_canvas_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_data_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_drawable_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_image_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_maskfilter_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_paint_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_font_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_path_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_picture_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_picture_recorder_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_shader_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_surface_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_region_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_region_iterator_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_region_cliperator_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_region_spanerator_t {
    _unused: [u8; 0],
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_blendmode_t {
    CLEAR_SK_BLENDMODE = 0,
    SRC_SK_BLENDMODE = 1,
    DST_SK_BLENDMODE = 2,
    SRCOVER_SK_BLENDMODE = 3,
    DSTOVER_SK_BLENDMODE = 4,
    SRCIN_SK_BLENDMODE = 5,
    DSTIN_SK_BLENDMODE = 6,
    SRCOUT_SK_BLENDMODE = 7,
    DSTOUT_SK_BLENDMODE = 8,
    SRCATOP_SK_BLENDMODE = 9,
    DSTATOP_SK_BLENDMODE = 10,
    XOR_SK_BLENDMODE = 11,
    PLUS_SK_BLENDMODE = 12,
    MODULATE_SK_BLENDMODE = 13,
    SCREEN_SK_BLENDMODE = 14,
    OVERLAY_SK_BLENDMODE = 15,
    DARKEN_SK_BLENDMODE = 16,
    LIGHTEN_SK_BLENDMODE = 17,
    COLORDODGE_SK_BLENDMODE = 18,
    COLORBURN_SK_BLENDMODE = 19,
    HARDLIGHT_SK_BLENDMODE = 20,
    SOFTLIGHT_SK_BLENDMODE = 21,
    DIFFERENCE_SK_BLENDMODE = 22,
    EXCLUSION_SK_BLENDMODE = 23,
    MULTIPLY_SK_BLENDMODE = 24,
    HUE_SK_BLENDMODE = 25,
    SATURATION_SK_BLENDMODE = 26,
    COLOR_SK_BLENDMODE = 27,
    LUMINOSITY_SK_BLENDMODE = 28,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_point3_t {
    pub x: f32,
    pub y: f32,
    pub z: f32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_ipoint_t {
    pub x: i32,
    pub y: i32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_size_t {
    pub w: f32,
    pub h: f32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_isize_t {
    pub w: i32,
    pub h: i32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_fontmetrics_t {
    pub fFlags: u32,
    pub fTop: f32,
    pub fAscent: f32,
    pub fDescent: f32,
    pub fBottom: f32,
    pub fLeading: f32,
    pub fAvgCharWidth: f32,
    pub fMaxCharWidth: f32,
    pub fXMin: f32,
    pub fXMax: f32,
    pub fXHeight: f32,
    pub fCapHeight: f32,
    pub fUnderlineThickness: f32,
    pub fUnderlinePosition: f32,
    pub fStrikeoutThickness: f32,
    pub fStrikeoutPosition: f32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_string_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_bitmap_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_pixmap_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_colorfilter_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_imagefilter_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_typeface_t {
    _unused: [u8; 0],
}
pub type sk_font_table_tag_t = u32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_fontmgr_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_fontstyle_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_fontstyleset_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_codec_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_colorspace_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_stream_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_stream_filestream_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_stream_asset_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_stream_memorystream_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_stream_streamrewindable_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_wstream_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_wstream_filestream_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_wstream_dynamicmemorystream_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_document_t {
    _unused: [u8; 0],
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_point_mode_t {
    POINTS_SK_POINT_MODE = 0,
    LINES_SK_POINT_MODE = 1,
    POLYGON_SK_POINT_MODE = 2,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_text_align_t {
    LEFT_SK_TEXT_ALIGN = 0,
    CENTER_SK_TEXT_ALIGN = 1,
    RIGHT_SK_TEXT_ALIGN = 2,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_text_encoding_t {
    UTF8_SK_TEXT_ENCODING = 0,
    UTF16_SK_TEXT_ENCODING = 1,
    UTF32_SK_TEXT_ENCODING = 2,
    GLYPH_ID_SK_TEXT_ENCODING = 3,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_path_filltype_t {
    WINDING_SK_PATH_FILLTYPE = 0,
    EVENODD_SK_PATH_FILLTYPE = 1,
    INVERSE_WINDING_SK_PATH_FILLTYPE = 2,
    INVERSE_EVENODD_SK_PATH_FILLTYPE = 3,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_font_style_slant_t {
    UPRIGHT_SK_FONT_STYLE_SLANT = 0,
    ITALIC_SK_FONT_STYLE_SLANT = 1,
    OBLIQUE_SK_FONT_STYLE_SLANT = 2,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_color_channel_t {
    R_SK_COLOR_CHANNEL = 0,
    G_SK_COLOR_CHANNEL = 1,
    B_SK_COLOR_CHANNEL = 2,
    A_SK_COLOR_CHANNEL = 3,
}
#[repr(i32)]
#[doc = "The logical operations that can be performed when combining two regions."]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_region_op_t {
    #[doc = "!< subtract the op region from the first region"]
    DIFFERENCE_SK_REGION_OP = 0,
    #[doc = "!< intersect the two regions"]
    INTERSECT_SK_REGION_OP = 1,
    #[doc = "!< union (inclusive-or) the two regions"]
    UNION_SK_REGION_OP = 2,
    #[doc = "!< exclusive-or the two regions"]
    XOR_SK_REGION_OP = 3,
    #[doc = "!< subtract the first region from the op region"]
    REVERSE_DIFFERENCE_SK_REGION_OP = 4,
    #[doc = "!< replace the dst region with the op region"]
    REPLACE_SK_REGION_OP = 5,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_clipop_t {
    DIFFERENCE_SK_CLIPOP = 0,
    INTERSECT_SK_CLIPOP = 1,
}
#[repr(i32)]
#[doc = "  Enum describing format of encoded data."]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_encoded_image_format_t {
    BMP_SK_ENCODED_FORMAT = 0,
    GIF_SK_ENCODED_FORMAT = 1,
    ICO_SK_ENCODED_FORMAT = 2,
    JPEG_SK_ENCODED_FORMAT = 3,
    PNG_SK_ENCODED_FORMAT = 4,
    WBMP_SK_ENCODED_FORMAT = 5,
    WEBP_SK_ENCODED_FORMAT = 6,
    PKM_SK_ENCODED_FORMAT = 7,
    KTX_SK_ENCODED_FORMAT = 8,
    ASTC_SK_ENCODED_FORMAT = 9,
    DNG_SK_ENCODED_FORMAT = 10,
    HEIF_SK_ENCODED_FORMAT = 11,
    AVIF_SK_ENCODED_FORMAT = 12,
    JPEGXL_SK_ENCODED_FORMAT = 13,
}
impl sk_encodedorigin_t {
    pub const DEFAULT_SK_ENCODED_ORIGIN: sk_encodedorigin_t =
        sk_encodedorigin_t::TOP_LEFT_SK_ENCODED_ORIGIN;
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_encodedorigin_t {
    TOP_LEFT_SK_ENCODED_ORIGIN = 1,
    TOP_RIGHT_SK_ENCODED_ORIGIN = 2,
    BOTTOM_RIGHT_SK_ENCODED_ORIGIN = 3,
    BOTTOM_LEFT_SK_ENCODED_ORIGIN = 4,
    LEFT_TOP_SK_ENCODED_ORIGIN = 5,
    RIGHT_TOP_SK_ENCODED_ORIGIN = 6,
    RIGHT_BOTTOM_SK_ENCODED_ORIGIN = 7,
    LEFT_BOTTOM_SK_ENCODED_ORIGIN = 8,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_codec_result_t {
    SUCCESS_SK_CODEC_RESULT = 0,
    INCOMPLETE_INPUT_SK_CODEC_RESULT = 1,
    ERROR_IN_INPUT_SK_CODEC_RESULT = 2,
    INVALID_CONVERSION_SK_CODEC_RESULT = 3,
    INVALID_SCALE_SK_CODEC_RESULT = 4,
    INVALID_PARAMETERS_SK_CODEC_RESULT = 5,
    INVALID_INPUT_SK_CODEC_RESULT = 6,
    COULD_NOT_REWIND_SK_CODEC_RESULT = 7,
    INTERNAL_ERROR_SK_CODEC_RESULT = 8,
    UNIMPLEMENTED_SK_CODEC_RESULT = 9,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_codec_zero_initialized_t {
    YES_SK_CODEC_ZERO_INITIALIZED = 0,
    NO_SK_CODEC_ZERO_INITIALIZED = 1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_codec_options_t {
    pub fZeroInitialized: sk_codec_zero_initialized_t,
    pub fSubset: *mut sk_irect_t,
    pub fFrameIndex: ::std::os::raw::c_int,
    pub fPriorFrame: ::std::os::raw::c_int,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_codec_scanline_order_t {
    TOP_DOWN_SK_CODEC_SCANLINE_ORDER = 0,
    BOTTOM_UP_SK_CODEC_SCANLINE_ORDER = 1,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_path_verb_t {
    MOVE_SK_PATH_VERB = 0,
    LINE_SK_PATH_VERB = 1,
    QUAD_SK_PATH_VERB = 2,
    CONIC_SK_PATH_VERB = 3,
    CUBIC_SK_PATH_VERB = 4,
    CLOSE_SK_PATH_VERB = 5,
    DONE_SK_PATH_VERB = 6,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_path_iterator_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_path_rawiterator_t {
    _unused: [u8; 0],
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_path_add_mode_t {
    APPEND_SK_PATH_ADD_MODE = 0,
    EXTEND_SK_PATH_ADD_MODE = 1,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_path_segment_mask_t {
    LINE_SK_PATH_SEGMENT_MASK = 1,
    QUAD_SK_PATH_SEGMENT_MASK = 2,
    CONIC_SK_PATH_SEGMENT_MASK = 4,
    CUBIC_SK_PATH_SEGMENT_MASK = 8,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_path_effect_1d_style_t {
    TRANSLATE_SK_PATH_EFFECT_1D_STYLE = 0,
    ROTATE_SK_PATH_EFFECT_1D_STYLE = 1,
    MORPH_SK_PATH_EFFECT_1D_STYLE = 2,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_path_effect_trim_mode_t {
    NORMAL_SK_PATH_EFFECT_TRIM_MODE = 0,
    INVERTED_SK_PATH_EFFECT_TRIM_MODE = 1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_path_effect_t {
    _unused: [u8; 0],
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_stroke_cap_t {
    BUTT_SK_STROKE_CAP = 0,
    ROUND_SK_STROKE_CAP = 1,
    SQUARE_SK_STROKE_CAP = 2,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_stroke_join_t {
    MITER_SK_STROKE_JOIN = 0,
    ROUND_SK_STROKE_JOIN = 1,
    BEVEL_SK_STROKE_JOIN = 2,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_shader_tilemode_t {
    CLAMP_SK_SHADER_TILEMODE = 0,
    REPEAT_SK_SHADER_TILEMODE = 1,
    MIRROR_SK_SHADER_TILEMODE = 2,
    DECAL_SK_SHADER_TILEMODE = 3,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_blurstyle_t {
    #[doc = "!< fuzzy inside and outside"]
    NORMAL_SK_BLUR_STYLE = 0,
    #[doc = "!< solid inside, fuzzy outside"]
    SOLID_SK_BLUR_STYLE = 1,
    #[doc = "!< nothing inside, fuzzy outside"]
    OUTER_SK_BLUR_STYLE = 2,
    #[doc = "!< fuzzy inside, nothing outside"]
    INNER_SK_BLUR_STYLE = 3,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_path_direction_t {
    CW_SK_PATH_DIRECTION = 0,
    CCW_SK_PATH_DIRECTION = 1,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_path_arc_size_t {
    SMALL_SK_PATH_ARC_SIZE = 0,
    LARGE_SK_PATH_ARC_SIZE = 1,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_paint_style_t {
    FILL_SK_PAINT_STYLE = 0,
    STROKE_SK_PAINT_STYLE = 1,
    STROKE_AND_FILL_SK_PAINT_STYLE = 2,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_font_hinting_t {
    NONE_SK_FONT_HINTING = 0,
    SLIGHT_SK_FONT_HINTING = 1,
    NORMAL_SK_FONT_HINTING = 2,
    FULL_SK_FONT_HINTING = 3,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_font_edging_t {
    ALIAS_SK_FONT_EDGING = 0,
    ANTIALIAS_SK_FONT_EDGING = 1,
    SUBPIXEL_ANTIALIAS_SK_FONT_EDGING = 2,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_pixelref_factory_t {
    _unused: [u8; 0],
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum gr_surfaceorigin_t {
    TOP_LEFT_GR_SURFACE_ORIGIN = 0,
    BOTTOM_LEFT_GR_SURFACE_ORIGIN = 1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gr_context_options_t {
    pub fAvoidStencilBuffers: bool,
    pub fRuntimeProgramCacheSize: ::std::os::raw::c_int,
    pub fGlyphCacheTextureMaximumBytes: usize,
    pub fAllowPathMaskCaching: bool,
    pub fDoManualMipmapping: bool,
    pub fBufferMapThreshold: ::std::os::raw::c_int,
}
pub type gr_backendobject_t = isize;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gr_backendrendertarget_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gr_backendtexture_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gr_direct_context_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gr_recording_context_t {
    _unused: [u8; 0],
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum gr_backend_t {
    OPENGL_GR_BACKEND = 0,
    VULKAN_GR_BACKEND = 1,
    METAL_GR_BACKEND = 2,
    DIRECT3D_GR_BACKEND = 3,
    DAWN_GR_BACKEND = 4,
}
pub type gr_backendcontext_t = isize;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gr_glinterface_t {
    _unused: [u8; 0],
}
pub type gr_gl_func_ptr = ::std::option::Option<unsafe extern "C" fn()>;
pub type gr_gl_get_proc = ::std::option::Option<
    unsafe extern "C" fn(
        ctx: *mut ::std::os::raw::c_void,
        name: *const ::std::os::raw::c_char,
    ) -> gr_gl_func_ptr,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gr_gl_textureinfo_t {
    pub fTarget: ::std::os::raw::c_uint,
    pub fID: ::std::os::raw::c_uint,
    pub fFormat: ::std::os::raw::c_uint,
    pub fProtected: bool,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gr_gl_framebufferinfo_t {
    pub fFBOID: ::std::os::raw::c_uint,
    pub fFormat: ::std::os::raw::c_uint,
    pub fProtected: bool,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct vk_instance_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gr_vkinterface_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct vk_physical_device_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct vk_physical_device_features_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct vk_physical_device_features_2_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct vk_device_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct vk_queue_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gr_vk_extensions_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gr_vk_memory_allocator_t {
    _unused: [u8; 0],
}
pub type gr_vk_func_ptr = ::std::option::Option<unsafe extern "C" fn()>;
pub type gr_vk_get_proc = ::std::option::Option<
    unsafe extern "system" fn(
        ctx: *mut ::std::os::raw::c_void,
        name: *const ::std::os::raw::c_char,
        instance: *mut vk_instance_t,
        device: *mut vk_device_t,
    ) -> gr_vk_func_ptr,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gr_vk_backendcontext_t {
    pub fInstance: *mut vk_instance_t,
    pub fPhysicalDevice: *mut vk_physical_device_t,
    pub fDevice: *mut vk_device_t,
    pub fQueue: *mut vk_queue_t,
    pub fGraphicsQueueIndex: u32,
    pub fMinAPIVersion: u32,
    pub fInstanceVersion: u32,
    pub fMaxAPIVersion: u32,
    pub fExtensions: u32,
    pub fVkExtensions: *const gr_vk_extensions_t,
    pub fFeatures: u32,
    pub fDeviceFeatures: *const vk_physical_device_features_t,
    pub fDeviceFeatures2: *const vk_physical_device_features_2_t,
    pub fMemoryAllocator: *mut gr_vk_memory_allocator_t,
    pub fGetProc: gr_vk_get_proc,
    pub fGetProcUserData: *mut ::std::os::raw::c_void,
    pub fOwnsInstanceAndDevice: bool,
    pub fProtectedContext: bool,
}
pub type gr_vk_backendmemory_t = isize;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gr_vk_alloc_t {
    pub fMemory: u64,
    pub fOffset: u64,
    pub fSize: u64,
    pub fFlags: u32,
    pub fBackendMemory: gr_vk_backendmemory_t,
    pub _private_fUsesSystemHeap: bool,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gr_vk_ycbcrconversioninfo_t {
    pub fFormat: u32,
    pub fExternalFormat: u64,
    pub fYcbcrModel: u32,
    pub fYcbcrRange: u32,
    pub fXChromaOffset: u32,
    pub fYChromaOffset: u32,
    pub fChromaFilter: u32,
    pub fForceExplicitReconstruction: u32,
    pub fFormatFeatures: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gr_vk_imageinfo_t {
    pub fImage: u64,
    pub fAlloc: gr_vk_alloc_t,
    pub fImageTiling: u32,
    pub fImageLayout: u32,
    pub fFormat: u32,
    pub fImageUsageFlags: u32,
    pub fSampleCount: u32,
    pub fLevelCount: u32,
    pub fCurrentQueueFamily: u32,
    pub fProtected: bool,
    pub fYcbcrConversionInfo: gr_vk_ycbcrconversioninfo_t,
    pub fSharingMode: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gr_mtl_textureinfo_t {
    pub fTexture: *const ::std::os::raw::c_void,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_pathop_t {
    DIFFERENCE_SK_PATHOP = 0,
    INTERSECT_SK_PATHOP = 1,
    UNION_SK_PATHOP = 2,
    XOR_SK_PATHOP = 3,
    REVERSE_DIFFERENCE_SK_PATHOP = 4,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_opbuilder_t {
    _unused: [u8; 0],
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_lattice_recttype_t {
    DEFAULT_SK_LATTICE_RECT_TYPE = 0,
    TRANSPARENT_SK_LATTICE_RECT_TYPE = 1,
    FIXED_COLOR_SK_LATTICE_RECT_TYPE = 2,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_lattice_t {
    pub fXDivs: *const ::std::os::raw::c_int,
    pub fYDivs: *const ::std::os::raw::c_int,
    pub fRectTypes: *const sk_lattice_recttype_t,
    pub fXCount: ::std::os::raw::c_int,
    pub fYCount: ::std::os::raw::c_int,
    pub fBounds: *const sk_irect_t,
    pub fColors: *const sk_color_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_pathmeasure_t {
    _unused: [u8; 0],
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_pathmeasure_matrixflags_t {
    GET_POSITION_SK_PATHMEASURE_MATRIXFLAGS = 1,
    GET_TANGENT_SK_PATHMEASURE_MATRIXFLAGS = 2,
    GET_POS_AND_TAN_SK_PATHMEASURE_MATRIXFLAGS = 3,
}
pub type sk_bitmap_release_proc = ::std::option::Option<
    unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void, context: *mut ::std::os::raw::c_void),
>;
pub type sk_data_release_proc = ::std::option::Option<
    unsafe extern "C" fn(ptr: *const ::std::os::raw::c_void, context: *mut ::std::os::raw::c_void),
>;
pub type sk_image_raster_release_proc = ::std::option::Option<
    unsafe extern "C" fn(addr: *const ::std::os::raw::c_void, context: *mut ::std::os::raw::c_void),
>;
pub type sk_image_texture_release_proc =
    ::std::option::Option<unsafe extern "C" fn(context: *mut ::std::os::raw::c_void)>;
pub type sk_surface_raster_release_proc = ::std::option::Option<
    unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void, context: *mut ::std::os::raw::c_void),
>;
pub type sk_glyph_path_proc = ::std::option::Option<
    unsafe extern "C" fn(
        pathOrNull: *const sk_path_t,
        matrix: *const sk_matrix_t,
        context: *mut ::std::os::raw::c_void,
    ),
>;
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_image_caching_hint_t {
    ALLOW_SK_IMAGE_CACHING_HINT = 0,
    DISALLOW_SK_IMAGE_CACHING_HINT = 1,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_bitmap_allocflags_t {
    NONE_SK_BITMAP_ALLOC_FLAGS = 0,
    ZERO_PIXELS_SK_BITMAP_ALLOC_FLAGS = 1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_time_datetime_t {
    pub fTimeZoneMinutes: i16,
    pub fYear: u16,
    pub fMonth: u8,
    pub fDayOfWeek: u8,
    pub fDay: u8,
    pub fHour: u8,
    pub fMinute: u8,
    pub fSecond: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_document_pdf_metadata_t {
    pub fTitle: *mut sk_string_t,
    pub fAuthor: *mut sk_string_t,
    pub fSubject: *mut sk_string_t,
    pub fKeywords: *mut sk_string_t,
    pub fCreator: *mut sk_string_t,
    pub fProducer: *mut sk_string_t,
    pub fCreation: *mut sk_time_datetime_t,
    pub fModified: *mut sk_time_datetime_t,
    pub fRasterDPI: f32,
    pub fPDFA: bool,
    pub fEncodingQuality: ::std::os::raw::c_int,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_imageinfo_t {
    pub colorspace: *mut sk_colorspace_t,
    pub width: i32,
    pub height: i32,
    pub colorType: sk_colortype_t,
    pub alphaType: sk_alphatype_t,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_codecanimation_disposalmethod_t {
    KEEP_SK_CODEC_ANIMATION_DISPOSAL_METHOD = 1,
    RESTORE_BG_COLOR_SK_CODEC_ANIMATION_DISPOSAL_METHOD = 2,
    RESTORE_PREVIOUS_SK_CODEC_ANIMATION_DISPOSAL_METHOD = 3,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_codecanimation_blend_t {
    SRC_OVER_SK_CODEC_ANIMATION_BLEND = 0,
    SRC_SK_CODEC_ANIMATION_BLEND = 1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_codec_frameinfo_t {
    pub fRequiredFrame: ::std::os::raw::c_int,
    pub fDuration: ::std::os::raw::c_int,
    pub fFullyReceived: bool,
    pub fAlphaType: sk_alphatype_t,
    pub fHasAlphaWithinBounds: bool,
    pub fDisposalMethod: sk_codecanimation_disposalmethod_t,
    pub fBlend: sk_codecanimation_blend_t,
    pub fFrameRect: sk_irect_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_svgcanvas_t {
    _unused: [u8; 0],
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_vertices_vertex_mode_t {
    TRIANGLES_SK_VERTICES_VERTEX_MODE = 0,
    TRIANGLE_STRIP_SK_VERTICES_VERTEX_MODE = 1,
    TRIANGLE_FAN_SK_VERTICES_VERTEX_MODE = 2,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_vertices_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_colorspace_transfer_fn_t {
    pub fG: f32,
    pub fA: f32,
    pub fB: f32,
    pub fC: f32,
    pub fD: f32,
    pub fE: f32,
    pub fF: f32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_colorspace_primaries_t {
    pub fRX: f32,
    pub fRY: f32,
    pub fGX: f32,
    pub fGY: f32,
    pub fBX: f32,
    pub fBY: f32,
    pub fWX: f32,
    pub fWY: f32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_colorspace_xyz_t {
    pub fM00: f32,
    pub fM01: f32,
    pub fM02: f32,
    pub fM10: f32,
    pub fM11: f32,
    pub fM12: f32,
    pub fM20: f32,
    pub fM21: f32,
    pub fM22: f32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_colorspace_icc_profile_t {
    _unused: [u8; 0],
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_highcontrastconfig_invertstyle_t {
    NO_INVERT_SK_HIGH_CONTRAST_CONFIG_INVERT_STYLE = 0,
    INVERT_BRIGHTNESS_SK_HIGH_CONTRAST_CONFIG_INVERT_STYLE = 1,
    INVERT_LIGHTNESS_SK_HIGH_CONTRAST_CONFIG_INVERT_STYLE = 2,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_highcontrastconfig_t {
    pub fGrayscale: bool,
    pub fInvertStyle: sk_highcontrastconfig_invertstyle_t,
    pub fContrast: f32,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_pngencoder_filterflags_t {
    ZERO_SK_PNGENCODER_FILTER_FLAGS = 0,
    NONE_SK_PNGENCODER_FILTER_FLAGS = 8,
    SUB_SK_PNGENCODER_FILTER_FLAGS = 16,
    UP_SK_PNGENCODER_FILTER_FLAGS = 32,
    AVG_SK_PNGENCODER_FILTER_FLAGS = 64,
    PAETH_SK_PNGENCODER_FILTER_FLAGS = 128,
    ALL_SK_PNGENCODER_FILTER_FLAGS = 248,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_pngencoder_options_t {
    pub fFilterFlags: sk_pngencoder_filterflags_t,
    pub fZLibLevel: ::std::os::raw::c_int,
    pub fComments: *mut ::std::os::raw::c_void,
    pub fICCProfile: *const sk_colorspace_icc_profile_t,
    pub fICCProfileDescription: *const ::std::os::raw::c_char,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_jpegencoder_downsample_t {
    DOWNSAMPLE_420_SK_JPEGENCODER_DOWNSAMPLE = 0,
    DOWNSAMPLE_422_SK_JPEGENCODER_DOWNSAMPLE = 1,
    DOWNSAMPLE_444_SK_JPEGENCODER_DOWNSAMPLE = 2,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_jpegencoder_alphaoption_t {
    IGNORE_SK_JPEGENCODER_ALPHA_OPTION = 0,
    BLEND_ON_BLACK_SK_JPEGENCODER_ALPHA_OPTION = 1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_jpegencoder_options_t {
    pub fQuality: ::std::os::raw::c_int,
    pub fDownsample: sk_jpegencoder_downsample_t,
    pub fAlphaOption: sk_jpegencoder_alphaoption_t,
    pub xmpMetadata: *const sk_data_t,
    pub fICCProfile: *const sk_colorspace_icc_profile_t,
    pub fICCProfileDescription: *const ::std::os::raw::c_char,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_webpencoder_compression_t {
    LOSSY_SK_WEBPENCODER_COMPTRESSION = 0,
    LOSSLESS_SK_WEBPENCODER_COMPTRESSION = 1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_webpencoder_options_t {
    pub fCompression: sk_webpencoder_compression_t,
    pub fQuality: f32,
    pub fICCProfile: *const sk_colorspace_icc_profile_t,
    pub fICCProfileDescription: *const ::std::os::raw::c_char,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_rrect_t {
    _unused: [u8; 0],
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_rrect_type_t {
    EMPTY_SK_RRECT_TYPE = 0,
    RECT_SK_RRECT_TYPE = 1,
    OVAL_SK_RRECT_TYPE = 2,
    SIMPLE_SK_RRECT_TYPE = 3,
    NINE_PATCH_SK_RRECT_TYPE = 4,
    COMPLEX_SK_RRECT_TYPE = 5,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_rrect_corner_t {
    UPPER_LEFT_SK_RRECT_CORNER = 0,
    UPPER_RIGHT_SK_RRECT_CORNER = 1,
    LOWER_RIGHT_SK_RRECT_CORNER = 2,
    LOWER_LEFT_SK_RRECT_CORNER = 3,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_textblob_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_textblob_builder_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_textblob_builder_runbuffer_t {
    pub glyphs: *mut ::std::os::raw::c_void,
    pub pos: *mut ::std::os::raw::c_void,
    pub utf8text: *mut ::std::os::raw::c_void,
    pub clusters: *mut ::std::os::raw::c_void,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_rsxform_t {
    pub fSCos: f32,
    pub fSSin: f32,
    pub fTX: f32,
    pub fTY: f32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_tracememorydump_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_runtimeeffect_t {
    _unused: [u8; 0],
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_runtimeeffect_uniform_type_t {
    FLOAT_SK_RUNTIMEEFFECT_UNIFORM_TYPE = 0,
    FLOAT2_SK_RUNTIMEEFFECT_UNIFORM_TYPE = 1,
    FLOAT3_SK_RUNTIMEEFFECT_UNIFORM_TYPE = 2,
    FLOAT4_SK_RUNTIMEEFFECT_UNIFORM_TYPE = 3,
    FLOAT2X2_SK_RUNTIMEEFFECT_UNIFORM_TYPE = 4,
    FLOAT3X3_SK_RUNTIMEEFFECT_UNIFORM_TYPE = 5,
    FLOAT4X4_SK_RUNTIMEEFFECT_UNIFORM_TYPE = 6,
    INT_SK_RUNTIMEEFFECT_UNIFORM_TYPE = 7,
    INT2_SK_RUNTIMEEFFECT_UNIFORM_TYPE = 8,
    INT3_SK_RUNTIMEEFFECT_UNIFORM_TYPE = 9,
    INT4_SK_RUNTIMEEFFECT_UNIFORM_TYPE = 10,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_runtimeeffect_child_type_t {
    SHADER_SK_RUNTIMEEFFECT_CHILD_TYPE = 0,
    COLOR_FILTER_SK_RUNTIMEEFFECT_CHILD_TYPE = 1,
    BLENDER_SK_RUNTIMEEFFECT_CHILD_TYPE = 2,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_runtimeeffect_uniform_flags_t {
    NONE_SK_RUNTIMEEFFECT_UNIFORM_FLAGS = 0,
    ARRAY_SK_RUNTIMEEFFECT_UNIFORM_FLAGS = 1,
    COLOR_SK_RUNTIMEEFFECT_UNIFORM_FLAGS = 2,
    VERTEX_SK_RUNTIMEEFFECT_UNIFORM_FLAGS = 4,
    FRAGMENT_SK_RUNTIMEEFFECT_UNIFORM_FLAGS = 8,
    HALF_PRECISION_SK_RUNTIMEEFFECT_UNIFORM_FLAGS = 16,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_runtimeeffect_uniform_t {
    pub fName: *const ::std::os::raw::c_char,
    pub fNameLength: usize,
    pub fOffset: usize,
    pub fType: sk_runtimeeffect_uniform_type_t,
    pub fCount: ::std::os::raw::c_int,
    pub fFlags: sk_runtimeeffect_uniform_flags_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_runtimeeffect_child_t {
    pub fName: *const ::std::os::raw::c_char,
    pub fNameLength: usize,
    pub fType: sk_runtimeeffect_child_type_t,
    pub fIndex: ::std::os::raw::c_int,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_filter_mode_t {
    NEAREST_SK_FILTER_MODE = 0,
    LINEAR_SK_FILTER_MODE = 1,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum sk_mipmap_mode_t {
    NONE_SK_MIPMAP_MODE = 0,
    NEAREST_SK_MIPMAP_MODE = 1,
    LINEAR_SK_MIPMAP_MODE = 2,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_cubic_resampler_t {
    pub fB: f32,
    pub fC: f32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sk_sampling_options_t {
    pub fMaxAniso: ::std::os::raw::c_int,
    pub fUseCubic: bool,
    pub fCubic: sk_cubic_resampler_t,
    pub fFilter: sk_filter_mode_t,
    pub fMipmap: sk_mipmap_mode_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct skottie_animation_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct skottie_animation_builder_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct skottie_resource_provider_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct skottie_property_observer_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct skottie_logger_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct skottie_marker_observer_t {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sksg_invalidation_controller_t {
    _unused: [u8; 0],
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum skottie_animation_renderflags_t {
    SKIP_TOP_LEVEL_ISOLATION = 1,
    DISABLE_TOP_LEVEL_CLIPPING = 2,
}
extern "C" {
    pub fn __va_start(arg1: *mut *mut ::std::os::raw::c_char, ...);
    pub fn __security_init_cookie();
    pub fn __security_check_cookie(_StackCookie: usize);
    pub fn __report_gsfailure(_StackCookie: usize) -> !;
    pub static mut __security_cookie: usize;
    pub fn gr_recording_context_unref(context: *mut gr_recording_context_t);
    pub fn gr_recording_context_get_max_surface_sample_count_for_color_type(
        context: *mut gr_recording_context_t,
        colorType: sk_colortype_t,
    ) -> ::std::os::raw::c_int;
    pub fn gr_recording_context_get_backend(context: *mut gr_recording_context_t) -> gr_backend_t;
    pub fn gr_recording_context_is_abandoned(context: *mut gr_recording_context_t) -> bool;
    pub fn gr_recording_context_max_texture_size(
        context: *mut gr_recording_context_t,
    ) -> ::std::os::raw::c_int;
    pub fn gr_recording_context_max_render_target_size(
        context: *mut gr_recording_context_t,
    ) -> ::std::os::raw::c_int;
    pub fn gr_direct_context_make_gl(
        glInterface: *const gr_glinterface_t,
    ) -> *mut gr_direct_context_t;
    pub fn gr_direct_context_make_gl_with_options(
        glInterface: *const gr_glinterface_t,
        options: *const gr_context_options_t,
    ) -> *mut gr_direct_context_t;
    pub fn gr_direct_context_make_vulkan(
        vkBackendContext: gr_vk_backendcontext_t,
    ) -> *mut gr_direct_context_t;
    pub fn gr_direct_context_make_vulkan_with_options(
        vkBackendContext: gr_vk_backendcontext_t,
        options: *const gr_context_options_t,
    ) -> *mut gr_direct_context_t;
    pub fn gr_direct_context_make_metal(
        device: *mut ::std::os::raw::c_void,
        queue: *mut ::std::os::raw::c_void,
    ) -> *mut gr_direct_context_t;
    pub fn gr_direct_context_make_metal_with_options(
        device: *mut ::std::os::raw::c_void,
        queue: *mut ::std::os::raw::c_void,
        options: *const gr_context_options_t,
    ) -> *mut gr_direct_context_t;
    pub fn gr_direct_context_is_abandoned(context: *mut gr_direct_context_t) -> bool;
    pub fn gr_direct_context_abandon_context(context: *mut gr_direct_context_t);
    pub fn gr_direct_context_release_resources_and_abandon_context(
        context: *mut gr_direct_context_t,
    );
    pub fn gr_direct_context_get_resource_cache_limit(context: *mut gr_direct_context_t) -> usize;
    pub fn gr_direct_context_set_resource_cache_limit(
        context: *mut gr_direct_context_t,
        maxResourceBytes: usize,
    );
    pub fn gr_direct_context_get_resource_cache_usage(
        context: *mut gr_direct_context_t,
        maxResources: *mut ::std::os::raw::c_int,
        maxResourceBytes: *mut usize,
    );
    pub fn gr_direct_context_flush(context: *mut gr_direct_context_t);
    pub fn gr_direct_context_submit(context: *mut gr_direct_context_t, syncCpu: bool) -> bool;
    pub fn gr_direct_context_flush_and_submit(context: *mut gr_direct_context_t, syncCpu: bool);
    pub fn gr_direct_context_reset_context(context: *mut gr_direct_context_t, state: u32);
    pub fn gr_direct_context_dump_memory_statistics(
        context: *const gr_direct_context_t,
        dump: *mut sk_tracememorydump_t,
    );
    pub fn gr_direct_context_free_gpu_resources(context: *mut gr_direct_context_t);
    pub fn gr_direct_context_perform_deferred_cleanup(
        context: *mut gr_direct_context_t,
        ms: ::std::os::raw::c_longlong,
    );
    pub fn gr_direct_context_purge_unlocked_resources_bytes(
        context: *mut gr_direct_context_t,
        bytesToPurge: usize,
        preferScratchResources: bool,
    );
    pub fn gr_direct_context_purge_unlocked_resources(
        context: *mut gr_direct_context_t,
        scratchResourcesOnly: bool,
    );
    pub fn gr_glinterface_create_native_interface() -> *const gr_glinterface_t;
    pub fn gr_glinterface_assemble_interface(
        ctx: *mut ::std::os::raw::c_void,
        get: gr_gl_get_proc,
    ) -> *const gr_glinterface_t;
    pub fn gr_glinterface_assemble_gl_interface(
        ctx: *mut ::std::os::raw::c_void,
        get: gr_gl_get_proc,
    ) -> *const gr_glinterface_t;
    pub fn gr_glinterface_assemble_gles_interface(
        ctx: *mut ::std::os::raw::c_void,
        get: gr_gl_get_proc,
    ) -> *const gr_glinterface_t;
    pub fn gr_glinterface_assemble_webgl_interface(
        ctx: *mut ::std::os::raw::c_void,
        get: gr_gl_get_proc,
    ) -> *const gr_glinterface_t;
    pub fn gr_glinterface_unref(glInterface: *const gr_glinterface_t);
    pub fn gr_glinterface_validate(glInterface: *const gr_glinterface_t) -> bool;
    pub fn gr_glinterface_has_extension(
        glInterface: *const gr_glinterface_t,
        extension: *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn gr_vk_extensions_new() -> *mut gr_vk_extensions_t;
    pub fn gr_vk_extensions_delete(extensions: *mut gr_vk_extensions_t);
    pub fn gr_vk_extensions_init(
        extensions: *mut gr_vk_extensions_t,
        getProc: gr_vk_get_proc,
        userData: *mut ::std::os::raw::c_void,
        instance: *mut vk_instance_t,
        physDev: *mut vk_physical_device_t,
        instanceExtensionCount: u32,
        instanceExtensions: *mut *const ::std::os::raw::c_char,
        deviceExtensionCount: u32,
        deviceExtensions: *mut *const ::std::os::raw::c_char,
    );
    pub fn gr_vk_extensions_has_extension(
        extensions: *mut gr_vk_extensions_t,
        ext: *const ::std::os::raw::c_char,
        minVersion: u32,
    ) -> bool;
    pub fn gr_backendtexture_new_gl(
        width: ::std::os::raw::c_int,
        height: ::std::os::raw::c_int,
        mipmapped: bool,
        glInfo: *const gr_gl_textureinfo_t,
    ) -> *mut gr_backendtexture_t;
    pub fn gr_backendtexture_new_vulkan(
        width: ::std::os::raw::c_int,
        height: ::std::os::raw::c_int,
        vkInfo: *const gr_vk_imageinfo_t,
    ) -> *mut gr_backendtexture_t;
    pub fn gr_backendtexture_new_metal(
        width: ::std::os::raw::c_int,
        height: ::std::os::raw::c_int,
        mipmapped: bool,
        mtlInfo: *const gr_mtl_textureinfo_t,
    ) -> *mut gr_backendtexture_t;
    pub fn gr_backendtexture_delete(texture: *mut gr_backendtexture_t);
    pub fn gr_backendtexture_is_valid(texture: *const gr_backendtexture_t) -> bool;
    pub fn gr_backendtexture_get_width(
        texture: *const gr_backendtexture_t,
    ) -> ::std::os::raw::c_int;
    pub fn gr_backendtexture_get_height(
        texture: *const gr_backendtexture_t,
    ) -> ::std::os::raw::c_int;
    pub fn gr_backendtexture_has_mipmaps(texture: *const gr_backendtexture_t) -> bool;
    pub fn gr_backendtexture_get_backend(texture: *const gr_backendtexture_t) -> gr_backend_t;
    pub fn gr_backendtexture_get_gl_textureinfo(
        texture: *const gr_backendtexture_t,
        glInfo: *mut gr_gl_textureinfo_t,
    ) -> bool;
    pub fn gr_backendrendertarget_new_gl(
        width: ::std::os::raw::c_int,
        height: ::std::os::raw::c_int,
        samples: ::std::os::raw::c_int,
        stencils: ::std::os::raw::c_int,
        glInfo: *const gr_gl_framebufferinfo_t,
    ) -> *mut gr_backendrendertarget_t;
    pub fn gr_backendrendertarget_new_vulkan(
        width: ::std::os::raw::c_int,
        height: ::std::os::raw::c_int,
        samples: ::std::os::raw::c_int,
        vkImageInfo: *const gr_vk_imageinfo_t,
    ) -> *mut gr_backendrendertarget_t;
    pub fn gr_backendrendertarget_new_metal(
        width: ::std::os::raw::c_int,
        height: ::std::os::raw::c_int,
        samples: ::std::os::raw::c_int,
        mtlInfo: *const gr_mtl_textureinfo_t,
    ) -> *mut gr_backendrendertarget_t;
    pub fn gr_backendrendertarget_delete(rendertarget: *mut gr_backendrendertarget_t);
    pub fn gr_backendrendertarget_is_valid(rendertarget: *const gr_backendrendertarget_t) -> bool;
    pub fn gr_backendrendertarget_get_width(
        rendertarget: *const gr_backendrendertarget_t,
    ) -> ::std::os::raw::c_int;
    pub fn gr_backendrendertarget_get_height(
        rendertarget: *const gr_backendrendertarget_t,
    ) -> ::std::os::raw::c_int;
    pub fn gr_backendrendertarget_get_samples(
        rendertarget: *const gr_backendrendertarget_t,
    ) -> ::std::os::raw::c_int;
    pub fn gr_backendrendertarget_get_stencils(
        rendertarget: *const gr_backendrendertarget_t,
    ) -> ::std::os::raw::c_int;
    pub fn gr_backendrendertarget_get_backend(
        rendertarget: *const gr_backendrendertarget_t,
    ) -> gr_backend_t;
    pub fn gr_backendrendertarget_get_gl_framebufferinfo(
        rendertarget: *const gr_backendrendertarget_t,
        glInfo: *mut gr_gl_framebufferinfo_t,
    ) -> bool;
    pub fn sk_bitmap_destructor(cbitmap: *mut sk_bitmap_t);
    pub fn sk_bitmap_new() -> *mut sk_bitmap_t;
    pub fn sk_bitmap_get_info(cbitmap: *mut sk_bitmap_t, info: *mut sk_imageinfo_t);
    pub fn sk_bitmap_get_pixels(
        cbitmap: *mut sk_bitmap_t,
        length: *mut usize,
    ) -> *mut ::std::os::raw::c_void;
    pub fn sk_bitmap_get_row_bytes(cbitmap: *mut sk_bitmap_t) -> usize;
    pub fn sk_bitmap_get_byte_count(cbitmap: *mut sk_bitmap_t) -> usize;
    pub fn sk_bitmap_reset(cbitmap: *mut sk_bitmap_t);
    pub fn sk_bitmap_is_null(cbitmap: *mut sk_bitmap_t) -> bool;
    pub fn sk_bitmap_is_immutable(cbitmap: *mut sk_bitmap_t) -> bool;
    pub fn sk_bitmap_set_immutable(cbitmap: *mut sk_bitmap_t);
    pub fn sk_bitmap_erase(cbitmap: *mut sk_bitmap_t, color: sk_color_t);
    pub fn sk_bitmap_erase_rect(
        cbitmap: *mut sk_bitmap_t,
        color: sk_color_t,
        rect: *mut sk_irect_t,
    );
    pub fn sk_bitmap_get_addr_8(
        cbitmap: *mut sk_bitmap_t,
        x: ::std::os::raw::c_int,
        y: ::std::os::raw::c_int,
    ) -> *mut u8;
    pub fn sk_bitmap_get_addr_16(
        cbitmap: *mut sk_bitmap_t,
        x: ::std::os::raw::c_int,
        y: ::std::os::raw::c_int,
    ) -> *mut u16;
    pub fn sk_bitmap_get_addr_32(
        cbitmap: *mut sk_bitmap_t,
        x: ::std::os::raw::c_int,
        y: ::std::os::raw::c_int,
    ) -> *mut u32;
    pub fn sk_bitmap_get_addr(
        cbitmap: *mut sk_bitmap_t,
        x: ::std::os::raw::c_int,
        y: ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_void;
    pub fn sk_bitmap_get_pixel_color(
        cbitmap: *mut sk_bitmap_t,
        x: ::std::os::raw::c_int,
        y: ::std::os::raw::c_int,
    ) -> sk_color_t;
    pub fn sk_bitmap_ready_to_draw(cbitmap: *mut sk_bitmap_t) -> bool;
    pub fn sk_bitmap_get_pixel_colors(cbitmap: *mut sk_bitmap_t, colors: *mut sk_color_t);
    pub fn sk_bitmap_install_pixels(
        cbitmap: *mut sk_bitmap_t,
        cinfo: *const sk_imageinfo_t,
        pixels: *mut ::std::os::raw::c_void,
        rowBytes: usize,
        releaseProc: sk_bitmap_release_proc,
        context: *mut ::std::os::raw::c_void,
    ) -> bool;
    pub fn sk_bitmap_install_pixels_with_pixmap(
        cbitmap: *mut sk_bitmap_t,
        cpixmap: *const sk_pixmap_t,
    ) -> bool;
    pub fn sk_bitmap_try_alloc_pixels(
        cbitmap: *mut sk_bitmap_t,
        requestedInfo: *const sk_imageinfo_t,
        rowBytes: usize,
    ) -> bool;
    pub fn sk_bitmap_try_alloc_pixels_with_flags(
        cbitmap: *mut sk_bitmap_t,
        requestedInfo: *const sk_imageinfo_t,
        flags: u32,
    ) -> bool;
    pub fn sk_bitmap_set_pixels(cbitmap: *mut sk_bitmap_t, pixels: *mut ::std::os::raw::c_void);
    pub fn sk_bitmap_peek_pixels(cbitmap: *mut sk_bitmap_t, cpixmap: *mut sk_pixmap_t) -> bool;
    pub fn sk_bitmap_extract_subset(
        cbitmap: *mut sk_bitmap_t,
        dst: *mut sk_bitmap_t,
        subset: *mut sk_irect_t,
    ) -> bool;
    pub fn sk_bitmap_extract_alpha(
        cbitmap: *mut sk_bitmap_t,
        dst: *mut sk_bitmap_t,
        paint: *const sk_paint_t,
        offset: *mut sk_ipoint_t,
    ) -> bool;
    pub fn sk_bitmap_notify_pixels_changed(cbitmap: *mut sk_bitmap_t);
    pub fn sk_bitmap_swap(cbitmap: *mut sk_bitmap_t, cother: *mut sk_bitmap_t);
    pub fn sk_bitmap_make_shader(
        cbitmap: *mut sk_bitmap_t,
        tmx: sk_shader_tilemode_t,
        tmy: sk_shader_tilemode_t,
        sampling: *mut sk_sampling_options_t,
        cmatrix: *const sk_matrix_t,
    ) -> *mut sk_shader_t;
    pub fn sk_canvas_destroy(ccanvas: *mut sk_canvas_t);
    pub fn sk_canvas_clear(ccanvas: *mut sk_canvas_t, color: sk_color_t);
    pub fn sk_canvas_clear_color4f(ccanvas: *mut sk_canvas_t, color: sk_color4f_t);
    pub fn sk_canvas_discard(ccanvas: *mut sk_canvas_t);
    pub fn sk_canvas_get_save_count(ccanvas: *mut sk_canvas_t) -> ::std::os::raw::c_int;
    pub fn sk_canvas_restore_to_count(ccanvas: *mut sk_canvas_t, saveCount: ::std::os::raw::c_int);
    pub fn sk_canvas_draw_color(
        ccanvas: *mut sk_canvas_t,
        color: sk_color_t,
        cmode: sk_blendmode_t,
    );
    pub fn sk_canvas_draw_color4f(
        ccanvas: *mut sk_canvas_t,
        color: sk_color4f_t,
        cmode: sk_blendmode_t,
    );
    pub fn sk_canvas_draw_points(
        ccanvas: *mut sk_canvas_t,
        pointMode: sk_point_mode_t,
        count: usize,
        points: *const sk_point_t,
        cpaint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_point(
        ccanvas: *mut sk_canvas_t,
        x: f32,
        y: f32,
        cpaint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_line(
        ccanvas: *mut sk_canvas_t,
        x0: f32,
        y0: f32,
        x1: f32,
        y1: f32,
        cpaint: *mut sk_paint_t,
    );
    pub fn sk_canvas_draw_simple_text(
        ccanvas: *mut sk_canvas_t,
        text: *const ::std::os::raw::c_void,
        byte_length: usize,
        encoding: sk_text_encoding_t,
        x: f32,
        y: f32,
        cfont: *const sk_font_t,
        cpaint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_text_blob(
        ccanvas: *mut sk_canvas_t,
        text: *mut sk_textblob_t,
        x: f32,
        y: f32,
        cpaint: *const sk_paint_t,
    );
    pub fn sk_canvas_reset_matrix(ccanvas: *mut sk_canvas_t);
    pub fn sk_canvas_set_matrix(ccanvas: *mut sk_canvas_t, cmatrix: *const sk_matrix44_t);
    pub fn sk_canvas_get_matrix(ccanvas: *mut sk_canvas_t, cmatrix: *mut sk_matrix44_t);
    pub fn sk_canvas_draw_round_rect(
        ccanvas: *mut sk_canvas_t,
        crect: *const sk_rect_t,
        rx: f32,
        ry: f32,
        cpaint: *const sk_paint_t,
    );
    pub fn sk_canvas_clip_rect_with_operation(
        ccanvas: *mut sk_canvas_t,
        crect: *const sk_rect_t,
        op: sk_clipop_t,
        doAA: bool,
    );
    pub fn sk_canvas_clip_path_with_operation(
        ccanvas: *mut sk_canvas_t,
        cpath: *const sk_path_t,
        op: sk_clipop_t,
        doAA: bool,
    );
    pub fn sk_canvas_clip_rrect_with_operation(
        ccanvas: *mut sk_canvas_t,
        crect: *const sk_rrect_t,
        op: sk_clipop_t,
        doAA: bool,
    );
    pub fn sk_canvas_get_local_clip_bounds(
        ccanvas: *mut sk_canvas_t,
        cbounds: *mut sk_rect_t,
    ) -> bool;
    pub fn sk_canvas_get_device_clip_bounds(
        ccanvas: *mut sk_canvas_t,
        cbounds: *mut sk_irect_t,
    ) -> bool;
    pub fn sk_canvas_save(ccanvas: *mut sk_canvas_t) -> ::std::os::raw::c_int;
    pub fn sk_canvas_save_layer(
        ccanvas: *mut sk_canvas_t,
        crect: *const sk_rect_t,
        cpaint: *const sk_paint_t,
    ) -> ::std::os::raw::c_int;
    pub fn sk_canvas_restore(ccanvas: *mut sk_canvas_t);
    pub fn sk_canvas_translate(ccanvas: *mut sk_canvas_t, dx: f32, dy: f32);
    pub fn sk_canvas_scale(ccanvas: *mut sk_canvas_t, sx: f32, sy: f32);
    pub fn sk_canvas_rotate_degrees(ccanvas: *mut sk_canvas_t, degrees: f32);
    pub fn sk_canvas_rotate_radians(ccanvas: *mut sk_canvas_t, radians: f32);
    pub fn sk_canvas_skew(ccanvas: *mut sk_canvas_t, sx: f32, sy: f32);
    pub fn sk_canvas_concat(ccanvas: *mut sk_canvas_t, cmatrix: *const sk_matrix44_t);
    pub fn sk_canvas_quick_reject(ccanvas: *mut sk_canvas_t, crect: *const sk_rect_t) -> bool;
    pub fn sk_canvas_clip_region(
        ccanvas: *mut sk_canvas_t,
        region: *const sk_region_t,
        op: sk_clipop_t,
    );
    pub fn sk_canvas_draw_paint(ccanvas: *mut sk_canvas_t, cpaint: *const sk_paint_t);
    pub fn sk_canvas_draw_region(
        ccanvas: *mut sk_canvas_t,
        cregion: *const sk_region_t,
        cpaint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_rect(
        ccanvas: *mut sk_canvas_t,
        crect: *const sk_rect_t,
        cpaint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_rrect(
        ccanvas: *mut sk_canvas_t,
        crect: *const sk_rrect_t,
        cpaint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_circle(
        ccanvas: *mut sk_canvas_t,
        cx: f32,
        cy: f32,
        rad: f32,
        cpaint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_oval(
        ccanvas: *mut sk_canvas_t,
        crect: *const sk_rect_t,
        cpaint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_path(
        ccanvas: *mut sk_canvas_t,
        cpath: *const sk_path_t,
        cpaint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_image(
        ccanvas: *mut sk_canvas_t,
        cimage: *const sk_image_t,
        x: f32,
        y: f32,
        sampling: *const sk_sampling_options_t,
        cpaint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_image_rect(
        ccanvas: *mut sk_canvas_t,
        cimage: *const sk_image_t,
        csrcR: *const sk_rect_t,
        cdstR: *const sk_rect_t,
        sampling: *const sk_sampling_options_t,
        cpaint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_picture(
        ccanvas: *mut sk_canvas_t,
        cpicture: *const sk_picture_t,
        cmatrix: *const sk_matrix_t,
        cpaint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_drawable(
        ccanvas: *mut sk_canvas_t,
        cdrawable: *mut sk_drawable_t,
        cmatrix: *const sk_matrix_t,
    );
    pub fn sk_canvas_flush(ccanvas: *mut sk_canvas_t);
    pub fn sk_canvas_new_from_bitmap(bitmap: *const sk_bitmap_t) -> *mut sk_canvas_t;
    pub fn sk_canvas_new_from_raster(
        cinfo: *const sk_imageinfo_t,
        pixels: *mut ::std::os::raw::c_void,
        rowBytes: usize,
        props: *const sk_surfaceprops_t,
    ) -> *mut sk_canvas_t;
    pub fn sk_canvas_draw_annotation(
        t: *mut sk_canvas_t,
        rect: *const sk_rect_t,
        key: *const ::std::os::raw::c_char,
        value: *mut sk_data_t,
    );
    pub fn sk_canvas_draw_url_annotation(
        t: *mut sk_canvas_t,
        rect: *const sk_rect_t,
        value: *mut sk_data_t,
    );
    pub fn sk_canvas_draw_named_destination_annotation(
        t: *mut sk_canvas_t,
        point: *const sk_point_t,
        value: *mut sk_data_t,
    );
    pub fn sk_canvas_draw_link_destination_annotation(
        t: *mut sk_canvas_t,
        rect: *const sk_rect_t,
        value: *mut sk_data_t,
    );
    pub fn sk_canvas_draw_image_lattice(
        ccanvas: *mut sk_canvas_t,
        image: *const sk_image_t,
        lattice: *const sk_lattice_t,
        dst: *const sk_rect_t,
        mode: sk_filter_mode_t,
        paint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_image_nine(
        ccanvas: *mut sk_canvas_t,
        image: *const sk_image_t,
        center: *const sk_irect_t,
        dst: *const sk_rect_t,
        mode: sk_filter_mode_t,
        paint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_vertices(
        ccanvas: *mut sk_canvas_t,
        vertices: *const sk_vertices_t,
        mode: sk_blendmode_t,
        paint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_arc(
        ccanvas: *mut sk_canvas_t,
        oval: *const sk_rect_t,
        startAngle: f32,
        sweepAngle: f32,
        useCenter: bool,
        paint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_drrect(
        ccanvas: *mut sk_canvas_t,
        outer: *const sk_rrect_t,
        inner: *const sk_rrect_t,
        paint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_atlas(
        ccanvas: *mut sk_canvas_t,
        atlas: *const sk_image_t,
        xform: *const sk_rsxform_t,
        tex: *const sk_rect_t,
        colors: *const sk_color_t,
        count: ::std::os::raw::c_int,
        mode: sk_blendmode_t,
        sampling: *const sk_sampling_options_t,
        cullRect: *const sk_rect_t,
        paint: *const sk_paint_t,
    );
    pub fn sk_canvas_draw_patch(
        ccanvas: *mut sk_canvas_t,
        cubics: *const sk_point_t,
        colors: *const sk_color_t,
        texCoords: *const sk_point_t,
        mode: sk_blendmode_t,
        paint: *const sk_paint_t,
    );
    pub fn sk_canvas_is_clip_empty(ccanvas: *mut sk_canvas_t) -> bool;
    pub fn sk_canvas_is_clip_rect(ccanvas: *mut sk_canvas_t) -> bool;
    pub fn sk_nodraw_canvas_new(
        width: ::std::os::raw::c_int,
        height: ::std::os::raw::c_int,
    ) -> *mut sk_nodraw_canvas_t;
    pub fn sk_nodraw_canvas_destroy(t: *mut sk_nodraw_canvas_t);
    pub fn sk_nway_canvas_new(
        width: ::std::os::raw::c_int,
        height: ::std::os::raw::c_int,
    ) -> *mut sk_nway_canvas_t;
    pub fn sk_nway_canvas_destroy(t: *mut sk_nway_canvas_t);
    pub fn sk_nway_canvas_add_canvas(t: *mut sk_nway_canvas_t, canvas: *mut sk_canvas_t);
    pub fn sk_nway_canvas_remove_canvas(t: *mut sk_nway_canvas_t, canvas: *mut sk_canvas_t);
    pub fn sk_nway_canvas_remove_all(t: *mut sk_nway_canvas_t);
    pub fn sk_overdraw_canvas_new(canvas: *mut sk_canvas_t) -> *mut sk_overdraw_canvas_t;
    pub fn sk_overdraw_canvas_destroy(canvas: *mut sk_overdraw_canvas_t);
    pub fn sk_codec_min_buffered_bytes_needed() -> usize;
    pub fn sk_codec_new_from_stream(
        stream: *mut sk_stream_t,
        result: *mut sk_codec_result_t,
    ) -> *mut sk_codec_t;
    pub fn sk_codec_new_from_data(data: *mut sk_data_t) -> *mut sk_codec_t;
    pub fn sk_codec_destroy(codec: *mut sk_codec_t);
    pub fn sk_codec_get_info(codec: *mut sk_codec_t, info: *mut sk_imageinfo_t);
    pub fn sk_codec_get_origin(codec: *mut sk_codec_t) -> sk_encodedorigin_t;
    pub fn sk_codec_get_scaled_dimensions(
        codec: *mut sk_codec_t,
        desiredScale: f32,
        dimensions: *mut sk_isize_t,
    );
    pub fn sk_codec_get_valid_subset(
        codec: *mut sk_codec_t,
        desiredSubset: *mut sk_irect_t,
    ) -> bool;
    pub fn sk_codec_get_encoded_format(codec: *mut sk_codec_t) -> sk_encoded_image_format_t;
    pub fn sk_codec_get_pixels(
        codec: *mut sk_codec_t,
        info: *const sk_imageinfo_t,
        pixels: *mut ::std::os::raw::c_void,
        rowBytes: usize,
        options: *const sk_codec_options_t,
    ) -> sk_codec_result_t;
    pub fn sk_codec_start_incremental_decode(
        codec: *mut sk_codec_t,
        info: *const sk_imageinfo_t,
        pixels: *mut ::std::os::raw::c_void,
        rowBytes: usize,
        options: *const sk_codec_options_t,
    ) -> sk_codec_result_t;
    pub fn sk_codec_incremental_decode(
        codec: *mut sk_codec_t,
        rowsDecoded: *mut ::std::os::raw::c_int,
    ) -> sk_codec_result_t;
    pub fn sk_codec_start_scanline_decode(
        codec: *mut sk_codec_t,
        info: *const sk_imageinfo_t,
        options: *const sk_codec_options_t,
    ) -> sk_codec_result_t;
    pub fn sk_codec_get_scanlines(
        codec: *mut sk_codec_t,
        dst: *mut ::std::os::raw::c_void,
        countLines: ::std::os::raw::c_int,
        rowBytes: usize,
    ) -> ::std::os::raw::c_int;
    pub fn sk_codec_skip_scanlines(
        codec: *mut sk_codec_t,
        countLines: ::std::os::raw::c_int,
    ) -> bool;
    pub fn sk_codec_get_scanline_order(codec: *mut sk_codec_t) -> sk_codec_scanline_order_t;
    pub fn sk_codec_next_scanline(codec: *mut sk_codec_t) -> ::std::os::raw::c_int;
    pub fn sk_codec_output_scanline(
        codec: *mut sk_codec_t,
        inputScanline: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_int;
    pub fn sk_codec_get_frame_count(codec: *mut sk_codec_t) -> ::std::os::raw::c_int;
    pub fn sk_codec_get_frame_info(codec: *mut sk_codec_t, frameInfo: *mut sk_codec_frameinfo_t);
    pub fn sk_codec_get_frame_info_for_index(
        codec: *mut sk_codec_t,
        index: ::std::os::raw::c_int,
        frameInfo: *mut sk_codec_frameinfo_t,
    ) -> bool;
    pub fn sk_codec_get_repetition_count(codec: *mut sk_codec_t) -> ::std::os::raw::c_int;
    pub fn sk_colorfilter_unref(filter: *mut sk_colorfilter_t);
    pub fn sk_colorfilter_new_mode(c: sk_color_t, mode: sk_blendmode_t) -> *mut sk_colorfilter_t;
    pub fn sk_colorfilter_new_lighting(mul: sk_color_t, add: sk_color_t) -> *mut sk_colorfilter_t;
    pub fn sk_colorfilter_new_compose(
        outer: *mut sk_colorfilter_t,
        inner: *mut sk_colorfilter_t,
    ) -> *mut sk_colorfilter_t;
    pub fn sk_colorfilter_new_color_matrix(array: *const f32) -> *mut sk_colorfilter_t;
    pub fn sk_colorfilter_new_luma_color() -> *mut sk_colorfilter_t;
    pub fn sk_colorfilter_new_high_contrast(
        config: *const sk_highcontrastconfig_t,
    ) -> *mut sk_colorfilter_t;
    pub fn sk_colorfilter_new_table(table: *const u8) -> *mut sk_colorfilter_t;
    pub fn sk_colorfilter_new_table_argb(
        tableA: *const u8,
        tableR: *const u8,
        tableG: *const u8,
        tableB: *const u8,
    ) -> *mut sk_colorfilter_t;
    pub fn sk_colorspace_ref(colorspace: *mut sk_colorspace_t);
    pub fn sk_colorspace_unref(colorspace: *mut sk_colorspace_t);
    pub fn sk_colorspace_new_srgb() -> *mut sk_colorspace_t;
    pub fn sk_colorspace_new_srgb_linear() -> *mut sk_colorspace_t;
    pub fn sk_colorspace_new_rgb(
        transferFn: *const sk_colorspace_transfer_fn_t,
        toXYZD50: *const sk_colorspace_xyz_t,
    ) -> *mut sk_colorspace_t;
    pub fn sk_colorspace_new_icc(
        profile: *const sk_colorspace_icc_profile_t,
    ) -> *mut sk_colorspace_t;
    pub fn sk_colorspace_to_profile(
        colorspace: *const sk_colorspace_t,
        profile: *mut sk_colorspace_icc_profile_t,
    );
    pub fn sk_colorspace_gamma_close_to_srgb(colorspace: *const sk_colorspace_t) -> bool;
    pub fn sk_colorspace_gamma_is_linear(colorspace: *const sk_colorspace_t) -> bool;
    pub fn sk_colorspace_is_numerical_transfer_fn(
        colorspace: *const sk_colorspace_t,
        transferFn: *mut sk_colorspace_transfer_fn_t,
    ) -> bool;
    pub fn sk_colorspace_to_xyzd50(
        colorspace: *const sk_colorspace_t,
        toXYZD50: *mut sk_colorspace_xyz_t,
    ) -> bool;
    pub fn sk_colorspace_make_linear_gamma(
        colorspace: *const sk_colorspace_t,
    ) -> *mut sk_colorspace_t;
    pub fn sk_colorspace_make_srgb_gamma(
        colorspace: *const sk_colorspace_t,
    ) -> *mut sk_colorspace_t;
    pub fn sk_colorspace_is_srgb(colorspace: *const sk_colorspace_t) -> bool;
    pub fn sk_colorspace_equals(src: *const sk_colorspace_t, dst: *const sk_colorspace_t) -> bool;
    pub fn sk_colorspace_transfer_fn_named_srgb(transferFn: *mut sk_colorspace_transfer_fn_t);
    pub fn sk_colorspace_transfer_fn_named_2dot2(transferFn: *mut sk_colorspace_transfer_fn_t);
    pub fn sk_colorspace_transfer_fn_named_linear(transferFn: *mut sk_colorspace_transfer_fn_t);
    pub fn sk_colorspace_transfer_fn_named_rec2020(transferFn: *mut sk_colorspace_transfer_fn_t);
    pub fn sk_colorspace_transfer_fn_named_pq(transferFn: *mut sk_colorspace_transfer_fn_t);
    pub fn sk_colorspace_transfer_fn_named_hlg(transferFn: *mut sk_colorspace_transfer_fn_t);
    pub fn sk_colorspace_transfer_fn_eval(
        transferFn: *const sk_colorspace_transfer_fn_t,
        x: f32,
    ) -> f32;
    pub fn sk_colorspace_transfer_fn_invert(
        src: *const sk_colorspace_transfer_fn_t,
        dst: *mut sk_colorspace_transfer_fn_t,
    ) -> bool;
    pub fn sk_colorspace_primaries_to_xyzd50(
        primaries: *const sk_colorspace_primaries_t,
        toXYZD50: *mut sk_colorspace_xyz_t,
    ) -> bool;
    pub fn sk_colorspace_xyz_named_srgb(xyz: *mut sk_colorspace_xyz_t);
    pub fn sk_colorspace_xyz_named_adobe_rgb(xyz: *mut sk_colorspace_xyz_t);
    pub fn sk_colorspace_xyz_named_display_p3(xyz: *mut sk_colorspace_xyz_t);
    pub fn sk_colorspace_xyz_named_rec2020(xyz: *mut sk_colorspace_xyz_t);
    pub fn sk_colorspace_xyz_named_xyz(xyz: *mut sk_colorspace_xyz_t);
    pub fn sk_colorspace_xyz_invert(
        src: *const sk_colorspace_xyz_t,
        dst: *mut sk_colorspace_xyz_t,
    ) -> bool;
    pub fn sk_colorspace_xyz_concat(
        a: *const sk_colorspace_xyz_t,
        b: *const sk_colorspace_xyz_t,
        result: *mut sk_colorspace_xyz_t,
    );
    pub fn sk_colorspace_icc_profile_delete(profile: *mut sk_colorspace_icc_profile_t);
    pub fn sk_colorspace_icc_profile_new() -> *mut sk_colorspace_icc_profile_t;
    pub fn sk_colorspace_icc_profile_parse(
        buffer: *const ::std::os::raw::c_void,
        length: usize,
        profile: *mut sk_colorspace_icc_profile_t,
    ) -> bool;
    pub fn sk_colorspace_icc_profile_get_buffer(
        profile: *const sk_colorspace_icc_profile_t,
        size: *mut u32,
    ) -> *const u8;
    pub fn sk_colorspace_icc_profile_get_to_xyzd50(
        profile: *const sk_colorspace_icc_profile_t,
        toXYZD50: *mut sk_colorspace_xyz_t,
    ) -> bool;
    pub fn sk_color4f_to_color(color4f: *const sk_color4f_t) -> sk_color_t;
    pub fn sk_color4f_from_color(color: sk_color_t, color4f: *mut sk_color4f_t);
    pub fn sk_data_new_empty() -> *mut sk_data_t;
    pub fn sk_data_new_with_copy(
        src: *const ::std::os::raw::c_void,
        length: usize,
    ) -> *mut sk_data_t;
    pub fn sk_data_new_subset(
        src: *const sk_data_t,
        offset: usize,
        length: usize,
    ) -> *mut sk_data_t;
    pub fn sk_data_ref(arg1: *const sk_data_t);
    pub fn sk_data_unref(arg1: *const sk_data_t);
    pub fn sk_data_get_size(arg1: *const sk_data_t) -> usize;
    pub fn sk_data_get_data(arg1: *const sk_data_t) -> *const ::std::os::raw::c_void;
    pub fn sk_data_new_from_file(path: *const ::std::os::raw::c_char) -> *mut sk_data_t;
    pub fn sk_data_new_from_stream(stream: *mut sk_stream_t, length: usize) -> *mut sk_data_t;
    pub fn sk_data_get_bytes(arg1: *const sk_data_t) -> *const u8;
    pub fn sk_data_new_with_proc(
        ptr: *const ::std::os::raw::c_void,
        length: usize,
        proc_: sk_data_release_proc,
        ctx: *mut ::std::os::raw::c_void,
    ) -> *mut sk_data_t;
    pub fn sk_data_new_uninitialized(size: usize) -> *mut sk_data_t;
    pub fn sk_document_unref(document: *mut sk_document_t);
    pub fn sk_document_create_pdf_from_stream(stream: *mut sk_wstream_t) -> *mut sk_document_t;
    pub fn sk_document_create_pdf_from_stream_with_metadata(
        stream: *mut sk_wstream_t,
        metadata: *const sk_document_pdf_metadata_t,
    ) -> *mut sk_document_t;
    pub fn sk_document_create_xps_from_stream(
        stream: *mut sk_wstream_t,
        dpi: f32,
    ) -> *mut sk_document_t;
    pub fn sk_document_begin_page(
        document: *mut sk_document_t,
        width: f32,
        height: f32,
        content: *const sk_rect_t,
    ) -> *mut sk_canvas_t;
    pub fn sk_document_end_page(document: *mut sk_document_t);
    pub fn sk_document_close(document: *mut sk_document_t);
    pub fn sk_document_abort(document: *mut sk_document_t);
    pub fn sk_drawable_unref(arg1: *mut sk_drawable_t);
    pub fn sk_drawable_get_generation_id(arg1: *mut sk_drawable_t) -> u32;
    pub fn sk_drawable_get_bounds(arg1: *mut sk_drawable_t, arg2: *mut sk_rect_t);
    pub fn sk_drawable_draw(
        arg1: *mut sk_drawable_t,
        arg2: *mut sk_canvas_t,
        arg3: *const sk_matrix_t,
    );
    pub fn sk_drawable_new_picture_snapshot(arg1: *mut sk_drawable_t) -> *mut sk_picture_t;
    pub fn sk_drawable_notify_drawing_changed(arg1: *mut sk_drawable_t);
    pub fn sk_font_new() -> *mut sk_font_t;
    pub fn sk_font_new_with_values(
        typeface: *mut sk_typeface_t,
        size: f32,
        scaleX: f32,
        skewX: f32,
    ) -> *mut sk_font_t;
    pub fn sk_font_delete(font: *mut sk_font_t);
    pub fn sk_font_is_force_auto_hinting(font: *const sk_font_t) -> bool;
    pub fn sk_font_set_force_auto_hinting(font: *mut sk_font_t, value: bool);
    pub fn sk_font_is_embedded_bitmaps(font: *const sk_font_t) -> bool;
    pub fn sk_font_set_embedded_bitmaps(font: *mut sk_font_t, value: bool);
    pub fn sk_font_is_subpixel(font: *const sk_font_t) -> bool;
    pub fn sk_font_set_subpixel(font: *mut sk_font_t, value: bool);
    pub fn sk_font_is_linear_metrics(font: *const sk_font_t) -> bool;
    pub fn sk_font_set_linear_metrics(font: *mut sk_font_t, value: bool);
    pub fn sk_font_is_embolden(font: *const sk_font_t) -> bool;
    pub fn sk_font_set_embolden(font: *mut sk_font_t, value: bool);
    pub fn sk_font_is_baseline_snap(font: *const sk_font_t) -> bool;
    pub fn sk_font_set_baseline_snap(font: *mut sk_font_t, value: bool);
    pub fn sk_font_get_edging(font: *const sk_font_t) -> sk_font_edging_t;
    pub fn sk_font_set_edging(font: *mut sk_font_t, value: sk_font_edging_t);
    pub fn sk_font_get_hinting(font: *const sk_font_t) -> sk_font_hinting_t;
    pub fn sk_font_set_hinting(font: *mut sk_font_t, value: sk_font_hinting_t);
    pub fn sk_font_get_typeface(font: *const sk_font_t) -> *mut sk_typeface_t;
    pub fn sk_font_set_typeface(font: *mut sk_font_t, value: *mut sk_typeface_t);
    pub fn sk_font_get_size(font: *const sk_font_t) -> f32;
    pub fn sk_font_set_size(font: *mut sk_font_t, value: f32);
    pub fn sk_font_get_scale_x(font: *const sk_font_t) -> f32;
    pub fn sk_font_set_scale_x(font: *mut sk_font_t, value: f32);
    pub fn sk_font_get_skew_x(font: *const sk_font_t) -> f32;
    pub fn sk_font_set_skew_x(font: *mut sk_font_t, value: f32);
    pub fn sk_font_text_to_glyphs(
        font: *const sk_font_t,
        text: *const ::std::os::raw::c_void,
        byteLength: usize,
        encoding: sk_text_encoding_t,
        glyphs: *mut u16,
        maxGlyphCount: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_int;
    pub fn sk_font_unichar_to_glyph(font: *const sk_font_t, uni: i32) -> u16;
    pub fn sk_font_unichars_to_glyphs(
        font: *const sk_font_t,
        uni: *const i32,
        count: ::std::os::raw::c_int,
        glyphs: *mut u16,
    );
    pub fn sk_font_measure_text(
        font: *const sk_font_t,
        text: *const ::std::os::raw::c_void,
        byteLength: usize,
        encoding: sk_text_encoding_t,
        bounds: *mut sk_rect_t,
        paint: *const sk_paint_t,
    ) -> f32;
    pub fn sk_font_measure_text_no_return(
        font: *const sk_font_t,
        text: *const ::std::os::raw::c_void,
        byteLength: usize,
        encoding: sk_text_encoding_t,
        bounds: *mut sk_rect_t,
        paint: *const sk_paint_t,
        measuredWidth: *mut f32,
    );
    pub fn sk_font_break_text(
        font: *const sk_font_t,
        text: *const ::std::os::raw::c_void,
        byteLength: usize,
        encoding: sk_text_encoding_t,
        maxWidth: f32,
        measuredWidth: *mut f32,
        paint: *const sk_paint_t,
    ) -> usize;
    pub fn sk_font_get_widths_bounds(
        font: *const sk_font_t,
        glyphs: *const u16,
        count: ::std::os::raw::c_int,
        widths: *mut f32,
        bounds: *mut sk_rect_t,
        paint: *const sk_paint_t,
    );
    pub fn sk_font_get_pos(
        font: *const sk_font_t,
        glyphs: *const u16,
        count: ::std::os::raw::c_int,
        pos: *mut sk_point_t,
        origin: *mut sk_point_t,
    );
    pub fn sk_font_get_xpos(
        font: *const sk_font_t,
        glyphs: *const u16,
        count: ::std::os::raw::c_int,
        xpos: *mut f32,
        origin: f32,
    );
    pub fn sk_font_get_path(font: *const sk_font_t, glyph: u16, path: *mut sk_path_t) -> bool;
    pub fn sk_font_get_paths(
        font: *const sk_font_t,
        glyphs: *mut u16,
        count: ::std::os::raw::c_int,
        glyphPathProc: sk_glyph_path_proc,
        context: *mut ::std::os::raw::c_void,
    );
    pub fn sk_font_get_metrics(font: *const sk_font_t, metrics: *mut sk_fontmetrics_t) -> f32;
    pub fn sk_text_utils_get_path(
        text: *const ::std::os::raw::c_void,
        length: usize,
        encoding: sk_text_encoding_t,
        x: f32,
        y: f32,
        font: *const sk_font_t,
        path: *mut sk_path_t,
    );
    pub fn sk_text_utils_get_pos_path(
        text: *const ::std::os::raw::c_void,
        length: usize,
        encoding: sk_text_encoding_t,
        pos: *const sk_point_t,
        font: *const sk_font_t,
        path: *mut sk_path_t,
    );
    pub fn sk_refcnt_unique(refcnt: *const sk_refcnt_t) -> bool;
    pub fn sk_refcnt_get_ref_count(refcnt: *const sk_refcnt_t) -> ::std::os::raw::c_int;
    pub fn sk_refcnt_safe_ref(refcnt: *mut sk_refcnt_t);
    pub fn sk_refcnt_safe_unref(refcnt: *mut sk_refcnt_t);
    pub fn sk_nvrefcnt_unique(refcnt: *const sk_nvrefcnt_t) -> bool;
    pub fn sk_nvrefcnt_get_ref_count(refcnt: *const sk_nvrefcnt_t) -> ::std::os::raw::c_int;
    pub fn sk_nvrefcnt_safe_ref(refcnt: *mut sk_nvrefcnt_t);
    pub fn sk_nvrefcnt_safe_unref(refcnt: *mut sk_nvrefcnt_t);
    pub fn sk_colortype_get_default_8888() -> sk_colortype_t;
    pub fn sk_version_get_milestone() -> ::std::os::raw::c_int;
    pub fn sk_version_get_increment() -> ::std::os::raw::c_int;
    pub fn sk_version_get_string() -> *const ::std::os::raw::c_char;
    pub fn sk_graphics_init();
    pub fn sk_graphics_purge_font_cache();
    pub fn sk_graphics_purge_resource_cache();
    pub fn sk_graphics_purge_all_caches();
    pub fn sk_graphics_get_font_cache_used() -> usize;
    pub fn sk_graphics_get_font_cache_limit() -> usize;
    pub fn sk_graphics_set_font_cache_limit(bytes: usize) -> usize;
    pub fn sk_graphics_get_font_cache_count_used() -> ::std::os::raw::c_int;
    pub fn sk_graphics_get_font_cache_count_limit() -> ::std::os::raw::c_int;
    pub fn sk_graphics_set_font_cache_count_limit(
        count: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_int;
    pub fn sk_graphics_get_resource_cache_total_bytes_used() -> usize;
    pub fn sk_graphics_get_resource_cache_total_byte_limit() -> usize;
    pub fn sk_graphics_set_resource_cache_total_byte_limit(newLimit: usize) -> usize;
    pub fn sk_graphics_get_resource_cache_single_allocation_byte_limit() -> usize;
    pub fn sk_graphics_set_resource_cache_single_allocation_byte_limit(newLimit: usize) -> usize;
    pub fn sk_graphics_dump_memory_statistics(dump: *mut sk_tracememorydump_t);
    pub fn sk_image_ref(cimage: *const sk_image_t);
    pub fn sk_image_unref(cimage: *const sk_image_t);
    pub fn sk_image_new_raster_copy(
        cinfo: *const sk_imageinfo_t,
        pixels: *const ::std::os::raw::c_void,
        rowBytes: usize,
    ) -> *mut sk_image_t;
    pub fn sk_image_new_raster_copy_with_pixmap(pixmap: *const sk_pixmap_t) -> *mut sk_image_t;
    pub fn sk_image_new_raster_data(
        cinfo: *const sk_imageinfo_t,
        pixels: *mut sk_data_t,
        rowBytes: usize,
    ) -> *mut sk_image_t;
    pub fn sk_image_new_raster(
        pixmap: *const sk_pixmap_t,
        releaseProc: sk_image_raster_release_proc,
        context: *mut ::std::os::raw::c_void,
    ) -> *mut sk_image_t;
    pub fn sk_image_new_from_bitmap(cbitmap: *const sk_bitmap_t) -> *mut sk_image_t;
    pub fn sk_image_new_from_encoded(cdata: *const sk_data_t) -> *mut sk_image_t;
    pub fn sk_image_new_from_texture(
        context: *mut gr_recording_context_t,
        texture: *const gr_backendtexture_t,
        origin: gr_surfaceorigin_t,
        colorType: sk_colortype_t,
        alpha: sk_alphatype_t,
        colorSpace: *const sk_colorspace_t,
        releaseProc: sk_image_texture_release_proc,
        releaseContext: *mut ::std::os::raw::c_void,
    ) -> *mut sk_image_t;
    pub fn sk_image_new_from_adopted_texture(
        context: *mut gr_recording_context_t,
        texture: *const gr_backendtexture_t,
        origin: gr_surfaceorigin_t,
        colorType: sk_colortype_t,
        alpha: sk_alphatype_t,
        colorSpace: *const sk_colorspace_t,
    ) -> *mut sk_image_t;
    pub fn sk_image_new_from_picture(
        picture: *mut sk_picture_t,
        dimensions: *const sk_isize_t,
        cmatrix: *const sk_matrix_t,
        paint: *const sk_paint_t,
        useFloatingPointBitDepth: bool,
        colorSpace: *const sk_colorspace_t,
        props: *const sk_surfaceprops_t,
    ) -> *mut sk_image_t;
    pub fn sk_image_get_width(cimage: *const sk_image_t) -> ::std::os::raw::c_int;
    pub fn sk_image_get_height(cimage: *const sk_image_t) -> ::std::os::raw::c_int;
    pub fn sk_image_get_unique_id(cimage: *const sk_image_t) -> u32;
    pub fn sk_image_get_alpha_type(image: *const sk_image_t) -> sk_alphatype_t;
    pub fn sk_image_get_color_type(image: *const sk_image_t) -> sk_colortype_t;
    pub fn sk_image_get_colorspace(image: *const sk_image_t) -> *mut sk_colorspace_t;
    pub fn sk_image_is_alpha_only(image: *const sk_image_t) -> bool;
    pub fn sk_image_make_shader(
        image: *const sk_image_t,
        tileX: sk_shader_tilemode_t,
        tileY: sk_shader_tilemode_t,
        sampling: *const sk_sampling_options_t,
        cmatrix: *const sk_matrix_t,
    ) -> *mut sk_shader_t;
    pub fn sk_image_peek_pixels(image: *const sk_image_t, pixmap: *mut sk_pixmap_t) -> bool;
    pub fn sk_image_is_texture_backed(image: *const sk_image_t) -> bool;
    pub fn sk_image_is_lazy_generated(image: *const sk_image_t) -> bool;
    pub fn sk_image_is_valid(
        image: *const sk_image_t,
        context: *mut gr_recording_context_t,
    ) -> bool;
    pub fn sk_image_read_pixels(
        image: *const sk_image_t,
        dstInfo: *const sk_imageinfo_t,
        dstPixels: *mut ::std::os::raw::c_void,
        dstRowBytes: usize,
        srcX: ::std::os::raw::c_int,
        srcY: ::std::os::raw::c_int,
        cachingHint: sk_image_caching_hint_t,
    ) -> bool;
    pub fn sk_image_read_pixels_into_pixmap(
        image: *const sk_image_t,
        dst: *const sk_pixmap_t,
        srcX: ::std::os::raw::c_int,
        srcY: ::std::os::raw::c_int,
        cachingHint: sk_image_caching_hint_t,
    ) -> bool;
    pub fn sk_image_scale_pixels(
        image: *const sk_image_t,
        dst: *const sk_pixmap_t,
        sampling: *const sk_sampling_options_t,
        cachingHint: sk_image_caching_hint_t,
    ) -> bool;
    pub fn sk_image_ref_encoded(cimage: *const sk_image_t) -> *mut sk_data_t;
    pub fn sk_image_make_subset_raster(
        cimage: *const sk_image_t,
        subset: *const sk_irect_t,
    ) -> *mut sk_image_t;
    pub fn sk_image_make_subset(
        cimage: *const sk_image_t,
        context: *mut gr_direct_context_t,
        subset: *const sk_irect_t,
    ) -> *mut sk_image_t;
    pub fn sk_image_make_texture_image(
        cimage: *const sk_image_t,
        context: *mut gr_direct_context_t,
        mipmapped: bool,
        budgeted: bool,
    ) -> *mut sk_image_t;
    pub fn sk_image_make_non_texture_image(cimage: *const sk_image_t) -> *mut sk_image_t;
    pub fn sk_image_make_raster_image(cimage: *const sk_image_t) -> *mut sk_image_t;
    pub fn sk_image_make_with_filter_raster(
        cimage: *const sk_image_t,
        filter: *const sk_imagefilter_t,
        subset: *const sk_irect_t,
        clipBounds: *const sk_irect_t,
        outSubset: *mut sk_irect_t,
        outOffset: *mut sk_ipoint_t,
    ) -> *mut sk_image_t;
    pub fn sk_image_make_with_filter(
        cimage: *const sk_image_t,
        context: *mut gr_recording_context_t,
        filter: *const sk_imagefilter_t,
        subset: *const sk_irect_t,
        clipBounds: *const sk_irect_t,
        outSubset: *mut sk_irect_t,
        outOffset: *mut sk_ipoint_t,
    ) -> *mut sk_image_t;
    pub fn sk_imagefilter_unref(cfilter: *mut sk_imagefilter_t);
    pub fn sk_imagefilter_new_alpha_threshold(
        region: *const sk_region_t,
        innerThreshold: f32,
        outerThreshold: f32,
        input: *const sk_imagefilter_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_arithmetic(
        k1: f32,
        k2: f32,
        k3: f32,
        k4: f32,
        enforcePMColor: bool,
        background: *const sk_imagefilter_t,
        foreground: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_blend(
        mode: sk_blendmode_t,
        background: *const sk_imagefilter_t,
        foreground: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_blur(
        sigmaX: f32,
        sigmaY: f32,
        tileMode: sk_shader_tilemode_t,
        input: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_color_filter(
        cf: *mut sk_colorfilter_t,
        input: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_compose(
        outer: *const sk_imagefilter_t,
        inner: *const sk_imagefilter_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_displacement_map_effect(
        xChannelSelector: sk_color_channel_t,
        yChannelSelector: sk_color_channel_t,
        scale: f32,
        displacement: *const sk_imagefilter_t,
        color: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_drop_shadow(
        dx: f32,
        dy: f32,
        sigmaX: f32,
        sigmaY: f32,
        color: sk_color_t,
        input: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_drop_shadow_only(
        dx: f32,
        dy: f32,
        sigmaX: f32,
        sigmaY: f32,
        color: sk_color_t,
        input: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_image(
        image: *mut sk_image_t,
        srcRect: *const sk_rect_t,
        dstRect: *const sk_rect_t,
        sampling: *const sk_sampling_options_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_image_simple(
        image: *mut sk_image_t,
        sampling: *const sk_sampling_options_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_magnifier(
        lensBounds: *const sk_rect_t,
        zoomAmount: f32,
        inset: f32,
        sampling: *const sk_sampling_options_t,
        input: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_matrix_convolution(
        kernelSize: *const sk_isize_t,
        kernel: *const f32,
        gain: f32,
        bias: f32,
        kernelOffset: *const sk_ipoint_t,
        ctileMode: sk_shader_tilemode_t,
        convolveAlpha: bool,
        input: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_matrix_transform(
        cmatrix: *const sk_matrix_t,
        sampling: *const sk_sampling_options_t,
        input: *const sk_imagefilter_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_merge(
        cfilters: *mut *const sk_imagefilter_t,
        count: ::std::os::raw::c_int,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_merge_simple(
        first: *const sk_imagefilter_t,
        second: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_offset(
        dx: f32,
        dy: f32,
        input: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_picture(picture: *const sk_picture_t) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_picture_with_rect(
        picture: *const sk_picture_t,
        targetRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_shader(
        shader: *const sk_shader_t,
        dither: bool,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_tile(
        src: *const sk_rect_t,
        dst: *const sk_rect_t,
        input: *const sk_imagefilter_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_dilate(
        radiusX: f32,
        radiusY: f32,
        input: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_erode(
        radiusX: f32,
        radiusY: f32,
        input: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_distant_lit_diffuse(
        direction: *const sk_point3_t,
        lightColor: sk_color_t,
        surfaceScale: f32,
        kd: f32,
        input: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_point_lit_diffuse(
        location: *const sk_point3_t,
        lightColor: sk_color_t,
        surfaceScale: f32,
        kd: f32,
        input: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_spot_lit_diffuse(
        location: *const sk_point3_t,
        target: *const sk_point3_t,
        specularExponent: f32,
        cutoffAngle: f32,
        lightColor: sk_color_t,
        surfaceScale: f32,
        kd: f32,
        input: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_distant_lit_specular(
        direction: *const sk_point3_t,
        lightColor: sk_color_t,
        surfaceScale: f32,
        ks: f32,
        shininess: f32,
        input: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_point_lit_specular(
        location: *const sk_point3_t,
        lightColor: sk_color_t,
        surfaceScale: f32,
        ks: f32,
        shininess: f32,
        input: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_imagefilter_new_spot_lit_specular(
        location: *const sk_point3_t,
        target: *const sk_point3_t,
        specularExponent: f32,
        cutoffAngle: f32,
        lightColor: sk_color_t,
        surfaceScale: f32,
        ks: f32,
        shininess: f32,
        input: *const sk_imagefilter_t,
        cropRect: *const sk_rect_t,
    ) -> *mut sk_imagefilter_t;
    pub fn sk_maskfilter_ref(arg1: *mut sk_maskfilter_t);
    pub fn sk_maskfilter_unref(arg1: *mut sk_maskfilter_t);
    pub fn sk_maskfilter_new_blur(arg1: sk_blurstyle_t, sigma: f32) -> *mut sk_maskfilter_t;
    pub fn sk_maskfilter_new_blur_with_flags(
        arg1: sk_blurstyle_t,
        sigma: f32,
        respectCTM: bool,
    ) -> *mut sk_maskfilter_t;
    pub fn sk_maskfilter_new_table(table: *const u8) -> *mut sk_maskfilter_t;
    pub fn sk_maskfilter_new_gamma(gamma: f32) -> *mut sk_maskfilter_t;
    pub fn sk_maskfilter_new_clip(min: u8, max: u8) -> *mut sk_maskfilter_t;
    pub fn sk_maskfilter_new_shader(cshader: *mut sk_shader_t) -> *mut sk_maskfilter_t;
    pub fn sk_matrix_try_invert(matrix: *mut sk_matrix_t, result: *mut sk_matrix_t) -> bool;
    pub fn sk_matrix_concat(
        result: *mut sk_matrix_t,
        first: *mut sk_matrix_t,
        second: *mut sk_matrix_t,
    );
    pub fn sk_matrix_pre_concat(result: *mut sk_matrix_t, matrix: *mut sk_matrix_t);
    pub fn sk_matrix_post_concat(result: *mut sk_matrix_t, matrix: *mut sk_matrix_t);
    pub fn sk_matrix_map_rect(
        matrix: *mut sk_matrix_t,
        dest: *mut sk_rect_t,
        source: *mut sk_rect_t,
    );
    pub fn sk_matrix_map_points(
        matrix: *mut sk_matrix_t,
        dst: *mut sk_point_t,
        src: *mut sk_point_t,
        count: ::std::os::raw::c_int,
    );
    pub fn sk_matrix_map_vectors(
        matrix: *mut sk_matrix_t,
        dst: *mut sk_point_t,
        src: *mut sk_point_t,
        count: ::std::os::raw::c_int,
    );
    pub fn sk_matrix_map_xy(matrix: *mut sk_matrix_t, x: f32, y: f32, result: *mut sk_point_t);
    pub fn sk_matrix_map_vector(matrix: *mut sk_matrix_t, x: f32, y: f32, result: *mut sk_point_t);
    pub fn sk_matrix_map_radius(matrix: *mut sk_matrix_t, radius: f32) -> f32;
    pub fn sk_paint_new() -> *mut sk_paint_t;
    pub fn sk_paint_clone(arg1: *mut sk_paint_t) -> *mut sk_paint_t;
    pub fn sk_paint_delete(arg1: *mut sk_paint_t);
    pub fn sk_paint_reset(arg1: *mut sk_paint_t);
    pub fn sk_paint_is_antialias(arg1: *const sk_paint_t) -> bool;
    pub fn sk_paint_set_antialias(arg1: *mut sk_paint_t, arg2: bool);
    pub fn sk_paint_get_color(arg1: *const sk_paint_t) -> sk_color_t;
    pub fn sk_paint_get_color4f(paint: *const sk_paint_t, color: *mut sk_color4f_t);
    pub fn sk_paint_set_color(arg1: *mut sk_paint_t, arg2: sk_color_t);
    pub fn sk_paint_set_color4f(
        paint: *mut sk_paint_t,
        color: *mut sk_color4f_t,
        colorspace: *mut sk_colorspace_t,
    );
    pub fn sk_paint_get_style(arg1: *const sk_paint_t) -> sk_paint_style_t;
    pub fn sk_paint_set_style(arg1: *mut sk_paint_t, arg2: sk_paint_style_t);
    pub fn sk_paint_get_stroke_width(arg1: *const sk_paint_t) -> f32;
    pub fn sk_paint_set_stroke_width(arg1: *mut sk_paint_t, width: f32);
    pub fn sk_paint_get_stroke_miter(arg1: *const sk_paint_t) -> f32;
    pub fn sk_paint_set_stroke_miter(arg1: *mut sk_paint_t, miter: f32);
    pub fn sk_paint_get_stroke_cap(arg1: *const sk_paint_t) -> sk_stroke_cap_t;
    pub fn sk_paint_set_stroke_cap(arg1: *mut sk_paint_t, arg2: sk_stroke_cap_t);
    pub fn sk_paint_get_stroke_join(arg1: *const sk_paint_t) -> sk_stroke_join_t;
    pub fn sk_paint_set_stroke_join(arg1: *mut sk_paint_t, arg2: sk_stroke_join_t);
    pub fn sk_paint_set_shader(arg1: *mut sk_paint_t, arg2: *mut sk_shader_t);
    pub fn sk_paint_set_maskfilter(arg1: *mut sk_paint_t, arg2: *mut sk_maskfilter_t);
    pub fn sk_paint_set_blendmode(arg1: *mut sk_paint_t, arg2: sk_blendmode_t);
    pub fn sk_paint_is_dither(arg1: *const sk_paint_t) -> bool;
    pub fn sk_paint_set_dither(arg1: *mut sk_paint_t, arg2: bool);
    pub fn sk_paint_get_shader(arg1: *mut sk_paint_t) -> *mut sk_shader_t;
    pub fn sk_paint_get_maskfilter(arg1: *mut sk_paint_t) -> *mut sk_maskfilter_t;
    pub fn sk_paint_set_colorfilter(arg1: *mut sk_paint_t, arg2: *mut sk_colorfilter_t);
    pub fn sk_paint_get_colorfilter(arg1: *mut sk_paint_t) -> *mut sk_colorfilter_t;
    pub fn sk_paint_set_imagefilter(arg1: *mut sk_paint_t, arg2: *mut sk_imagefilter_t);
    pub fn sk_paint_get_imagefilter(arg1: *mut sk_paint_t) -> *mut sk_imagefilter_t;
    pub fn sk_paint_get_blendmode(arg1: *mut sk_paint_t) -> sk_blendmode_t;
    pub fn sk_paint_get_path_effect(cpaint: *mut sk_paint_t) -> *mut sk_path_effect_t;
    pub fn sk_paint_set_path_effect(cpaint: *mut sk_paint_t, effect: *mut sk_path_effect_t);
    pub fn sk_paint_get_fill_path(
        cpaint: *const sk_paint_t,
        src: *const sk_path_t,
        dst: *mut sk_path_t,
        cullRect: *const sk_rect_t,
        cmatrix: *const sk_matrix_t,
    ) -> bool;
    pub fn sk_path_new() -> *mut sk_path_t;
    pub fn sk_path_delete(arg1: *mut sk_path_t);
    pub fn sk_path_move_to(arg1: *mut sk_path_t, x: f32, y: f32);
    pub fn sk_path_line_to(arg1: *mut sk_path_t, x: f32, y: f32);
    pub fn sk_path_quad_to(arg1: *mut sk_path_t, x0: f32, y0: f32, x1: f32, y1: f32);
    pub fn sk_path_conic_to(arg1: *mut sk_path_t, x0: f32, y0: f32, x1: f32, y1: f32, w: f32);
    pub fn sk_path_cubic_to(
        arg1: *mut sk_path_t,
        x0: f32,
        y0: f32,
        x1: f32,
        y1: f32,
        x2: f32,
        y2: f32,
    );
    pub fn sk_path_arc_to(
        arg1: *mut sk_path_t,
        rx: f32,
        ry: f32,
        xAxisRotate: f32,
        largeArc: sk_path_arc_size_t,
        sweep: sk_path_direction_t,
        x: f32,
        y: f32,
    );
    pub fn sk_path_rarc_to(
        arg1: *mut sk_path_t,
        rx: f32,
        ry: f32,
        xAxisRotate: f32,
        largeArc: sk_path_arc_size_t,
        sweep: sk_path_direction_t,
        x: f32,
        y: f32,
    );
    pub fn sk_path_arc_to_with_oval(
        arg1: *mut sk_path_t,
        oval: *const sk_rect_t,
        startAngle: f32,
        sweepAngle: f32,
        forceMoveTo: bool,
    );
    pub fn sk_path_arc_to_with_points(
        arg1: *mut sk_path_t,
        x1: f32,
        y1: f32,
        x2: f32,
        y2: f32,
        radius: f32,
    );
    pub fn sk_path_close(arg1: *mut sk_path_t);
    pub fn sk_path_add_rect(
        arg1: *mut sk_path_t,
        arg2: *const sk_rect_t,
        arg3: sk_path_direction_t,
    );
    pub fn sk_path_add_rrect(
        arg1: *mut sk_path_t,
        arg2: *const sk_rrect_t,
        arg3: sk_path_direction_t,
    );
    pub fn sk_path_add_rrect_start(
        arg1: *mut sk_path_t,
        arg2: *const sk_rrect_t,
        arg3: sk_path_direction_t,
        arg4: u32,
    );
    pub fn sk_path_add_rounded_rect(
        arg1: *mut sk_path_t,
        arg2: *const sk_rect_t,
        arg3: f32,
        arg4: f32,
        arg5: sk_path_direction_t,
    );
    pub fn sk_path_add_oval(
        arg1: *mut sk_path_t,
        arg2: *const sk_rect_t,
        arg3: sk_path_direction_t,
    );
    pub fn sk_path_add_circle(
        arg1: *mut sk_path_t,
        x: f32,
        y: f32,
        radius: f32,
        dir: sk_path_direction_t,
    );
    pub fn sk_path_get_bounds(arg1: *const sk_path_t, arg2: *mut sk_rect_t);
    pub fn sk_path_compute_tight_bounds(arg1: *const sk_path_t, arg2: *mut sk_rect_t);
    pub fn sk_path_rmove_to(arg1: *mut sk_path_t, dx: f32, dy: f32);
    pub fn sk_path_rline_to(arg1: *mut sk_path_t, dx: f32, yd: f32);
    pub fn sk_path_rquad_to(arg1: *mut sk_path_t, dx0: f32, dy0: f32, dx1: f32, dy1: f32);
    pub fn sk_path_rconic_to(arg1: *mut sk_path_t, dx0: f32, dy0: f32, dx1: f32, dy1: f32, w: f32);
    pub fn sk_path_rcubic_to(
        arg1: *mut sk_path_t,
        dx0: f32,
        dy0: f32,
        dx1: f32,
        dy1: f32,
        dx2: f32,
        dy2: f32,
    );
    pub fn sk_path_add_rect_start(
        cpath: *mut sk_path_t,
        crect: *const sk_rect_t,
        cdir: sk_path_direction_t,
        startIndex: u32,
    );
    pub fn sk_path_add_arc(
        cpath: *mut sk_path_t,
        crect: *const sk_rect_t,
        startAngle: f32,
        sweepAngle: f32,
    );
    pub fn sk_path_get_filltype(arg1: *mut sk_path_t) -> sk_path_filltype_t;
    pub fn sk_path_set_filltype(arg1: *mut sk_path_t, arg2: sk_path_filltype_t);
    pub fn sk_path_transform(cpath: *mut sk_path_t, cmatrix: *const sk_matrix_t);
    pub fn sk_path_transform_to_dest(
        cpath: *const sk_path_t,
        cmatrix: *const sk_matrix_t,
        destination: *mut sk_path_t,
    );
    pub fn sk_path_clone(cpath: *const sk_path_t) -> *mut sk_path_t;
    pub fn sk_path_add_path_offset(
        cpath: *mut sk_path_t,
        other: *mut sk_path_t,
        dx: f32,
        dy: f32,
        add_mode: sk_path_add_mode_t,
    );
    pub fn sk_path_add_path_matrix(
        cpath: *mut sk_path_t,
        other: *mut sk_path_t,
        matrix: *mut sk_matrix_t,
        add_mode: sk_path_add_mode_t,
    );
    pub fn sk_path_add_path(
        cpath: *mut sk_path_t,
        other: *mut sk_path_t,
        add_mode: sk_path_add_mode_t,
    );
    pub fn sk_path_add_path_reverse(cpath: *mut sk_path_t, other: *mut sk_path_t);
    pub fn sk_path_reset(cpath: *mut sk_path_t);
    pub fn sk_path_rewind(cpath: *mut sk_path_t);
    pub fn sk_path_count_points(cpath: *const sk_path_t) -> ::std::os::raw::c_int;
    pub fn sk_path_count_verbs(cpath: *const sk_path_t) -> ::std::os::raw::c_int;
    pub fn sk_path_get_point(
        cpath: *const sk_path_t,
        index: ::std::os::raw::c_int,
        point: *mut sk_point_t,
    );
    pub fn sk_path_get_points(
        cpath: *const sk_path_t,
        points: *mut sk_point_t,
        max: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_int;
    pub fn sk_path_contains(cpath: *const sk_path_t, x: f32, y: f32) -> bool;
    pub fn sk_path_parse_svg_string(
        cpath: *mut sk_path_t,
        str_: *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn sk_path_to_svg_string(cpath: *const sk_path_t, str_: *mut sk_string_t);
    pub fn sk_path_get_last_point(cpath: *const sk_path_t, point: *mut sk_point_t) -> bool;
    pub fn sk_path_convert_conic_to_quads(
        p0: *const sk_point_t,
        p1: *const sk_point_t,
        p2: *const sk_point_t,
        w: f32,
        pts: *mut sk_point_t,
        pow2: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_int;
    pub fn sk_path_add_poly(
        cpath: *mut sk_path_t,
        points: *const sk_point_t,
        count: ::std::os::raw::c_int,
        close: bool,
    );
    pub fn sk_path_get_segment_masks(cpath: *mut sk_path_t) -> u32;
    pub fn sk_path_is_oval(cpath: *mut sk_path_t, bounds: *mut sk_rect_t) -> bool;
    pub fn sk_path_is_rrect(cpath: *mut sk_path_t, bounds: *mut sk_rrect_t) -> bool;
    pub fn sk_path_is_line(cpath: *mut sk_path_t, line: *mut sk_point_t) -> bool;
    pub fn sk_path_is_rect(
        cpath: *mut sk_path_t,
        rect: *mut sk_rect_t,
        isClosed: *mut bool,
        direction: *mut sk_path_direction_t,
    ) -> bool;
    pub fn sk_path_is_convex(cpath: *const sk_path_t) -> bool;
    pub fn sk_path_create_iter(
        cpath: *mut sk_path_t,
        forceClose: ::std::os::raw::c_int,
    ) -> *mut sk_path_iterator_t;
    pub fn sk_path_iter_next(
        iterator: *mut sk_path_iterator_t,
        points: *mut sk_point_t,
    ) -> sk_path_verb_t;
    pub fn sk_path_iter_conic_weight(iterator: *mut sk_path_iterator_t) -> f32;
    pub fn sk_path_iter_is_close_line(iterator: *mut sk_path_iterator_t) -> ::std::os::raw::c_int;
    pub fn sk_path_iter_is_closed_contour(
        iterator: *mut sk_path_iterator_t,
    ) -> ::std::os::raw::c_int;
    pub fn sk_path_iter_destroy(iterator: *mut sk_path_iterator_t);
    pub fn sk_path_create_rawiter(cpath: *mut sk_path_t) -> *mut sk_path_rawiterator_t;
    pub fn sk_path_rawiter_peek(iterator: *mut sk_path_rawiterator_t) -> sk_path_verb_t;
    pub fn sk_path_rawiter_next(
        iterator: *mut sk_path_rawiterator_t,
        points: *mut sk_point_t,
    ) -> sk_path_verb_t;
    pub fn sk_path_rawiter_conic_weight(iterator: *mut sk_path_rawiterator_t) -> f32;
    pub fn sk_path_rawiter_destroy(iterator: *mut sk_path_rawiterator_t);
    pub fn sk_pathop_op(
        one: *const sk_path_t,
        two: *const sk_path_t,
        op: sk_pathop_t,
        result: *mut sk_path_t,
    ) -> bool;
    pub fn sk_pathop_simplify(path: *const sk_path_t, result: *mut sk_path_t) -> bool;
    pub fn sk_pathop_tight_bounds(path: *const sk_path_t, result: *mut sk_rect_t) -> bool;
    pub fn sk_pathop_as_winding(path: *const sk_path_t, result: *mut sk_path_t) -> bool;
    pub fn sk_opbuilder_new() -> *mut sk_opbuilder_t;
    pub fn sk_opbuilder_destroy(builder: *mut sk_opbuilder_t);
    pub fn sk_opbuilder_add(builder: *mut sk_opbuilder_t, path: *const sk_path_t, op: sk_pathop_t);
    pub fn sk_opbuilder_resolve(builder: *mut sk_opbuilder_t, result: *mut sk_path_t) -> bool;
    pub fn sk_pathmeasure_new() -> *mut sk_pathmeasure_t;
    pub fn sk_pathmeasure_new_with_path(
        path: *const sk_path_t,
        forceClosed: bool,
        resScale: f32,
    ) -> *mut sk_pathmeasure_t;
    pub fn sk_pathmeasure_destroy(pathMeasure: *mut sk_pathmeasure_t);
    pub fn sk_pathmeasure_set_path(
        pathMeasure: *mut sk_pathmeasure_t,
        path: *const sk_path_t,
        forceClosed: bool,
    );
    pub fn sk_pathmeasure_get_length(pathMeasure: *mut sk_pathmeasure_t) -> f32;
    pub fn sk_pathmeasure_get_pos_tan(
        pathMeasure: *mut sk_pathmeasure_t,
        distance: f32,
        position: *mut sk_point_t,
        tangent: *mut sk_vector_t,
    ) -> bool;
    pub fn sk_pathmeasure_get_matrix(
        pathMeasure: *mut sk_pathmeasure_t,
        distance: f32,
        matrix: *mut sk_matrix_t,
        flags: sk_pathmeasure_matrixflags_t,
    ) -> bool;
    pub fn sk_pathmeasure_get_segment(
        pathMeasure: *mut sk_pathmeasure_t,
        start: f32,
        stop: f32,
        dst: *mut sk_path_t,
        startWithMoveTo: bool,
    ) -> bool;
    pub fn sk_pathmeasure_is_closed(pathMeasure: *mut sk_pathmeasure_t) -> bool;
    pub fn sk_pathmeasure_next_contour(pathMeasure: *mut sk_pathmeasure_t) -> bool;
    pub fn sk_path_effect_unref(t: *mut sk_path_effect_t);
    pub fn sk_path_effect_create_compose(
        outer: *mut sk_path_effect_t,
        inner: *mut sk_path_effect_t,
    ) -> *mut sk_path_effect_t;
    pub fn sk_path_effect_create_sum(
        first: *mut sk_path_effect_t,
        second: *mut sk_path_effect_t,
    ) -> *mut sk_path_effect_t;
    pub fn sk_path_effect_create_discrete(
        segLength: f32,
        deviation: f32,
        seedAssist: u32,
    ) -> *mut sk_path_effect_t;
    pub fn sk_path_effect_create_corner(radius: f32) -> *mut sk_path_effect_t;
    pub fn sk_path_effect_create_1d_path(
        path: *const sk_path_t,
        advance: f32,
        phase: f32,
        style: sk_path_effect_1d_style_t,
    ) -> *mut sk_path_effect_t;
    pub fn sk_path_effect_create_2d_line(
        width: f32,
        matrix: *const sk_matrix_t,
    ) -> *mut sk_path_effect_t;
    pub fn sk_path_effect_create_2d_path(
        matrix: *const sk_matrix_t,
        path: *const sk_path_t,
    ) -> *mut sk_path_effect_t;
    pub fn sk_path_effect_create_dash(
        intervals: *const f32,
        count: ::std::os::raw::c_int,
        phase: f32,
    ) -> *mut sk_path_effect_t;
    pub fn sk_path_effect_create_trim(
        start: f32,
        stop: f32,
        mode: sk_path_effect_trim_mode_t,
    ) -> *mut sk_path_effect_t;
    pub fn sk_picture_recorder_new() -> *mut sk_picture_recorder_t;
    pub fn sk_picture_recorder_delete(arg1: *mut sk_picture_recorder_t);
    pub fn sk_picture_recorder_begin_recording(
        arg1: *mut sk_picture_recorder_t,
        arg2: *const sk_rect_t,
    ) -> *mut sk_canvas_t;
    pub fn sk_picture_recorder_end_recording(arg1: *mut sk_picture_recorder_t)
        -> *mut sk_picture_t;
    pub fn sk_picture_recorder_end_recording_as_drawable(
        arg1: *mut sk_picture_recorder_t,
    ) -> *mut sk_drawable_t;
    pub fn sk_picture_get_recording_canvas(crec: *mut sk_picture_recorder_t) -> *mut sk_canvas_t;
    pub fn sk_picture_ref(arg1: *mut sk_picture_t);
    pub fn sk_picture_unref(arg1: *mut sk_picture_t);
    pub fn sk_picture_get_unique_id(arg1: *mut sk_picture_t) -> u32;
    pub fn sk_picture_get_cull_rect(arg1: *mut sk_picture_t, arg2: *mut sk_rect_t);
    pub fn sk_picture_make_shader(
        src: *mut sk_picture_t,
        tmx: sk_shader_tilemode_t,
        tmy: sk_shader_tilemode_t,
        mode: sk_filter_mode_t,
        localMatrix: *const sk_matrix_t,
        tile: *const sk_rect_t,
    ) -> *mut sk_shader_t;
    pub fn sk_picture_serialize_to_data(picture: *const sk_picture_t) -> *mut sk_data_t;
    pub fn sk_picture_serialize_to_stream(picture: *const sk_picture_t, stream: *mut sk_wstream_t);
    pub fn sk_picture_deserialize_from_stream(stream: *mut sk_stream_t) -> *mut sk_picture_t;
    pub fn sk_picture_deserialize_from_data(data: *mut sk_data_t) -> *mut sk_picture_t;
    pub fn sk_picture_deserialize_from_memory(
        buffer: *mut ::std::os::raw::c_void,
        length: usize,
    ) -> *mut sk_picture_t;
    pub fn sk_pixmap_destructor(cpixmap: *mut sk_pixmap_t);
    pub fn sk_pixmap_new() -> *mut sk_pixmap_t;
    pub fn sk_pixmap_new_with_params(
        cinfo: *const sk_imageinfo_t,
        addr: *const ::std::os::raw::c_void,
        rowBytes: usize,
    ) -> *mut sk_pixmap_t;
    pub fn sk_pixmap_reset(cpixmap: *mut sk_pixmap_t);
    pub fn sk_pixmap_reset_with_params(
        cpixmap: *mut sk_pixmap_t,
        cinfo: *const sk_imageinfo_t,
        addr: *const ::std::os::raw::c_void,
        rowBytes: usize,
    );
    pub fn sk_pixmap_set_colorspace(cpixmap: *mut sk_pixmap_t, colorspace: *mut sk_colorspace_t);
    pub fn sk_pixmap_extract_subset(
        cpixmap: *const sk_pixmap_t,
        result: *mut sk_pixmap_t,
        subset: *const sk_irect_t,
    ) -> bool;
    pub fn sk_pixmap_get_info(cpixmap: *const sk_pixmap_t, cinfo: *mut sk_imageinfo_t);
    pub fn sk_pixmap_get_row_bytes(cpixmap: *const sk_pixmap_t) -> usize;
    pub fn sk_pixmap_get_colorspace(cpixmap: *const sk_pixmap_t) -> *mut sk_colorspace_t;
    pub fn sk_pixmap_compute_is_opaque(cpixmap: *const sk_pixmap_t) -> bool;
    pub fn sk_pixmap_get_pixel_color(
        cpixmap: *const sk_pixmap_t,
        x: ::std::os::raw::c_int,
        y: ::std::os::raw::c_int,
    ) -> sk_color_t;
    pub fn sk_pixmap_get_pixel_color4f(
        cpixmap: *const sk_pixmap_t,
        x: ::std::os::raw::c_int,
        y: ::std::os::raw::c_int,
        color: *mut sk_color4f_t,
    );
    pub fn sk_pixmap_get_pixel_alphaf(
        cpixmap: *const sk_pixmap_t,
        x: ::std::os::raw::c_int,
        y: ::std::os::raw::c_int,
    ) -> f32;
    pub fn sk_pixmap_get_writable_addr(cpixmap: *const sk_pixmap_t) -> *mut ::std::os::raw::c_void;
    pub fn sk_pixmap_get_writeable_addr_with_xy(
        cpixmap: *const sk_pixmap_t,
        x: ::std::os::raw::c_int,
        y: ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_void;
    pub fn sk_pixmap_read_pixels(
        cpixmap: *const sk_pixmap_t,
        dstInfo: *const sk_imageinfo_t,
        dstPixels: *mut ::std::os::raw::c_void,
        dstRowBytes: usize,
        srcX: ::std::os::raw::c_int,
        srcY: ::std::os::raw::c_int,
    ) -> bool;
    pub fn sk_pixmap_scale_pixels(
        cpixmap: *const sk_pixmap_t,
        dst: *const sk_pixmap_t,
        sampling: *const sk_sampling_options_t,
    ) -> bool;
    pub fn sk_pixmap_erase_color(
        cpixmap: *const sk_pixmap_t,
        color: sk_color_t,
        subset: *const sk_irect_t,
    ) -> bool;
    pub fn sk_pixmap_erase_color4f(
        cpixmap: *const sk_pixmap_t,
        color: *const sk_color4f_t,
        subset: *const sk_irect_t,
    ) -> bool;
    pub fn sk_webpencoder_encode(
        dst: *mut sk_wstream_t,
        src: *const sk_pixmap_t,
        options: *const sk_webpencoder_options_t,
    ) -> bool;
    pub fn sk_jpegencoder_encode(
        dst: *mut sk_wstream_t,
        src: *const sk_pixmap_t,
        options: *const sk_jpegencoder_options_t,
    ) -> bool;
    pub fn sk_pngencoder_encode(
        dst: *mut sk_wstream_t,
        src: *const sk_pixmap_t,
        options: *const sk_pngencoder_options_t,
    ) -> bool;
    pub fn sk_swizzle_swap_rb(dest: *mut u32, src: *const u32, count: ::std::os::raw::c_int);
    pub fn sk_color_unpremultiply(pmcolor: sk_pmcolor_t) -> sk_color_t;
    pub fn sk_color_premultiply(color: sk_color_t) -> sk_pmcolor_t;
    pub fn sk_color_unpremultiply_array(
        pmcolors: *const sk_pmcolor_t,
        size: ::std::os::raw::c_int,
        colors: *mut sk_color_t,
    );
    pub fn sk_color_premultiply_array(
        colors: *const sk_color_t,
        size: ::std::os::raw::c_int,
        pmcolors: *mut sk_pmcolor_t,
    );
    pub fn sk_color_get_bit_shift(
        a: *mut ::std::os::raw::c_int,
        r: *mut ::std::os::raw::c_int,
        g: *mut ::std::os::raw::c_int,
        b: *mut ::std::os::raw::c_int,
    );
    pub fn sk_region_new() -> *mut sk_region_t;
    pub fn sk_region_delete(r: *mut sk_region_t);
    pub fn sk_region_is_empty(r: *const sk_region_t) -> bool;
    pub fn sk_region_is_rect(r: *const sk_region_t) -> bool;
    pub fn sk_region_is_complex(r: *const sk_region_t) -> bool;
    pub fn sk_region_get_bounds(r: *const sk_region_t, rect: *mut sk_irect_t);
    pub fn sk_region_get_boundary_path(r: *const sk_region_t, path: *mut sk_path_t) -> bool;
    pub fn sk_region_set_empty(r: *mut sk_region_t) -> bool;
    pub fn sk_region_set_rect(r: *mut sk_region_t, rect: *const sk_irect_t) -> bool;
    pub fn sk_region_set_rects(
        r: *mut sk_region_t,
        rects: *const sk_irect_t,
        count: ::std::os::raw::c_int,
    ) -> bool;
    pub fn sk_region_set_region(r: *mut sk_region_t, region: *const sk_region_t) -> bool;
    pub fn sk_region_set_path(
        r: *mut sk_region_t,
        t: *const sk_path_t,
        clip: *const sk_region_t,
    ) -> bool;
    pub fn sk_region_intersects_rect(r: *const sk_region_t, rect: *const sk_irect_t) -> bool;
    pub fn sk_region_intersects(r: *const sk_region_t, src: *const sk_region_t) -> bool;
    pub fn sk_region_contains_point(
        r: *const sk_region_t,
        x: ::std::os::raw::c_int,
        y: ::std::os::raw::c_int,
    ) -> bool;
    pub fn sk_region_contains_rect(r: *const sk_region_t, rect: *const sk_irect_t) -> bool;
    pub fn sk_region_contains(r: *const sk_region_t, region: *const sk_region_t) -> bool;
    pub fn sk_region_quick_contains(r: *const sk_region_t, rect: *const sk_irect_t) -> bool;
    pub fn sk_region_quick_reject_rect(r: *const sk_region_t, rect: *const sk_irect_t) -> bool;
    pub fn sk_region_quick_reject(r: *const sk_region_t, region: *const sk_region_t) -> bool;
    pub fn sk_region_translate(
        r: *mut sk_region_t,
        x: ::std::os::raw::c_int,
        y: ::std::os::raw::c_int,
    );
    pub fn sk_region_op_rect(
        r: *mut sk_region_t,
        rect: *const sk_irect_t,
        op: sk_region_op_t,
    ) -> bool;
    pub fn sk_region_op(
        r: *mut sk_region_t,
        region: *const sk_region_t,
        op: sk_region_op_t,
    ) -> bool;
    pub fn sk_region_iterator_new(region: *const sk_region_t) -> *mut sk_region_iterator_t;
    pub fn sk_region_iterator_delete(iter: *mut sk_region_iterator_t);
    pub fn sk_region_iterator_rewind(iter: *mut sk_region_iterator_t) -> bool;
    pub fn sk_region_iterator_done(iter: *const sk_region_iterator_t) -> bool;
    pub fn sk_region_iterator_next(iter: *mut sk_region_iterator_t);
    pub fn sk_region_iterator_rect(iter: *const sk_region_iterator_t, rect: *mut sk_irect_t);
    pub fn sk_region_cliperator_new(
        region: *const sk_region_t,
        clip: *const sk_irect_t,
    ) -> *mut sk_region_cliperator_t;
    pub fn sk_region_cliperator_delete(iter: *mut sk_region_cliperator_t);
    pub fn sk_region_cliperator_done(iter: *mut sk_region_cliperator_t) -> bool;
    pub fn sk_region_cliperator_next(iter: *mut sk_region_cliperator_t);
    pub fn sk_region_cliperator_rect(iter: *const sk_region_cliperator_t, rect: *mut sk_irect_t);
    pub fn sk_region_spanerator_new(
        region: *const sk_region_t,
        y: ::std::os::raw::c_int,
        left: ::std::os::raw::c_int,
        right: ::std::os::raw::c_int,
    ) -> *mut sk_region_spanerator_t;
    pub fn sk_region_spanerator_delete(iter: *mut sk_region_spanerator_t);
    pub fn sk_region_spanerator_next(
        iter: *mut sk_region_spanerator_t,
        left: *mut ::std::os::raw::c_int,
        right: *mut ::std::os::raw::c_int,
    ) -> bool;
    pub fn sk_rrect_new() -> *mut sk_rrect_t;
    pub fn sk_rrect_new_copy(rrect: *const sk_rrect_t) -> *mut sk_rrect_t;
    pub fn sk_rrect_delete(rrect: *const sk_rrect_t);
    pub fn sk_rrect_get_type(rrect: *const sk_rrect_t) -> sk_rrect_type_t;
    pub fn sk_rrect_get_rect(rrect: *const sk_rrect_t, rect: *mut sk_rect_t);
    pub fn sk_rrect_get_radii(
        rrect: *const sk_rrect_t,
        corner: sk_rrect_corner_t,
        radii: *mut sk_vector_t,
    );
    pub fn sk_rrect_get_width(rrect: *const sk_rrect_t) -> f32;
    pub fn sk_rrect_get_height(rrect: *const sk_rrect_t) -> f32;
    pub fn sk_rrect_set_empty(rrect: *mut sk_rrect_t);
    pub fn sk_rrect_set_rect(rrect: *mut sk_rrect_t, rect: *const sk_rect_t);
    pub fn sk_rrect_set_oval(rrect: *mut sk_rrect_t, rect: *const sk_rect_t);
    pub fn sk_rrect_set_rect_xy(
        rrect: *mut sk_rrect_t,
        rect: *const sk_rect_t,
        xRad: f32,
        yRad: f32,
    );
    pub fn sk_rrect_set_nine_patch(
        rrect: *mut sk_rrect_t,
        rect: *const sk_rect_t,
        leftRad: f32,
        topRad: f32,
        rightRad: f32,
        bottomRad: f32,
    );
    pub fn sk_rrect_set_rect_radii(
        rrect: *mut sk_rrect_t,
        rect: *const sk_rect_t,
        radii: *const sk_vector_t,
    );
    pub fn sk_rrect_inset(rrect: *mut sk_rrect_t, dx: f32, dy: f32);
    pub fn sk_rrect_outset(rrect: *mut sk_rrect_t, dx: f32, dy: f32);
    pub fn sk_rrect_offset(rrect: *mut sk_rrect_t, dx: f32, dy: f32);
    pub fn sk_rrect_contains(rrect: *const sk_rrect_t, rect: *const sk_rect_t) -> bool;
    pub fn sk_rrect_is_valid(rrect: *const sk_rrect_t) -> bool;
    pub fn sk_rrect_transform(
        rrect: *mut sk_rrect_t,
        matrix: *const sk_matrix_t,
        dest: *mut sk_rrect_t,
    ) -> bool;
    pub fn sk_runtimeeffect_make_for_color_filter(
        sksl: *mut sk_string_t,
        error: *mut sk_string_t,
    ) -> *mut sk_runtimeeffect_t;
    pub fn sk_runtimeeffect_make_for_shader(
        sksl: *mut sk_string_t,
        error: *mut sk_string_t,
    ) -> *mut sk_runtimeeffect_t;
    pub fn sk_runtimeeffect_unref(effect: *mut sk_runtimeeffect_t);
    pub fn sk_runtimeeffect_make_shader(
        effect: *mut sk_runtimeeffect_t,
        uniforms: *mut sk_data_t,
        children: *mut *mut sk_flattenable_t,
        childCount: usize,
        localMatrix: *const sk_matrix_t,
    ) -> *mut sk_shader_t;
    pub fn sk_runtimeeffect_make_color_filter(
        effect: *mut sk_runtimeeffect_t,
        uniforms: *mut sk_data_t,
        children: *mut *mut sk_flattenable_t,
        childCount: usize,
    ) -> *mut sk_colorfilter_t;
    pub fn sk_runtimeeffect_get_uniform_byte_size(effect: *const sk_runtimeeffect_t) -> usize;
    pub fn sk_runtimeeffect_get_uniforms_size(effect: *const sk_runtimeeffect_t) -> usize;
    pub fn sk_runtimeeffect_get_uniform_name(
        effect: *const sk_runtimeeffect_t,
        index: ::std::os::raw::c_int,
        name: *mut sk_string_t,
    );
    pub fn sk_runtimeeffect_get_uniform_from_index(
        effect: *const sk_runtimeeffect_t,
        index: ::std::os::raw::c_int,
        cuniform: *mut sk_runtimeeffect_uniform_t,
    );
    pub fn sk_runtimeeffect_get_uniform_from_name(
        effect: *const sk_runtimeeffect_t,
        name: *const ::std::os::raw::c_char,
        len: usize,
        cuniform: *mut sk_runtimeeffect_uniform_t,
    );
    pub fn sk_runtimeeffect_get_children_size(effect: *const sk_runtimeeffect_t) -> usize;
    pub fn sk_runtimeeffect_get_child_name(
        effect: *const sk_runtimeeffect_t,
        index: ::std::os::raw::c_int,
        name: *mut sk_string_t,
    );
    pub fn sk_runtimeeffect_get_child_from_index(
        effect: *const sk_runtimeeffect_t,
        index: ::std::os::raw::c_int,
        cchild: *mut sk_runtimeeffect_child_t,
    );
    pub fn sk_runtimeeffect_get_child_from_name(
        effect: *const sk_runtimeeffect_t,
        name: *const ::std::os::raw::c_char,
        len: usize,
        cchild: *mut sk_runtimeeffect_child_t,
    );
    pub fn sk_shader_ref(shader: *mut sk_shader_t);
    pub fn sk_shader_unref(shader: *mut sk_shader_t);
    pub fn sk_shader_with_local_matrix(
        shader: *const sk_shader_t,
        localMatrix: *const sk_matrix_t,
    ) -> *mut sk_shader_t;
    pub fn sk_shader_with_color_filter(
        shader: *const sk_shader_t,
        filter: *const sk_colorfilter_t,
    ) -> *mut sk_shader_t;
    pub fn sk_shader_new_empty() -> *mut sk_shader_t;
    pub fn sk_shader_new_color(color: sk_color_t) -> *mut sk_shader_t;
    pub fn sk_shader_new_color4f(
        color: *const sk_color4f_t,
        colorspace: *const sk_colorspace_t,
    ) -> *mut sk_shader_t;
    pub fn sk_shader_new_blend(
        mode: sk_blendmode_t,
        dst: *const sk_shader_t,
        src: *const sk_shader_t,
    ) -> *mut sk_shader_t;
    pub fn sk_shader_new_linear_gradient(
        points: *const sk_point_t,
        colors: *const sk_color_t,
        colorPos: *const f32,
        colorCount: ::std::os::raw::c_int,
        tileMode: sk_shader_tilemode_t,
        localMatrix: *const sk_matrix_t,
    ) -> *mut sk_shader_t;
    pub fn sk_shader_new_linear_gradient_color4f(
        points: *const sk_point_t,
        colors: *const sk_color4f_t,
        colorspace: *const sk_colorspace_t,
        colorPos: *const f32,
        colorCount: ::std::os::raw::c_int,
        tileMode: sk_shader_tilemode_t,
        localMatrix: *const sk_matrix_t,
    ) -> *mut sk_shader_t;
    pub fn sk_shader_new_radial_gradient(
        center: *const sk_point_t,
        radius: f32,
        colors: *const sk_color_t,
        colorPos: *const f32,
        colorCount: ::std::os::raw::c_int,
        tileMode: sk_shader_tilemode_t,
        localMatrix: *const sk_matrix_t,
    ) -> *mut sk_shader_t;
    pub fn sk_shader_new_radial_gradient_color4f(
        center: *const sk_point_t,
        radius: f32,
        colors: *const sk_color4f_t,
        colorspace: *const sk_colorspace_t,
        colorPos: *const f32,
        colorCount: ::std::os::raw::c_int,
        tileMode: sk_shader_tilemode_t,
        localMatrix: *const sk_matrix_t,
    ) -> *mut sk_shader_t;
    pub fn sk_shader_new_sweep_gradient(
        center: *const sk_point_t,
        colors: *const sk_color_t,
        colorPos: *const f32,
        colorCount: ::std::os::raw::c_int,
        tileMode: sk_shader_tilemode_t,
        startAngle: f32,
        endAngle: f32,
        localMatrix: *const sk_matrix_t,
    ) -> *mut sk_shader_t;
    pub fn sk_shader_new_sweep_gradient_color4f(
        center: *const sk_point_t,
        colors: *const sk_color4f_t,
        colorspace: *const sk_colorspace_t,
        colorPos: *const f32,
        colorCount: ::std::os::raw::c_int,
        tileMode: sk_shader_tilemode_t,
        startAngle: f32,
        endAngle: f32,
        localMatrix: *const sk_matrix_t,
    ) -> *mut sk_shader_t;
    pub fn sk_shader_new_two_point_conical_gradient(
        start: *const sk_point_t,
        startRadius: f32,
        end: *const sk_point_t,
        endRadius: f32,
        colors: *const sk_color_t,
        colorPos: *const f32,
        colorCount: ::std::os::raw::c_int,
        tileMode: sk_shader_tilemode_t,
        localMatrix: *const sk_matrix_t,
    ) -> *mut sk_shader_t;
    pub fn sk_shader_new_two_point_conical_gradient_color4f(
        start: *const sk_point_t,
        startRadius: f32,
        end: *const sk_point_t,
        endRadius: f32,
        colors: *const sk_color4f_t,
        colorspace: *const sk_colorspace_t,
        colorPos: *const f32,
        colorCount: ::std::os::raw::c_int,
        tileMode: sk_shader_tilemode_t,
        localMatrix: *const sk_matrix_t,
    ) -> *mut sk_shader_t;
    pub fn sk_shader_new_perlin_noise_fractal_noise(
        baseFrequencyX: f32,
        baseFrequencyY: f32,
        numOctaves: ::std::os::raw::c_int,
        seed: f32,
        tileSize: *const sk_isize_t,
    ) -> *mut sk_shader_t;
    pub fn sk_shader_new_perlin_noise_turbulence(
        baseFrequencyX: f32,
        baseFrequencyY: f32,
        numOctaves: ::std::os::raw::c_int,
        seed: f32,
        tileSize: *const sk_isize_t,
    ) -> *mut sk_shader_t;
    pub fn sk_stream_asset_destroy(cstream: *mut sk_stream_asset_t);
    pub fn sk_filestream_new(path: *const ::std::os::raw::c_char) -> *mut sk_stream_filestream_t;
    pub fn sk_filestream_destroy(cstream: *mut sk_stream_filestream_t);
    pub fn sk_filestream_is_valid(cstream: *mut sk_stream_filestream_t) -> bool;
    pub fn sk_memorystream_new() -> *mut sk_stream_memorystream_t;
    pub fn sk_memorystream_new_with_length(length: usize) -> *mut sk_stream_memorystream_t;
    pub fn sk_memorystream_new_with_data(
        data: *const ::std::os::raw::c_void,
        length: usize,
        copyData: bool,
    ) -> *mut sk_stream_memorystream_t;
    pub fn sk_memorystream_new_with_skdata(data: *mut sk_data_t) -> *mut sk_stream_memorystream_t;
    pub fn sk_memorystream_set_memory(
        cmemorystream: *mut sk_stream_memorystream_t,
        data: *const ::std::os::raw::c_void,
        length: usize,
        copyData: bool,
    );
    pub fn sk_memorystream_destroy(cstream: *mut sk_stream_memorystream_t);
    pub fn sk_stream_read(
        cstream: *mut sk_stream_t,
        buffer: *mut ::std::os::raw::c_void,
        size: usize,
    ) -> usize;
    pub fn sk_stream_peek(
        cstream: *mut sk_stream_t,
        buffer: *mut ::std::os::raw::c_void,
        size: usize,
    ) -> usize;
    pub fn sk_stream_skip(cstream: *mut sk_stream_t, size: usize) -> usize;
    pub fn sk_stream_is_at_end(cstream: *mut sk_stream_t) -> bool;
    pub fn sk_stream_read_s8(cstream: *mut sk_stream_t, buffer: *mut i8) -> bool;
    pub fn sk_stream_read_s16(cstream: *mut sk_stream_t, buffer: *mut i16) -> bool;
    pub fn sk_stream_read_s32(cstream: *mut sk_stream_t, buffer: *mut i32) -> bool;
    pub fn sk_stream_read_u8(cstream: *mut sk_stream_t, buffer: *mut u8) -> bool;
    pub fn sk_stream_read_u16(cstream: *mut sk_stream_t, buffer: *mut u16) -> bool;
    pub fn sk_stream_read_u32(cstream: *mut sk_stream_t, buffer: *mut u32) -> bool;
    pub fn sk_stream_read_bool(cstream: *mut sk_stream_t, buffer: *mut bool) -> bool;
    pub fn sk_stream_rewind(cstream: *mut sk_stream_t) -> bool;
    pub fn sk_stream_has_position(cstream: *mut sk_stream_t) -> bool;
    pub fn sk_stream_get_position(cstream: *mut sk_stream_t) -> usize;
    pub fn sk_stream_seek(cstream: *mut sk_stream_t, position: usize) -> bool;
    pub fn sk_stream_move(cstream: *mut sk_stream_t, offset: ::std::os::raw::c_long) -> bool;
    pub fn sk_stream_has_length(cstream: *mut sk_stream_t) -> bool;
    pub fn sk_stream_get_length(cstream: *mut sk_stream_t) -> usize;
    pub fn sk_stream_get_memory_base(cstream: *mut sk_stream_t) -> *const ::std::os::raw::c_void;
    pub fn sk_stream_fork(cstream: *mut sk_stream_t) -> *mut sk_stream_t;
    pub fn sk_stream_duplicate(cstream: *mut sk_stream_t) -> *mut sk_stream_t;
    pub fn sk_stream_destroy(cstream: *mut sk_stream_t);
    pub fn sk_filewstream_new(path: *const ::std::os::raw::c_char) -> *mut sk_wstream_filestream_t;
    pub fn sk_filewstream_destroy(cstream: *mut sk_wstream_filestream_t);
    pub fn sk_filewstream_is_valid(cstream: *mut sk_wstream_filestream_t) -> bool;
    pub fn sk_dynamicmemorywstream_new() -> *mut sk_wstream_dynamicmemorystream_t;
    pub fn sk_dynamicmemorywstream_detach_as_stream(
        cstream: *mut sk_wstream_dynamicmemorystream_t,
    ) -> *mut sk_stream_asset_t;
    pub fn sk_dynamicmemorywstream_detach_as_data(
        cstream: *mut sk_wstream_dynamicmemorystream_t,
    ) -> *mut sk_data_t;
    pub fn sk_dynamicmemorywstream_copy_to(
        cstream: *mut sk_wstream_dynamicmemorystream_t,
        data: *mut ::std::os::raw::c_void,
    );
    pub fn sk_dynamicmemorywstream_write_to_stream(
        cstream: *mut sk_wstream_dynamicmemorystream_t,
        dst: *mut sk_wstream_t,
    ) -> bool;
    pub fn sk_dynamicmemorywstream_destroy(cstream: *mut sk_wstream_dynamicmemorystream_t);
    pub fn sk_wstream_write(
        cstream: *mut sk_wstream_t,
        buffer: *const ::std::os::raw::c_void,
        size: usize,
    ) -> bool;
    pub fn sk_wstream_newline(cstream: *mut sk_wstream_t) -> bool;
    pub fn sk_wstream_flush(cstream: *mut sk_wstream_t);
    pub fn sk_wstream_bytes_written(cstream: *mut sk_wstream_t) -> usize;
    pub fn sk_wstream_write_8(cstream: *mut sk_wstream_t, value: u8) -> bool;
    pub fn sk_wstream_write_16(cstream: *mut sk_wstream_t, value: u16) -> bool;
    pub fn sk_wstream_write_32(cstream: *mut sk_wstream_t, value: u32) -> bool;
    pub fn sk_wstream_write_text(
        cstream: *mut sk_wstream_t,
        value: *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn sk_wstream_write_dec_as_text(cstream: *mut sk_wstream_t, value: i32) -> bool;
    pub fn sk_wstream_write_bigdec_as_text(
        cstream: *mut sk_wstream_t,
        value: i64,
        minDigits: ::std::os::raw::c_int,
    ) -> bool;
    pub fn sk_wstream_write_hex_as_text(
        cstream: *mut sk_wstream_t,
        value: u32,
        minDigits: ::std::os::raw::c_int,
    ) -> bool;
    pub fn sk_wstream_write_scalar_as_text(cstream: *mut sk_wstream_t, value: f32) -> bool;
    pub fn sk_wstream_write_bool(cstream: *mut sk_wstream_t, value: bool) -> bool;
    pub fn sk_wstream_write_scalar(cstream: *mut sk_wstream_t, value: f32) -> bool;
    pub fn sk_wstream_write_packed_uint(cstream: *mut sk_wstream_t, value: usize) -> bool;
    pub fn sk_wstream_write_stream(
        cstream: *mut sk_wstream_t,
        input: *mut sk_stream_t,
        length: usize,
    ) -> bool;
    pub fn sk_wstream_get_size_of_packed_uint(value: usize) -> ::std::os::raw::c_int;
    pub fn sk_string_new_empty() -> *mut sk_string_t;
    pub fn sk_string_new_with_copy(
        src: *const ::std::os::raw::c_char,
        length: usize,
    ) -> *mut sk_string_t;
    pub fn sk_string_destructor(arg1: *const sk_string_t);
    pub fn sk_string_get_size(arg1: *const sk_string_t) -> usize;
    pub fn sk_string_get_c_str(arg1: *const sk_string_t) -> *const ::std::os::raw::c_char;
    pub fn sk_surface_new_null(
        width: ::std::os::raw::c_int,
        height: ::std::os::raw::c_int,
    ) -> *mut sk_surface_t;
    pub fn sk_surface_new_raster(
        arg1: *const sk_imageinfo_t,
        rowBytes: usize,
        arg2: *const sk_surfaceprops_t,
    ) -> *mut sk_surface_t;
    pub fn sk_surface_new_raster_direct(
        arg1: *const sk_imageinfo_t,
        pixels: *mut ::std::os::raw::c_void,
        rowBytes: usize,
        releaseProc: sk_surface_raster_release_proc,
        context: *mut ::std::os::raw::c_void,
        props: *const sk_surfaceprops_t,
    ) -> *mut sk_surface_t;
    pub fn sk_surface_new_backend_texture(
        context: *mut gr_recording_context_t,
        texture: *const gr_backendtexture_t,
        origin: gr_surfaceorigin_t,
        samples: ::std::os::raw::c_int,
        colorType: sk_colortype_t,
        colorspace: *mut sk_colorspace_t,
        props: *const sk_surfaceprops_t,
    ) -> *mut sk_surface_t;
    pub fn sk_surface_new_backend_render_target(
        context: *mut gr_recording_context_t,
        target: *const gr_backendrendertarget_t,
        origin: gr_surfaceorigin_t,
        colorType: sk_colortype_t,
        colorspace: *mut sk_colorspace_t,
        props: *const sk_surfaceprops_t,
    ) -> *mut sk_surface_t;
    pub fn sk_surface_new_render_target(
        context: *mut gr_recording_context_t,
        budgeted: bool,
        cinfo: *const sk_imageinfo_t,
        sampleCount: ::std::os::raw::c_int,
        origin: gr_surfaceorigin_t,
        props: *const sk_surfaceprops_t,
        shouldCreateWithMips: bool,
    ) -> *mut sk_surface_t;
    pub fn sk_surface_new_metal_layer(
        context: *mut gr_recording_context_t,
        layer: *const ::std::os::raw::c_void,
        origin: gr_surfaceorigin_t,
        sampleCount: ::std::os::raw::c_int,
        colorType: sk_colortype_t,
        colorspace: *mut sk_colorspace_t,
        props: *const sk_surfaceprops_t,
        drawable: *mut *const ::std::os::raw::c_void,
    ) -> *mut sk_surface_t;
    pub fn sk_surface_new_metal_view(
        context: *mut gr_recording_context_t,
        mtkView: *const ::std::os::raw::c_void,
        origin: gr_surfaceorigin_t,
        sampleCount: ::std::os::raw::c_int,
        colorType: sk_colortype_t,
        colorspace: *mut sk_colorspace_t,
        props: *const sk_surfaceprops_t,
    ) -> *mut sk_surface_t;
    pub fn sk_surface_unref(arg1: *mut sk_surface_t);
    pub fn sk_surface_get_canvas(arg1: *mut sk_surface_t) -> *mut sk_canvas_t;
    pub fn sk_surface_new_image_snapshot(arg1: *mut sk_surface_t) -> *mut sk_image_t;
    pub fn sk_surface_new_image_snapshot_with_crop(
        surface: *mut sk_surface_t,
        bounds: *const sk_irect_t,
    ) -> *mut sk_image_t;
    pub fn sk_surface_draw(
        surface: *mut sk_surface_t,
        canvas: *mut sk_canvas_t,
        x: f32,
        y: f32,
        paint: *const sk_paint_t,
    );
    pub fn sk_surface_peek_pixels(surface: *mut sk_surface_t, pixmap: *mut sk_pixmap_t) -> bool;
    pub fn sk_surface_read_pixels(
        surface: *mut sk_surface_t,
        dstInfo: *mut sk_imageinfo_t,
        dstPixels: *mut ::std::os::raw::c_void,
        dstRowBytes: usize,
        srcX: ::std::os::raw::c_int,
        srcY: ::std::os::raw::c_int,
    ) -> bool;
    pub fn sk_surface_get_props(surface: *mut sk_surface_t) -> *const sk_surfaceprops_t;
    pub fn sk_surface_flush(surface: *mut sk_surface_t);
    pub fn sk_surface_flush_and_submit(surface: *mut sk_surface_t, syncCpu: bool);
    pub fn sk_surface_get_recording_context(
        surface: *mut sk_surface_t,
    ) -> *mut gr_recording_context_t;
    pub fn sk_surfaceprops_new(flags: u32, geometry: sk_pixelgeometry_t) -> *mut sk_surfaceprops_t;
    pub fn sk_surfaceprops_delete(props: *mut sk_surfaceprops_t);
    pub fn sk_surfaceprops_get_flags(props: *mut sk_surfaceprops_t) -> u32;
    pub fn sk_surfaceprops_get_pixel_geometry(props: *mut sk_surfaceprops_t) -> sk_pixelgeometry_t;
    pub fn sk_svgcanvas_create_with_stream(
        bounds: *const sk_rect_t,
        stream: *mut sk_wstream_t,
    ) -> *mut sk_canvas_t;
    pub fn sk_textblob_ref(blob: *const sk_textblob_t);
    pub fn sk_textblob_unref(blob: *const sk_textblob_t);
    pub fn sk_textblob_get_unique_id(blob: *const sk_textblob_t) -> u32;
    pub fn sk_textblob_get_bounds(blob: *const sk_textblob_t, bounds: *mut sk_rect_t);
    pub fn sk_textblob_get_intercepts(
        blob: *const sk_textblob_t,
        bounds: *const f32,
        intervals: *mut f32,
        paint: *const sk_paint_t,
    ) -> ::std::os::raw::c_int;
    pub fn sk_textblob_builder_new() -> *mut sk_textblob_builder_t;
    pub fn sk_textblob_builder_delete(builder: *mut sk_textblob_builder_t);
    pub fn sk_textblob_builder_make(builder: *mut sk_textblob_builder_t) -> *mut sk_textblob_t;
    pub fn sk_textblob_builder_alloc_run(
        builder: *mut sk_textblob_builder_t,
        font: *const sk_font_t,
        count: ::std::os::raw::c_int,
        x: f32,
        y: f32,
        bounds: *const sk_rect_t,
        runbuffer: *mut sk_textblob_builder_runbuffer_t,
    );
    pub fn sk_textblob_builder_alloc_run_pos_h(
        builder: *mut sk_textblob_builder_t,
        font: *const sk_font_t,
        count: ::std::os::raw::c_int,
        y: f32,
        bounds: *const sk_rect_t,
        runbuffer: *mut sk_textblob_builder_runbuffer_t,
    );
    pub fn sk_textblob_builder_alloc_run_pos(
        builder: *mut sk_textblob_builder_t,
        font: *const sk_font_t,
        count: ::std::os::raw::c_int,
        bounds: *const sk_rect_t,
        runbuffer: *mut sk_textblob_builder_runbuffer_t,
    );
    pub fn sk_textblob_builder_alloc_run_rsxform(
        builder: *mut sk_textblob_builder_t,
        font: *const sk_font_t,
        count: ::std::os::raw::c_int,
        bounds: *const sk_rect_t,
        runbuffer: *mut sk_textblob_builder_runbuffer_t,
    );
    pub fn sk_textblob_builder_alloc_run_text(
        builder: *mut sk_textblob_builder_t,
        font: *const sk_font_t,
        count: ::std::os::raw::c_int,
        x: f32,
        y: f32,
        textByteCount: ::std::os::raw::c_int,
        bounds: *const sk_rect_t,
        runbuffer: *mut sk_textblob_builder_runbuffer_t,
    );
    pub fn sk_textblob_builder_alloc_run_text_pos_h(
        builder: *mut sk_textblob_builder_t,
        font: *const sk_font_t,
        count: ::std::os::raw::c_int,
        y: f32,
        textByteCount: ::std::os::raw::c_int,
        bounds: *const sk_rect_t,
        runbuffer: *mut sk_textblob_builder_runbuffer_t,
    );
    pub fn sk_textblob_builder_alloc_run_text_pos(
        builder: *mut sk_textblob_builder_t,
        font: *const sk_font_t,
        count: ::std::os::raw::c_int,
        textByteCount: ::std::os::raw::c_int,
        bounds: *const sk_rect_t,
        runbuffer: *mut sk_textblob_builder_runbuffer_t,
    );
    pub fn sk_textblob_builder_alloc_run_text_rsxform(
        builder: *mut sk_textblob_builder_t,
        font: *const sk_font_t,
        count: ::std::os::raw::c_int,
        textByteCount: ::std::os::raw::c_int,
        bounds: *const sk_rect_t,
        runbuffer: *mut sk_textblob_builder_runbuffer_t,
    );
    pub fn sk_typeface_unref(typeface: *mut sk_typeface_t);
    pub fn sk_typeface_get_fontstyle(typeface: *const sk_typeface_t) -> *mut sk_fontstyle_t;
    pub fn sk_typeface_get_font_weight(typeface: *const sk_typeface_t) -> ::std::os::raw::c_int;
    pub fn sk_typeface_get_font_width(typeface: *const sk_typeface_t) -> ::std::os::raw::c_int;
    pub fn sk_typeface_get_font_slant(typeface: *const sk_typeface_t) -> sk_font_style_slant_t;
    pub fn sk_typeface_is_fixed_pitch(typeface: *const sk_typeface_t) -> bool;
    pub fn sk_typeface_create_default() -> *mut sk_typeface_t;
    pub fn sk_typeface_ref_default() -> *mut sk_typeface_t;
    pub fn sk_typeface_create_from_name(
        familyName: *const ::std::os::raw::c_char,
        style: *const sk_fontstyle_t,
    ) -> *mut sk_typeface_t;
    pub fn sk_typeface_create_from_file(
        path: *const ::std::os::raw::c_char,
        index: ::std::os::raw::c_int,
    ) -> *mut sk_typeface_t;
    pub fn sk_typeface_create_from_stream(
        stream: *mut sk_stream_asset_t,
        index: ::std::os::raw::c_int,
    ) -> *mut sk_typeface_t;
    pub fn sk_typeface_create_from_data(
        data: *mut sk_data_t,
        index: ::std::os::raw::c_int,
    ) -> *mut sk_typeface_t;
    pub fn sk_typeface_unichars_to_glyphs(
        typeface: *const sk_typeface_t,
        unichars: *const i32,
        count: ::std::os::raw::c_int,
        glyphs: *mut u16,
    );
    pub fn sk_typeface_unichar_to_glyph(typeface: *const sk_typeface_t, unichar: i32) -> u16;
    pub fn sk_typeface_count_glyphs(typeface: *const sk_typeface_t) -> ::std::os::raw::c_int;
    pub fn sk_typeface_count_tables(typeface: *const sk_typeface_t) -> ::std::os::raw::c_int;
    pub fn sk_typeface_get_table_tags(
        typeface: *const sk_typeface_t,
        tags: *mut sk_font_table_tag_t,
    ) -> ::std::os::raw::c_int;
    pub fn sk_typeface_get_table_size(
        typeface: *const sk_typeface_t,
        tag: sk_font_table_tag_t,
    ) -> usize;
    pub fn sk_typeface_get_table_data(
        typeface: *const sk_typeface_t,
        tag: sk_font_table_tag_t,
        offset: usize,
        length: usize,
        data: *mut ::std::os::raw::c_void,
    ) -> usize;
    pub fn sk_typeface_copy_table_data(
        typeface: *const sk_typeface_t,
        tag: sk_font_table_tag_t,
    ) -> *mut sk_data_t;
    pub fn sk_typeface_get_units_per_em(typeface: *const sk_typeface_t) -> ::std::os::raw::c_int;
    pub fn sk_typeface_get_kerning_pair_adjustments(
        typeface: *const sk_typeface_t,
        glyphs: *const u16,
        count: ::std::os::raw::c_int,
        adjustments: *mut i32,
    ) -> bool;
    pub fn sk_typeface_get_family_name(typeface: *const sk_typeface_t) -> *mut sk_string_t;
    pub fn sk_typeface_open_stream(
        typeface: *const sk_typeface_t,
        ttcIndex: *mut ::std::os::raw::c_int,
    ) -> *mut sk_stream_asset_t;
    pub fn sk_fontmgr_create_default() -> *mut sk_fontmgr_t;
    pub fn sk_fontmgr_ref_default() -> *mut sk_fontmgr_t;
    pub fn sk_fontmgr_unref(arg1: *mut sk_fontmgr_t);
    pub fn sk_fontmgr_count_families(arg1: *mut sk_fontmgr_t) -> ::std::os::raw::c_int;
    pub fn sk_fontmgr_get_family_name(
        arg1: *mut sk_fontmgr_t,
        index: ::std::os::raw::c_int,
        familyName: *mut sk_string_t,
    );
    pub fn sk_fontmgr_create_styleset(
        arg1: *mut sk_fontmgr_t,
        index: ::std::os::raw::c_int,
    ) -> *mut sk_fontstyleset_t;
    pub fn sk_fontmgr_match_family(
        arg1: *mut sk_fontmgr_t,
        familyName: *const ::std::os::raw::c_char,
    ) -> *mut sk_fontstyleset_t;
    pub fn sk_fontmgr_match_family_style(
        arg1: *mut sk_fontmgr_t,
        familyName: *const ::std::os::raw::c_char,
        style: *mut sk_fontstyle_t,
    ) -> *mut sk_typeface_t;
    pub fn sk_fontmgr_match_family_style_character(
        arg1: *mut sk_fontmgr_t,
        familyName: *const ::std::os::raw::c_char,
        style: *mut sk_fontstyle_t,
        bcp47: *mut *const ::std::os::raw::c_char,
        bcp47Count: ::std::os::raw::c_int,
        character: i32,
    ) -> *mut sk_typeface_t;
    pub fn sk_fontmgr_create_from_data(
        arg1: *mut sk_fontmgr_t,
        data: *mut sk_data_t,
        index: ::std::os::raw::c_int,
    ) -> *mut sk_typeface_t;
    pub fn sk_fontmgr_create_from_stream(
        arg1: *mut sk_fontmgr_t,
        stream: *mut sk_stream_asset_t,
        index: ::std::os::raw::c_int,
    ) -> *mut sk_typeface_t;
    pub fn sk_fontmgr_create_from_file(
        arg1: *mut sk_fontmgr_t,
        path: *const ::std::os::raw::c_char,
        index: ::std::os::raw::c_int,
    ) -> *mut sk_typeface_t;
    pub fn sk_fontstyle_new(
        weight: ::std::os::raw::c_int,
        width: ::std::os::raw::c_int,
        slant: sk_font_style_slant_t,
    ) -> *mut sk_fontstyle_t;
    pub fn sk_fontstyle_delete(fs: *mut sk_fontstyle_t);
    pub fn sk_fontstyle_get_weight(fs: *const sk_fontstyle_t) -> ::std::os::raw::c_int;
    pub fn sk_fontstyle_get_width(fs: *const sk_fontstyle_t) -> ::std::os::raw::c_int;
    pub fn sk_fontstyle_get_slant(fs: *const sk_fontstyle_t) -> sk_font_style_slant_t;
    pub fn sk_fontstyleset_create_empty() -> *mut sk_fontstyleset_t;
    pub fn sk_fontstyleset_unref(fss: *mut sk_fontstyleset_t);
    pub fn sk_fontstyleset_get_count(fss: *mut sk_fontstyleset_t) -> ::std::os::raw::c_int;
    pub fn sk_fontstyleset_get_style(
        fss: *mut sk_fontstyleset_t,
        index: ::std::os::raw::c_int,
        fs: *mut sk_fontstyle_t,
        style: *mut sk_string_t,
    );
    pub fn sk_fontstyleset_create_typeface(
        fss: *mut sk_fontstyleset_t,
        index: ::std::os::raw::c_int,
    ) -> *mut sk_typeface_t;
    pub fn sk_fontstyleset_match_style(
        fss: *mut sk_fontstyleset_t,
        style: *mut sk_fontstyle_t,
    ) -> *mut sk_typeface_t;
    pub fn sk_vertices_unref(cvertices: *mut sk_vertices_t);
    pub fn sk_vertices_ref(cvertices: *mut sk_vertices_t);
    pub fn sk_vertices_make_copy(
        vmode: sk_vertices_vertex_mode_t,
        vertexCount: ::std::os::raw::c_int,
        positions: *const sk_point_t,
        texs: *const sk_point_t,
        colors: *const sk_color_t,
        indexCount: ::std::os::raw::c_int,
        indices: *const u16,
    ) -> *mut sk_vertices_t;
    pub fn skottie_animation_keepalive();
    pub fn skottie_animation_make_from_string(
        data: *const ::std::os::raw::c_char,
        length: usize,
    ) -> *mut skottie_animation_t;
    pub fn skottie_animation_make_from_data(
        data: *const ::std::os::raw::c_char,
        length: usize,
    ) -> *mut skottie_animation_t;
    pub fn skottie_animation_make_from_stream(stream: *mut sk_stream_t)
        -> *mut skottie_animation_t;
    pub fn skottie_animation_make_from_file(
        path: *const ::std::os::raw::c_char,
    ) -> *mut skottie_animation_t;
    pub fn skottie_animation_ref(instance: *mut skottie_animation_t);
    pub fn skottie_animation_unref(instance: *mut skottie_animation_t);
    pub fn skottie_animation_delete(instance: *mut skottie_animation_t);
    pub fn skottie_animation_render(
        instance: *mut skottie_animation_t,
        canvas: *mut sk_canvas_t,
        dst: *mut sk_rect_t,
    );
    pub fn skottie_animation_render_with_flags(
        instance: *mut skottie_animation_t,
        canvas: *mut sk_canvas_t,
        dst: *mut sk_rect_t,
        flags: skottie_animation_renderflags_t,
    );
    pub fn skottie_animation_seek(
        instance: *mut skottie_animation_t,
        t: f32,
        ic: *mut sksg_invalidation_controller_t,
    );
    pub fn skottie_animation_seek_frame(
        instance: *mut skottie_animation_t,
        t: f32,
        ic: *mut sksg_invalidation_controller_t,
    );
    pub fn skottie_animation_seek_frame_time(
        instance: *mut skottie_animation_t,
        t: f32,
        ic: *mut sksg_invalidation_controller_t,
    );
    pub fn skottie_animation_get_duration(instance: *mut skottie_animation_t) -> f64;
    pub fn skottie_animation_get_fps(instance: *mut skottie_animation_t) -> f64;
    pub fn skottie_animation_get_in_point(instance: *mut skottie_animation_t) -> f64;
    pub fn skottie_animation_get_out_point(instance: *mut skottie_animation_t) -> f64;
    pub fn skottie_animation_get_version(
        instance: *mut skottie_animation_t,
        version: *mut sk_string_t,
    );
    pub fn skottie_animation_get_size(instance: *mut skottie_animation_t, size: *mut sk_size_t);
    pub fn sksg_invalidation_controller_new() -> *mut sksg_invalidation_controller_t;
    pub fn sksg_invalidation_controller_delete(instance: *mut sksg_invalidation_controller_t);
    pub fn sksg_invalidation_controller_inval(
        instance: *mut sksg_invalidation_controller_t,
        rect: *mut sk_rect_t,
        matrix: *mut sk_matrix_t,
    );
    pub fn sksg_invalidation_controller_get_bounds(
        instance: *mut sksg_invalidation_controller_t,
        bounds: *mut sk_rect_t,
    );
    pub fn sksg_invalidation_controller_begin(instance: *mut sksg_invalidation_controller_t);
    pub fn sksg_invalidation_controller_end(instance: *mut sksg_invalidation_controller_t);
    pub fn sksg_invalidation_controller_reset(instance: *mut sksg_invalidation_controller_t);
    pub fn check_skiac() -> ::std::os::raw::c_int;
}