1 { This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. }
2 unit LazGdkPixbuf2;
3 
4 {$MODE OBJFPC}{$H+}
5 
6 {$PACKRECORDS C}
7 {$MODESWITCH DUPLICATELOCALS+}
8 
9 {$LINKLIB libgdk_pixbuf-2.0.so.0}
10 interface
11 uses
12   CTypes, LazGModule2, LazGio2, LazGLib2, LazGObject2;
13 
14 const
15   GdkPixbuf2_library = 'libgdk_pixbuf-2.0.so.0';
16 
17   GDK_PIXBUF_FEATURES_H = 1;
18   GDK_PIXBUF_MAGIC_NUMBER = 1197763408;
19   GDK_PIXBUF_MAJOR = 2;
20   GDK_PIXBUF_MICRO = 2;
21   GDK_PIXBUF_MINOR = 28;
22   GDK_PIXBUF_VERSION = '2.28.2';
23   GDK_PIXDATA_HEADER_LENGTH = 24;
24 
25 type
26   TGdkColorspace = Integer;
27 const
28   { GdkColorspace }
29   GDK_COLORSPACE_RGB: TGdkColorspace = 0;
30 
31 type
32   TGdkInterpType = Integer;
33 const
34   { GdkInterpType }
35   GDK_INTERP_NEAREST: TGdkInterpType = 0;
36   GDK_INTERP_TILES: TGdkInterpType = 1;
37   GDK_INTERP_BILINEAR: TGdkInterpType = 2;
38   GDK_INTERP_HYPER: TGdkInterpType = 3;
39 
40 type
41   TGdkPixbufRotation = Integer;
42 const
43   { GdkPixbufRotation }
44   GDK_PIXBUF_ROTATE_NONE: TGdkPixbufRotation = 0;
45   GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE: TGdkPixbufRotation = 90;
46   GDK_PIXBUF_ROTATE_UPSIDEDOWN: TGdkPixbufRotation = 180;
47   GDK_PIXBUF_ROTATE_CLOCKWISE: TGdkPixbufRotation = 270;
48 
49 type
50   TGdkPixdataDumpType = Integer;
51 const
52   { GdkPixdataDumpType }
53   GDK_PIXDATA_DUMP_PIXDATA_STREAM: TGdkPixdataDumpType = 0;
54   GDK_PIXDATA_DUMP_PIXDATA_STRUCT: TGdkPixdataDumpType = 1;
55   GDK_PIXDATA_DUMP_MACROS: TGdkPixdataDumpType = 2;
56   GDK_PIXDATA_DUMP_GTYPES: TGdkPixdataDumpType = 0;
57   GDK_PIXDATA_DUMP_CTYPES: TGdkPixdataDumpType = 256;
58   GDK_PIXDATA_DUMP_STATIC: TGdkPixdataDumpType = 512;
59   GDK_PIXDATA_DUMP_CONST: TGdkPixdataDumpType = 1024;
60   GDK_PIXDATA_DUMP_RLE_DECODER: TGdkPixdataDumpType = 65536;
61 
62 type
63   TGdkPixbufAlphaMode = Integer;
64 const
65   { GdkPixbufAlphaMode }
66   GDK_PIXBUF_ALPHA_BILEVEL: TGdkPixbufAlphaMode = 0;
67   GDK_PIXBUF_ALPHA_FULL: TGdkPixbufAlphaMode = 1;
68 
69 type
70   TGdkPixbufError = Integer;
71 const
72   { GdkPixbufError }
73   GDK_PIXBUF_ERROR_CORRUPT_IMAGE: TGdkPixbufError = 0;
74   GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY: TGdkPixbufError = 1;
75   GDK_PIXBUF_ERROR_BAD_OPTION: TGdkPixbufError = 2;
76   GDK_PIXBUF_ERROR_UNKNOWN_TYPE: TGdkPixbufError = 3;
77   GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION: TGdkPixbufError = 4;
78   GDK_PIXBUF_ERROR_FAILED: TGdkPixbufError = 5;
79 
80 type
81   TGdkPixdataType = Integer;
82 const
83   { GdkPixdataType }
84   GDK_PIXDATA_COLOR_TYPE_RGB: TGdkPixdataType = 1;
85   GDK_PIXDATA_COLOR_TYPE_RGBA: TGdkPixdataType = 2;
86   GDK_PIXDATA_COLOR_TYPE_MASK: TGdkPixdataType = 255;
87   GDK_PIXDATA_SAMPLE_WIDTH_8: TGdkPixdataType = 65536;
88   GDK_PIXDATA_SAMPLE_WIDTH_MASK: TGdkPixdataType = 983040;
89   GDK_PIXDATA_ENCODING_RAW: TGdkPixdataType = 16777216;
90   GDK_PIXDATA_ENCODING_RLE: TGdkPixdataType = 33554432;
91   GDK_PIXDATA_ENCODING_MASK: TGdkPixdataType = 251658240;
92 type
93 
94   PPGdkColorspace = ^PGdkColorspace;
95   PGdkColorspace = ^TGdkColorspace;
96 
97   PPGdkInterpType = ^PGdkInterpType;
98   PGdkInterpType = ^TGdkInterpType;
99 
100   PPGdkPixbuf = ^PGdkPixbuf;
101   PGdkPixbuf = ^TGdkPixbuf;
102 
103   PPGdkPixbufDestroyNotify = ^PGdkPixbufDestroyNotify;
104   PGdkPixbufDestroyNotify = ^TGdkPixbufDestroyNotify;
105   TGdkPixbufDestroyNotify = procedure(pixels: Pguint8; data: gpointer); cdecl;
106 
107   PPGdkPixdata = ^PGdkPixdata;
108   PGdkPixdata = ^TGdkPixdata;
109 
110   PPGdkPixbufFormat = ^PGdkPixbufFormat;
111   PGdkPixbufFormat = ^TGdkPixbufFormat;
112 
113   PPGdkPixbufRotation = ^PGdkPixbufRotation;
114   PGdkPixbufRotation = ^TGdkPixbufRotation;
115 
116   PPGdkPixbufSaveFunc = ^PGdkPixbufSaveFunc;
117   PGdkPixbufSaveFunc = ^TGdkPixbufSaveFunc;
ufnull118   TGdkPixbufSaveFunc = function(buf: Pgchar; count: gsize; error: PPGError; data: gpointer): gboolean; cdecl;
119   TGdkPixbuf = object(TGObject)
newnull120     function new(colorspace: TGdkColorspace; has_alpha: gboolean; bits_per_sample: gint; width: gint; height: gint): PGdkPixbuf; cdecl; inline; static;
new_from_datanull121     function new_from_data(data: Pguint8; colorspace: TGdkColorspace; has_alpha: gboolean; bits_per_sample: gint; width: gint; height: gint; rowstride: gint; destroy_fn: TGdkPixbufDestroyNotify; destroy_fn_data: gpointer): PGdkPixbuf; cdecl; inline; static;
new_from_filenull122     function new_from_file(filename: Pgchar; error: PPGError): PGdkPixbuf; cdecl; inline; static;
new_from_file_at_scalenull123     function new_from_file_at_scale(filename: Pgchar; width: gint; height: gint; preserve_aspect_ratio: gboolean; error: PPGError): PGdkPixbuf; cdecl; inline; static;
new_from_file_at_sizenull124     function new_from_file_at_size(filename: Pgchar; width: gint; height: gint; error: PPGError): PGdkPixbuf; cdecl; inline; static;
new_from_inlinenull125     function new_from_inline(data_length: gint; data: Pguint8; copy_pixels: gboolean; error: PPGError): PGdkPixbuf; cdecl; inline; static;
new_from_resourcenull126     function new_from_resource(resource_path: Pgchar; error: PPGError): PGdkPixbuf; cdecl; inline; static;
new_from_resource_at_scalenull127     function new_from_resource_at_scale(resource_path: Pgchar; width: gint; height: gint; preserve_aspect_ratio: gboolean; error: PPGError): PGdkPixbuf; cdecl; inline; static;
new_from_streamnull128     function new_from_stream(stream: PGInputStream; cancellable: PGCancellable; error: PPGError): PGdkPixbuf; cdecl; inline; static;
new_from_stream_at_scalenull129     function new_from_stream_at_scale(stream: PGInputStream; width: gint; height: gint; preserve_aspect_ratio: gboolean; cancellable: PGCancellable; error: PPGError): PGdkPixbuf; cdecl; inline; static;
new_from_stream_finishnull130     function new_from_stream_finish(async_result: PGAsyncResult; error: PPGError): PGdkPixbuf; cdecl; inline; static;
new_from_xpm_datanull131     function new_from_xpm_data(data: PPgchar): PGdkPixbuf; cdecl; inline; static;
from_pixdatanull132     function from_pixdata(pixdata: PGdkPixdata; copy_pixels: gboolean; error: PPGError): PGdkPixbuf; cdecl; inline; static;
get_file_infonull133     function get_file_info(filename: Pgchar; width: Pgint; height: Pgint): PGdkPixbufFormat; cdecl; inline; static;
get_formatsnull134     function get_formats: PGSList; cdecl; inline; static;
gettextnull135     function gettext(msgid: Pgchar): Pgchar; cdecl; inline; static;
136     procedure new_from_stream_async(stream: PGInputStream; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; static;
137     procedure new_from_stream_at_scale_async(stream: PGInputStream; width: gint; height: gint; preserve_aspect_ratio: gboolean; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; static;
save_to_stream_finishnull138     function save_to_stream_finish(async_result: PGAsyncResult; error: PPGError): gboolean; cdecl; inline; static;
add_alphanull139     function add_alpha(substitute_color: gboolean; r: guint8; g: guint8; b: guint8): PGdkPixbuf; cdecl; inline;
apply_embedded_orientationnull140     function apply_embedded_orientation: PGdkPixbuf; cdecl; inline;
141     procedure composite(dest: PGdkPixbuf; dest_x: gint; dest_y: gint; dest_width: gint; dest_height: gint; offset_x: gdouble; offset_y: gdouble; scale_x: gdouble; scale_y: gdouble; interp_type: TGdkInterpType; overall_alpha: gint); cdecl; inline;
142     procedure composite_color(dest: PGdkPixbuf; dest_x: gint; dest_y: gint; dest_width: gint; dest_height: gint; offset_x: gdouble; offset_y: gdouble; scale_x: gdouble; scale_y: gdouble; interp_type: TGdkInterpType; overall_alpha: gint; check_x: gint; check_y: gint; check_size: gint; color1: guint32; color2: guint32); cdecl; inline;
composite_color_simplenull143     function composite_color_simple(dest_width: gint; dest_height: gint; interp_type: TGdkInterpType; overall_alpha: gint; check_size: gint; color1: guint32; color2: guint32): PGdkPixbuf; cdecl; inline;
copynull144     function copy: PGdkPixbuf; cdecl; inline;
145     procedure copy_area(src_x: gint; src_y: gint; width: gint; height: gint; dest_pixbuf: PGdkPixbuf; dest_x: gint; dest_y: gint); cdecl; inline;
146     procedure fill(pixel: guint32); cdecl; inline;
flipnull147     function flip(horizontal: gboolean): PGdkPixbuf; cdecl; inline;
get_bits_per_samplenull148     function get_bits_per_sample: gint; cdecl; inline;
get_byte_lengthnull149     function get_byte_length: gsize; cdecl; inline;
get_colorspacenull150     function get_colorspace: TGdkColorspace; cdecl; inline;
get_has_alphanull151     function get_has_alpha: gboolean; cdecl; inline;
get_heightnull152     function get_height: gint; cdecl; inline;
get_n_channelsnull153     function get_n_channels: gint; cdecl; inline;
get_optionnull154     function get_option(key: Pgchar): Pgchar; cdecl; inline;
get_pixelsnull155     function get_pixels: Pguint8; cdecl; inline;
get_pixels_with_lengthnull156     function get_pixels_with_length(length: Pguint): Pguint8; cdecl; inline;
get_rowstridenull157     function get_rowstride: gint; cdecl; inline;
get_widthnull158     function get_width: gint; cdecl; inline;
new_subpixbufnull159     function new_subpixbuf(src_x: gint; src_y: gint; width: gint; height: gint): PGdkPixbuf; cdecl; inline;
rotate_simplenull160     function rotate_simple(angle: TGdkPixbufRotation): PGdkPixbuf; cdecl; inline;
161     procedure saturate_and_pixelate(dest: PGdkPixbuf; saturation: gfloat; pixelate: gboolean); cdecl; inline;
savenull162     //function save(filename: Pgchar; type_: Pgchar; error: PPGError; args: array of const): gboolean; cdecl; inline;
163     //function save_to_buffer(buffer: PPgchar; buffer_size: Pgsize; type_: Pgchar; error: PPGError; args: array of const): gboolean; cdecl; inline;
164     function save_to_bufferv(buffer: PPgchar; buffer_size: Pgsize; type_: Pgchar; option_keys: PPgchar; option_values: PPgchar; error: PPGError): gboolean; cdecl; inline;
save_to_callbacknull165     //function save_to_callback(save_func: TGdkPixbufSaveFunc; user_data: gpointer; type_: Pgchar; error: PPGError; args: array of const): gboolean; cdecl; inline;
166     function save_to_callbackv(save_func: TGdkPixbufSaveFunc; user_data: gpointer; type_: Pgchar; option_keys: PPgchar; option_values: PPgchar; error: PPGError): gboolean; cdecl; inline;
save_to_streamnull167     //function save_to_stream(stream: PGOutputStream; type_: Pgchar; cancellable: PGCancellable; error: PPGError; args: array of const): gboolean; cdecl; inline;
168     //procedure save_to_stream_async(stream: PGOutputStream; type_: Pgchar; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer; args: array of const); cdecl; inline;
169     function savev(filename: Pgchar; type_: Pgchar; option_keys: PPgchar; option_values: PPgchar; error: PPGError): gboolean; cdecl; inline;
170     procedure scale(dest: PGdkPixbuf; dest_x: gint; dest_y: gint; dest_width: gint; dest_height: gint; offset_x: gdouble; offset_y: gdouble; scale_x: gdouble; scale_y: gdouble; interp_type: TGdkInterpType); cdecl; inline;
scale_simplenull171     function scale_simple(dest_width: gint; dest_height: gint; interp_type: TGdkInterpType): PGdkPixbuf; cdecl; inline;
172     property bits_per_sample: gint read get_bits_per_sample  { property is writeable but setter not declared } ;
173     property colorspace: TGdkColorspace read get_colorspace  { property is writeable but setter not declared } ;
174     property has_alpha: gboolean read get_has_alpha  { property is writeable but setter not declared } ;
175     property height: gint read get_height  { property is writeable but setter not declared } ;
176     property n_channels: gint read get_n_channels  { property is writeable but setter not declared } ;
177     property pixels: Pguint8 read get_pixels  { property is writeable but setter not declared } ;
178     property rowstride: gint read get_rowstride  { property is writeable but setter not declared } ;
179     property width: gint read get_width  { property is writeable but setter not declared } ;
180   end;
181 
182   PPGdkPixdataDumpType = ^PGdkPixdataDumpType;
183   PGdkPixdataDumpType = ^TGdkPixdataDumpType;
184   TGdkPixdata = object
185     magic: guint32;
186     length: gint32;
187     pixdata_type: guint32;
188     rowstride: guint32;
189     width: guint32;
190     height: guint32;
191     pixel_data: guint8;
deserializenull192     function deserialize(stream_length: guint; stream: Pguint8; error: PPGError): gboolean; cdecl; inline;
from_pixbufnull193     function from_pixbuf(pixbuf: PGdkPixbuf; use_rle: gboolean): gpointer; cdecl; inline;
serializenull194     function serialize(stream_length_p: Pguint): Pguint8; cdecl; inline;
to_csourcenull195     function to_csource(name: Pgchar; dump_type: TGdkPixdataDumpType): PGString; cdecl; inline;
196   end;
197   TGdkPixbufFormat = object
copynull198     function copy: PGdkPixbufFormat; cdecl; inline;
199     procedure free; cdecl; inline;
get_descriptionnull200     function get_description: Pgchar; cdecl; inline;
get_extensionsnull201     function get_extensions: PPgchar; cdecl; inline;
get_licensenull202     function get_license: Pgchar; cdecl; inline;
get_mime_typesnull203     function get_mime_types: PPgchar; cdecl; inline;
get_namenull204     function get_name: Pgchar; cdecl; inline;
is_disablednull205     function is_disabled: gboolean; cdecl; inline;
is_scalablenull206     function is_scalable: gboolean; cdecl; inline;
is_writablenull207     function is_writable: gboolean; cdecl; inline;
208     procedure set_disabled(disabled: gboolean); cdecl; inline;
209   end;
210 
211   PPGdkPixbufAlphaMode = ^PGdkPixbufAlphaMode;
212   PGdkPixbufAlphaMode = ^TGdkPixbufAlphaMode;
213 
214   PPGdkPixbufAnimation = ^PGdkPixbufAnimation;
215   PGdkPixbufAnimation = ^TGdkPixbufAnimation;
216 
217   PPGdkPixbufAnimationIter = ^PGdkPixbufAnimationIter;
218   PGdkPixbufAnimationIter = ^TGdkPixbufAnimationIter;
219   TGdkPixbufAnimation = object(TGObject)
new_from_filenull220     function new_from_file(filename: Pgchar; error: PPGError): PGdkPixbufAnimation; cdecl; inline; static;
new_from_resourcenull221     function new_from_resource(resource_path: Pgchar; error: PPGError): PGdkPixbufAnimation; cdecl; inline; static;
new_from_streamnull222     function new_from_stream(stream: PGInputStream; cancellable: PGCancellable; error: PPGError): PGdkPixbufAnimation; cdecl; inline; static;
new_from_stream_finishnull223     function new_from_stream_finish(async_result: PGAsyncResult; error: PPGError): PGdkPixbufAnimation; cdecl; inline; static;
224     procedure new_from_stream_async(stream: PGInputStream; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; static;
get_heightnull225     function get_height: gint; cdecl; inline;
get_iternull226     function get_iter(start_time: PGTimeVal): PGdkPixbufAnimationIter; cdecl; inline;
get_static_imagenull227     function get_static_image: PGdkPixbuf; cdecl; inline;
get_widthnull228     function get_width: gint; cdecl; inline;
is_static_imagenull229     function is_static_image: gboolean; cdecl; inline;
230   end;
231   TGdkPixbufAnimationIter = object(TGObject)
advancenull232     function advance(current_time: PGTimeVal): gboolean; cdecl; inline;
get_delay_timenull233     function get_delay_time: gint; cdecl; inline;
get_pixbufnull234     function get_pixbuf: PGdkPixbuf; cdecl; inline;
on_currently_loading_framenull235     function on_currently_loading_frame: gboolean; cdecl; inline;
236   end;
237 
238   PPGdkPixbufError = ^PGdkPixbufError;
239   PGdkPixbufError = ^TGdkPixbufError;
240 
241   PPGdkPixbufLoader = ^PGdkPixbufLoader;
242   PGdkPixbufLoader = ^TGdkPixbufLoader;
243   TGdkPixbufLoader = object(TGObject)
244     priv: gpointer;
newnull245     function new: PGdkPixbufLoader; cdecl; inline; static;
new_with_mime_typenull246     function new_with_mime_type(mime_type: Pgchar; error: PPGError): PGdkPixbufLoader; cdecl; inline; static;
new_with_typenull247     function new_with_type(image_type: Pgchar; error: PPGError): PGdkPixbufLoader; cdecl; inline; static;
closenull248     function close(error: PPGError): gboolean; cdecl; inline;
get_animationnull249     function get_animation: PGdkPixbufAnimation; cdecl; inline;
get_formatnull250     function get_format: PGdkPixbufFormat; cdecl; inline;
get_pixbufnull251     function get_pixbuf: PGdkPixbuf; cdecl; inline;
252     procedure set_size(width: gint; height: gint); cdecl; inline;
writenull253     function write(buf: Pguint8; count: gsize; error: PPGError): gboolean; cdecl; inline;
254   end;
255 
256   PPGdkPixbufLoaderClass = ^PGdkPixbufLoaderClass;
257   PGdkPixbufLoaderClass = ^TGdkPixbufLoaderClass;
258   TGdkPixbufLoaderClass = object
259     parent_class: TGObjectClass;
260     size_prepared: procedure(loader: PGdkPixbufLoader; width: gint; height: gint); cdecl;
261     area_prepared: procedure(loader: PGdkPixbufLoader); cdecl;
262     area_updated: procedure(loader: PGdkPixbufLoader; x: gint; y: gint; width: gint; height: gint); cdecl;
263     closed: procedure(loader: PGdkPixbufLoader); cdecl;
264   end;
265 
266   PPGdkPixbufSimpleAnim = ^PGdkPixbufSimpleAnim;
267   PGdkPixbufSimpleAnim = ^TGdkPixbufSimpleAnim;
268   TGdkPixbufSimpleAnim = object(TGdkPixbufAnimation)
newnull269     function new(width: gint; height: gint; rate: gfloat): PGdkPixbufSimpleAnim; cdecl; inline; static;
270     procedure add_frame(pixbuf: PGdkPixbuf); cdecl; inline;
get_loopnull271     function get_loop: gboolean; cdecl; inline;
272     procedure set_loop(loop: gboolean); cdecl; inline;
273     property loop: gboolean read get_loop write set_loop;
274   end;
275 
276   PPGdkPixbufSimpleAnimClass = ^PGdkPixbufSimpleAnimClass;
277   PGdkPixbufSimpleAnimClass = ^TGdkPixbufSimpleAnimClass;
278   TGdkPixbufSimpleAnimClass = object
279   end;
280 
281   PPGdkPixbufSimpleAnimIter = ^PGdkPixbufSimpleAnimIter;
282   PGdkPixbufSimpleAnimIter = ^TGdkPixbufSimpleAnimIter;
283   TGdkPixbufSimpleAnimIter = object(TGdkPixbufAnimationIter)
284   end;
285 
286   PPGdkPixdataType = ^PGdkPixdataType;
287   PGdkPixdataType = ^TGdkPixdataType;
288 
gdk_pixbuf_add_alphanull289 function gdk_pixbuf_add_alpha(pixbuf: PGdkPixbuf; substitute_color: gboolean; r: guint8; g: guint8; b: guint8): PGdkPixbuf; cdecl; external;
gdk_pixbuf_animation_get_heightnull290 function gdk_pixbuf_animation_get_height(animation: PGdkPixbufAnimation): gint; cdecl; external;
gdk_pixbuf_animation_get_iternull291 function gdk_pixbuf_animation_get_iter(animation: PGdkPixbufAnimation; start_time: PGTimeVal): PGdkPixbufAnimationIter; cdecl; external;
gdk_pixbuf_animation_get_static_imagenull292 function gdk_pixbuf_animation_get_static_image(animation: PGdkPixbufAnimation): PGdkPixbuf; cdecl; external;
gdk_pixbuf_animation_get_typenull293 function gdk_pixbuf_animation_get_type: TGType; cdecl; external;
gdk_pixbuf_animation_get_widthnull294 function gdk_pixbuf_animation_get_width(animation: PGdkPixbufAnimation): gint; cdecl; external;
gdk_pixbuf_animation_is_static_imagenull295 function gdk_pixbuf_animation_is_static_image(animation: PGdkPixbufAnimation): gboolean; cdecl; external;
gdk_pixbuf_animation_iter_advancenull296 function gdk_pixbuf_animation_iter_advance(iter: PGdkPixbufAnimationIter; current_time: PGTimeVal): gboolean; cdecl; external;
gdk_pixbuf_animation_iter_get_delay_timenull297 function gdk_pixbuf_animation_iter_get_delay_time(iter: PGdkPixbufAnimationIter): gint; cdecl; external;
gdk_pixbuf_animation_iter_get_pixbufnull298 function gdk_pixbuf_animation_iter_get_pixbuf(iter: PGdkPixbufAnimationIter): PGdkPixbuf; cdecl; external;
gdk_pixbuf_animation_iter_get_typenull299 function gdk_pixbuf_animation_iter_get_type: TGType; cdecl; external;
gdk_pixbuf_animation_iter_on_currently_loading_framenull300 function gdk_pixbuf_animation_iter_on_currently_loading_frame(iter: PGdkPixbufAnimationIter): gboolean; cdecl; external;
gdk_pixbuf_animation_new_from_filenull301 function gdk_pixbuf_animation_new_from_file(filename: Pgchar; error: PPGError): PGdkPixbufAnimation; cdecl; external;
gdk_pixbuf_animation_new_from_resourcenull302 function gdk_pixbuf_animation_new_from_resource(resource_path: Pgchar; error: PPGError): PGdkPixbufAnimation; cdecl; external;
gdk_pixbuf_animation_new_from_streamnull303 function gdk_pixbuf_animation_new_from_stream(stream: PGInputStream; cancellable: PGCancellable; error: PPGError): PGdkPixbufAnimation; cdecl; external;
gdk_pixbuf_animation_new_from_stream_finishnull304 function gdk_pixbuf_animation_new_from_stream_finish(async_result: PGAsyncResult; error: PPGError): PGdkPixbufAnimation; cdecl; external;
gdk_pixbuf_apply_embedded_orientationnull305 function gdk_pixbuf_apply_embedded_orientation(src: PGdkPixbuf): PGdkPixbuf; cdecl; external;
gdk_pixbuf_composite_color_simplenull306 function gdk_pixbuf_composite_color_simple(src: PGdkPixbuf; dest_width: gint; dest_height: gint; interp_type: TGdkInterpType; overall_alpha: gint; check_size: gint; color1: guint32; color2: guint32): PGdkPixbuf; cdecl; external;
gdk_pixbuf_copynull307 function gdk_pixbuf_copy(pixbuf: PGdkPixbuf): PGdkPixbuf; cdecl; external;
gdk_pixbuf_error_quarknull308 function gdk_pixbuf_error_quark: TGQuark; cdecl; external;
gdk_pixbuf_flipnull309 function gdk_pixbuf_flip(src: PGdkPixbuf; horizontal: gboolean): PGdkPixbuf; cdecl; external;
gdk_pixbuf_format_copynull310 function gdk_pixbuf_format_copy(format: PGdkPixbufFormat): PGdkPixbufFormat; cdecl; external;
gdk_pixbuf_format_get_descriptionnull311 function gdk_pixbuf_format_get_description(format: PGdkPixbufFormat): Pgchar; cdecl; external;
gdk_pixbuf_format_get_extensionsnull312 function gdk_pixbuf_format_get_extensions(format: PGdkPixbufFormat): PPgchar; cdecl; external;
gdk_pixbuf_format_get_licensenull313 function gdk_pixbuf_format_get_license(format: PGdkPixbufFormat): Pgchar; cdecl; external;
gdk_pixbuf_format_get_mime_typesnull314 function gdk_pixbuf_format_get_mime_types(format: PGdkPixbufFormat): PPgchar; cdecl; external;
gdk_pixbuf_format_get_namenull315 function gdk_pixbuf_format_get_name(format: PGdkPixbufFormat): Pgchar; cdecl; external;
gdk_pixbuf_format_get_typenull316 function gdk_pixbuf_format_get_type: TGType; cdecl; external;
gdk_pixbuf_format_is_disablednull317 function gdk_pixbuf_format_is_disabled(format: PGdkPixbufFormat): gboolean; cdecl; external;
gdk_pixbuf_format_is_scalablenull318 function gdk_pixbuf_format_is_scalable(format: PGdkPixbufFormat): gboolean; cdecl; external;
gdk_pixbuf_format_is_writablenull319 function gdk_pixbuf_format_is_writable(format: PGdkPixbufFormat): gboolean; cdecl; external;
gdk_pixbuf_from_pixdatanull320 function gdk_pixbuf_from_pixdata(pixdata: PGdkPixdata; copy_pixels: gboolean; error: PPGError): PGdkPixbuf; cdecl; external;
gdk_pixbuf_get_bits_per_samplenull321 function gdk_pixbuf_get_bits_per_sample(pixbuf: PGdkPixbuf): gint; cdecl; external;
gdk_pixbuf_get_byte_lengthnull322 function gdk_pixbuf_get_byte_length(pixbuf: PGdkPixbuf): gsize; cdecl; external;
gdk_pixbuf_get_colorspacenull323 function gdk_pixbuf_get_colorspace(pixbuf: PGdkPixbuf): TGdkColorspace; cdecl; external;
gdk_pixbuf_get_file_infonull324 function gdk_pixbuf_get_file_info(filename: Pgchar; width: Pgint; height: Pgint): PGdkPixbufFormat; cdecl; external;
gdk_pixbuf_get_formatsnull325 function gdk_pixbuf_get_formats: PGSList; cdecl; external;
gdk_pixbuf_get_has_alphanull326 function gdk_pixbuf_get_has_alpha(pixbuf: PGdkPixbuf): gboolean; cdecl; external;
gdk_pixbuf_get_heightnull327 function gdk_pixbuf_get_height(pixbuf: PGdkPixbuf): gint; cdecl; external;
gdk_pixbuf_get_n_channelsnull328 function gdk_pixbuf_get_n_channels(pixbuf: PGdkPixbuf): gint; cdecl; external;
gdk_pixbuf_get_optionnull329 function gdk_pixbuf_get_option(pixbuf: PGdkPixbuf; key: Pgchar): Pgchar; cdecl; external;
gdk_pixbuf_get_pixelsnull330 function gdk_pixbuf_get_pixels(pixbuf: PGdkPixbuf): Pguint8; cdecl; external;
gdk_pixbuf_get_pixels_with_lengthnull331 function gdk_pixbuf_get_pixels_with_length(pixbuf: PGdkPixbuf; length: Pguint): Pguint8; cdecl; external;
gdk_pixbuf_get_rowstridenull332 function gdk_pixbuf_get_rowstride(pixbuf: PGdkPixbuf): gint; cdecl; external;
gdk_pixbuf_get_typenull333 function gdk_pixbuf_get_type: TGType; cdecl; external;
gdk_pixbuf_get_widthnull334 function gdk_pixbuf_get_width(pixbuf: PGdkPixbuf): gint; cdecl; external;
gdk_pixbuf_gettextnull335 //does not exist anymore. issue #31677 function gdk_pixbuf_gettext(msgid: Pgchar): Pgchar; cdecl; external;
336 function gdk_pixbuf_loader_close(loader: PGdkPixbufLoader; error: PPGError): gboolean; cdecl; external;
gdk_pixbuf_loader_get_animationnull337 function gdk_pixbuf_loader_get_animation(loader: PGdkPixbufLoader): PGdkPixbufAnimation; cdecl; external;
gdk_pixbuf_loader_get_formatnull338 function gdk_pixbuf_loader_get_format(loader: PGdkPixbufLoader): PGdkPixbufFormat; cdecl; external;
gdk_pixbuf_loader_get_pixbufnull339 function gdk_pixbuf_loader_get_pixbuf(loader: PGdkPixbufLoader): PGdkPixbuf; cdecl; external;
gdk_pixbuf_loader_get_typenull340 function gdk_pixbuf_loader_get_type: TGType; cdecl; external;
gdk_pixbuf_loader_newnull341 function gdk_pixbuf_loader_new: PGdkPixbufLoader; cdecl; external;
gdk_pixbuf_loader_new_with_mime_typenull342 function gdk_pixbuf_loader_new_with_mime_type(mime_type: Pgchar; error: PPGError): PGdkPixbufLoader; cdecl; external;
gdk_pixbuf_loader_new_with_typenull343 function gdk_pixbuf_loader_new_with_type(image_type: Pgchar; error: PPGError): PGdkPixbufLoader; cdecl; external;
gdk_pixbuf_loader_writenull344 function gdk_pixbuf_loader_write(loader: PGdkPixbufLoader; buf: Pguint8; count: gsize; error: PPGError): gboolean; cdecl; external;
gdk_pixbuf_newnull345 function gdk_pixbuf_new(colorspace: TGdkColorspace; has_alpha: gboolean; bits_per_sample: gint; width: gint; height: gint): PGdkPixbuf; cdecl; external;
gdk_pixbuf_new_from_datanull346 function gdk_pixbuf_new_from_data(data: Pguint8; colorspace: TGdkColorspace; has_alpha: gboolean; bits_per_sample: gint; width: gint; height: gint; rowstride: gint; destroy_fn: TGdkPixbufDestroyNotify; destroy_fn_data: gpointer): PGdkPixbuf; cdecl; external;
gdk_pixbuf_new_from_filenull347 function gdk_pixbuf_new_from_file(filename: Pgchar; error: PPGError): PGdkPixbuf; cdecl; external;
gdk_pixbuf_new_from_file_at_scalenull348 function gdk_pixbuf_new_from_file_at_scale(filename: Pgchar; width: gint; height: gint; preserve_aspect_ratio: gboolean; error: PPGError): PGdkPixbuf; cdecl; external;
gdk_pixbuf_new_from_file_at_sizenull349 function gdk_pixbuf_new_from_file_at_size(filename: Pgchar; width: gint; height: gint; error: PPGError): PGdkPixbuf; cdecl; external;
gdk_pixbuf_new_from_inlinenull350 function gdk_pixbuf_new_from_inline(data_length: gint; data: Pguint8; copy_pixels: gboolean; error: PPGError): PGdkPixbuf; cdecl; external;
gdk_pixbuf_new_from_resourcenull351 function gdk_pixbuf_new_from_resource(resource_path: Pgchar; error: PPGError): PGdkPixbuf; cdecl; external;
gdk_pixbuf_new_from_resource_at_scalenull352 function gdk_pixbuf_new_from_resource_at_scale(resource_path: Pgchar; width: gint; height: gint; preserve_aspect_ratio: gboolean; error: PPGError): PGdkPixbuf; cdecl; external;
gdk_pixbuf_new_from_streamnull353 function gdk_pixbuf_new_from_stream(stream: PGInputStream; cancellable: PGCancellable; error: PPGError): PGdkPixbuf; cdecl; external;
gdk_pixbuf_new_from_stream_at_scalenull354 function gdk_pixbuf_new_from_stream_at_scale(stream: PGInputStream; width: gint; height: gint; preserve_aspect_ratio: gboolean; cancellable: PGCancellable; error: PPGError): PGdkPixbuf; cdecl; external;
gdk_pixbuf_new_from_stream_finishnull355 function gdk_pixbuf_new_from_stream_finish(async_result: PGAsyncResult; error: PPGError): PGdkPixbuf; cdecl; external;
gdk_pixbuf_new_from_xpm_datanull356 function gdk_pixbuf_new_from_xpm_data(data: PPgchar): PGdkPixbuf; cdecl; external;
gdk_pixbuf_new_subpixbufnull357 function gdk_pixbuf_new_subpixbuf(src_pixbuf: PGdkPixbuf; src_x: gint; src_y: gint; width: gint; height: gint): PGdkPixbuf; cdecl; external;
gdk_pixbuf_rotate_simplenull358 function gdk_pixbuf_rotate_simple(src: PGdkPixbuf; angle: TGdkPixbufRotation): PGdkPixbuf; cdecl; external;
gdk_pixbuf_savenull359 function gdk_pixbuf_save(pixbuf: PGdkPixbuf; filename: Pgchar; type_: Pgchar; error: PPGError; args: array of const): gboolean; cdecl; external;
gdk_pixbuf_save_to_buffernull360 function gdk_pixbuf_save_to_buffer(pixbuf: PGdkPixbuf; buffer: PPgchar; buffer_size: Pgsize; type_: Pgchar; error: PPGError; args: array of const): gboolean; cdecl; external;
gdk_pixbuf_save_to_buffervnull361 function gdk_pixbuf_save_to_bufferv(pixbuf: PGdkPixbuf; buffer: PPgchar; buffer_size: Pgsize; type_: Pgchar; option_keys: PPgchar; option_values: PPgchar; error: PPGError): gboolean; cdecl; external;
gdk_pixbuf_save_to_callbacknull362 function gdk_pixbuf_save_to_callback(pixbuf: PGdkPixbuf; save_func: TGdkPixbufSaveFunc; user_data: gpointer; type_: Pgchar; error: PPGError; args: array of const): gboolean; cdecl; external;
gdk_pixbuf_save_to_callbackvnull363 function gdk_pixbuf_save_to_callbackv(pixbuf: PGdkPixbuf; save_func: TGdkPixbufSaveFunc; user_data: gpointer; type_: Pgchar; option_keys: PPgchar; option_values: PPgchar; error: PPGError): gboolean; cdecl; external;
gdk_pixbuf_save_to_streamnull364 function gdk_pixbuf_save_to_stream(pixbuf: PGdkPixbuf; stream: PGOutputStream; type_: Pgchar; cancellable: PGCancellable; error: PPGError; args: array of const): gboolean; cdecl; external;
gdk_pixbuf_save_to_stream_finishnull365 function gdk_pixbuf_save_to_stream_finish(async_result: PGAsyncResult; error: PPGError): gboolean; cdecl; external;
gdk_pixbuf_savevnull366 function gdk_pixbuf_savev(pixbuf: PGdkPixbuf; filename: Pgchar; type_: Pgchar; option_keys: PPgchar; option_values: PPgchar; error: PPGError): gboolean; cdecl; external;
gdk_pixbuf_scale_simplenull367 function gdk_pixbuf_scale_simple(src: PGdkPixbuf; dest_width: gint; dest_height: gint; interp_type: TGdkInterpType): PGdkPixbuf; cdecl; external;
gdk_pixbuf_simple_anim_get_loopnull368 function gdk_pixbuf_simple_anim_get_loop(animation: PGdkPixbufSimpleAnim): gboolean; cdecl; external;
gdk_pixbuf_simple_anim_get_typenull369 function gdk_pixbuf_simple_anim_get_type: TGType; cdecl; external;
gdk_pixbuf_simple_anim_iter_get_typenull370 function gdk_pixbuf_simple_anim_iter_get_type: TGType; cdecl; external;
gdk_pixbuf_simple_anim_newnull371 function gdk_pixbuf_simple_anim_new(width: gint; height: gint; rate: gfloat): PGdkPixbufSimpleAnim; cdecl; external;
gdk_pixdata_deserializenull372 function gdk_pixdata_deserialize(pixdata: PGdkPixdata; stream_length: guint; stream: Pguint8; error: PPGError): gboolean; cdecl; external;
gdk_pixdata_from_pixbufnull373 function gdk_pixdata_from_pixbuf(pixdata: PGdkPixdata; pixbuf: PGdkPixbuf; use_rle: gboolean): gpointer; cdecl; external;
gdk_pixdata_serializenull374 function gdk_pixdata_serialize(pixdata: PGdkPixdata; stream_length_p: Pguint): Pguint8; cdecl; external;
gdk_pixdata_to_csourcenull375 function gdk_pixdata_to_csource(pixdata: PGdkPixdata; name: Pgchar; dump_type: TGdkPixdataDumpType): PGString; cdecl; external;
376 procedure gdk_pixbuf_animation_new_from_stream_async(stream: PGInputStream; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external;
377 procedure gdk_pixbuf_composite(src: PGdkPixbuf; dest: PGdkPixbuf; dest_x: gint; dest_y: gint; dest_width: gint; dest_height: gint; offset_x: gdouble; offset_y: gdouble; scale_x: gdouble; scale_y: gdouble; interp_type: TGdkInterpType; overall_alpha: gint); cdecl; external;
378 procedure gdk_pixbuf_composite_color(src: PGdkPixbuf; dest: PGdkPixbuf; dest_x: gint; dest_y: gint; dest_width: gint; dest_height: gint; offset_x: gdouble; offset_y: gdouble; scale_x: gdouble; scale_y: gdouble; interp_type: TGdkInterpType; overall_alpha: gint; check_x: gint; check_y: gint; check_size: gint; color1: guint32; color2: guint32); cdecl; external;
379 procedure gdk_pixbuf_copy_area(src_pixbuf: PGdkPixbuf; src_x: gint; src_y: gint; width: gint; height: gint; dest_pixbuf: PGdkPixbuf; dest_x: gint; dest_y: gint); cdecl; external;
380 procedure gdk_pixbuf_fill(pixbuf: PGdkPixbuf; pixel: guint32); cdecl; external;
381 procedure gdk_pixbuf_format_free(format: PGdkPixbufFormat); cdecl; external;
382 procedure gdk_pixbuf_format_set_disabled(format: PGdkPixbufFormat; disabled: gboolean); cdecl; external;
383 procedure gdk_pixbuf_loader_set_size(loader: PGdkPixbufLoader; width: gint; height: gint); cdecl; external;
384 procedure gdk_pixbuf_new_from_stream_async(stream: PGInputStream; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external;
385 procedure gdk_pixbuf_new_from_stream_at_scale_async(stream: PGInputStream; width: gint; height: gint; preserve_aspect_ratio: gboolean; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external;
386 procedure gdk_pixbuf_saturate_and_pixelate(src: PGdkPixbuf; dest: PGdkPixbuf; saturation: gfloat; pixelate: gboolean); cdecl; external;
387 procedure gdk_pixbuf_save_to_stream_async(pixbuf: PGdkPixbuf; stream: PGOutputStream; type_: Pgchar; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer; args: array of const); cdecl; external;
388 procedure gdk_pixbuf_scale(src: PGdkPixbuf; dest: PGdkPixbuf; dest_x: gint; dest_y: gint; dest_width: gint; dest_height: gint; offset_x: gdouble; offset_y: gdouble; scale_x: gdouble; scale_y: gdouble; interp_type: TGdkInterpType); cdecl; external;
389 procedure gdk_pixbuf_simple_anim_add_frame(animation: PGdkPixbufSimpleAnim; pixbuf: PGdkPixbuf); cdecl; external;
390 procedure gdk_pixbuf_simple_anim_set_loop(animation: PGdkPixbufSimpleAnim; loop: gboolean); cdecl; external;
391 implementation
newnull392 function TGdkPixbuf.new(colorspace: TGdkColorspace; has_alpha: gboolean; bits_per_sample: gint; width: gint; height: gint): PGdkPixbuf; cdecl;
393 begin
394   Result := LazGdkPixbuf2.gdk_pixbuf_new(colorspace, has_alpha, bits_per_sample, width, height);
395 end;
396 
TGdkPixbuf.new_from_datanull397 function TGdkPixbuf.new_from_data(data: Pguint8; colorspace: TGdkColorspace; has_alpha: gboolean; bits_per_sample: gint; width: gint; height: gint; rowstride: gint; destroy_fn: TGdkPixbufDestroyNotify; destroy_fn_data: gpointer): PGdkPixbuf; cdecl;
398 begin
399   Result := LazGdkPixbuf2.gdk_pixbuf_new_from_data(data, colorspace, has_alpha, bits_per_sample, width, height, rowstride, destroy_fn, destroy_fn_data);
400 end;
401 
TGdkPixbuf.new_from_filenull402 function TGdkPixbuf.new_from_file(filename: Pgchar; error: PPGError): PGdkPixbuf; cdecl;
403 begin
404   Result := LazGdkPixbuf2.gdk_pixbuf_new_from_file(filename, error);
405 end;
406 
TGdkPixbuf.new_from_file_at_scalenull407 function TGdkPixbuf.new_from_file_at_scale(filename: Pgchar; width: gint; height: gint; preserve_aspect_ratio: gboolean; error: PPGError): PGdkPixbuf; cdecl;
408 begin
409   Result := LazGdkPixbuf2.gdk_pixbuf_new_from_file_at_scale(filename, width, height, preserve_aspect_ratio, error);
410 end;
411 
TGdkPixbuf.new_from_file_at_sizenull412 function TGdkPixbuf.new_from_file_at_size(filename: Pgchar; width: gint; height: gint; error: PPGError): PGdkPixbuf; cdecl;
413 begin
414   Result := LazGdkPixbuf2.gdk_pixbuf_new_from_file_at_size(filename, width, height, error);
415 end;
416 
new_from_inlinenull417 function TGdkPixbuf.new_from_inline(data_length: gint; data: Pguint8; copy_pixels: gboolean; error: PPGError): PGdkPixbuf; cdecl;
418 begin
419   Result := LazGdkPixbuf2.gdk_pixbuf_new_from_inline(data_length, data, copy_pixels, error);
420 end;
421 
new_from_resourcenull422 function TGdkPixbuf.new_from_resource(resource_path: Pgchar; error: PPGError): PGdkPixbuf; cdecl;
423 begin
424   Result := LazGdkPixbuf2.gdk_pixbuf_new_from_resource(resource_path, error);
425 end;
426 
new_from_resource_at_scalenull427 function TGdkPixbuf.new_from_resource_at_scale(resource_path: Pgchar; width: gint; height: gint; preserve_aspect_ratio: gboolean; error: PPGError): PGdkPixbuf; cdecl;
428 begin
429   Result := LazGdkPixbuf2.gdk_pixbuf_new_from_resource_at_scale(resource_path, width, height, preserve_aspect_ratio, error);
430 end;
431 
new_from_streamnull432 function TGdkPixbuf.new_from_stream(stream: PGInputStream; cancellable: PGCancellable; error: PPGError): PGdkPixbuf; cdecl;
433 begin
434   Result := LazGdkPixbuf2.gdk_pixbuf_new_from_stream(stream, cancellable, error);
435 end;
436 
new_from_stream_at_scalenull437 function TGdkPixbuf.new_from_stream_at_scale(stream: PGInputStream; width: gint; height: gint; preserve_aspect_ratio: gboolean; cancellable: PGCancellable; error: PPGError): PGdkPixbuf; cdecl;
438 begin
439   Result := LazGdkPixbuf2.gdk_pixbuf_new_from_stream_at_scale(stream, width, height, preserve_aspect_ratio, cancellable, error);
440 end;
441 
TGdkPixbuf.new_from_stream_finishnull442 function TGdkPixbuf.new_from_stream_finish(async_result: PGAsyncResult; error: PPGError): PGdkPixbuf; cdecl;
443 begin
444   Result := LazGdkPixbuf2.gdk_pixbuf_new_from_stream_finish(async_result, error);
445 end;
446 
new_from_xpm_datanull447 function TGdkPixbuf.new_from_xpm_data(data: PPgchar): PGdkPixbuf; cdecl;
448 begin
449   Result := LazGdkPixbuf2.gdk_pixbuf_new_from_xpm_data(data);
450 end;
451 
TGdkPixbuf.from_pixdatanull452 function TGdkPixbuf.from_pixdata(pixdata: PGdkPixdata; copy_pixels: gboolean; error: PPGError): PGdkPixbuf; cdecl;
453 begin
454   Result := LazGdkPixbuf2.gdk_pixbuf_from_pixdata(pixdata, copy_pixels, error);
455 end;
456 
TGdkPixbuf.get_file_infonull457 function TGdkPixbuf.get_file_info(filename: Pgchar; width: Pgint; height: Pgint): PGdkPixbufFormat; cdecl;
458 begin
459   Result := LazGdkPixbuf2.gdk_pixbuf_get_file_info(filename, width, height);
460 end;
461 
TGdkPixbuf.get_formatsnull462 function TGdkPixbuf.get_formats: PGSList; cdecl;
463 begin
464   Result := LazGdkPixbuf2.gdk_pixbuf_get_formats();
465 end;
466 
gettextnull467 function TGdkPixbuf.gettext(msgid: Pgchar): Pgchar; cdecl;
468 begin
469   Result := nil; //issue #31677 LazGdkPixbuf2.gdk_pixbuf_gettext(msgid);
470 end;
471 
472 procedure TGdkPixbuf.new_from_stream_async(stream: PGInputStream; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl;
473 begin
474   LazGdkPixbuf2.gdk_pixbuf_new_from_stream_async(stream, cancellable, callback, user_data);
475 end;
476 
477 procedure TGdkPixbuf.new_from_stream_at_scale_async(stream: PGInputStream; width: gint; height: gint; preserve_aspect_ratio: gboolean; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl;
478 begin
479   LazGdkPixbuf2.gdk_pixbuf_new_from_stream_at_scale_async(stream, width, height, preserve_aspect_ratio, cancellable, callback, user_data);
480 end;
481 
TGdkPixbuf.save_to_stream_finishnull482 function TGdkPixbuf.save_to_stream_finish(async_result: PGAsyncResult; error: PPGError): gboolean; cdecl;
483 begin
484   Result := LazGdkPixbuf2.gdk_pixbuf_save_to_stream_finish(async_result, error);
485 end;
486 
TGdkPixbuf.add_alphanull487 function TGdkPixbuf.add_alpha(substitute_color: gboolean; r: guint8; g: guint8; b: guint8): PGdkPixbuf; cdecl;
488 begin
489   Result := LazGdkPixbuf2.gdk_pixbuf_add_alpha(@self, substitute_color, r, g, b);
490 end;
491 
apply_embedded_orientationnull492 function TGdkPixbuf.apply_embedded_orientation: PGdkPixbuf; cdecl;
493 begin
494   Result := LazGdkPixbuf2.gdk_pixbuf_apply_embedded_orientation(@self);
495 end;
496 
497 procedure TGdkPixbuf.composite(dest: PGdkPixbuf; dest_x: gint; dest_y: gint; dest_width: gint; dest_height: gint; offset_x: gdouble; offset_y: gdouble; scale_x: gdouble; scale_y: gdouble; interp_type: TGdkInterpType; overall_alpha: gint); cdecl;
498 begin
499   LazGdkPixbuf2.gdk_pixbuf_composite(@self, dest, dest_x, dest_y, dest_width, dest_height, offset_x, offset_y, scale_x, scale_y, interp_type, overall_alpha);
500 end;
501 
502 procedure TGdkPixbuf.composite_color(dest: PGdkPixbuf; dest_x: gint; dest_y: gint; dest_width: gint; dest_height: gint; offset_x: gdouble; offset_y: gdouble; scale_x: gdouble; scale_y: gdouble; interp_type: TGdkInterpType; overall_alpha: gint; check_x: gint; check_y: gint; check_size: gint; color1: guint32; color2: guint32); cdecl;
503 begin
504   LazGdkPixbuf2.gdk_pixbuf_composite_color(@self, dest, dest_x, dest_y, dest_width, dest_height, offset_x, offset_y, scale_x, scale_y, interp_type, overall_alpha, check_x, check_y, check_size, color1, color2);
505 end;
506 
TGdkPixbuf.composite_color_simplenull507 function TGdkPixbuf.composite_color_simple(dest_width: gint; dest_height: gint; interp_type: TGdkInterpType; overall_alpha: gint; check_size: gint; color1: guint32; color2: guint32): PGdkPixbuf; cdecl;
508 begin
509   Result := LazGdkPixbuf2.gdk_pixbuf_composite_color_simple(@self, dest_width, dest_height, interp_type, overall_alpha, check_size, color1, color2);
510 end;
511 
TGdkPixbuf.copynull512 function TGdkPixbuf.copy: PGdkPixbuf; cdecl;
513 begin
514   Result := LazGdkPixbuf2.gdk_pixbuf_copy(@self);
515 end;
516 
517 procedure TGdkPixbuf.copy_area(src_x: gint; src_y: gint; width: gint; height: gint; dest_pixbuf: PGdkPixbuf; dest_x: gint; dest_y: gint); cdecl;
518 begin
519   LazGdkPixbuf2.gdk_pixbuf_copy_area(@self, src_x, src_y, width, height, dest_pixbuf, dest_x, dest_y);
520 end;
521 
522 procedure TGdkPixbuf.fill(pixel: guint32); cdecl;
523 begin
524   LazGdkPixbuf2.gdk_pixbuf_fill(@self, pixel);
525 end;
526 
TGdkPixbuf.flipnull527 function TGdkPixbuf.flip(horizontal: gboolean): PGdkPixbuf; cdecl;
528 begin
529   Result := LazGdkPixbuf2.gdk_pixbuf_flip(@self, horizontal);
530 end;
531 
TGdkPixbuf.get_bits_per_samplenull532 function TGdkPixbuf.get_bits_per_sample: gint; cdecl;
533 begin
534   Result := LazGdkPixbuf2.gdk_pixbuf_get_bits_per_sample(@self);
535 end;
536 
TGdkPixbuf.get_byte_lengthnull537 function TGdkPixbuf.get_byte_length: gsize; cdecl;
538 begin
539   Result := LazGdkPixbuf2.gdk_pixbuf_get_byte_length(@self);
540 end;
541 
TGdkPixbuf.get_colorspacenull542 function TGdkPixbuf.get_colorspace: TGdkColorspace; cdecl;
543 begin
544   Result := LazGdkPixbuf2.gdk_pixbuf_get_colorspace(@self);
545 end;
546 
TGdkPixbuf.get_has_alphanull547 function TGdkPixbuf.get_has_alpha: gboolean; cdecl;
548 begin
549   Result := LazGdkPixbuf2.gdk_pixbuf_get_has_alpha(@self);
550 end;
551 
TGdkPixbuf.get_heightnull552 function TGdkPixbuf.get_height: gint; cdecl;
553 begin
554   Result := LazGdkPixbuf2.gdk_pixbuf_get_height(@self);
555 end;
556 
get_n_channelsnull557 function TGdkPixbuf.get_n_channels: gint; cdecl;
558 begin
559   Result := LazGdkPixbuf2.gdk_pixbuf_get_n_channels(@self);
560 end;
561 
get_optionnull562 function TGdkPixbuf.get_option(key: Pgchar): Pgchar; cdecl;
563 begin
564   Result := LazGdkPixbuf2.gdk_pixbuf_get_option(@self, key);
565 end;
566 
get_pixelsnull567 function TGdkPixbuf.get_pixels: Pguint8; cdecl;
568 begin
569   Result := LazGdkPixbuf2.gdk_pixbuf_get_pixels(@self);
570 end;
571 
TGdkPixbuf.get_pixels_with_lengthnull572 function TGdkPixbuf.get_pixels_with_length(length: Pguint): Pguint8; cdecl;
573 begin
574   Result := LazGdkPixbuf2.gdk_pixbuf_get_pixels_with_length(@self, length);
575 end;
576 
get_rowstridenull577 function TGdkPixbuf.get_rowstride: gint; cdecl;
578 begin
579   Result := LazGdkPixbuf2.gdk_pixbuf_get_rowstride(@self);
580 end;
581 
get_widthnull582 function TGdkPixbuf.get_width: gint; cdecl;
583 begin
584   Result := LazGdkPixbuf2.gdk_pixbuf_get_width(@self);
585 end;
586 
new_subpixbufnull587 function TGdkPixbuf.new_subpixbuf(src_x: gint; src_y: gint; width: gint; height: gint): PGdkPixbuf; cdecl;
588 begin
589   Result := LazGdkPixbuf2.gdk_pixbuf_new_subpixbuf(@self, src_x, src_y, width, height);
590 end;
591 
TGdkPixbuf.rotate_simplenull592 function TGdkPixbuf.rotate_simple(angle: TGdkPixbufRotation): PGdkPixbuf; cdecl;
593 begin
594   Result := LazGdkPixbuf2.gdk_pixbuf_rotate_simple(@self, angle);
595 end;
596 
597 procedure TGdkPixbuf.saturate_and_pixelate(dest: PGdkPixbuf; saturation: gfloat; pixelate: gboolean); cdecl;
598 begin
599   LazGdkPixbuf2.gdk_pixbuf_saturate_and_pixelate(@self, dest, saturation, pixelate);
600 end;
601 
TGdkPixbuf.save_to_buffervnull602 function TGdkPixbuf.save_to_bufferv(buffer: PPgchar; buffer_size: Pgsize; type_: Pgchar; option_keys: PPgchar; option_values: PPgchar; error: PPGError): gboolean; cdecl;
603 begin
604   Result := LazGdkPixbuf2.gdk_pixbuf_save_to_bufferv(@self, buffer, buffer_size, type_, option_keys, option_values, error);
605 end;
606 
save_to_callbackvnull607 function TGdkPixbuf.save_to_callbackv(save_func: TGdkPixbufSaveFunc; user_data: gpointer; type_: Pgchar; option_keys: PPgchar; option_values: PPgchar; error: PPGError): gboolean; cdecl;
608 begin
609   Result := LazGdkPixbuf2.gdk_pixbuf_save_to_callbackv(@self, save_func, user_data, type_, option_keys, option_values, error);
610 end;
611 
savevnull612 function TGdkPixbuf.savev(filename: Pgchar; type_: Pgchar; option_keys: PPgchar; option_values: PPgchar; error: PPGError): gboolean; cdecl;
613 begin
614   Result := LazGdkPixbuf2.gdk_pixbuf_savev(@self, filename, type_, option_keys, option_values, error);
615 end;
616 
617 procedure TGdkPixbuf.scale(dest: PGdkPixbuf; dest_x: gint; dest_y: gint; dest_width: gint; dest_height: gint; offset_x: gdouble; offset_y: gdouble; scale_x: gdouble; scale_y: gdouble; interp_type: TGdkInterpType); cdecl;
618 begin
619   LazGdkPixbuf2.gdk_pixbuf_scale(@self, dest, dest_x, dest_y, dest_width, dest_height, offset_x, offset_y, scale_x, scale_y, interp_type);
620 end;
621 
scale_simplenull622 function TGdkPixbuf.scale_simple(dest_width: gint; dest_height: gint; interp_type: TGdkInterpType): PGdkPixbuf; cdecl;
623 begin
624   Result := LazGdkPixbuf2.gdk_pixbuf_scale_simple(@self, dest_width, dest_height, interp_type);
625 end;
626 
TGdkPixdata.deserializenull627 function TGdkPixdata.deserialize(stream_length: guint; stream: Pguint8; error: PPGError): gboolean; cdecl;
628 begin
629   Result := LazGdkPixbuf2.gdk_pixdata_deserialize(@self, stream_length, stream, error);
630 end;
631 
from_pixbufnull632 function TGdkPixdata.from_pixbuf(pixbuf: PGdkPixbuf; use_rle: gboolean): gpointer; cdecl;
633 begin
634   Result := LazGdkPixbuf2.gdk_pixdata_from_pixbuf(@self, pixbuf, use_rle);
635 end;
636 
serializenull637 function TGdkPixdata.serialize(stream_length_p: Pguint): Pguint8; cdecl;
638 begin
639   Result := LazGdkPixbuf2.gdk_pixdata_serialize(@self, stream_length_p);
640 end;
641 
to_csourcenull642 function TGdkPixdata.to_csource(name: Pgchar; dump_type: TGdkPixdataDumpType): PGString; cdecl;
643 begin
644   Result := LazGdkPixbuf2.gdk_pixdata_to_csource(@self, name, dump_type);
645 end;
646 
TGdkPixbufFormat.copynull647 function TGdkPixbufFormat.copy: PGdkPixbufFormat; cdecl;
648 begin
649   Result := LazGdkPixbuf2.gdk_pixbuf_format_copy(@self);
650 end;
651 
652 procedure TGdkPixbufFormat.free; cdecl;
653 begin
654   LazGdkPixbuf2.gdk_pixbuf_format_free(@self);
655 end;
656 
TGdkPixbufFormat.get_descriptionnull657 function TGdkPixbufFormat.get_description: Pgchar; cdecl;
658 begin
659   Result := LazGdkPixbuf2.gdk_pixbuf_format_get_description(@self);
660 end;
661 
TGdkPixbufFormat.get_extensionsnull662 function TGdkPixbufFormat.get_extensions: PPgchar; cdecl;
663 begin
664   Result := LazGdkPixbuf2.gdk_pixbuf_format_get_extensions(@self);
665 end;
666 
get_licensenull667 function TGdkPixbufFormat.get_license: Pgchar; cdecl;
668 begin
669   Result := LazGdkPixbuf2.gdk_pixbuf_format_get_license(@self);
670 end;
671 
get_mime_typesnull672 function TGdkPixbufFormat.get_mime_types: PPgchar; cdecl;
673 begin
674   Result := LazGdkPixbuf2.gdk_pixbuf_format_get_mime_types(@self);
675 end;
676 
get_namenull677 function TGdkPixbufFormat.get_name: Pgchar; cdecl;
678 begin
679   Result := LazGdkPixbuf2.gdk_pixbuf_format_get_name(@self);
680 end;
681 
TGdkPixbufFormat.is_disablednull682 function TGdkPixbufFormat.is_disabled: gboolean; cdecl;
683 begin
684   Result := LazGdkPixbuf2.gdk_pixbuf_format_is_disabled(@self);
685 end;
686 
TGdkPixbufFormat.is_scalablenull687 function TGdkPixbufFormat.is_scalable: gboolean; cdecl;
688 begin
689   Result := LazGdkPixbuf2.gdk_pixbuf_format_is_scalable(@self);
690 end;
691 
is_writablenull692 function TGdkPixbufFormat.is_writable: gboolean; cdecl;
693 begin
694   Result := LazGdkPixbuf2.gdk_pixbuf_format_is_writable(@self);
695 end;
696 
697 procedure TGdkPixbufFormat.set_disabled(disabled: gboolean); cdecl;
698 begin
699   LazGdkPixbuf2.gdk_pixbuf_format_set_disabled(@self, disabled);
700 end;
701 
TGdkPixbufAnimation.new_from_filenull702 function TGdkPixbufAnimation.new_from_file(filename: Pgchar; error: PPGError): PGdkPixbufAnimation; cdecl;
703 begin
704   Result := LazGdkPixbuf2.gdk_pixbuf_animation_new_from_file(filename, error);
705 end;
706 
new_from_resourcenull707 function TGdkPixbufAnimation.new_from_resource(resource_path: Pgchar; error: PPGError): PGdkPixbufAnimation; cdecl;
708 begin
709   Result := LazGdkPixbuf2.gdk_pixbuf_animation_new_from_resource(resource_path, error);
710 end;
711 
new_from_streamnull712 function TGdkPixbufAnimation.new_from_stream(stream: PGInputStream; cancellable: PGCancellable; error: PPGError): PGdkPixbufAnimation; cdecl;
713 begin
714   Result := LazGdkPixbuf2.gdk_pixbuf_animation_new_from_stream(stream, cancellable, error);
715 end;
716 
TGdkPixbufAnimation.new_from_stream_finishnull717 function TGdkPixbufAnimation.new_from_stream_finish(async_result: PGAsyncResult; error: PPGError): PGdkPixbufAnimation; cdecl;
718 begin
719   Result := LazGdkPixbuf2.gdk_pixbuf_animation_new_from_stream_finish(async_result, error);
720 end;
721 
722 procedure TGdkPixbufAnimation.new_from_stream_async(stream: PGInputStream; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl;
723 begin
724   LazGdkPixbuf2.gdk_pixbuf_animation_new_from_stream_async(stream, cancellable, callback, user_data);
725 end;
726 
TGdkPixbufAnimation.get_heightnull727 function TGdkPixbufAnimation.get_height: gint; cdecl;
728 begin
729   Result := LazGdkPixbuf2.gdk_pixbuf_animation_get_height(@self);
730 end;
731 
TGdkPixbufAnimation.get_iternull732 function TGdkPixbufAnimation.get_iter(start_time: PGTimeVal): PGdkPixbufAnimationIter; cdecl;
733 begin
734   Result := LazGdkPixbuf2.gdk_pixbuf_animation_get_iter(@self, start_time);
735 end;
736 
TGdkPixbufAnimation.get_static_imagenull737 function TGdkPixbufAnimation.get_static_image: PGdkPixbuf; cdecl;
738 begin
739   Result := LazGdkPixbuf2.gdk_pixbuf_animation_get_static_image(@self);
740 end;
741 
TGdkPixbufAnimation.get_widthnull742 function TGdkPixbufAnimation.get_width: gint; cdecl;
743 begin
744   Result := LazGdkPixbuf2.gdk_pixbuf_animation_get_width(@self);
745 end;
746 
is_static_imagenull747 function TGdkPixbufAnimation.is_static_image: gboolean; cdecl;
748 begin
749   Result := LazGdkPixbuf2.gdk_pixbuf_animation_is_static_image(@self);
750 end;
751 
TGdkPixbufAnimationIter.advancenull752 function TGdkPixbufAnimationIter.advance(current_time: PGTimeVal): gboolean; cdecl;
753 begin
754   Result := LazGdkPixbuf2.gdk_pixbuf_animation_iter_advance(@self, current_time);
755 end;
756 
get_delay_timenull757 function TGdkPixbufAnimationIter.get_delay_time: gint; cdecl;
758 begin
759   Result := LazGdkPixbuf2.gdk_pixbuf_animation_iter_get_delay_time(@self);
760 end;
761 
TGdkPixbufAnimationIter.get_pixbufnull762 function TGdkPixbufAnimationIter.get_pixbuf: PGdkPixbuf; cdecl;
763 begin
764   Result := LazGdkPixbuf2.gdk_pixbuf_animation_iter_get_pixbuf(@self);
765 end;
766 
on_currently_loading_framenull767 function TGdkPixbufAnimationIter.on_currently_loading_frame: gboolean; cdecl;
768 begin
769   Result := LazGdkPixbuf2.gdk_pixbuf_animation_iter_on_currently_loading_frame(@self);
770 end;
771 
newnull772 function TGdkPixbufLoader.new: PGdkPixbufLoader; cdecl;
773 begin
774   Result := LazGdkPixbuf2.gdk_pixbuf_loader_new();
775 end;
776 
TGdkPixbufLoader.new_with_mime_typenull777 function TGdkPixbufLoader.new_with_mime_type(mime_type: Pgchar; error: PPGError): PGdkPixbufLoader; cdecl;
778 begin
779   Result := LazGdkPixbuf2.gdk_pixbuf_loader_new_with_mime_type(mime_type, error);
780 end;
781 
TGdkPixbufLoader.new_with_typenull782 function TGdkPixbufLoader.new_with_type(image_type: Pgchar; error: PPGError): PGdkPixbufLoader; cdecl;
783 begin
784   Result := LazGdkPixbuf2.gdk_pixbuf_loader_new_with_type(image_type, error);
785 end;
786 
closenull787 function TGdkPixbufLoader.close(error: PPGError): gboolean; cdecl;
788 begin
789   Result := LazGdkPixbuf2.gdk_pixbuf_loader_close(@self, error);
790 end;
791 
get_animationnull792 function TGdkPixbufLoader.get_animation: PGdkPixbufAnimation; cdecl;
793 begin
794   Result := LazGdkPixbuf2.gdk_pixbuf_loader_get_animation(@self);
795 end;
796 
get_formatnull797 function TGdkPixbufLoader.get_format: PGdkPixbufFormat; cdecl;
798 begin
799   Result := LazGdkPixbuf2.gdk_pixbuf_loader_get_format(@self);
800 end;
801 
TGdkPixbufLoader.get_pixbufnull802 function TGdkPixbufLoader.get_pixbuf: PGdkPixbuf; cdecl;
803 begin
804   Result := LazGdkPixbuf2.gdk_pixbuf_loader_get_pixbuf(@self);
805 end;
806 
807 procedure TGdkPixbufLoader.set_size(width: gint; height: gint); cdecl;
808 begin
809   LazGdkPixbuf2.gdk_pixbuf_loader_set_size(@self, width, height);
810 end;
811 
TGdkPixbufLoader.writenull812 function TGdkPixbufLoader.write(buf: Pguint8; count: gsize; error: PPGError): gboolean; cdecl;
813 begin
814   Result := LazGdkPixbuf2.gdk_pixbuf_loader_write(@self, buf, count, error);
815 end;
816 
newnull817 function TGdkPixbufSimpleAnim.new(width: gint; height: gint; rate: gfloat): PGdkPixbufSimpleAnim; cdecl;
818 begin
819   Result := LazGdkPixbuf2.gdk_pixbuf_simple_anim_new(width, height, rate);
820 end;
821 
822 procedure TGdkPixbufSimpleAnim.add_frame(pixbuf: PGdkPixbuf); cdecl;
823 begin
824   LazGdkPixbuf2.gdk_pixbuf_simple_anim_add_frame(@self, pixbuf);
825 end;
826 
get_loopnull827 function TGdkPixbufSimpleAnim.get_loop: gboolean; cdecl;
828 begin
829   Result := LazGdkPixbuf2.gdk_pixbuf_simple_anim_get_loop(@self);
830 end;
831 
832 procedure TGdkPixbufSimpleAnim.set_loop(loop: gboolean); cdecl;
833 begin
834   LazGdkPixbuf2.gdk_pixbuf_simple_anim_set_loop(@self, loop);
835 end;
836 
837 end.
838