@girs/gegl-0.3 0.3.35-3.2.5 → 0.3.35-3.2.7

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 CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gegl-0.3)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Gegl-0.3, generated from library version 0.3.35 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.5.
8
+ GJS TypeScript type definitions for Gegl-0.3, generated from library version 0.3.35 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
9
9
 
10
10
  GEGL (Generic Graphics Library) is a data flow based image processing framework, providing floating point processing and non-destructive image processing capabilities to GNU Image Manipulation Program and other projects (imgflo, GNOME Photos, gcut, iconographer, …)
11
11
 
package/gegl-0.3.d.cts CHANGED
@@ -177,7 +177,7 @@ export function config(): Config
177
177
  * @param rel_dim relative dimension to scale rel suffixed values by
178
178
  * @param path_root path in filesystem to use as relative root
179
179
  */
180
- export function create_chain(ops: string | null, op_start: Node, op_end: Node, time: number, rel_dim: number, path_root: string | null): void
180
+ export function create_chain(ops: string, op_start: Node, op_end: Node, time: number, rel_dim: number, path_root: string): void
181
181
  /**
182
182
  * Create a node chain from argv style list of op data.
183
183
  * @param ops an argv style, NULL terminated array of arguments
@@ -187,7 +187,7 @@ export function create_chain(ops: string | null, op_start: Node, op_end: Node, t
187
187
  * @param rel_dim relative dimension to scale rel suffixed values by
188
188
  * @param path_root path in filesystem to use as relative root
189
189
  */
190
- export function create_chain_argv(ops: string | null, op_start: Node, op_end: Node, time: number, rel_dim: number, path_root: string | null): void
190
+ export function create_chain_argv(ops: string | null, op_start: Node, op_end: Node, time: number, rel_dim: number, path_root: string): void
191
191
  /**
192
192
  * Call this function when you're done using GEGL. It will clean up
193
193
  * caches and write/dump debug information if the correct debug flags
@@ -200,7 +200,7 @@ export function exit(): void
200
200
  * @param format_name A Babl format name, e.g. "RGBA float"
201
201
  * @returns the format pointer
202
202
  */
203
- export function format(format_name: string | null): any | null
203
+ export function format(format_name: string): any | null
204
204
  export function format_get_name(format: any): string | null
205
205
  /**
206
206
  * This function fetches the version of the GEGL library being used by
@@ -219,7 +219,7 @@ export function graph_dump_outputs(node: Node): void
219
219
  * @param roi The request rectangle
220
220
  */
221
221
  export function graph_dump_request(node: Node, roi: Rectangle): void
222
- export function has_operation(operation_type: string | null): boolean
222
+ export function has_operation(operation_type: string): boolean
223
223
  /**
224
224
  * Call this function before using any other GEGL functions. It will
225
225
  * initialize everything needed to operate GEGL and parses some
@@ -239,7 +239,7 @@ export function list_operations(): string[]
239
239
  * Load all gegl modules found in the given directory.
240
240
  * @param path the directory to load modules from
241
241
  */
242
- export function load_module_directory(path: string | null): void
242
+ export function load_module_directory(path: string): void
243
243
  /**
244
244
  * Creates a new #GParamSpec instance specifying a #GeglAudioFragment property.
245
245
  * @param name canonical name of the property specified
@@ -248,7 +248,7 @@ export function load_module_directory(path: string | null): void
248
248
  * @param flags flags for the property specified
249
249
  * @returns a newly created parameter specification
250
250
  */
