@girs/gdk-3.0 3.24.36-3.0.0 → 3.24.38-3.0.3
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 +5 -1
- package/gdk-3.0.d.cts +12 -7
- package/gdk-3.0.d.ts +12 -7
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
# Gdk-3.0
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+

|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
GJS TypeScript type definitions for Gdk-3.0, generated from library version 3.24.38 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.0.3.
|
|
5
9
|
|
|
6
10
|
An intermediate layer which isolates GTK+ from the details of the windowing system.
|
|
7
11
|
|
package/gdk-3.0.d.cts
CHANGED
|
@@ -5355,9 +5355,11 @@ export function parse_args(argv: string[]): /* argv */ string[]
|
|
|
5355
5355
|
export function pixbuf_get_from_surface(surface: cairo.Surface, src_x: number, src_y: number, width: number, height: number): GdkPixbuf.Pixbuf | null
|
|
5356
5356
|
/**
|
|
5357
5357
|
* Transfers image data from a #GdkWindow and converts it to an RGB(A)
|
|
5358
|
-
* representation inside a #GdkPixbuf.
|
|
5359
|
-
*
|
|
5360
|
-
*
|
|
5358
|
+
* representation inside a #GdkPixbuf.
|
|
5359
|
+
*
|
|
5360
|
+
* In other words, copies image data from a server-side drawable to a
|
|
5361
|
+
* client-side RGB(A) buffer. This allows you to efficiently read
|
|
5362
|
+
* individual pixels on the client side.
|
|
5361
5363
|
*
|
|
5362
5364
|
* This function will create an RGB pixbuf with 8 bits per channel with
|
|
5363
5365
|
* the size specified by the `width` and `height` arguments scaled by the
|
|
@@ -5366,7 +5368,8 @@ export function pixbuf_get_from_surface(surface: cairo.Surface, src_x: number, s
|
|
|
5366
5368
|
*
|
|
5367
5369
|
* If the window is off the screen, then there is no image data in the
|
|
5368
5370
|
* obscured/offscreen regions to be placed in the pixbuf. The contents of
|
|
5369
|
-
* portions of the pixbuf corresponding to the offscreen region are
|
|
5371
|
+
* portions of the pixbuf corresponding to the offscreen region are
|
|
5372
|
+
* undefined.
|
|
5370
5373
|
*
|
|
5371
5374
|
* If the window you’re obtaining data from is partially obscured by
|
|
5372
5375
|
* other windows, then the contents of the pixbuf areas corresponding
|
|
@@ -5378,14 +5381,16 @@ export function pixbuf_get_from_surface(surface: cairo.Surface, src_x: number, s
|
|
|
5378
5381
|
* If memory can’t be allocated for the return value, %NULL will be returned
|
|
5379
5382
|
* instead.
|
|
5380
5383
|
*
|
|
5381
|
-
*
|
|
5382
|
-
*
|
|
5384
|
+
* In short, there are several ways this function can fail, and if it fails
|
|
5385
|
+
* it returns %NULL; so check the return value.
|
|
5386
|
+
*
|
|
5387
|
+
* You should rarely, if ever, need to call this function.
|
|
5383
5388
|
* @param window Source window
|
|
5384
5389
|
* @param src_x Source X coordinate within `window`
|
|
5385
5390
|
* @param src_y Source Y coordinate within `window`
|
|
5386
5391
|
* @param width Width in pixels of region to get
|
|
5387
5392
|
* @param height Height in pixels of region to get
|
|
5388
|
-
* @returns A newly-created pixbuf with a
|
|
5393
|
+
* @returns A newly-created pixbuf with a reference count of 1, or %NULL on error
|
|
5389
5394
|
*/
|
|
5390
5395
|
export function pixbuf_get_from_window(window: Window, src_x: number, src_y: number, width: number, height: number): GdkPixbuf.Pixbuf | null
|
|
5391
5396
|
/**
|
package/gdk-3.0.d.ts
CHANGED
|
@@ -5357,9 +5357,11 @@ function parse_args(argv: string[]): /* argv */ string[]
|
|
|
5357
5357
|
function pixbuf_get_from_surface(surface: cairo.Surface, src_x: number, src_y: number, width: number, height: number): GdkPixbuf.Pixbuf | null
|
|
5358
5358
|
/**
|
|
5359
5359
|
* Transfers image data from a #GdkWindow and converts it to an RGB(A)
|
|
5360
|
-
* representation inside a #GdkPixbuf.
|
|
5361
|
-
*
|
|
5362
|
-
*
|
|
5360
|
+
* representation inside a #GdkPixbuf.
|
|
5361
|
+
*
|
|
5362
|
+
* In other words, copies image data from a server-side drawable to a
|
|
5363
|
+
* client-side RGB(A) buffer. This allows you to efficiently read
|
|
5364
|
+
* individual pixels on the client side.
|
|
5363
5365
|
*
|
|
5364
5366
|
* This function will create an RGB pixbuf with 8 bits per channel with
|
|
5365
5367
|
* the size specified by the `width` and `height` arguments scaled by the
|
|
@@ -5368,7 +5370,8 @@ function pixbuf_get_from_surface(surface: cairo.Surface, src_x: number, src_y: n
|
|
|
5368
5370
|
*
|
|
5369
5371
|
* If the window is off the screen, then there is no image data in the
|
|
5370
5372
|
* obscured/offscreen regions to be placed in the pixbuf. The contents of
|
|
5371
|
-
* portions of the pixbuf corresponding to the offscreen region are
|
|
5373
|
+
* portions of the pixbuf corresponding to the offscreen region are
|
|
5374
|
+
* undefined.
|
|
5372
5375
|
*
|
|
5373
5376
|
* If the window you’re obtaining data from is partially obscured by
|
|
5374
5377
|
* other windows, then the contents of the pixbuf areas corresponding
|
|
@@ -5380,14 +5383,16 @@ function pixbuf_get_from_surface(surface: cairo.Surface, src_x: number, src_y: n
|
|
|
5380
5383
|
* If memory can’t be allocated for the return value, %NULL will be returned
|
|
5381
5384
|
* instead.
|
|
5382
5385
|
*
|
|
5383
|
-
*
|
|
5384
|
-
*
|
|
5386
|
+
* In short, there are several ways this function can fail, and if it fails
|
|
5387
|
+
* it returns %NULL; so check the return value.
|
|
5388
|
+
*
|
|
5389
|
+
* You should rarely, if ever, need to call this function.
|
|
5385
5390
|
* @param window Source window
|
|
5386
5391
|
* @param src_x Source X coordinate within `window`
|
|
5387
5392
|
* @param src_y Source Y coordinate within `window`
|
|
5388
5393
|
* @param width Width in pixels of region to get
|
|
5389
5394
|
* @param height Height in pixels of region to get
|
|
5390
|
-
* @returns A newly-created pixbuf with a
|
|
5395
|
+
* @returns A newly-created pixbuf with a reference count of 1, or %NULL on error
|
|
5391
5396
|
*/
|
|
5392
5397
|
function pixbuf_get_from_window(window: Window, src_x: number, src_y: number, width: number, height: number): GdkPixbuf.Pixbuf | null
|
|
5393
5398
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gdk-3.0",
|
|
3
|
-
"version": "3.24.
|
|
4
|
-
"description": "GJS TypeScript type definitions for Gdk-3.0, generated from library version 3.24.
|
|
3
|
+
"version": "3.24.38-3.0.3",
|
|
4
|
+
"description": "GJS TypeScript type definitions for Gdk-3.0, generated from library version 3.24.38",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gdk-3.0.js",
|
|
7
7
|
"main": "gdk-3.0.js",
|
|
@@ -31,19 +31,19 @@
|
|
|
31
31
|
"test:cjs": "tsc --noEmit gdk-3.0.d.cts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/
|
|
35
|
-
"@girs/
|
|
36
|
-
"@girs/
|
|
37
|
-
"@girs/
|
|
38
|
-
"@girs/
|
|
39
|
-
"@girs/
|
|
40
|
-
"@girs/
|
|
41
|
-
"@girs/
|
|
42
|
-
"@girs/
|
|
43
|
-
"@girs/
|
|
34
|
+
"@girs/cairo-1.0": "^1.0.0-3.0.3",
|
|
35
|
+
"@girs/freetype2-2.0": "^2.0.0-3.0.3",
|
|
36
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.0.3",
|
|
37
|
+
"@girs/gio-2.0": "^2.76.1-3.0.3",
|
|
38
|
+
"@girs/gjs": "^3.0.3",
|
|
39
|
+
"@girs/glib-2.0": "^2.76.1-3.0.3",
|
|
40
|
+
"@girs/gmodule-2.0": "^2.0.0-3.0.3",
|
|
41
|
+
"@girs/gobject-2.0": "^2.76.1-3.0.3",
|
|
42
|
+
"@girs/harfbuzz-0.0": "^7.1.0-3.0.3",
|
|
43
|
+
"@girs/pango-1.0": "^1.50.14-3.0.3"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"typescript": "
|
|
46
|
+
"typescript": "*"
|
|
47
47
|
},
|
|
48
48
|
"keywords": [
|
|
49
49
|
"Gir",
|