@girs/gdkpixbuf-2.0 2.0.0-3.2.7 → 2.0.0-3.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/gdkpixbuf-2.0-ambient.js +2 -0
- package/gdkpixbuf-2.0-import.js +3 -0
- package/gdkpixbuf-2.0.d.cts +4 -38
- package/gdkpixbuf-2.0.d.ts +4 -38
- package/package.json +15 -9
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for GdkPixbuf-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for GdkPixbuf-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.9.
|
|
9
9
|
|
|
10
10
|
GdkPixbuf is a library for image loading and manipulation. The GdkPixbuf documentation contains both the programmer's guide and the API reference.
|
|
11
11
|
|
package/gdkpixbuf-2.0.d.cts
CHANGED
|
@@ -396,7 +396,7 @@ export module Pixbuf {
|
|
|
396
396
|
*
|
|
397
397
|
* Currently only 8 bit per sample are supported.
|
|
398
398
|
*/
|
|
399
|
-
|
|
399
|
+
bitsPerSample?: number | null
|
|
400
400
|
/**
|
|
401
401
|
* The color space of the pixbuf.
|
|
402
402
|
*
|
|
@@ -406,7 +406,7 @@ export module Pixbuf {
|
|
|
406
406
|
/**
|
|
407
407
|
* Whether the pixbuf has an alpha channel.
|
|
408
408
|
*/
|
|
409
|
-
|
|
409
|
+
hasAlpha?: boolean | null
|
|
410
410
|
/**
|
|
411
411
|
* The number of rows of the pixbuf.
|
|
412
412
|
*/
|
|
@@ -416,8 +416,8 @@ export module Pixbuf {
|
|
|
416
416
|
*
|
|
417
417
|
* Currently, only 3 or 4 samples per pixel are supported.
|
|
418
418
|
*/
|
|
419
|
-
|
|
420
|
-
|
|
419
|
+
nChannels?: number | null
|
|
420
|
+
pixelBytes?: GLib.Bytes | null
|
|
421
421
|
/**
|
|
422
422
|
* A pointer to the pixel data of the pixbuf.
|
|
423
423
|
*/
|
|
@@ -434,23 +434,6 @@ export module Pixbuf {
|
|
|
434
434
|
* The number of columns of the pixbuf.
|
|
435
435
|
*/
|
|
436
436
|
width?: number | null
|
|
437
|
-
/**
|
|
438
|
-
* The number of bits per sample.
|
|
439
|
-
*
|
|
440
|
-
* Currently only 8 bit per sample are supported.
|
|
441
|
-
*/
|
|
442
|
-
bitsPerSample?: number | null
|
|
443
|
-
/**
|
|
444
|
-
* Whether the pixbuf has an alpha channel.
|
|
445
|
-
*/
|
|
446
|
-
hasAlpha?: boolean | null
|
|
447
|
-
/**
|
|
448
|
-
* The number of samples per pixel.
|
|
449
|
-
*
|
|
450
|
-
* Currently, only 3 or 4 samples per pixel are supported.
|
|
451
|
-
*/
|
|
452
|
-
nChannels?: number | null
|
|
453
|
-
pixelBytes?: GLib.Bytes | null
|
|
454
437
|
}
|
|
455
438
|
|
|
456
439
|
}
|
|
@@ -459,12 +442,6 @@ export interface Pixbuf extends Gio.Icon, Gio.LoadableIcon {
|
|
|
459
442
|
|
|
460
443
|
// Own properties of GdkPixbuf-2.0.GdkPixbuf.Pixbuf
|
|
461
444
|
|
|
462
|
-
/**
|
|
463
|
-
* The number of bits per sample.
|
|
464
|
-
*
|
|
465
|
-
* Currently only 8 bit per sample are supported.
|
|
466
|
-
*/
|
|
467
|
-
readonly bits_per_sample: number
|
|
468
445
|
/**
|
|
469
446
|
* The number of bits per sample.
|
|
470
447
|
*
|
|
@@ -477,10 +454,6 @@ export interface Pixbuf extends Gio.Icon, Gio.LoadableIcon {
|
|
|
477
454
|
* Currently, only `GDK_COLORSPACE_RGB` is supported.
|
|
478
455
|
*/
|
|
479
456
|
readonly colorspace: Colorspace
|
|
480
|
-
/**
|
|
481
|
-
* Whether the pixbuf has an alpha channel.
|
|
482
|
-
*/
|
|
483
|
-
readonly has_alpha: boolean
|
|
484
457
|
/**
|
|
485
458
|
* Whether the pixbuf has an alpha channel.
|
|
486
459
|
*/
|
|
@@ -489,19 +462,12 @@ export interface Pixbuf extends Gio.Icon, Gio.LoadableIcon {
|
|
|
489
462
|
* The number of rows of the pixbuf.
|
|
490
463
|
*/
|
|
491
464
|
readonly height: number
|
|
492
|
-
/**
|
|
493
|
-
* The number of samples per pixel.
|
|
494
|
-
*
|
|
495
|
-
* Currently, only 3 or 4 samples per pixel are supported.
|
|
496
|
-
*/
|
|
497
|
-
readonly n_channels: number
|
|
498
465
|
/**
|
|
499
466
|
* The number of samples per pixel.
|
|
500
467
|
*
|
|
501
468
|
* Currently, only 3 or 4 samples per pixel are supported.
|
|
502
469
|
*/
|
|
503
470
|
readonly nChannels: number
|
|
504
|
-
readonly pixel_bytes: GLib.Bytes
|
|
505
471
|
readonly pixelBytes: GLib.Bytes
|
|
506
472
|
/**
|
|
507
473
|
* A pointer to the pixel data of the pixbuf.
|
package/gdkpixbuf-2.0.d.ts
CHANGED
|
@@ -398,7 +398,7 @@ module Pixbuf {
|
|
|
398
398
|
*
|
|
399
399
|
* Currently only 8 bit per sample are supported.
|
|
400
400
|
*/
|
|
401
|
-
|
|
401
|
+
bitsPerSample?: number | null
|
|
402
402
|
/**
|
|
403
403
|
* The color space of the pixbuf.
|
|
404
404
|
*
|
|
@@ -408,7 +408,7 @@ module Pixbuf {
|
|
|
408
408
|
/**
|
|
409
409
|
* Whether the pixbuf has an alpha channel.
|
|
410
410
|
*/
|
|
411
|
-
|
|
411
|
+
hasAlpha?: boolean | null
|
|
412
412
|
/**
|
|
413
413
|
* The number of rows of the pixbuf.
|
|
414
414
|
*/
|
|
@@ -418,8 +418,8 @@ module Pixbuf {
|
|
|
418
418
|
*
|
|
419
419
|
* Currently, only 3 or 4 samples per pixel are supported.
|
|
420
420
|
*/
|
|
421
|
-
|
|
422
|
-
|
|
421
|
+
nChannels?: number | null
|
|
422
|
+
pixelBytes?: GLib.Bytes | null
|
|
423
423
|
/**
|
|
424
424
|
* A pointer to the pixel data of the pixbuf.
|
|
425
425
|
*/
|
|
@@ -436,23 +436,6 @@ module Pixbuf {
|
|
|
436
436
|
* The number of columns of the pixbuf.
|
|
437
437
|
*/
|
|
438
438
|
width?: number | null
|
|
439
|
-
/**
|
|
440
|
-
* The number of bits per sample.
|
|
441
|
-
*
|
|
442
|
-
* Currently only 8 bit per sample are supported.
|
|
443
|
-
*/
|
|
444
|
-
bitsPerSample?: number | null
|
|
445
|
-
/**
|
|
446
|
-
* Whether the pixbuf has an alpha channel.
|
|
447
|
-
*/
|
|
448
|
-
hasAlpha?: boolean | null
|
|
449
|
-
/**
|
|
450
|
-
* The number of samples per pixel.
|
|
451
|
-
*
|
|
452
|
-
* Currently, only 3 or 4 samples per pixel are supported.
|
|
453
|
-
*/
|
|
454
|
-
nChannels?: number | null
|
|
455
|
-
pixelBytes?: GLib.Bytes | null
|
|
456
439
|
}
|
|
457
440
|
|
|
458
441
|
}
|
|
@@ -461,12 +444,6 @@ interface Pixbuf extends Gio.Icon, Gio.LoadableIcon {
|
|
|
461
444
|
|
|
462
445
|
// Own properties of GdkPixbuf-2.0.GdkPixbuf.Pixbuf
|
|
463
446
|
|
|
464
|
-
/**
|
|
465
|
-
* The number of bits per sample.
|
|
466
|
-
*
|
|
467
|
-
* Currently only 8 bit per sample are supported.
|
|
468
|
-
*/
|
|
469
|
-
readonly bits_per_sample: number
|
|
470
447
|
/**
|
|
471
448
|
* The number of bits per sample.
|
|
472
449
|
*
|
|
@@ -479,10 +456,6 @@ interface Pixbuf extends Gio.Icon, Gio.LoadableIcon {
|
|
|
479
456
|
* Currently, only `GDK_COLORSPACE_RGB` is supported.
|
|
480
457
|
*/
|
|
481
458
|
readonly colorspace: Colorspace
|
|
482
|
-
/**
|
|
483
|
-
* Whether the pixbuf has an alpha channel.
|
|
484
|
-
*/
|
|
485
|
-
readonly has_alpha: boolean
|
|
486
459
|
/**
|
|
487
460
|
* Whether the pixbuf has an alpha channel.
|
|
488
461
|
*/
|
|
@@ -491,19 +464,12 @@ interface Pixbuf extends Gio.Icon, Gio.LoadableIcon {
|
|
|
491
464
|
* The number of rows of the pixbuf.
|
|
492
465
|
*/
|
|
493
466
|
readonly height: number
|
|
494
|
-
/**
|
|
495
|
-
* The number of samples per pixel.
|
|
496
|
-
*
|
|
497
|
-
* Currently, only 3 or 4 samples per pixel are supported.
|
|
498
|
-
*/
|
|
499
|
-
readonly n_channels: number
|
|
500
467
|
/**
|
|
501
468
|
* The number of samples per pixel.
|
|
502
469
|
*
|
|
503
470
|
* Currently, only 3 or 4 samples per pixel are supported.
|
|
504
471
|
*/
|
|
505
472
|
readonly nChannels: number
|
|
506
|
-
readonly pixel_bytes: GLib.Bytes
|
|
507
473
|
readonly pixelBytes: GLib.Bytes
|
|
508
474
|
/**
|
|
509
475
|
* A pointer to the pixel data of the pixbuf.
|
package/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gdkpixbuf-2.0",
|
|
3
|
-
"version": "2.0.0-3.2.
|
|
3
|
+
"version": "2.0.0-3.2.9",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GdkPixbuf-2.0, generated from library version 2.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gdkpixbuf-2.0.js",
|
|
7
7
|
"main": "gdkpixbuf-2.0.js",
|
|
8
8
|
"exports": {
|
|
9
|
-
"./ambient":
|
|
10
|
-
|
|
9
|
+
"./ambient": {
|
|
10
|
+
"types": "./gdkpixbuf-2.0-ambient.d.ts",
|
|
11
|
+
"default": "./gdkpixbuf-2.0-ambient.js"
|
|
12
|
+
},
|
|
13
|
+
"./import": {
|
|
14
|
+
"types": "./gdkpixbuf-2.0-import.d.ts",
|
|
15
|
+
"default": "./gdkpixbuf-2.0-import.js"
|
|
16
|
+
},
|
|
11
17
|
".": {
|
|
12
18
|
"import": {
|
|
13
19
|
"types": "./gdkpixbuf-2.0.d.ts",
|
|
@@ -25,11 +31,11 @@
|
|
|
25
31
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gdkpixbuf-2.0.d.cts"
|
|
26
32
|
},
|
|
27
33
|
"dependencies": {
|
|
28
|
-
"@girs/gio-2.0": "^2.78.0-3.2.
|
|
29
|
-
"@girs/gjs": "^3.2.
|
|
30
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
31
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
32
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
34
|
+
"@girs/gio-2.0": "^2.78.0-3.2.9",
|
|
35
|
+
"@girs/gjs": "^3.2.9",
|
|
36
|
+
"@girs/glib-2.0": "^2.78.0-3.2.9",
|
|
37
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.9",
|
|
38
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.9"
|
|
33
39
|
},
|
|
34
40
|
"devDependencies": {
|
|
35
41
|
"typescript": "*"
|
|
@@ -46,7 +52,7 @@
|
|
|
46
52
|
"license": "MIT",
|
|
47
53
|
"repository": {
|
|
48
54
|
"type": "git",
|
|
49
|
-
"url": "git+https://github.com/gjsify/
|
|
55
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
50
56
|
},
|
|
51
57
|
"bugs": {
|
|
52
58
|
"url": "https://github.com/gjsify/ts-for-gir/issues"
|