251
- export function param_spec_audio_fragment(name: string | null, nick: string | null, blurb: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
251
+ export function param_spec_audio_fragment(name: string, nick: string, blurb: string, flags: GObject.ParamFlags): GObject.ParamSpec
252
252
  /**
253
253
  * Creates a new #GParamSpec instance specifying a #GeglColor property.
254
254
  * @param name canonical name of the property specified
@@ -258,7 +258,7 @@ export function param_spec_audio_fragment(name: string | null, nick: string | nu
258
258
  * @param flags flags for the property specified
259
259
  * @returns a newly created parameter specification
260
260
  */
261
- export function param_spec_color(name: string | null, nick: string | null, blurb: string | null, default_color: Color, flags: GObject.ParamFlags): GObject.ParamSpec
261
+ export function param_spec_color(name: string, nick: string, blurb: string, default_color: Color, flags: GObject.ParamFlags): GObject.ParamSpec
262
262
  /**
263
263
  * Creates a new #GParamSpec instance specifying a #GeglColor property.
264
264
  * @param name canonical name of the property specified
@@ -268,7 +268,7 @@ export function param_spec_color(name: string | null, nick: string | null, blurb
268
268
  * @param flags flags for the property specified
269
269
  * @returns a newly created parameter specification
270
270
  */
271
- export function param_spec_color_from_string(name: string | null, nick: string | null, blurb: string | null, default_color_string: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
271
+ export function param_spec_color_from_string(name: string, nick: string, blurb: string, default_color_string: string, flags: GObject.ParamFlags): GObject.ParamSpec
272
272
  /**
273
273
  * Get the default color value of the param spec
274
274
  * @param self a #GeglColor #GParamSpec
@@ -284,7 +284,7 @@ export function param_spec_color_get_default(self: GObject.ParamSpec): Color
284
284
  * @param flags flags for the property specified
285
285
  * @returns a newly created parameter specification
286
286
  */
287
- export function param_spec_curve(name: string | null, nick: string | null, blurb: string | null, default_curve: Curve, flags: GObject.ParamFlags): GObject.ParamSpec
287
+ export function param_spec_curve(name: string, nick: string, blurb: string, default_curve: Curve, flags: GObject.ParamFlags): GObject.ParamSpec
288
288
  /**
289
289
  * Creates a new #GeglParamSpecDouble instance.
290
290
  * @param name canonical name of the property specified
@@ -299,7 +299,7 @@ export function param_spec_curve(name: string | null, nick: string | null, blurb
299
299
  * @param flags flags for the property specified
300
300
  * @returns a newly created parameter specification
301
301
  */
302
- export function param_spec_double(name: string | null, nick: string | null, blurb: string | null, minimum: number, maximum: number, default_value: number, ui_minimum: number, ui_maximum: number, ui_gamma: number, flags: GObject.ParamFlags): GObject.ParamSpec
302
+ export function param_spec_double(name: string, nick: string, blurb: string, minimum: number, maximum: number, default_value: number, ui_minimum: number, ui_maximum: number, ui_gamma: number, flags: GObject.ParamFlags): GObject.ParamSpec
303
303
  /**
304
304
  * Creates a new #GeglParamSpecEnum instance.
305
305
  * @param name canonical name of the property specified
@@ -310,7 +310,7 @@ export function param_spec_double(name: string | null, nick: string | null, blur
310
310
  * @param flags flags for the property specified
311
311
  * @returns a newly created parameter specification
312
312
  */
313
- export function param_spec_enum(name: string | null, nick: string | null, blurb: string | null, enum_type: GObject.GType, default_value: number, flags: GObject.ParamFlags): GObject.ParamSpec
313
+ export function param_spec_enum(name: string, nick: string, blurb: string, enum_type: GObject.GType, default_value: number, flags: GObject.ParamFlags): GObject.ParamSpec
314
314
  /**
315
315
  * Creates a new #GeglParamSpecFilePath instance.
316
316
  * @param name canonical name of the property specified
@@ -322,7 +322,7 @@ export function param_spec_enum(name: string | null, nick: string | null, blurb:
322
322
  * @param flags flags for the property specified
323
323
  * @returns a newly created parameter specification
324
324
  */
325
- export function param_spec_file_path(name: string | null, nick: string | null, blurb: string | null, no_validate: boolean, null_ok: boolean, default_value: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
325
+ export function param_spec_file_path(name: string, nick: string, blurb: string, no_validate: boolean, null_ok: boolean, default_value: string, flags: GObject.ParamFlags): GObject.ParamSpec
326
326
  /**
327
327
  * Creates a new #GeglParamSpecFormat instance specifying a Babl format.
328
328
  * @param name canonical name of the property specified
@@ -331,8 +331,8 @@ export function param_spec_file_path(name: string | null, nick: string | null, b
331
331
  * @param flags flags for the property specified
332
332
  * @returns a newly created parameter specification
333
333
  */
334
- export function param_spec_format(name: string | null, nick: string | null, blurb: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
335
- export function param_spec_get_property_key(pspec: GObject.ParamSpec, key_name: string | null): string | null
334
+ export function param_spec_format(name: string, nick: string, blurb: string, flags: GObject.ParamFlags): GObject.ParamSpec
335
+ export function param_spec_get_property_key(pspec: GObject.ParamSpec, key_name: string): string
336
336
  /**
337
337
  * Creates a new #GeglParamSpecInt instance.
338
338
  * @param name canonical name of the property specified
@@ -347,7 +347,7 @@ export function param_spec_get_property_key(pspec: GObject.ParamSpec, key_name:
347
347
  * @param flags flags for the property specified
348
348
  * @returns a newly created parameter specification
349
349
  */
350
- export function param_spec_int(name: string | null, nick: string | null, blurb: string | null, minimum: number, maximum: number, default_value: number, ui_minimum: number, ui_maximum: number, ui_gamma: number, flags: GObject.ParamFlags): GObject.ParamSpec
350
+ export function param_spec_int(name: string, nick: string, blurb: string, minimum: number, maximum: number, default_value: number, ui_minimum: number, ui_maximum: number, ui_gamma: number, flags: GObject.ParamFlags): GObject.ParamSpec
351
351
  /**
352
352
  * Creates a new #GParamSpec instance specifying a #GeglPath property.
353
353
  * @param name canonical name of the property specified
@@ -357,7 +357,7 @@ export function param_spec_int(name: string | null, nick: string | null, blurb:
357
357
  * @param flags flags for the property specified
358
358
  * @returns a newly created parameter specification
359
359
  */
360
- export function param_spec_path(name: string | null, nick: string | null, blurb: string | null, default_path: Path, flags: GObject.ParamFlags): GObject.ParamSpec
360
+ export function param_spec_path(name: string, nick: string, blurb: string, default_path: Path, flags: GObject.ParamFlags): GObject.ParamSpec
361
361
  /**
362
362
  * Creates a new #GeglParamSpecSeed instance specifying an integer random seed.
363
363
  * @param name canonical name of the property specified
@@ -366,8 +366,8 @@ export function param_spec_path(name: string | null, nick: string | null, blurb:
366
366
  * @param flags flags for the property specified
367
367
  * @returns a newly created parameter specification
368
368
  */
369
- export function param_spec_seed(name: string | null, nick: string | null, blurb: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
370
- export function param_spec_set_property_key(pspec: GObject.ParamSpec, key_name: string | null, value: string | null): void
369
+ export function param_spec_seed(name: string, nick: string, blurb: string, flags: GObject.ParamFlags): GObject.ParamSpec
370
+ export function param_spec_set_property_key(pspec: GObject.ParamSpec, key_name: string, value: string): void
371
371
  /**
372
372
  * Creates a new #GeglParamSpecString instance.
373
373
  * @param name canonical name of the property specified
@@ -379,7 +379,7 @@ export function param_spec_set_property_key(pspec: GObject.ParamSpec, key_name:
379
379
  * @param flags flags for the property specified
380
380
  * @returns a newly created parameter specification
381
381
  */
382
- export function param_spec_string(name: string | null, nick: string | null, blurb: string | null, no_validate: boolean, null_ok: boolean, default_value: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
382
+ export function param_spec_string(name: string, nick: string, blurb: string, no_validate: boolean, null_ok: boolean, default_value: string, flags: GObject.ParamFlags): GObject.ParamSpec
383
383
  /**
384
384
  * Creates a new #GeglParamSpecUri instance.
385
385
  * @param name canonical name of the property specified
@@ -391,7 +391,7 @@ export function param_spec_string(name: string | null, nick: string | null, blur
391
391
  * @param flags flags for the property specified
392
392
  * @returns a newly created parameter specification
393
393
  */
394
- export function param_spec_uri(name: string | null, nick: string | null, blurb: string | null, no_validate: boolean, null_ok: boolean, default_value: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
394
+ export function param_spec_uri(name: string, nick: string, blurb: string, no_validate: boolean, null_ok: boolean, default_value: string, flags: GObject.ParamFlags): GObject.ParamSpec
395
395
  /**
396
396
  * Returns a GeglRectangle that represents an infininte plane.
397
397
  */
@@ -401,7 +401,7 @@ export function rectangle_infinite_plane(): Rectangle
401
401
  * by #gegl_stats().
402
402
  */
403
403
  export function reset_stats(): void
404
- export function serialize(start: Node, end: Node, basepath: string | null, serialize_flags: SerializeFlag): string | null
404
+ export function serialize(start: Node, end: Node, basepath: string, serialize_flags: SerializeFlag): string | null
405
405
  /**
406
406
  * Returns a GeglStats object with properties that can be read to monitor
407
407
  * GEGL statistics.
@@ -522,6 +522,14 @@ export module Buffer {
522
522
  width?: number | null
523
523
  x?: number | null
524
524
  y?: number | null
525
+ abyssHeight?: number | null
526
+ abyssWidth?: number | null
527
+ abyssX?: number | null
528
+ abyssY?: number | null
529
+ shiftX?: number | null
530
+ shiftY?: number | null
531
+ tileHeight?: number | null
532
+ tileWidth?: number | null
525
533
  }
526
534
 
527
535
  }
@@ -531,19 +539,28 @@ export interface Buffer {
531
539
  // Own properties of Gegl-0.3.Gegl.Buffer
532
540
 
533
541
  readonly abyss_height: number
542
+ readonly abyssHeight: number
534
543
  readonly abyss_width: number
544
+ readonly abyssWidth: number
535
545
  readonly abyss_x: number
546
+ readonly abyssX: number
536
547
  readonly abyss_y: number
548
+ readonly abyssY: number
537
549
  readonly backend: TileBackend
538
550
  format: any
539
551
  height: number
540
552
  readonly path: string | null
541
553
  readonly pixels: number
542
554
  readonly px_size: number
555
+ readonly pxSize: number
543
556
  readonly shift_x: number
557
+ readonly shiftX: number
544
558
  readonly shift_y: number
559
+ readonly shiftY: number
545
560
  readonly tile_height: number
561
+ readonly tileHeight: number
546
562
  readonly tile_width: number
563
+ readonly tileWidth: number
547
564
  width: number
548
565
  x: number
549
566
  y: number
@@ -622,7 +639,7 @@ export interface Buffer {
622
639
  * @param format_name the format of the input data.
623
640
  * @param src pixel data to write to `buffer`.
624
641
  */
625
- set(rect: Rectangle, format_name: string | null, src: Uint8Array): void
642
+ set(rect: Rectangle, format_name: string, src: Uint8Array): void
626
643
  /**
627
644
  * This function makes sure GeglBuffer and underlying code is aware of changes
628
645
  * being made to the linear buffer. If the request was not a compatible one
@@ -648,7 +665,7 @@ export interface Buffer {
648
665
  * @param path the path where the gegl buffer will be saved, any writable GIO uri is valid.
649
666
  * @param roi the region of interest to write, this is the tiles that will be collected and written to disk.
650
667
  */
651
- save(path: string | null, roi: Rectangle): void
668
+ save(path: string, roi: Rectangle): void
652
669
  /**
653
670
  * Changes the size and position of the abyss rectangle of a buffer.
654
671
  *
@@ -691,7 +708,7 @@ export interface Buffer {
691
708
  * @param c_handler c function callback
692
709
  * @returns an handle like g_signal_connect.
693
710
  */
694
- signal_connect(detailed_signal: string | null, c_handler: GObject.Callback): number
711
+ signal_connect(detailed_signal: string, c_handler: GObject.Callback): number
695
712
 
696
713
  // Own signals of Gegl-0.3.Gegl.Buffer
697
714
 
@@ -777,7 +794,7 @@ export class Buffer extends TileHandler {
777
794
  * @param width width of the buffer's extent
778
795
  * @param height height of the buffer's extent
779
796
  */
780
- constructor(format_name: string | null, x: number, y: number, width: number, height: number)
797
+ constructor(format_name: string, x: number, y: number, width: number, height: number)
781
798
  /**
782
799
  * Create a new GeglBuffer with the given format and dimensions.
783
800
  * @constructor
@@ -787,7 +804,7 @@ export class Buffer extends TileHandler {
787
804
  * @param width width of the buffer's extent
788
805
  * @param height height of the buffer's extent
789
806
  */
790
- static new(format_name: string | null, x: number, y: number, width: number, height: number): Buffer
807
+ static new(format_name: string, x: number, y: number, width: number, height: number): Buffer
791
808
  /**
792
809
  * Create a new GeglBuffer from a backend, if NULL is passed in the extent of
793
810
  * the buffer will be inherited from the extent of the backend.
@@ -806,7 +823,7 @@ export class Buffer extends TileHandler {
806
823
  * @param path the path to a gegl buffer on disk.
807
824
  * @returns a #GeglBuffer object.
808
825
  */
809
- static load(path: string | null): Buffer
826
+ static load(path: string): Buffer
810
827
  /**
811
828
  * Open an existing on-disk GeglBuffer, this buffer is opened in a monitored
812
829
  * state so multiple instances of gegl can share the same buffer. Sets on
@@ -814,7 +831,7 @@ export class Buffer extends TileHandler {
814
831
  * @param path the path to a gegl buffer on disk.
815
832
  * @returns a GeglBuffer object.
816
833
  */
817
- static open(path: string | null): Buffer
834
+ static open(path: string): Buffer
818
835
  }
819
836
 
820
837
  export module Color {
@@ -902,7 +919,7 @@ export class Color extends GObject.Object {
902
919
  * @constructor
903
920
  * @param string a string describing the color to be created.
904
921
  */
905
- constructor(string: string | null)
922
+ constructor(string: string)
906
923
  /**
907
924
  * Creates a new #GeglColor.
908
925
  *
@@ -910,7 +927,7 @@ export class Color extends GObject.Object {
910
927
  * @constructor
911
928
  * @param string a string describing the color to be created.
912
929
  */
913
- static new(string: string | null): Color
930
+ static new(string: string): Color
914
931
  _init(config?: Color.ConstructorProperties): void
915
932
  }
916
933
 
@@ -932,6 +949,13 @@ export module Config {
932
949
  tile_height?: number | null
933
950
  tile_width?: number | null
934
951
  use_opencl?: boolean | null
952
+ applicationLicense?: string | null
953
+ chunkSize?: number | null
954
+ queueSize?: number | null
955
+ tileCacheSize?: number | null
956
+ tileHeight?: number | null
957
+ tileWidth?: number | null
958
+ useOpencl?: boolean | null
935
959
  }
936
960
 
937
961
  }
@@ -941,15 +965,22 @@ export interface Config {
941
965
  // Own properties of Gegl-0.3.Gegl.Config
942
966
 
943
967
  application_license: string | null
968
+ applicationLicense: string | null
944
969
  chunk_size: number
970
+ chunkSize: number
945
971
  quality: number
946
972
  queue_size: number
973
+ queueSize: number
947
974
  swap: string | null
948
975
  threads: number
949
976
  tile_cache_size: number
977
+ tileCacheSize: number
950
978
  tile_height: number
979
+ tileHeight: number
951
980
  tile_width: number
981
+ tileWidth: number
952
982
  use_opencl: boolean
983
+ useOpencl: boolean
953
984
 
954
985
  // Class property signals of Gegl-0.3.Gegl.Config
955
986
 
@@ -1149,6 +1180,9 @@ export module Node {
1149
1180
  operation?: string | null
1150
1181
  passthrough?: boolean | null
1151
1182
  use_opencl?: boolean | null
1183
+ dontCache?: boolean | null
1184
+ geglOperation?: Operation | null
1185
+ useOpencl?: boolean | null
1152
1186
  }
1153
1187
 
1154
1188
  }
@@ -1158,11 +1192,14 @@ export interface Node {
1158
1192
  // Own properties of Gegl-0.3.Gegl.Node
1159
1193
 
1160
1194
  dont_cache: boolean
1195
+ dontCache: boolean
1161
1196
  gegl_operation: Operation
1197
+ geglOperation: Operation
1162
1198
  name: string | null
1163
1199
  operation: string | null
1164
1200
  passthrough: boolean
1165
1201
  use_opencl: boolean
1202
+ useOpencl: boolean
1166
1203
 
1167
1204
  // Owm methods of Gegl-0.3.Gegl.Node
1168
1205
 
@@ -1189,7 +1226,7 @@ export interface Node {
1189
1226
  * @param source the node producing data we want to connect.
1190
1227
  * @param output_pad_name the output pad we want to use on the source.
1191
1228
  */
1192
- connect_from(input_pad_name: string | null, source: Node, output_pad_name: string | null): boolean
1229
+ connect_from(input_pad_name: string, source: Node, output_pad_name: string): boolean
1193
1230
  /**
1194
1231
  * Makes a connection between the pads of two nodes.
1195
1232
  *
@@ -1198,7 +1235,7 @@ export interface Node {
1198
1235
  * @param sink the node we're connecting an input to
1199
1236
  * @param input_pad_name the name of the input pad we are connecting to
1200
1237
  */
1201
- connect_to(output_pad_name: string | null, sink: Node, input_pad_name: string | null): boolean
1238
+ connect_to(output_pad_name: string, sink: Node, input_pad_name: string): boolean
1202
1239
  /**
1203
1240
  * Creates a new processing node that performs the specified operation.
1204
1241
  * All properties of the operation will have their default values. This
@@ -1208,7 +1245,7 @@ export interface Node {
1208
1245
  * @param operation the type of node to create.
1209
1246
  * @returns a newly created node. The node will be destroyed by the parent. Calling g_object_unref on a node will cause the node to be dropped by the parent. (You may also add additional references using g_object_ref/g_object_unref, but in general relying on the parents reference counting is easiest.)
1210
1247
  */
1211
- create_child(operation: string | null): Node
1248
+ create_child(operation: string): Node
1212
1249
  /**
1213
1250
  * Performs hit detection by returning the node providing data at a given
1214
1251
  * coordinate pair. Currently operates only on bounding boxes and not
@@ -1224,8 +1261,8 @@ export interface Node {
1224
1261
  * Returns TRUE if a connection was broken.
1225
1262
  * @param input_pad the input pad to disconnect.
1226
1263
  */
1227
- disconnect(input_pad: string | null): boolean
1228
- find_property(property_name: string | null): GObject.ParamSpec
1264
+ disconnect(input_pad: string): boolean
1265
+ find_property(property_name: string): GObject.ParamSpec
1229
1266
  get_children(): Node[]
1230
1267
  /**
1231
1268
  * Retrieve which pads on which nodes are connected to a named output_pad,
@@ -1236,7 +1273,7 @@ export interface Node {
1236
1273
  * Returns the number of consumers connected to this output_pad.
1237
1274
  * @param output_pad the output pad we want to know who uses.
1238
1275
  */
1239
- get_consumers(output_pad: string | null): [ /* returnType */ number, /* nodes */ Node[], /* pads */ string[] ]
1276
+ get_consumers(output_pad: string): [ /* returnType */ number, /* nodes */ Node[], /* pads */ string[] ]
1240
1277
  get_gegl_operation(): Operation | null
1241
1278
  /**
1242
1279
  * Proxies are used to route between nodes of a subgraph contained within
@@ -1244,34 +1281,34 @@ export interface Node {
1244
1281
  * @param pad_name the name of the pad.
1245
1282
  * @returns Returns an input proxy for the named pad. If no input proxy exists with this name a new one will be created.
1246
1283
  */
1247
- get_input_proxy(pad_name: string | null): Node
1248
- get_operation(): string | null
1284
+ get_input_proxy(pad_name: string): Node
1285
+ get_operation(): string
1249
1286
  /**
1250
1287
  * Proxies are used to route between nodes of a subgraph contained within
1251
1288
  * a node.
1252
1289
  * @param pad_name the name of the pad.
1253
1290
  * @returns Returns a output proxy for the named pad. If no output proxy exists with this name a new one will be created.
1254
1291
  */
1255
- get_output_proxy(pad_name: string | null): Node
1292
+ get_output_proxy(pad_name: string): Node
1256
1293
  /**
1257
1294
  * Returns a GeglNode that keeps a reference on a child.
1258
1295
  * @returns the parent of a node or NULL.
1259
1296
  */
1260
1297
  get_parent(): Node
1261
1298
  get_passthrough(): boolean
1262
- get_producer(input_pad_name: string | null, output_pad_name: string | null): Node
1299
+ get_producer(input_pad_name: string, output_pad_name: string | null): Node
1263
1300
  /**
1264
1301
  * Returns TRUE if the node has a pad with the specified name
1265
1302
  * @param pad_name the pad name we are looking for
1266
1303
  */
1267
- has_pad(pad_name: string | null): boolean
1304
+ has_pad(pad_name: string): boolean
1268
1305
  /**
1269
1306
  * Returns the position and dimensions of a rectangle spanning the area
1270
1307
  * defined by a node.
1271
1308
  * @returns pointer a #GeglRectangle
1272
1309
  */
1273
1310
  get_bounding_box(): Rectangle
1274
- get_property(property_name: string | null): any
1311
+ get_property(property_name: string): any
1275
1312
 
1276
1313
  // Overloads of get_property
1277
1314
 
@@ -1295,7 +1332,7 @@ export interface Node {
1295
1332
  * @param property_name the name of the property to get
1296
1333
  * @param value return location for the property value
1297
1334
  */
1298
- get_property(property_name: string | null, value: any): void
1335
+ get_property(property_name: string, value: any): void
1299
1336
  /**
1300
1337
  * Synthetic sugar for linking the "output" pad of `source` to the "input"
1301
1338
  * pad of `sink`.
@@ -1366,7 +1403,7 @@ export interface Node {
1366
1403
  * @param property_name the name of the property to set
1367
1404
  * @param value a GValue containing the value to be set in the property.
1368
1405
  */
1369
- set_property(property_name: string | null, value: any): void
1406
+ set_property(property_name: string, value: any): void
1370
1407
  /**
1371
1408
  * Returns a freshly allocated \0 terminated string containing a XML
1372
1409
  * serialization of the composition produced by a node (and thus also
@@ -1376,7 +1413,7 @@ export interface Node {
1376
1413
  * for the serialization.
1377
1414
  * @param path_root filesystem path to construct relative paths from.
1378
1415
  */
1379
- to_xml(path_root: string | null): string | null
1416
+ to_xml(path_root: string): string | null
1380
1417
  /**
1381
1418
  * Returns a freshly allocated \0 terminated string containing a XML
1382
1419
  * serialization of a segment of a graph from `head` to `tail` nodes.
@@ -1385,7 +1422,7 @@ export interface Node {
1385
1422
  * @param path_root filesystem path to construct relative paths from.
1386
1423
  * @returns XML serialization of a graph segment.
1387
1424
  */
1388
- to_xml_full(tail: Node | null, path_root: string | null): string | null
1425
+ to_xml_full(tail: Node | null, path_root: string): string | null
1389
1426
 
1390
1427
  // Own signals of Gegl-0.3.Gegl.Node
1391
1428
 
@@ -1455,8 +1492,8 @@ export class Node extends GObject.Object {
1455
1492
  * @param path the path to a file on the local file system to be parsed.
1456
1493
  * @returns a GeglNode containing the parsed XML as a subgraph.
1457
1494
  */
1458
- static new_from_file(path: string | null): Node
1459
- static new_from_serialized(chaindata: string | null, path_root: string | null): Node
1495
+ static new_from_file(path: string): Node
1496
+ static new_from_serialized(chaindata: string, path_root: string): Node
1460
1497
  /**
1461
1498
  * The #GeglNode returned contains the graph described by the tree of stacks
1462
1499
  * in the XML document. The tree is connected to the "output" pad of the
@@ -1466,7 +1503,7 @@ export class Node extends GObject.Object {
1466
1503
  * @param path_root a file system path that relative paths in the XML will be resolved in relation to.
1467
1504
  * @returns a GeglNode containing the parsed XML as a subgraph.
1468
1505
  */
1469
- static new_from_xml(xmldata: string | null, path_root: string | null): Node
1506
+ static new_from_xml(xmldata: string, path_root: string): Node
1470
1507
  _init(config?: Node.ConstructorProperties): void
1471
1508
  }
1472
1509
 
@@ -1500,13 +1537,13 @@ export class Operation extends GObject.Object {
1500
1537
 
1501
1538
  constructor(config?: Operation.ConstructorProperties)
1502
1539
  _init(config?: Operation.ConstructorProperties): void
1503
- static find_property(operation_type: string | null, property_name: string | null): GObject.ParamSpec
1504
- static get_key(operation_type: string | null, key_name: string | null): string | null
1505
- static get_op_version(op_name: string | null): string | null
1506
- static get_property_key(operation_type: string | null, property_name: string | null, property_key_name: string | null): string | null
1507
- static list_keys(operation_type: string | null): string[]
1508
- static list_properties(operation_type: string | null): GObject.ParamSpec[]
1509
- static list_property_keys(operation_type: string | null, property_name: string | null): string[]
1540
+ static find_property(operation_type: string, property_name: string): GObject.ParamSpec
1541
+ static get_key(operation_type: string, key_name: string): string
1542
+ static get_op_version(op_name: string): string
1543
+ static get_property_key(operation_type: string, property_name: string, property_key_name: string): string
1544
+ static list_keys(operation_type: string): string[]
1545
+ static list_properties(operation_type: string): GObject.ParamSpec[]
1546
+ static list_property_keys(operation_type: string, property_name: string): string[]
1510
1547
  }
1511
1548
 
1512
1549
  export interface ParamAudioFragment {
@@ -1741,7 +1778,7 @@ export interface Path {
1741
1778
  * gegl_path_clean() first if you want to replace the existing path.
1742
1779
  * @param instructions a string describing a path.
1743
1780
  */
1744
- parse_string(instructions: string | null): void
1781
+ parse_string(instructions: string): void
1745
1782
  /**
1746
1783
  * Removes the node number `pos` in `path`.
1747
1784
  * @param pos a node in the path.
@@ -1818,7 +1855,7 @@ export class Path extends GObject.Object {
1818
1855
  * @constructor
1819
1856
  * @param instructions a string describing the path.
1820
1857
  */
1821
- static new_from_string(instructions: string | null): Path
1858
+ static new_from_string(instructions: string): Path
1822
1859
  _init(config?: Path.ConstructorProperties): void
1823
1860
  /**
1824
1861
  * Adds a new type to the path system, FIXME this should probably
@@ -1828,7 +1865,7 @@ export class Path extends GObject.Object {
1828
1865
  * @param items the number of floating point data items the instruction takes
1829
1866
  * @param description a human readable description of this entry
1830
1867
  */
1831
- static add_type(type: number, items: number, description: string | null): void
1868
+ static add_type(type: number, items: number, description: string): void
1832
1869
  }
1833
1870
 
1834
1871
  export module Processor {
@@ -1927,14 +1964,23 @@ export interface Stats {
1927
1964
  // Own properties of Gegl-0.3.Gegl.Stats
1928
1965
 
1929
1966
  readonly swap_busy: boolean
1967
+ readonly swapBusy: boolean
1930
1968
  readonly swap_file_size: number
1969
+ readonly swapFileSize: number
1931
1970
  readonly swap_total: number
1971
+ readonly swapTotal: number
1932
1972
  readonly tile_cache_hits: number
1973
+ readonly tileCacheHits: number
1933
1974
  readonly tile_cache_misses: number
1975
+ readonly tileCacheMisses: number
1934
1976
  readonly tile_cache_total: number
1977
+ readonly tileCacheTotal: number
1935
1978
  readonly tile_cache_total_max: number
1979
+ readonly tileCacheTotalMax: number
1936
1980
  readonly tile_cache_total_uncloned: number
1981
+ readonly tileCacheTotalUncloned: number
1937
1982
  readonly zoom_total: number
1983
+ readonly zoomTotal: number
1938
1984
 
1939
1985
  // Class property signals of Gegl-0.3.Gegl.Stats
1940
1986
 
@@ -1996,6 +2042,9 @@ export module TileBackend {
1996
2042
  format?: any | null
1997
2043
  tile_height?: number | null
1998
2044
  tile_width?: number | null
2045
+ flushOnDestroy?: boolean | null
2046
+ tileHeight?: number | null
2047
+ tileWidth?: number | null
1999
2048
  }
2000
2049
 
2001
2050
  }
@@ -2005,11 +2054,16 @@ export interface TileBackend {
2005
2054
  // Own properties of Gegl-0.3.Gegl.TileBackend
2006
2055
 
2007
2056
  flush_on_destroy: boolean
2057
+ flushOnDestroy: boolean
2008
2058
  readonly format: any
2009
2059
  readonly px_size: number
2060
+ readonly pxSize: number
2010
2061
  readonly tile_height: number
2062
+ readonly tileHeight: number
2011
2063
  readonly tile_size: number
2064
+ readonly tileSize: number
2012
2065
  readonly tile_width: number
2066
+ readonly tileWidth: number
2013
2067
 
2014
2068
  // Own fields of Gegl-0.3.Gegl.TileBackend
2015
2069
 
@@ -2382,7 +2436,7 @@ export interface Matrix3 {
2382
2436
  * Parse a transofmation matrix from a string.
2383
2437
  * @param string a string describing the matrix (right now a small subset of the transform strings allowed by SVG)
2384
2438
  */
2385
- parse_string(string: string | null): void
2439
+ parse_string(string: string): void
2386
2440
  /**
2387
2441
  * Serialize a #GeglMatrix3 to a string.
2388
2442
  *
package/gegl-0.3.d.ts CHANGED
@@ -179,7 +179,7 @@ function config(): Config
179
179
  * @param rel_dim relative dimension to scale rel suffixed values by
180
180
  * @param path_root path in filesystem to use as relative root
181
181
  */
182
- function create_chain(ops: string | null, op_start: Node, op_end: Node, time: number, rel_dim: number, path_root: string | null): void
182
+ function create_chain(ops: string, op_start: Node, op_end: Node, time: number, rel_dim: number, path_root: string): void
183
183
  /**
184
184
  * Create a node chain from argv style list of op data.
185
185
  * @param ops an argv style, NULL terminated array of arguments
@@ -189,7 +189,7 @@ function create_chain(ops: string | null, op_start: Node, op_end: Node, time: nu
189
189
  * @param rel_dim relative dimension to scale rel suffixed values by
190
190
  * @param path_root path in filesystem to use as relative root
191
191
  */
192
- function create_chain_argv(ops: string | null, op_start: Node, op_end: Node, time: number, rel_dim: number, path_root: string | null): void
192
+ function create_chain_argv(ops: string | null, op_start: Node, op_end: Node, time: number, rel_dim: number, path_root: string): void
193
193
  /**
194
194
  * Call this function when you're done using GEGL. It will clean up
195
195
  * caches and write/dump debug information if the correct debug flags
@@ -202,7 +202,7 @@ function exit(): void
202
202
  * @param format_name A Babl format name, e.g. "RGBA float"
203
203
  * @returns the format pointer
204
204
  */
205
- function format(format_name: string | null): any | null
205
+ function format(format_name: string): any | null
206
206
  function format_get_name(format: any): string | null
207
207
  /**
208
208
  * This function fetches the version of the GEGL library being used by
@@ -221,7 +221,7 @@ function graph_dump_outputs(node: Node): void
221
221
  * @param roi The request rectangle
222
222
  */
223
223
  function graph_dump_request(node: Node, roi: Rectangle): void
224
- function has_operation(operation_type: string | null): boolean
224
+ function has_operation(operation_type: string): boolean
225
225
  /**
226
226
  * Call this function before using any other GEGL functions. It will
227
227
  * initialize everything needed to operate GEGL and parses some
@@ -241,7 +241,7 @@ function list_operations(): string[]
241
241
  * Load all gegl modules found in the given directory.
242
242
  * @param path the directory to load modules from
243
243
  */
244
- function load_module_directory(path: string | null): void
244
+ function load_module_directory(path: string): void
245
245
  /**
246
246
  * Creates a new #GParamSpec instance specifying a #GeglAudioFragment property.
247
247
  * @param name canonical name of the property specified
@@ -250,7 +250,7 @@ function load_module_directory(path: string | null): void
250
250
  * @param flags flags for the property specified
251
251
  * @returns a newly created parameter specification
252
252
  */
253
- function param_spec_audio_fragment(name: string | null, nick: string | null, blurb: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
253
+ function param_spec_audio_fragment(name: string, nick: string, blurb: string, flags: GObject.ParamFlags): GObject.ParamSpec
254
254
  /**
255
255
  * Creates a new #GParamSpec instance specifying a #GeglColor property.
256
256
  * @param name canonical name of the property specified
@@ -260,7 +260,7 @@ function param_spec_audio_fragment(name: string | null, nick: string | null, blu
260
260
  * @param flags flags for the property specified
261
261
  * @returns a newly created parameter specification
262
262
  */
263
- function param_spec_color(name: string | null, nick: string | null, blurb: string | null, default_color: Color, flags: GObject.ParamFlags): GObject.ParamSpec
263
+ function param_spec_color(name: string, nick: string, blurb: string, default_color: Color, flags: GObject.ParamFlags): GObject.ParamSpec
264
264
  /**
265
265
  * Creates a new #GParamSpec instance specifying a #GeglColor property.
266
266
  * @param name canonical name of the property specified
@@ -270,7 +270,7 @@ function param_spec_color(name: string | null, nick: string | null, blurb: strin
270
270
  * @param flags flags for the property specified
271
271
  * @returns a newly created parameter specification
272
272
  */
273
- function param_spec_color_from_string(name: string | null, nick: string | null, blurb: string | null, default_color_string: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
273
+ function param_spec_color_from_string(name: string, nick: string, blurb: string, default_color_string: string, flags: GObject.ParamFlags): GObject.ParamSpec
274
274
  /**
275
275
  * Get the default color value of the param spec
276
276
  * @param self a #GeglColor #GParamSpec
@@ -286,7 +286,7 @@ function param_spec_color_get_default(self: GObject.ParamSpec): Color
286
286
  * @param flags flags for the property specified
287
287
  * @returns a newly created parameter specification
288
288
  */
289
- function param_spec_curve(name: string | null, nick: string | null, blurb: string | null, default_curve: Curve, flags: GObject.ParamFlags): GObject.ParamSpec
289
+ function param_spec_curve(name: string, nick: string, blurb: string, default_curve: Curve, flags: GObject.ParamFlags): GObject.ParamSpec
290
290
  /**
291
291
  * Creates a new #GeglParamSpecDouble instance.
292
292
  * @param name canonical name of the property specified
@@ -301,7 +301,7 @@ function param_spec_curve(name: string | null, nick: string | null, blurb: strin
301
301
  * @param flags flags for the property specified
302
302
  * @returns a newly created parameter specification
303
303
  */
304
- function param_spec_double(name: string | null, nick: string | null, blurb: string | null, minimum: number, maximum: number, default_value: number, ui_minimum: number, ui_maximum: number, ui_gamma: number, flags: GObject.ParamFlags): GObject.ParamSpec
304
+ function param_spec_double(name: string, nick: string, blurb: string, minimum: number, maximum: number, default_value: number, ui_minimum: number, ui_maximum: number, ui_gamma: number, flags: GObject.ParamFlags): GObject.ParamSpec
305
305
  /**
306
306
  * Creates a new #GeglParamSpecEnum instance.
307
307
  * @param name canonical name of the property specified
@@ -312,7 +312,7 @@ function param_spec_double(name: string | null, nick: string | null, blurb: stri
312
312
  * @param flags flags for the property specified
313
313
  * @returns a newly created parameter specification
314
314
  */
315
- function param_spec_enum(name: string | null, nick: string | null, blurb: string | null, enum_type: GObject.GType, default_value: number, flags: GObject.ParamFlags): GObject.ParamSpec
315
+ function param_spec_enum(name: string, nick: string, blurb: string, enum_type: GObject.GType, default_value: number, flags: GObject.ParamFlags): GObject.ParamSpec
316
316
  /**
317
317
  * Creates a new #GeglParamSpecFilePath instance.
318
318
  * @param name canonical name of the property specified
@@ -324,7 +324,7 @@ function param_spec_enum(name: string | null, nick: string | null, blurb: string
324
324
  * @param flags flags for the property specified
325
325
  * @returns a newly created parameter specification
326
326
  */
327
- function param_spec_file_path(name: string | null, nick: string | null, blurb: string | null, no_validate: boolean, null_ok: boolean, default_value: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
327
+ function param_spec_file_path(name: string, nick: string, blurb: string, no_validate: boolean, null_ok: boolean, default_value: string, flags: GObject.ParamFlags): GObject.ParamSpec
328
328
  /**
329
329
  * Creates a new #GeglParamSpecFormat instance specifying a Babl format.
330
330
  * @param name canonical name of the property specified
@@ -333,8 +333,8 @@ function param_spec_file_path(name: string | null, nick: string | null, blurb: s
333
333
  * @param flags flags for the property specified
334
334
  * @returns a newly created parameter specification
335
335
  */
336
- function param_spec_format(name: string | null, nick: string | null, blurb: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
337
- function param_spec_get_property_key(pspec: GObject.ParamSpec, key_name: string | null): string | null
336
+ function param_spec_format(name: string, nick: string, blurb: string, flags: GObject.ParamFlags): GObject.ParamSpec
337
+ function param_spec_get_property_key(pspec: GObject.ParamSpec, key_name: string): string
338
338
  /**
339
339
  * Creates a new #GeglParamSpecInt instance.
340
340
  * @param name canonical name of the property specified
@@ -349,7 +349,7 @@ function param_spec_get_property_key(pspec: GObject.ParamSpec, key_name: string
349
349
  * @param flags flags for the property specified
350
350
  * @returns a newly created parameter specification
351
351
  */
352
- function param_spec_int(name: string | null, nick: string | null, blurb: string | null, minimum: number, maximum: number, default_value: number, ui_minimum: number, ui_maximum: number, ui_gamma: number, flags: GObject.ParamFlags): GObject.ParamSpec
352
+ function param_spec_int(name: string, nick: string, blurb: string, minimum: number, maximum: number, default_value: number, ui_minimum: number, ui_maximum: number, ui_gamma: number, flags: GObject.ParamFlags): GObject.ParamSpec
353
353
  /**
354
354
  * Creates a new #GParamSpec instance specifying a #GeglPath property.
355
355
  * @param name canonical name of the property specified
@@ -359,7 +359,7 @@ function param_spec_int(name: string | null, nick: string | null, blurb: string
359
359
  * @param flags flags for the property specified
360
360
  * @returns a newly created parameter specification
361
361
  */
362
- function param_spec_path(name: string | null, nick: string | null, blurb: string | null, default_path: Path, flags: GObject.ParamFlags): GObject.ParamSpec
362
+ function param_spec_path(name: string, nick: string, blurb: string, default_path: Path, flags: GObject.ParamFlags): GObject.ParamSpec
363
363
  /**
364
364
  * Creates a new #GeglParamSpecSeed instance specifying an integer random seed.
365
365
  * @param name canonical name of the property specified
@@ -368,8 +368,8 @@ function param_spec_path(name: string | null, nick: string | null, blurb: string
368
368
  * @param flags flags for the property specified
369
369
  * @returns a newly created parameter specification
370
370
  */
371
- function param_spec_seed(name: string | null, nick: string | null, blurb: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
372
- function param_spec_set_property_key(pspec: GObject.ParamSpec, key_name: string | null, value: string | null): void
371
+ function param_spec_seed(name: string, nick: string, blurb: string, flags: GObject.ParamFlags): GObject.ParamSpec
372
+ function param_spec_set_property_key(pspec: GObject.ParamSpec, key_name: string, value: string): void
373
373
  /**
374
374
  * Creates a new #GeglParamSpecString instance.
375
375
  * @param name canonical name of the property specified
@@ -381,7 +381,7 @@ function param_spec_set_property_key(pspec: GObject.ParamSpec, key_name: string
381
381
  * @param flags flags for the property specified
382
382
  * @returns a newly created parameter specification
383
383
  */
384
- function param_spec_string(name: string | null, nick: string | null, blurb: string | null, no_validate: boolean, null_ok: boolean, default_value: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
384
+ function param_spec_string(name: string, nick: string, blurb: string, no_validate: boolean, null_ok: boolean, default_value: string, flags: GObject.ParamFlags): GObject.ParamSpec
385
385
  /**
386
386
  * Creates a new #GeglParamSpecUri instance.
387
387
  * @param name canonical name of the property specified
@@ -393,7 +393,7 @@ function param_spec_string(name: string | null, nick: string | null, blurb: stri
393
393
  * @param flags flags for the property specified
394
394
  * @returns a newly created parameter specification
395
395
  */
396
- function param_spec_uri(name: string | null, nick: string | null, blurb: string | null, no_validate: boolean, null_ok: boolean, default_value: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
396
+ function param_spec_uri(name: string, nick: string, blurb: string, no_validate: boolean, null_ok: boolean, default_value: string, flags: GObject.ParamFlags): GObject.ParamSpec
397
397
  /**
398
398
  * Returns a GeglRectangle that represents an infininte plane.
399
399
  */
@@ -403,7 +403,7 @@ function rectangle_infinite_plane(): Rectangle
403
403
  * by #gegl_stats().
404
404
  */
405
405
  function reset_stats(): void
406
- function serialize(start: Node, end: Node, basepath: string | null, serialize_flags: SerializeFlag): string | null
406
+ function serialize(start: Node, end: Node, basepath: string, serialize_flags: SerializeFlag): string | null
407
407
  /**
408
408
  * Returns a GeglStats object with properties that can be read to monitor
409
409
  * GEGL statistics.
@@ -524,6 +524,14 @@ module Buffer {
524
524
  width?: number | null
525
525
  x?: number | null
526
526
  y?: number | null
527
+ abyssHeight?: number | null
528
+ abyssWidth?: number | null
529
+ abyssX?: number | null
530
+ abyssY?: number | null
531
+ shiftX?: number | null
532
+ shiftY?: number | null
533
+ tileHeight?: number | null
534
+ tileWidth?: number | null
527
535
  }
528
536
 
529
537
  }
@@ -533,19 +541,28 @@ interface Buffer {
533
541
  // Own properties of Gegl-0.3.Gegl.Buffer
534
542
 
535
543
  readonly abyss_height: number
544
+ readonly abyssHeight: number
536
545
  readonly abyss_width: number
546
+ readonly abyssWidth: number
537
547
  readonly abyss_x: number
548
+ readonly abyssX: number
538
549
  readonly abyss_y: number
550
+ readonly abyssY: number
539
551
  readonly backend: TileBackend
540
552
  format: any
541
553
  height: number
542
554
  readonly path: string | null
543
555
  readonly pixels: number
544
556
  readonly px_size: number
557
+ readonly pxSize: number
545
558
  readonly shift_x: number
559
+ readonly shiftX: number
546
560
  readonly shift_y: number
561
+ readonly shiftY: number
547
562
  readonly tile_height: number
563
+ readonly tileHeight: number
548
564
  readonly tile_width: number
565
+ readonly tileWidth: number
549
566
  width: number
550
567
  x: number
551
568
  y: number
@@ -624,7 +641,7 @@ interface Buffer {
624
641
  * @param format_name the format of the input data.
625
642
  * @param src pixel data to write to `buffer`.
626
643
  */
627
- set(rect: Rectangle, format_name: string | null, src: Uint8Array): void
644
+ set(rect: Rectangle, format_name: string, src: Uint8Array): void
628
645
  /**
629
646
  * This function makes sure GeglBuffer and underlying code is aware of changes
630
647
  * being made to the linear buffer. If the request was not a compatible one
@@ -650,7 +667,7 @@ interface Buffer {
650
667
  * @param path the path where the gegl buffer will be saved, any writable GIO uri is valid.
651
668
  * @param roi the region of interest to write, this is the tiles that will be collected and written to disk.
652
669
  */
653
- save(path: string | null, roi: Rectangle): void
670
+ save(path: string, roi: Rectangle): void
654
671
  /**
655
672
  * Changes the size and position of the abyss rectangle of a buffer.
656
673
  *
@@ -693,7 +710,7 @@ interface Buffer {
693
710
  * @param c_handler c function callback
694
711
  * @returns an handle like g_signal_connect.
695
712
  */
696
- signal_connect(detailed_signal: string | null, c_handler: GObject.Callback): number
713
+ signal_connect(detailed_signal: string, c_handler: GObject.Callback): number
697
714
 
698
715
  // Own signals of Gegl-0.3.Gegl.Buffer
699
716
 
@@ -779,7 +796,7 @@ class Buffer extends TileHandler {
779
796
  * @param width width of the buffer's extent
780
797
  * @param height height of the buffer's extent
781
798
  */
782
- constructor(format_name: string | null, x: number, y: number, width: number, height: number)
799
+ constructor(format_name: string, x: number, y: number, width: number, height: number)
783
800
  /**
784
801
  * Create a new GeglBuffer with the given format and dimensions.
785
802
  * @constructor
@@ -789,7 +806,7 @@ class Buffer extends TileHandler {
789
806
  * @param width width of the buffer's extent
790
807
  * @param height height of the buffer's extent
791
808
  */
792
- static new(format_name: string | null, x: number, y: number, width: number, height: number): Buffer
809
+ static new(format_name: string, x: number, y: number, width: number, height: number): Buffer
793
810
  /**
794
811
  * Create a new GeglBuffer from a backend, if NULL is passed in the extent of
795
812
  * the buffer will be inherited from the extent of the backend.
@@ -808,7 +825,7 @@ class Buffer extends TileHandler {
808
825
  * @param path the path to a gegl buffer on disk.
809
826
  * @returns a #GeglBuffer object.
810
827
  */
811
- static load(path: string | null): Buffer
828
+ static load(path: string): Buffer
812
829
  /**
813
830
  * Open an existing on-disk GeglBuffer, this buffer is opened in a monitored
814
831
  * state so multiple instances of gegl can share the same buffer. Sets on
@@ -816,7 +833,7 @@ class Buffer extends TileHandler {
816
833
  * @param path the path to a gegl buffer on disk.
817
834
  * @returns a GeglBuffer object.
818
835
  */
819
- static open(path: string | null): Buffer
836
+ static open(path: string): Buffer
820
837
  }
821
838
 
822
839
  module Color {
@@ -904,7 +921,7 @@ class Color extends GObject.Object {
904
921
  * @constructor
905
922
  * @param string a string describing the color to be created.
906
923
  */
907
- constructor(string: string | null)
924
+ constructor(string: string)
908
925
  /**
909
926
  * Creates a new #GeglColor.
910
927
  *
@@ -912,7 +929,7 @@ class Color extends GObject.Object {
912
929
  * @constructor
913
930
  * @param string a string describing the color to be created.
914
931
  */
915
- static new(string: string | null): Color
932
+ static new(string: string): Color
916
933
  _init(config?: Color.ConstructorProperties): void
917
934
  }
918
935
 
@@ -934,6 +951,13 @@ module Config {
934
951
  tile_height?: number | null
935
952
  tile_width?: number | null
936
953
  use_opencl?: boolean | null
954
+ applicationLicense?: string | null
955
+ chunkSize?: number | null
956
+ queueSize?: number | null
957
+ tileCacheSize?: number | null
958
+ tileHeight?: number | null
959
+ tileWidth?: number | null
960
+ useOpencl?: boolean | null
937
961
  }
938
962
 
939
963
  }
@@ -943,15 +967,22 @@ interface Config {
943
967
  // Own properties of Gegl-0.3.Gegl.Config
944
968
 
945
969
  application_license: string | null
970
+ applicationLicense: string | null
946
971
  chunk_size: number
972
+ chunkSize: number
947
973
  quality: number
948
974
  queue_size: number
975
+ queueSize: number
949
976
  swap: string | null
950
977
  threads: number
951
978
  tile_cache_size: number
979
+ tileCacheSize: number
952
980
  tile_height: number
981
+ tileHeight: number
953
982
  tile_width: number
983
+ tileWidth: number
954
984
  use_opencl: boolean
985
+ useOpencl: boolean
955
986
 
956
987
  // Class property signals of Gegl-0.3.Gegl.Config
957
988
 
@@ -1151,6 +1182,9 @@ module Node {
1151
1182
  operation?: string | null
1152
1183
  passthrough?: boolean | null
1153
1184
  use_opencl?: boolean | null
1185
+ dontCache?: boolean | null
1186
+ geglOperation?: Operation | null
1187
+ useOpencl?: boolean | null
1154
1188
  }
1155
1189
 
1156
1190
  }
@@ -1160,11 +1194,14 @@ interface Node {
1160
1194
  // Own properties of Gegl-0.3.Gegl.Node
1161
1195
 
1162
1196
  dont_cache: boolean
1197
+ dontCache: boolean
1163
1198
  gegl_operation: Operation
1199
+ geglOperation: Operation
1164
1200
  name: string | null
1165
1201
  operation: string | null
1166
1202
  passthrough: boolean
1167
1203
  use_opencl: boolean
1204
+ useOpencl: boolean
1168
1205
 
1169
1206
  // Owm methods of Gegl-0.3.Gegl.Node
1170
1207
 
@@ -1191,7 +1228,7 @@ interface Node {
1191
1228
  * @param source the node producing data we want to connect.
1192
1229
  * @param output_pad_name the output pad we want to use on the source.
1193
1230
  */
1194
- connect_from(input_pad_name: string | null, source: Node, output_pad_name: string | null): boolean
1231
+ connect_from(input_pad_name: string, source: Node, output_pad_name: string): boolean
1195
1232
  /**
1196
1233
  * Makes a connection between the pads of two nodes.
1197
1234
  *
@@ -1200,7 +1237,7 @@ interface Node {
1200
1237
  * @param sink the node we're connecting an input to
1201
1238
  * @param input_pad_name the name of the input pad we are connecting to
1202
1239
  */
1203
- connect_to(output_pad_name: string | null, sink: Node, input_pad_name: string | null): boolean
1240
+ connect_to(output_pad_name: string, sink: Node, input_pad_name: string): boolean
1204
1241
  /**
1205
1242
  * Creates a new processing node that performs the specified operation.
1206
1243
  * All properties of the operation will have their default values. This
@@ -1210,7 +1247,7 @@ interface Node {
1210
1247
  * @param operation the type of node to create.
1211
1248
  * @returns a newly created node. The node will be destroyed by the parent. Calling g_object_unref on a node will cause the node to be dropped by the parent. (You may also add additional references using g_object_ref/g_object_unref, but in general relying on the parents reference counting is easiest.)
1212
1249
  */
1213
- create_child(operation: string | null): Node
1250
+ create_child(operation: string): Node
1214
1251
  /**
1215
1252
  * Performs hit detection by returning the node providing data at a given
1216
1253
  * coordinate pair. Currently operates only on bounding boxes and not
@@ -1226,8 +1263,8 @@ interface Node {
1226
1263
  * Returns TRUE if a connection was broken.
1227
1264
  * @param input_pad the input pad to disconnect.
1228
1265
  */
1229
- disconnect(input_pad: string | null): boolean
1230
- find_property(property_name: string | null): GObject.ParamSpec
1266
+ disconnect(input_pad: string): boolean
1267
+ find_property(property_name: string): GObject.ParamSpec
1231
1268
  get_children(): Node[]
1232
1269
  /**
1233
1270
  * Retrieve which pads on which nodes are connected to a named output_pad,
@@ -1238,7 +1275,7 @@ interface Node {
1238
1275
  * Returns the number of consumers connected to this output_pad.
1239
1276
  * @param output_pad the output pad we want to know who uses.
1240
1277
  */
1241
- get_consumers(output_pad: string | null): [ /* returnType */ number, /* nodes */ Node[], /* pads */ string[] ]
1278
+ get_consumers(output_pad: string): [ /* returnType */ number, /* nodes */ Node[], /* pads */ string[] ]
1242
1279
  get_gegl_operation(): Operation | null
1243
1280
  /**
1244
1281
  * Proxies are used to route between nodes of a subgraph contained within
@@ -1246,34 +1283,34 @@ interface Node {
1246
1283
  * @param pad_name the name of the pad.
1247
1284
  * @returns Returns an input proxy for the named pad. If no input proxy exists with this name a new one will be created.
1248
1285
  */
1249
- get_input_proxy(pad_name: string | null): Node
1250
- get_operation(): string | null
1286
+ get_input_proxy(pad_name: string): Node
1287
+ get_operation(): string
1251
1288
  /**
1252
1289
  * Proxies are used to route between nodes of a subgraph contained within
1253
1290
  * a node.
1254
1291
  * @param pad_name the name of the pad.
1255
1292
  * @returns Returns a output proxy for the named pad. If no output proxy exists with this name a new one will be created.
1256
1293
  */
1257
- get_output_proxy(pad_name: string | null): Node
1294
+ get_output_proxy(pad_name: string): Node
1258
1295
  /**
1259
1296
  * Returns a GeglNode that keeps a reference on a child.
1260
1297
  * @returns the parent of a node or NULL.
1261
1298
  */
1262
1299
  get_parent(): Node
1263
1300
  get_passthrough(): boolean
1264
- get_producer(input_pad_name: string | null, output_pad_name: string | null): Node
1301
+ get_producer(input_pad_name: string, output_pad_name: string | null): Node
1265
1302
  /**
1266
1303
  * Returns TRUE if the node has a pad with the specified name
1267
1304
  * @param pad_name the pad name we are looking for
1268
1305
  */
1269
- has_pad(pad_name: string | null): boolean
1306
+ has_pad(pad_name: string): boolean
1270
1307
  /**
1271
1308
  * Returns the position and dimensions of a rectangle spanning the area
1272
1309
  * defined by a node.
1273
1310
  * @returns pointer a #GeglRectangle
1274
1311
  */
1275
1312
  get_bounding_box(): Rectangle
1276
- get_property(property_name: string | null): any
1313
+ get_property(property_name: string): any
1277
1314
 
1278
1315
  // Overloads of get_property
1279
1316
 
@@ -1297,7 +1334,7 @@ interface Node {
1297
1334
  * @param property_name the name of the property to get
1298
1335
  * @param value return location for the property value
1299
1336
  */
1300
- get_property(property_name: string | null, value: any): void
1337
+ get_property(property_name: string, value: any): void
1301
1338
  /**
1302
1339
  * Synthetic sugar for linking the "output" pad of `source` to the "input"
1303
1340
  * pad of `sink`.
@@ -1368,7 +1405,7 @@ interface Node {
1368
1405
  * @param property_name the name of the property to set
1369
1406
  * @param value a GValue containing the value to be set in the property.
1370
1407
  */
1371
- set_property(property_name: string | null, value: any): void
1408
+ set_property(property_name: string, value: any): void
1372
1409
  /**
1373
1410
  * Returns a freshly allocated \0 terminated string containing a XML
1374
1411
  * serialization of the composition produced by a node (and thus also
@@ -1378,7 +1415,7 @@ interface Node {
1378
1415
  * for the serialization.
1379
1416
  * @param path_root filesystem path to construct relative paths from.
1380
1417
  */
1381
- to_xml(path_root: string | null): string | null
1418
+ to_xml(path_root: string): string | null
1382
1419
  /**
1383
1420
  * Returns a freshly allocated \0 terminated string containing a XML
1384
1421
  * serialization of a segment of a graph from `head` to `tail` nodes.
@@ -1387,7 +1424,7 @@ interface Node {
1387
1424
  * @param path_root filesystem path to construct relative paths from.
1388
1425
  * @returns XML serialization of a graph segment.
1389
1426
  */
1390
- to_xml_full(tail: Node | null, path_root: string | null): string | null
1427
+ to_xml_full(tail: Node | null, path_root: string): string | null
1391
1428
 
1392
1429
  // Own signals of Gegl-0.3.Gegl.Node
1393
1430
 
@@ -1457,8 +1494,8 @@ class Node extends GObject.Object {
1457
1494
  * @param path the path to a file on the local file system to be parsed.
1458
1495
  * @returns a GeglNode containing the parsed XML as a subgraph.
1459
1496
  */
1460
- static new_from_file(path: string | null): Node
1461
- static new_from_serialized(chaindata: string | null, path_root: string | null): Node
1497
+ static new_from_file(path: string): Node
1498
+ static new_from_serialized(chaindata: string, path_root: string): Node
1462
1499
  /**
1463
1500
  * The #GeglNode returned contains the graph described by the tree of stacks
1464
1501
  * in the XML document. The tree is connected to the "output" pad of the
@@ -1468,7 +1505,7 @@ class Node extends GObject.Object {
1468
1505
  * @param path_root a file system path that relative paths in the XML will be resolved in relation to.
1469
1506
  * @returns a GeglNode containing the parsed XML as a subgraph.
1470
1507
  */
1471
- static new_from_xml(xmldata: string | null, path_root: string | null): Node
1508
+ static new_from_xml(xmldata: string, path_root: string): Node
1472
1509
  _init(config?: Node.ConstructorProperties): void
1473
1510
  }
1474
1511
 
@@ -1502,13 +1539,13 @@ class Operation extends GObject.Object {
1502
1539
 
1503
1540
  constructor(config?: Operation.ConstructorProperties)
1504
1541
  _init(config?: Operation.ConstructorProperties): void
1505
- static find_property(operation_type: string | null, property_name: string | null): GObject.ParamSpec
1506
- static get_key(operation_type: string | null, key_name: string | null): string | null
1507
- static get_op_version(op_name: string | null): string | null
1508
- static get_property_key(operation_type: string | null, property_name: string | null, property_key_name: string | null): string | null
1509
- static list_keys(operation_type: string | null): string[]
1510
- static list_properties(operation_type: string | null): GObject.ParamSpec[]
1511
- static list_property_keys(operation_type: string | null, property_name: string | null): string[]
1542
+ static find_property(operation_type: string, property_name: string): GObject.ParamSpec
1543
+ static get_key(operation_type: string, key_name: string): string
1544
+ static get_op_version(op_name: string): string
1545
+ static get_property_key(operation_type: string, property_name: string, property_key_name: string): string
1546
+ static list_keys(operation_type: string): string[]
1547
+ static list_properties(operation_type: string): GObject.ParamSpec[]
1548
+ static list_property_keys(operation_type: string, property_name: string): string[]
1512
1549
  }
1513
1550
 
1514
1551
  interface ParamAudioFragment {
@@ -1743,7 +1780,7 @@ interface Path {
1743
1780
  * gegl_path_clean() first if you want to replace the existing path.
1744
1781
  * @param instructions a string describing a path.
1745
1782
  */
1746
- parse_string(instructions: string | null): void
1783
+ parse_string(instructions: string): void
1747
1784
  /**
1748
1785
  * Removes the node number `pos` in `path`.
1749
1786
  * @param pos a node in the path.
@@ -1820,7 +1857,7 @@ class Path extends GObject.Object {
1820
1857
  * @constructor
1821
1858
  * @param instructions a string describing the path.
1822
1859
  */
1823
- static new_from_string(instructions: string | null): Path
1860
+ static new_from_string(instructions: string): Path
1824
1861
  _init(config?: Path.ConstructorProperties): void
1825
1862
  /**
1826
1863
  * Adds a new type to the path system, FIXME this should probably
@@ -1830,7 +1867,7 @@ class Path extends GObject.Object {
1830
1867
  * @param items the number of floating point data items the instruction takes
1831
1868
  * @param description a human readable description of this entry
1832
1869
  */
1833
- static add_type(type: number, items: number, description: string | null): void
1870
+ static add_type(type: number, items: number, description: string): void
1834
1871
  }
1835
1872
 
1836
1873
  module Processor {
@@ -1929,14 +1966,23 @@ interface Stats {
1929
1966
  // Own properties of Gegl-0.3.Gegl.Stats
1930
1967
 
1931
1968
  readonly swap_busy: boolean
1969
+ readonly swapBusy: boolean
1932
1970
  readonly swap_file_size: number
1971
+ readonly swapFileSize: number
1933
1972
  readonly swap_total: number
1973
+ readonly swapTotal: number
1934
1974
  readonly tile_cache_hits: number
1975
+ readonly tileCacheHits: number
1935
1976
  readonly tile_cache_misses: number
1977
+ readonly tileCacheMisses: number
1936
1978
  readonly tile_cache_total: number
1979
+ readonly tileCacheTotal: number
1937
1980
  readonly tile_cache_total_max: number
1981
+ readonly tileCacheTotalMax: number
1938
1982
  readonly tile_cache_total_uncloned: number
1983
+ readonly tileCacheTotalUncloned: number
1939
1984
  readonly zoom_total: number
1985
+ readonly zoomTotal: number
1940
1986
 
1941
1987
  // Class property signals of Gegl-0.3.Gegl.Stats
1942
1988
 
@@ -1998,6 +2044,9 @@ module TileBackend {
1998
2044
  format?: any | null
1999
2045
  tile_height?: number | null
2000
2046
  tile_width?: number | null
2047
+ flushOnDestroy?: boolean | null
2048
+ tileHeight?: number | null
2049
+ tileWidth?: number | null
2001
2050
  }
2002
2051
 
2003
2052
  }
@@ -2007,11 +2056,16 @@ interface TileBackend {
2007
2056
  // Own properties of Gegl-0.3.Gegl.TileBackend
2008
2057
 
2009
2058
  flush_on_destroy: boolean
2059
+ flushOnDestroy: boolean
2010
2060
  readonly format: any
2011
2061
  readonly px_size: number
2062
+ readonly pxSize: number
2012
2063
  readonly tile_height: number
2064
+ readonly tileHeight: number
2013
2065
  readonly tile_size: number
2066
+ readonly tileSize: number
2014
2067
  readonly tile_width: number
2068
+ readonly tileWidth: number
2015
2069
 
2016
2070
  // Own fields of Gegl-0.3.Gegl.TileBackend
2017
2071
 
@@ -2384,7 +2438,7 @@ interface Matrix3 {
2384
2438
  * Parse a transofmation matrix from a string.
2385
2439
  * @param string a string describing the matrix (right now a small subset of the transform strings allowed by SVG)
2386
2440
  */
2387
- parse_string(string: string | null): void
2441
+ parse_string(string: string): void
2388
2442
  /**
2389
2443
  * Serialize a #GeglMatrix3 to a string.
2390
2444
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gegl-0.3",
3
- "version": "0.3.35-3.2.5",
3
+ "version": "0.3.35-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for Gegl-0.3, generated from library version 0.3.35",
5
5
  "type": "module",
6
6
  "module": "gegl-0.3.js",
@@ -25,9 +25,9 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gegl-0.3.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/gjs": "^3.2.5",
29
- "@girs/glib-2.0": "^2.78.0-3.2.5",
30
- "@girs/gobject-2.0": "^2.78.0-3.2.5"
28
+ "@girs/gjs": "^3.2.7",
29
+ "@girs/glib-2.0": "^2.78.0-3.2.7",
30
+ "@girs/gobject-2.0": "^2.78.0-3.2.7"
31
31
  },
32
32
  "devDependencies": {
33
33
  "typescript": "*"