From b4acb66c1e026fc3cd8a6d1ac961f68fb6fb91e2 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sun, 29 Apr 2018 00:57:56 +0100 Subject: Move the API reference down two levels The `docs` directory is empty, and gdk-pixbuf is not part of GTK any more, so there's no point to have the API reference under a separate directory. --- CONTRIBUTING.md | 4 +- docs/apple-red-1a.png | Bin 0 -> 29895 bytes docs/apple-red-2c.png | Bin 0 -> 19103 bytes docs/composite.dia | Bin 0 -> 2351 bytes docs/composite.png | Bin 0 -> 106599 bytes docs/gdk-pixbuf-csource.xml | 177 +++++++++ docs/gdk-pixbuf-from-drawables.xml | 29 ++ docs/gdk-pixbuf-query-loaders.xml | 79 ++++ docs/gdk-pixbuf-rendering.xml | 32 ++ docs/gdk-pixbuf-sections.txt | 432 +++++++++++++++++++++ docs/gdk-pixbuf.types | 7 + docs/gdk-pixbuf.xml | 219 +++++++++++ docs/gnome-gmush-1.png | Bin 0 -> 23814 bytes docs/meson.build | 98 +++++ docs/reference/gdk-pixbuf/apple-red-1a.png | Bin 29895 -> 0 bytes docs/reference/gdk-pixbuf/apple-red-2c.png | Bin 19103 -> 0 bytes docs/reference/gdk-pixbuf/composite.dia | Bin 2351 -> 0 bytes docs/reference/gdk-pixbuf/composite.png | Bin 106599 -> 0 bytes docs/reference/gdk-pixbuf/gdk-pixbuf-csource.xml | 177 --------- .../gdk-pixbuf/gdk-pixbuf-from-drawables.xml | 29 -- .../gdk-pixbuf/gdk-pixbuf-query-loaders.xml | 79 ---- docs/reference/gdk-pixbuf/gdk-pixbuf-rendering.xml | 32 -- docs/reference/gdk-pixbuf/gdk-pixbuf-sections.txt | 432 --------------------- docs/reference/gdk-pixbuf/gdk-pixbuf.types | 7 - docs/reference/gdk-pixbuf/gdk-pixbuf.xml | 219 ----------- docs/reference/gdk-pixbuf/gnome-gmush-1.png | Bin 23814 -> 0 bytes docs/reference/gdk-pixbuf/meson.build | 98 ----- docs/reference/gdk-pixbuf/version.xml.in | 1 - docs/version.xml.in | 1 + meson.build | 2 +- 30 files changed, 1076 insertions(+), 1078 deletions(-) create mode 100644 docs/apple-red-1a.png create mode 100644 docs/apple-red-2c.png create mode 100644 docs/composite.dia create mode 100644 docs/composite.png create mode 100644 docs/gdk-pixbuf-csource.xml create mode 100644 docs/gdk-pixbuf-from-drawables.xml create mode 100644 docs/gdk-pixbuf-query-loaders.xml create mode 100644 docs/gdk-pixbuf-rendering.xml create mode 100644 docs/gdk-pixbuf-sections.txt create mode 100644 docs/gdk-pixbuf.types create mode 100644 docs/gdk-pixbuf.xml create mode 100644 docs/gnome-gmush-1.png create mode 100644 docs/meson.build delete mode 100644 docs/reference/gdk-pixbuf/apple-red-1a.png delete mode 100644 docs/reference/gdk-pixbuf/apple-red-2c.png delete mode 100644 docs/reference/gdk-pixbuf/composite.dia delete mode 100644 docs/reference/gdk-pixbuf/composite.png delete mode 100644 docs/reference/gdk-pixbuf/gdk-pixbuf-csource.xml delete mode 100644 docs/reference/gdk-pixbuf/gdk-pixbuf-from-drawables.xml delete mode 100644 docs/reference/gdk-pixbuf/gdk-pixbuf-query-loaders.xml delete mode 100644 docs/reference/gdk-pixbuf/gdk-pixbuf-rendering.xml delete mode 100644 docs/reference/gdk-pixbuf/gdk-pixbuf-sections.txt delete mode 100644 docs/reference/gdk-pixbuf/gdk-pixbuf.types delete mode 100644 docs/reference/gdk-pixbuf/gdk-pixbuf.xml delete mode 100644 docs/reference/gdk-pixbuf/gnome-gmush-1.png delete mode 100644 docs/reference/gdk-pixbuf/meson.build delete mode 100644 docs/reference/gdk-pixbuf/version.xml.in create mode 100644 docs/version.xml.in diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4f2751485..6ee19b3e3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -78,8 +78,6 @@ contribution. ├── contrib │   └── gdk-pixbuf-xlib ├── docs -│   └── reference -│   └── gdk-pixbuf ├── gdk-pixbuf │   └── pixops ├── m4 @@ -97,7 +95,7 @@ contribution. - `contrib`: Additional functionality outside the main GdkPixbuf API - `gdk-pixbuf-xlib`: Xlib integration API; this library is considered deprecated, and should not be used in newly written code - - `docs/reference/gdk-pixbuf`: The GdkPixbuf API reference + - `docs`: The GdkPixbuf API reference - `gdk-pixbuf`: The core GdkPixbuf source - `pixops`: Platform-specific code for pixel operations - `po`: Localization files diff --git a/docs/apple-red-1a.png b/docs/apple-red-1a.png new file mode 100644 index 000000000..40f1be2b0 Binary files /dev/null and b/docs/apple-red-1a.png differ diff --git a/docs/apple-red-2c.png b/docs/apple-red-2c.png new file mode 100644 index 000000000..5c96576bb Binary files /dev/null and b/docs/apple-red-2c.png differ diff --git a/docs/composite.dia b/docs/composite.dia new file mode 100644 index 000000000..ad0c5a21f Binary files /dev/null and b/docs/composite.dia differ diff --git a/docs/composite.png b/docs/composite.png new file mode 100644 index 000000000..1c9485c04 Binary files /dev/null and b/docs/composite.png differ diff --git a/docs/gdk-pixbuf-csource.xml b/docs/gdk-pixbuf-csource.xml new file mode 100644 index 000000000..d9d848705 --- /dev/null +++ b/docs/gdk-pixbuf-csource.xml @@ -0,0 +1,177 @@ + + + + + +gdk-pixbuf-csource +gdk-pixbuf + + +Developer +Tim +Janik + + + + + +gdk-pixbuf-csource +1 +User Commands + + + +gdk-pixbuf-csource +C code generation utility for GdkPixbuf images + + + + +gdk-pixbuf-csource +OPTION +IMAGE + + +gdk-pixbuf-csource +OPTION +--build-list + + NAME + IMAGE + + + + +Description + +gdk-pixbuf-csource is a small utility that generates +C code containing images, useful for compiling images directly into programs. + + +gdk-pixbuf-csource either takes as input one image file +name to generate code for, or, using the option, +a list of (name, image) +pairs to generate code for a list of images into named variables. + + + +Options + + + + + +Generate pixbuf data stream (a single string containing a serialized +GdkPixdata structure in network byte order). + + + + + + +Generate GdkPixdata structure (needs the GdkPixdata +structure definition from gdk-pixdata.h). + + + + + + +Generate *_ROWSTRIDE, *_WIDTH, *_HEIGHT, *_BYTES_PER_PIXEL and +*_RLE_PIXEL_DATA or *_PIXEL_DATA macro definitions for the image. + + + + + + +Enables run-length encoding for the generated pixel data (default). + + + + + + +Disables run-length encoding for the generated pixel data. + + + + + + +Generate extern symbols. + + + + + + +Generate static symbols (default). + + + + + + +Provide a *_RUN_LENGTH_DECODE(image_buf, rle_data, size, bpp) macro definition +to decode run-length encoded image data. + + + + + + +Specifies the identifier name (prefix) for the generated variables or +macros (useful only if was not specified). + + + + + + +Enables (name, image) +pair parsing mode. + + + + +, + +Print brief help and exit. + + + + +, + +Print version and exit. + + + + + + +Make warnings fatal (causes the program to abort). + + + + + + +See also + +The GdkPixbuf documentation, shipped with the +Gtk+ distribution, available from www.gtk.org. + + + +Bugs + +The runlength encoder gets out of sync with the pixel boundaries, since +it includes the rowstride padding in the encoded stream. Furthermore, it +generates pixbufs with suboptimal rowstride in some cases. + + + diff --git a/docs/gdk-pixbuf-from-drawables.xml b/docs/gdk-pixbuf-from-drawables.xml new file mode 100644 index 000000000..98731ed59 --- /dev/null +++ b/docs/gdk-pixbuf-from-drawables.xml @@ -0,0 +1,29 @@ + + + + +Drawables to Pixbufs +3 +GDK-PIXBUF Library + + + +Drawables to PixbufsGetting parts of a GDK drawable's image data into a pixbuf. + + + +Description + + The functions to take the image data from a GDK windowing system surface + and store them into a GdkPixbuf are typically provided by GDK; see + the + GDK documentation. + + + + + + + diff --git a/docs/gdk-pixbuf-query-loaders.xml b/docs/gdk-pixbuf-query-loaders.xml new file mode 100644 index 000000000..9aecd9613 --- /dev/null +++ b/docs/gdk-pixbuf-query-loaders.xml @@ -0,0 +1,79 @@ + + + + + +gdk-pixbuf-query-loaders +gdk-pixbuf + + +Developer +Owen +Taylor + + + + + +gdk-pixbuf-query-loaders +1 +User Commands + + + +gdk-pixbuf-query-loaders +GdkPixbuf loader registration utility + + + + +gdk-pixbuf-query-loaders +--update-cache +MODULE + + + +Description + +gdk-pixbuf-query-loaders collects information about +loadable modules for gdk-pixbuf and writes it to +the default cache file location, or to stdout. + + +If called without arguments, it looks for modules in the +gdk-pixbuf loader directory. + + +If called with arguments, it looks for the specified modules. The arguments +may be absolute or relative paths. + + +Normally, the output of gdk-pixbuf-queryloaders is written +to libdir/gdk-pixbuf-2.0/2.10.0/loaders.cache, where gdk-pixbuf looks for it by default. If it is written to some other +location, the environment variable GDK_PIXBUF_MODULE_FILE +can be set to point gdk-pixbuf at the file. + + + +Options + + + --update-cache + Write the output to the default cache location instead of + stdout + + + + +Environment + +The environment variable GDK_PIXBUF_MODULEDIR can be used +to specify a different loader directory. The default +gdk-pixbuf loader +directory is libdir/gdk-pixbuf-2.0/version/loaders. + + + + diff --git a/docs/gdk-pixbuf-rendering.xml b/docs/gdk-pixbuf-rendering.xml new file mode 100644 index 000000000..b1a23af43 --- /dev/null +++ b/docs/gdk-pixbuf-rendering.xml @@ -0,0 +1,32 @@ + + + + +Rendering +3 +GDK-PIXBUF Library + + + +RenderingRendering a pixbuf to a GDK drawable. + + + + +Description + + The functions to render pixbufs to GDK drawables are contained in + GDK, see the GDK + documentation. + + + + + + + + + + diff --git a/docs/gdk-pixbuf-sections.txt b/docs/gdk-pixbuf-sections.txt new file mode 100644 index 000000000..b64fa6cdd --- /dev/null +++ b/docs/gdk-pixbuf-sections.txt @@ -0,0 +1,432 @@ +gdk-pixbuf/gdk-pixbuf.h + +
+Versioning +initialization_versions + + +gdk_pixbuf_version +gdk_pixbuf_major_version +gdk_pixbuf_minor_version +gdk_pixbuf_micro_version +GDK_PIXBUF_VERSION +GDK_PIXBUF_MAJOR +GDK_PIXBUF_MINOR +GDK_PIXBUF_MICRO +GDK_PIXBUF_CHECK_VERSION +GDK_PIXBUF_VERSION_2_0 +GDK_PIXBUF_VERSION_2_2 +GDK_PIXBUF_VERSION_2_4 +GDK_PIXBUF_VERSION_2_6 +GDK_PIXBUF_VERSION_2_8 +GDK_PIXBUF_VERSION_2_10 +GDK_PIXBUF_VERSION_2_12 +GDK_PIXBUF_VERSION_2_14 +GDK_PIXBUF_VERSION_2_16 +GDK_PIXBUF_VERSION_2_18 +GDK_PIXBUF_VERSION_2_20 +GDK_PIXBUF_VERSION_2_22 +GDK_PIXBUF_VERSION_2_24 +GDK_PIXBUF_VERSION_2_26 +GDK_PIXBUF_VERSION_2_28 +GDK_PIXBUF_VERSION_2_30 +GDK_PIXBUF_VERSION_2_32 +GDK_PIXBUF_VERSION_2_34 +GDK_PIXBUF_VERSION_2_36 +GDK_PIXBUF_VERSION_MIN_REQUIRED +GDK_PIXBUF_VERSION_MAX_ALLOWED + + +GDK_PIXBUF_VAR +GDK_PIXBUF_VERSION_CUR_STABLE +GDK_PIXBUF_VERSION_PREV_STABLE +GDK_PIXBUF_AVAILABLE_IN_ALL +GDK_PIXBUF_AVAILABLE_IN_2_0 +GDK_PIXBUF_AVAILABLE_IN_2_2 +GDK_PIXBUF_AVAILABLE_IN_2_4 +GDK_PIXBUF_AVAILABLE_IN_2_6 +GDK_PIXBUF_AVAILABLE_IN_2_8 +GDK_PIXBUF_AVAILABLE_IN_2_10 +GDK_PIXBUF_AVAILABLE_IN_2_12 +GDK_PIXBUF_AVAILABLE_IN_2_14 +GDK_PIXBUF_AVAILABLE_IN_2_16 +GDK_PIXBUF_AVAILABLE_IN_2_18 +GDK_PIXBUF_AVAILABLE_IN_2_20 +GDK_PIXBUF_AVAILABLE_IN_2_22 +GDK_PIXBUF_AVAILABLE_IN_2_24 +GDK_PIXBUF_AVAILABLE_IN_2_26 +GDK_PIXBUF_AVAILABLE_IN_2_28 +GDK_PIXBUF_AVAILABLE_IN_2_30 +GDK_PIXBUF_AVAILABLE_IN_2_32 +GDK_PIXBUF_AVAILABLE_IN_2_34 +GDK_PIXBUF_AVAILABLE_IN_2_36 +GDK_PIXBUF_DEPRECATED_IN_2_0 +GDK_PIXBUF_DEPRECATED_IN_2_0_FOR +GDK_PIXBUF_DEPRECATED_IN_2_2 +GDK_PIXBUF_DEPRECATED_IN_2_2_FOR +GDK_PIXBUF_DEPRECATED_IN_2_4 +GDK_PIXBUF_DEPRECATED_IN_2_4_FOR +GDK_PIXBUF_DEPRECATED_IN_2_6 +GDK_PIXBUF_DEPRECATED_IN_2_6_FOR +GDK_PIXBUF_DEPRECATED_IN_2_8 +GDK_PIXBUF_DEPRECATED_IN_2_8_FOR +GDK_PIXBUF_DEPRECATED_IN_2_10 +GDK_PIXBUF_DEPRECATED_IN_2_10_FOR +GDK_PIXBUF_DEPRECATED_IN_2_12 +GDK_PIXBUF_DEPRECATED_IN_2_12_FOR +GDK_PIXBUF_DEPRECATED_IN_2_14 +GDK_PIXBUF_DEPRECATED_IN_2_14_FOR +GDK_PIXBUF_DEPRECATED_IN_2_16 +GDK_PIXBUF_DEPRECATED_IN_2_16_FOR +GDK_PIXBUF_DEPRECATED_IN_2_18 +GDK_PIXBUF_DEPRECATED_IN_2_18_FOR +GDK_PIXBUF_DEPRECATED_IN_2_20 +GDK_PIXBUF_DEPRECATED_IN_2_20_FOR +GDK_PIXBUF_DEPRECATED_IN_2_22 +GDK_PIXBUF_DEPRECATED_IN_2_22_FOR +GDK_PIXBUF_DEPRECATED_IN_2_24 +GDK_PIXBUF_DEPRECATED_IN_2_24_FOR +GDK_PIXBUF_DEPRECATED_IN_2_26 +GDK_PIXBUF_DEPRECATED_IN_2_26_FOR +GDK_PIXBUF_DEPRECATED_IN_2_28 +GDK_PIXBUF_DEPRECATED_IN_2_28_FOR +GDK_PIXBUF_DEPRECATED_IN_2_30 +GDK_PIXBUF_DEPRECATED_IN_2_30_FOR +GDK_PIXBUF_DEPRECATED_IN_2_32 +GDK_PIXBUF_DEPRECATED_IN_2_32_FOR +GDK_PIXBUF_DEPRECATED_IN_2_34 +GDK_PIXBUF_DEPRECATED_IN_2_34_FOR +GDK_PIXBUF_DEPRECATED_IN_2_36 +GDK_PIXBUF_DEPRECATED_IN_2_36_FOR +
+ +
+gdk-pixbuf +GdkPixbufError +GDK_PIXBUF_ERROR +GdkColorspace +GdkPixbufAlphaMode +GdkPixbuf +gdk_pixbuf_get_colorspace +gdk_pixbuf_get_n_channels +gdk_pixbuf_get_has_alpha +gdk_pixbuf_get_bits_per_sample +gdk_pixbuf_get_pixels +gdk_pixbuf_get_pixels_with_length +gdk_pixbuf_get_width +gdk_pixbuf_get_height +gdk_pixbuf_get_rowstride +gdk_pixbuf_get_byte_length +gdk_pixbuf_get_option +gdk_pixbuf_set_option +gdk_pixbuf_remove_option +gdk_pixbuf_get_options +gdk_pixbuf_copy_options +gdk_pixbuf_read_pixels +gdk_pixbuf_read_pixel_bytes +gdk_pixbuf_calculate_rowstride + + +GDK_TYPE_PIXBUF_ERROR +GDK_TYPE_COLORSPACE +GDK_TYPE_PIXBUF_ALPHA_MODE +GDK_PIXBUF +GDK_TYPE_PIXBUF +GDK_IS_PIXBUF + + + +gdk_pixbuf_get_type +gdk_pixbuf_error_quark +gdk_colorspace_get_type +gdk_pixbuf_alpha_mode_get_type +gdk_pixbuf_error_get_type +
+ +
+refcounting +gdk_pixbuf_ref +gdk_pixbuf_unref +GdkPixbufDestroyNotify +
+ +
+file-loading +gdk_pixbuf_new_from_file +gdk_pixbuf_new_from_file_at_size +gdk_pixbuf_new_from_file_at_scale +gdk_pixbuf_get_file_info +gdk_pixbuf_get_file_info_async +gdk_pixbuf_get_file_info_finish +gdk_pixbuf_new_from_resource +gdk_pixbuf_new_from_resource_at_scale +gdk_pixbuf_new_from_stream +gdk_pixbuf_new_from_stream_async +gdk_pixbuf_new_from_stream_finish +gdk_pixbuf_new_from_stream_at_scale +gdk_pixbuf_new_from_stream_at_scale_async + +gdk_pixbuf_new_from_file_at_scale_utf8 +gdk_pixbuf_new_from_file_at_size_utf8 +gdk_pixbuf_new_from_file_utf8 +
+ +
+file-saving +gdk_pixbuf_savev +gdk_pixbuf_save +GdkPixbufSaveFunc +gdk_pixbuf_save_to_callback +gdk_pixbuf_save_to_callbackv +gdk_pixbuf_save_to_buffer +gdk_pixbuf_save_to_bufferv +gdk_pixbuf_save_to_stream +gdk_pixbuf_save_to_streamv +gdk_pixbuf_save_to_stream_async +gdk_pixbuf_save_to_streamv_async +gdk_pixbuf_save_to_stream_finish + +gdk_pixbuf_savev_utf8 +
+ +
+creating +gdk_pixbuf_new +gdk_pixbuf_new_from_bytes +gdk_pixbuf_new_from_data +gdk_pixbuf_new_from_xpm_data +gdk_pixbuf_new_from_inline +gdk_pixbuf_new_subpixbuf +gdk_pixbuf_copy +
+ +
+gdk-pixbuf/gdk-pixdata.h +inline +GdkPixdata +GdkPixdataType +GdkPixdataDumpType +GDK_PIXBUF_MAGIC_NUMBER +GDK_PIXDATA_HEADER_LENGTH +gdk_pixdata_from_pixbuf +gdk_pixbuf_from_pixdata +gdk_pixdata_serialize +gdk_pixdata_deserialize +gdk_pixdata_to_csource +
+ +
+util +gdk_pixbuf_add_alpha +gdk_pixbuf_copy_area +gdk_pixbuf_saturate_and_pixelate +gdk_pixbuf_apply_embedded_orientation +gdk_pixbuf_fill +
+ +
+animation +GdkPixbufAnimation +GdkPixbufAnimationIter +gdk_pixbuf_animation_new_from_file +gdk_pixbuf_animation_new_from_resource +gdk_pixbuf_animation_new_from_stream +gdk_pixbuf_animation_new_from_stream_async +gdk_pixbuf_animation_new_from_stream_finish +gdk_pixbuf_animation_ref +gdk_pixbuf_animation_unref +gdk_pixbuf_animation_get_width +gdk_pixbuf_animation_get_height +gdk_pixbuf_animation_get_iter +gdk_pixbuf_animation_is_static_image +gdk_pixbuf_animation_get_static_image +gdk_pixbuf_animation_iter_advance +gdk_pixbuf_animation_iter_get_delay_time +gdk_pixbuf_animation_iter_on_currently_loading_frame +gdk_pixbuf_animation_iter_get_pixbuf + + +GdkPixbufSimpleAnim +gdk_pixbuf_simple_anim_new +gdk_pixbuf_simple_anim_add_frame +gdk_pixbuf_simple_anim_set_loop +gdk_pixbuf_simple_anim_get_loop + + +GDK_PIXBUF_ANIMATION +GDK_TYPE_PIXBUF_ANIMATION +GDK_IS_PIXBUF_ANIMATION +GDK_IS_PIXBUF_ANIMATION_ITER +GDK_PIXBUF_ANIMATION_ITER +GDK_TYPE_PIXBUF_ANIMATION_ITER + +GDK_PIXBUF_SIMPLE_ANIM_GET_CLASS +GDK_IS_PIXBUF_SIMPLE_ANIM +GDK_PIXBUF_SIMPLE_ANIM_CLASS +GDK_IS_PIXBUF_SIMPLE_ANIM_CLASS +GDK_TYPE_PIXBUF_SIMPLE_ANIM +GDK_PIXBUF_SIMPLE_ANIM +GDK_TYPE_PIXBUF_SCALED_ANIM +GDK_TYPE_PIXBUF_SCALED_ANIM_ITER + +gdk_pixbuf_non_anim_new +gdk_pixbuf_non_anim_get_type + +gdk_pixbuf_animation_get_type +gdk_pixbuf_animation_iter_get_type + +gdk_pixbuf_simple_anim_get_type +gdk_pixbuf_simple_anim_iter_get_type +GdkPixbufSimpleAnimClass +gdk_pixbuf_scaled_anim_get_type +gdk_pixbuf_scaled_anim_iter_get_type +GdkPixbufScaledAnimClass +GdkPixbufScaledAnim +gdk_pixbuf_animation_new_from_file_utf8 +
+ +
+scaling +GdkInterpType +gdk_pixbuf_scale_simple +gdk_pixbuf_scale +gdk_pixbuf_composite_color_simple +gdk_pixbuf_composite +gdk_pixbuf_composite_color +GdkPixbufRotation +gdk_pixbuf_rotate_simple +gdk_pixbuf_flip + + +GDK_TYPE_INTERP_TYPE +GDK_TYPE_PIXBUF_ROTATION + + +gdk_interp_type_get_type +gdk_pixbuf_rotation_get_type +
+ +
+gdk-pixbuf-loader +GdkPixbufLoader +GdkPixbufLoader +gdk_pixbuf_loader_new +gdk_pixbuf_loader_new_with_type +gdk_pixbuf_loader_new_with_mime_type +gdk_pixbuf_loader_get_format +gdk_pixbuf_loader_write +gdk_pixbuf_loader_write_bytes +gdk_pixbuf_loader_set_size +gdk_pixbuf_loader_get_pixbuf +gdk_pixbuf_loader_get_animation +gdk_pixbuf_loader_close + +GDK_PIXBUF_LOADER +GDK_PIXBUF_LOADER_GET_CLASS +GDK_TYPE_PIXBUF_LOADER +GDK_IS_PIXBUF_LOADER +GDK_PIXBUF_LOADER_CLASS +GDK_IS_PIXBUF_LOADER_CLASS + +GdkPixbufLoaderClass +gdk_pixbuf_loader_get_type +
+ +
+Module Interface +module_interface +gdk_pixbuf_get_formats +gdk_pixbuf_format_copy +gdk_pixbuf_format_free +gdk_pixbuf_format_get_name +gdk_pixbuf_format_get_description +gdk_pixbuf_format_get_mime_types +gdk_pixbuf_format_get_extensions +gdk_pixbuf_format_is_save_option_supported +gdk_pixbuf_format_is_writable +gdk_pixbuf_format_is_scalable +gdk_pixbuf_format_is_disabled +gdk_pixbuf_format_set_disabled +gdk_pixbuf_format_get_license +GdkPixbufFormat +GdkPixbufFormatFlags +GdkPixbufModulePattern +GdkPixbufModuleFillVtableFunc +GdkPixbufModuleFillInfoFunc +GdkPixbufModuleSizeFunc +GdkPixbufModulePreparedFunc +GdkPixbufModuleUpdatedFunc +GdkPixbufModule + + +GdkPixbufAnimationClass +GdkPixbufAnimationIterClass + + +GDK_PIXBUF_ANIMATION_GET_CLASS +GDK_IS_PIXBUF_ANIMATION_ITER_CLASS +GDK_PIXBUF_ANIMATION_ITER_CLASS +GDK_IS_PIXBUF_ANIMATION_CLASS +GDK_PIXBUF_ANIMATION_ITER_GET_CLASS +GDK_PIXBUF_ANIMATION_CLASS + + +gdk_pixbuf_format_get_type +
+ +
+gdk-pixbuf-xlib-init +gdk_pixbuf_xlib_init +gdk_pixbuf_xlib_init_with_depth +
+ +
+gdk-pixbuf-xlib-rendering +gdk_pixbuf_xlib_render_threshold_alpha +gdk_pixbuf_xlib_render_to_drawable +gdk_pixbuf_xlib_render_to_drawable_alpha +gdk_pixbuf_xlib_render_pixmap_and_mask +
+ +
+gdk-pixbuf-xlib-from-drawables +gdk_pixbuf_xlib_get_from_drawable +
+ +
+gdk-pixbuf-xlib-rgb +XlibRgbCmap +XlibRgbDither +xlib_rgb_init +xlib_rgb_init_with_depth +xlib_rgb_xpixel_from_rgb +xlib_rgb_gc_set_foreground +xlib_rgb_gc_set_background +xlib_draw_rgb_image +xlib_draw_rgb_image_dithalign +xlib_draw_rgb_32_image +xlib_draw_gray_image +xlib_rgb_cmap_new +xlib_rgb_cmap_free +xlib_draw_indexed_image +xlib_rgb_ditherable +xlib_rgb_set_verbose +xlib_rgb_set_install +xlib_rgb_set_min_colors +xlib_rgb_get_cmap +xlib_rgb_get_visual +xlib_rgb_get_visual_info +xlib_rgb_get_depth +xlib_rgb_get_display +xlib_rgb_get_screen + +Bool +Colormap +Display +Drawable +GC +Pixmap +Screen +Visual +
+ diff --git a/docs/gdk-pixbuf.types b/docs/gdk-pixbuf.types new file mode 100644 index 000000000..d49e973c4 --- /dev/null +++ b/docs/gdk-pixbuf.types @@ -0,0 +1,7 @@ +#include + +gdk_pixbuf_get_type +gdk_pixbuf_loader_get_type +gdk_pixbuf_animation_get_type +gdk_pixbuf_animation_iter_get_type +gdk_pixbuf_simple_anim_get_type diff --git a/docs/gdk-pixbuf.xml b/docs/gdk-pixbuf.xml new file mode 100644 index 000000000..f70b57662 --- /dev/null +++ b/docs/gdk-pixbuf.xml @@ -0,0 +1,219 @@ + + + +]> + + + GDK-PixBuf Reference Manual + + Version &version; + The latest version of this documentation can be found on-line at + http://library.gnome.org/devel/gdk-pixbuf/unstable/. + + + + Federico + Mena Quintero + +
+ federico@gimp.org +
+
+
+
+ + + 2000 + The Free Software Foundation + + + + + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free + Documentation License, Version 1.1 or any later + version published by the Free Software Foundation with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover + Texts. You may obtain a copy of the GNU Free + Documentation License from the Free Software + Foundation by visiting their Web site or by writing + to: + +
+ The Free Software Foundation, Inc., + 59 Temple Place - Suite 330, + Boston, MA 02111-1307, + USA +
+
+ + + Many of the names used by companies to distinguish their + products and services are claimed as trademarks. Where those + names appear in any GNOME documentation, and those trademarks + are made aware to the members of the GNOME Documentation + Project, the names have been printed in caps or initial caps. + +
+
+ + + API Reference + + + + This part presents the class and function reference for the + gdk-pixbuf library. Classes are described together with + their methods; individual functions are grouped by functional + group. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tools Reference + + + + This part presents the tools which are shipped with the gdk-pixbuf library. + + + + + + + + + Index of all symbols + + + + Index of deprecated symbols + + + + Index of new symbols in 2.2 + + + + Index of new symbols in 2.4 + + + + Index of new symbols in 2.6 + + + + Index of new symbols in 2.8 + + + + Index of new symbols in 2.12 + + + + Index of new symbols in 2.14 + + + + Index of new symbols in 2.18 + + + + Index of new symbols in 2.22 + + + + Index of new symbols in 2.24 + + + + Index of new symbols in 2.26 + + + + Index of new symbols in 2.28 + + + + Index of new symbols in 2.30 + + + + Index of new symbols in 2.32 + + + + Index of new symbols in 2.36 + + + + Index of new symbols in 2.36.8 + + + + + + + License + + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General + Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) + any later version. + + + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Library General Public License for + more details. + + + + You may obtain a copy of the GNU Library General + Public License from the Free Software Foundation by + visiting their Web + site or by writing to: + +
+ Free Software Foundation, Inc. + 59 Temple Place - Suite 330 + Boston, MA 02111-1307 + USA +
+
+
+ + + +
+ diff --git a/docs/gnome-gmush-1.png b/docs/gnome-gmush-1.png new file mode 100644 index 000000000..9e6d829c0 Binary files /dev/null and b/docs/gnome-gmush-1.png differ diff --git a/docs/meson.build b/docs/meson.build new file mode 100644 index 000000000..4a40cf1e8 --- /dev/null +++ b/docs/meson.build @@ -0,0 +1,98 @@ +version_xml = configuration_data() +version_xml.set('GDK_PIXBUF_VERSION', meson.project_version()) +configure_file(input: 'version.xml.in', + output: 'version.xml', + configuration: version_xml) + +glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix') +glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html') +docpath = join_paths(gdk_pixbuf_datadir, 'gtk-doc', 'html') + +private_headers = [ + 'pixops', + 'gdk-pixbuf.h', + 'gdk-pixbuf-alias.h', + 'gdk-pixbuf-autocleanups.h', + 'gdk-pixbuf-buffer-queue-private.h', + 'gdk-pixbuf-marshal.h', + 'gdk-pixbuf-private.h', + 'gdk-pixbuf-scaled-anim.h', + 'gdk-pixbuf-xlib-private.h', + 'io-ani-animation.h', + 'io-gdip-animation.h', + 'io-gdip-native.h', + 'io-gdip-propertytags.h', + 'io-gdip-utils.h', + 'io-gif-animation.h', + 'xpm-color-table.h', + 'test-images.h', +] + +if not get_option('x11') + private_headers += 'contrib' +endif + +if get_option('docs') + gnome.gtkdoc('gdk-pixbuf', + main_xml: 'gdk-pixbuf.xml', + src_dir: [ + gdk_pixbuf_inc, + gdkpixbuf_xlib_inc, + ], + dependencies: gdkpixbuf_dep, + gobject_typesfile: 'gdk-pixbuf.types', + scan_args: [ + '--rebuild-types', + '--deprecated-guards="GDK_PIXBUF_ENABLE_BROKEN|GDK_PIXBUF_DISABLE_DEPRECATED"', + '--ignore-headers=' + ' '.join(private_headers), + ], + fixxref_args: [ + '--html-dir=@0@'.format(docpath), + '--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')), + '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')), + '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gio')), + ], + html_assets: [ + 'composite.png', + ], + content_files: [ + 'gdk-pixbuf-from-drawables.xml', + 'gdk-pixbuf-rendering.xml', + 'gdk-pixbuf.xml', + 'gdk-pixbuf-csource.xml', + 'gdk-pixbuf-query-loaders.xml', + ], + install: true) +endif + +xsltproc = find_program('xsltproc', required: false) +if get_option('man') and xsltproc.found() + xlstproc_flags = [ + '--nonet', + '--stringparam', 'man.output.quietly', '1', + '--stringparam', 'funcsynopsis.style', 'ansi', + '--stringparam', 'man.th.extra1.suppress', '1', + '--stringparam', 'man.authors.section.enabled', '0', + '--stringparam', 'man.copyright.section.enabled', '0', + ] + + man_files = [ + 'gdk-pixbuf-csource', + 'gdk-pixbuf-query-loaders', + ] + + foreach m: man_files + custom_target(m + '-man', + input: '@0@.xml'.format(m), + output: '@0@.1'.format(m), + command: [ + xsltproc, + xlstproc_flags, + '-o', '@OUTPUT@', + 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl', + '@INPUT@', + ], + install: true, + install_dir: join_paths(gdk_pixbuf_mandir, 'man1')) + endforeach +endif diff --git a/docs/reference/gdk-pixbuf/apple-red-1a.png b/docs/reference/gdk-pixbuf/apple-red-1a.png deleted file mode 100644 index 40f1be2b0..000000000 Binary files a/docs/reference/gdk-pixbuf/apple-red-1a.png and /dev/null differ diff --git a/docs/reference/gdk-pixbuf/apple-red-2c.png b/docs/reference/gdk-pixbuf/apple-red-2c.png deleted file mode 100644 index 5c96576bb..000000000 Binary files a/docs/reference/gdk-pixbuf/apple-red-2c.png and /dev/null differ diff --git a/docs/reference/gdk-pixbuf/composite.dia b/docs/reference/gdk-pixbuf/composite.dia deleted file mode 100644 index ad0c5a21f..000000000 Binary files a/docs/reference/gdk-pixbuf/composite.dia and /dev/null differ diff --git a/docs/reference/gdk-pixbuf/composite.png b/docs/reference/gdk-pixbuf/composite.png deleted file mode 100644 index 1c9485c04..000000000 Binary files a/docs/reference/gdk-pixbuf/composite.png and /dev/null differ diff --git a/docs/reference/gdk-pixbuf/gdk-pixbuf-csource.xml b/docs/reference/gdk-pixbuf/gdk-pixbuf-csource.xml deleted file mode 100644 index d9d848705..000000000 --- a/docs/reference/gdk-pixbuf/gdk-pixbuf-csource.xml +++ /dev/null @@ -1,177 +0,0 @@ - - - - - -gdk-pixbuf-csource -gdk-pixbuf - - -Developer -Tim -Janik - - - - - -gdk-pixbuf-csource -1 -User Commands - - - -gdk-pixbuf-csource -C code generation utility for GdkPixbuf images - - - - -gdk-pixbuf-csource -OPTION -IMAGE - - -gdk-pixbuf-csource -OPTION ---build-list - - NAME - IMAGE - - - - -Description - -gdk-pixbuf-csource is a small utility that generates -C code containing images, useful for compiling images directly into programs. - - -gdk-pixbuf-csource either takes as input one image file -name to generate code for, or, using the option, -a list of (name, image) -pairs to generate code for a list of images into named variables. - - - -Options - - - - - -Generate pixbuf data stream (a single string containing a serialized -GdkPixdata structure in network byte order). - - - - - - -Generate GdkPixdata structure (needs the GdkPixdata -structure definition from gdk-pixdata.h). - - - - - - -Generate *_ROWSTRIDE, *_WIDTH, *_HEIGHT, *_BYTES_PER_PIXEL and -*_RLE_PIXEL_DATA or *_PIXEL_DATA macro definitions for the image. - - - - - - -Enables run-length encoding for the generated pixel data (default). - - - - - - -Disables run-length encoding for the generated pixel data. - - - - - - -Generate extern symbols. - - - - - - -Generate static symbols (default). - - - - - - -Provide a *_RUN_LENGTH_DECODE(image_buf, rle_data, size, bpp) macro definition -to decode run-length encoded image data. - - - - - - -Specifies the identifier name (prefix) for the generated variables or -macros (useful only if was not specified). - - - - - - -Enables (name, image) -pair parsing mode. - - - - -, - -Print brief help and exit. - - - - -, - -Print version and exit. - - - - - - -Make warnings fatal (causes the program to abort). - - - - - - -See also - -The GdkPixbuf documentation, shipped with the -Gtk+ distribution, available from www.gtk.org. - - - -Bugs - -The runlength encoder gets out of sync with the pixel boundaries, since -it includes the rowstride padding in the encoded stream. Furthermore, it -generates pixbufs with suboptimal rowstride in some cases. - - - diff --git a/docs/reference/gdk-pixbuf/gdk-pixbuf-from-drawables.xml b/docs/reference/gdk-pixbuf/gdk-pixbuf-from-drawables.xml deleted file mode 100644 index 98731ed59..000000000 --- a/docs/reference/gdk-pixbuf/gdk-pixbuf-from-drawables.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - -Drawables to Pixbufs -3 -GDK-PIXBUF Library - - - -Drawables to PixbufsGetting parts of a GDK drawable's image data into a pixbuf. - - - -Description - - The functions to take the image data from a GDK windowing system surface - and store them into a GdkPixbuf are typically provided by GDK; see - the - GDK documentation. - - - - - - - diff --git a/docs/reference/gdk-pixbuf/gdk-pixbuf-query-loaders.xml b/docs/reference/gdk-pixbuf/gdk-pixbuf-query-loaders.xml deleted file mode 100644 index 9aecd9613..000000000 --- a/docs/reference/gdk-pixbuf/gdk-pixbuf-query-loaders.xml +++ /dev/null @@ -1,79 +0,0 @@ - - - - - -gdk-pixbuf-query-loaders -gdk-pixbuf - - -Developer -Owen -Taylor - - - - - -gdk-pixbuf-query-loaders -1 -User Commands - - - -gdk-pixbuf-query-loaders -GdkPixbuf loader registration utility - - - - -gdk-pixbuf-query-loaders ---update-cache -MODULE - - - -Description - -gdk-pixbuf-query-loaders collects information about -loadable modules for gdk-pixbuf and writes it to -the default cache file location, or to stdout. - - -If called without arguments, it looks for modules in the -gdk-pixbuf loader directory. - - -If called with arguments, it looks for the specified modules. The arguments -may be absolute or relative paths. - - -Normally, the output of gdk-pixbuf-queryloaders is written -to libdir/gdk-pixbuf-2.0/2.10.0/loaders.cache, where gdk-pixbuf looks for it by default. If it is written to some other -location, the environment variable GDK_PIXBUF_MODULE_FILE -can be set to point gdk-pixbuf at the file. - - - -Options - - - --update-cache - Write the output to the default cache location instead of - stdout - - - - -Environment - -The environment variable GDK_PIXBUF_MODULEDIR can be used -to specify a different loader directory. The default -gdk-pixbuf loader -directory is libdir/gdk-pixbuf-2.0/version/loaders. - - - - diff --git a/docs/reference/gdk-pixbuf/gdk-pixbuf-rendering.xml b/docs/reference/gdk-pixbuf/gdk-pixbuf-rendering.xml deleted file mode 100644 index b1a23af43..000000000 --- a/docs/reference/gdk-pixbuf/gdk-pixbuf-rendering.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - -Rendering -3 -GDK-PIXBUF Library - - - -RenderingRendering a pixbuf to a GDK drawable. - - - - -Description - - The functions to render pixbufs to GDK drawables are contained in - GDK, see the GDK - documentation. - - - - - - - - - - diff --git a/docs/reference/gdk-pixbuf/gdk-pixbuf-sections.txt b/docs/reference/gdk-pixbuf/gdk-pixbuf-sections.txt deleted file mode 100644 index b64fa6cdd..000000000 --- a/docs/reference/gdk-pixbuf/gdk-pixbuf-sections.txt +++ /dev/null @@ -1,432 +0,0 @@ -gdk-pixbuf/gdk-pixbuf.h - -
-Versioning -initialization_versions - - -gdk_pixbuf_version -gdk_pixbuf_major_version -gdk_pixbuf_minor_version -gdk_pixbuf_micro_version -GDK_PIXBUF_VERSION -GDK_PIXBUF_MAJOR -GDK_PIXBUF_MINOR -GDK_PIXBUF_MICRO -GDK_PIXBUF_CHECK_VERSION -GDK_PIXBUF_VERSION_2_0 -GDK_PIXBUF_VERSION_2_2 -GDK_PIXBUF_VERSION_2_4 -GDK_PIXBUF_VERSION_2_6 -GDK_PIXBUF_VERSION_2_8 -GDK_PIXBUF_VERSION_2_10 -GDK_PIXBUF_VERSION_2_12 -GDK_PIXBUF_VERSION_2_14 -GDK_PIXBUF_VERSION_2_16 -GDK_PIXBUF_VERSION_2_18 -GDK_PIXBUF_VERSION_2_20 -GDK_PIXBUF_VERSION_2_22 -GDK_PIXBUF_VERSION_2_24 -GDK_PIXBUF_VERSION_2_26 -GDK_PIXBUF_VERSION_2_28 -GDK_PIXBUF_VERSION_2_30 -GDK_PIXBUF_VERSION_2_32 -GDK_PIXBUF_VERSION_2_34 -GDK_PIXBUF_VERSION_2_36 -GDK_PIXBUF_VERSION_MIN_REQUIRED -GDK_PIXBUF_VERSION_MAX_ALLOWED - - -GDK_PIXBUF_VAR -GDK_PIXBUF_VERSION_CUR_STABLE -GDK_PIXBUF_VERSION_PREV_STABLE -GDK_PIXBUF_AVAILABLE_IN_ALL -GDK_PIXBUF_AVAILABLE_IN_2_0 -GDK_PIXBUF_AVAILABLE_IN_2_2 -GDK_PIXBUF_AVAILABLE_IN_2_4 -GDK_PIXBUF_AVAILABLE_IN_2_6 -GDK_PIXBUF_AVAILABLE_IN_2_8 -GDK_PIXBUF_AVAILABLE_IN_2_10 -GDK_PIXBUF_AVAILABLE_IN_2_12 -GDK_PIXBUF_AVAILABLE_IN_2_14 -GDK_PIXBUF_AVAILABLE_IN_2_16 -GDK_PIXBUF_AVAILABLE_IN_2_18 -GDK_PIXBUF_AVAILABLE_IN_2_20 -GDK_PIXBUF_AVAILABLE_IN_2_22 -GDK_PIXBUF_AVAILABLE_IN_2_24 -GDK_PIXBUF_AVAILABLE_IN_2_26 -GDK_PIXBUF_AVAILABLE_IN_2_28 -GDK_PIXBUF_AVAILABLE_IN_2_30 -GDK_PIXBUF_AVAILABLE_IN_2_32 -GDK_PIXBUF_AVAILABLE_IN_2_34 -GDK_PIXBUF_AVAILABLE_IN_2_36 -GDK_PIXBUF_DEPRECATED_IN_2_0 -GDK_PIXBUF_DEPRECATED_IN_2_0_FOR -GDK_PIXBUF_DEPRECATED_IN_2_2 -GDK_PIXBUF_DEPRECATED_IN_2_2_FOR -GDK_PIXBUF_DEPRECATED_IN_2_4 -GDK_PIXBUF_DEPRECATED_IN_2_4_FOR -GDK_PIXBUF_DEPRECATED_IN_2_6 -GDK_PIXBUF_DEPRECATED_IN_2_6_FOR -GDK_PIXBUF_DEPRECATED_IN_2_8 -GDK_PIXBUF_DEPRECATED_IN_2_8_FOR -GDK_PIXBUF_DEPRECATED_IN_2_10 -GDK_PIXBUF_DEPRECATED_IN_2_10_FOR -GDK_PIXBUF_DEPRECATED_IN_2_12 -GDK_PIXBUF_DEPRECATED_IN_2_12_FOR -GDK_PIXBUF_DEPRECATED_IN_2_14 -GDK_PIXBUF_DEPRECATED_IN_2_14_FOR -GDK_PIXBUF_DEPRECATED_IN_2_16 -GDK_PIXBUF_DEPRECATED_IN_2_16_FOR -GDK_PIXBUF_DEPRECATED_IN_2_18 -GDK_PIXBUF_DEPRECATED_IN_2_18_FOR -GDK_PIXBUF_DEPRECATED_IN_2_20 -GDK_PIXBUF_DEPRECATED_IN_2_20_FOR -GDK_PIXBUF_DEPRECATED_IN_2_22 -GDK_PIXBUF_DEPRECATED_IN_2_22_FOR -GDK_PIXBUF_DEPRECATED_IN_2_24 -GDK_PIXBUF_DEPRECATED_IN_2_24_FOR -GDK_PIXBUF_DEPRECATED_IN_2_26 -GDK_PIXBUF_DEPRECATED_IN_2_26_FOR -GDK_PIXBUF_DEPRECATED_IN_2_28 -GDK_PIXBUF_DEPRECATED_IN_2_28_FOR -GDK_PIXBUF_DEPRECATED_IN_2_30 -GDK_PIXBUF_DEPRECATED_IN_2_30_FOR -GDK_PIXBUF_DEPRECATED_IN_2_32 -GDK_PIXBUF_DEPRECATED_IN_2_32_FOR -GDK_PIXBUF_DEPRECATED_IN_2_34 -GDK_PIXBUF_DEPRECATED_IN_2_34_FOR -GDK_PIXBUF_DEPRECATED_IN_2_36 -GDK_PIXBUF_DEPRECATED_IN_2_36_FOR -
- -
-gdk-pixbuf -GdkPixbufError -GDK_PIXBUF_ERROR -GdkColorspace -GdkPixbufAlphaMode -GdkPixbuf -gdk_pixbuf_get_colorspace -gdk_pixbuf_get_n_channels -gdk_pixbuf_get_has_alpha -gdk_pixbuf_get_bits_per_sample -gdk_pixbuf_get_pixels -gdk_pixbuf_get_pixels_with_length -gdk_pixbuf_get_width -gdk_pixbuf_get_height -gdk_pixbuf_get_rowstride -gdk_pixbuf_get_byte_length -gdk_pixbuf_get_option -gdk_pixbuf_set_option -gdk_pixbuf_remove_option -gdk_pixbuf_get_options -gdk_pixbuf_copy_options -gdk_pixbuf_read_pixels -gdk_pixbuf_read_pixel_bytes -gdk_pixbuf_calculate_rowstride - - -GDK_TYPE_PIXBUF_ERROR -GDK_TYPE_COLORSPACE -GDK_TYPE_PIXBUF_ALPHA_MODE -GDK_PIXBUF -GDK_TYPE_PIXBUF -GDK_IS_PIXBUF - - - -gdk_pixbuf_get_type -gdk_pixbuf_error_quark -gdk_colorspace_get_type -gdk_pixbuf_alpha_mode_get_type -gdk_pixbuf_error_get_type -
- -
-refcounting -gdk_pixbuf_ref -gdk_pixbuf_unref -GdkPixbufDestroyNotify -
- -
-file-loading -gdk_pixbuf_new_from_file -gdk_pixbuf_new_from_file_at_size -gdk_pixbuf_new_from_file_at_scale -gdk_pixbuf_get_file_info -gdk_pixbuf_get_file_info_async -gdk_pixbuf_get_file_info_finish -gdk_pixbuf_new_from_resource -gdk_pixbuf_new_from_resource_at_scale -gdk_pixbuf_new_from_stream -gdk_pixbuf_new_from_stream_async -gdk_pixbuf_new_from_stream_finish -gdk_pixbuf_new_from_stream_at_scale -gdk_pixbuf_new_from_stream_at_scale_async - -gdk_pixbuf_new_from_file_at_scale_utf8 -gdk_pixbuf_new_from_file_at_size_utf8 -gdk_pixbuf_new_from_file_utf8 -
- -
-file-saving -gdk_pixbuf_savev -gdk_pixbuf_save -GdkPixbufSaveFunc -gdk_pixbuf_save_to_callback -gdk_pixbuf_save_to_callbackv -gdk_pixbuf_save_to_buffer -gdk_pixbuf_save_to_bufferv -gdk_pixbuf_save_to_stream -gdk_pixbuf_save_to_streamv -gdk_pixbuf_save_to_stream_async -gdk_pixbuf_save_to_streamv_async -gdk_pixbuf_save_to_stream_finish - -gdk_pixbuf_savev_utf8 -
- -
-creating -gdk_pixbuf_new -gdk_pixbuf_new_from_bytes -gdk_pixbuf_new_from_data -gdk_pixbuf_new_from_xpm_data -gdk_pixbuf_new_from_inline -gdk_pixbuf_new_subpixbuf -gdk_pixbuf_copy -
- -
-gdk-pixbuf/gdk-pixdata.h -inline -GdkPixdata -GdkPixdataType -GdkPixdataDumpType -GDK_PIXBUF_MAGIC_NUMBER -GDK_PIXDATA_HEADER_LENGTH -gdk_pixdata_from_pixbuf -gdk_pixbuf_from_pixdata -gdk_pixdata_serialize -gdk_pixdata_deserialize -gdk_pixdata_to_csource -
- -
-util -gdk_pixbuf_add_alpha -gdk_pixbuf_copy_area -gdk_pixbuf_saturate_and_pixelate -gdk_pixbuf_apply_embedded_orientation -gdk_pixbuf_fill -
- -
-animation -GdkPixbufAnimation -GdkPixbufAnimationIter -gdk_pixbuf_animation_new_from_file -gdk_pixbuf_animation_new_from_resource -gdk_pixbuf_animation_new_from_stream -gdk_pixbuf_animation_new_from_stream_async -gdk_pixbuf_animation_new_from_stream_finish -gdk_pixbuf_animation_ref -gdk_pixbuf_animation_unref -gdk_pixbuf_animation_get_width -gdk_pixbuf_animation_get_height -gdk_pixbuf_animation_get_iter -gdk_pixbuf_animation_is_static_image -gdk_pixbuf_animation_get_static_image -gdk_pixbuf_animation_iter_advance -gdk_pixbuf_animation_iter_get_delay_time -gdk_pixbuf_animation_iter_on_currently_loading_frame -gdk_pixbuf_animation_iter_get_pixbuf - - -GdkPixbufSimpleAnim -gdk_pixbuf_simple_anim_new -gdk_pixbuf_simple_anim_add_frame -gdk_pixbuf_simple_anim_set_loop -gdk_pixbuf_simple_anim_get_loop - - -GDK_PIXBUF_ANIMATION -GDK_TYPE_PIXBUF_ANIMATION -GDK_IS_PIXBUF_ANIMATION -GDK_IS_PIXBUF_ANIMATION_ITER -GDK_PIXBUF_ANIMATION_ITER -GDK_TYPE_PIXBUF_ANIMATION_ITER - -GDK_PIXBUF_SIMPLE_ANIM_GET_CLASS -GDK_IS_PIXBUF_SIMPLE_ANIM -GDK_PIXBUF_SIMPLE_ANIM_CLASS -GDK_IS_PIXBUF_SIMPLE_ANIM_CLASS -GDK_TYPE_PIXBUF_SIMPLE_ANIM -GDK_PIXBUF_SIMPLE_ANIM -GDK_TYPE_PIXBUF_SCALED_ANIM -GDK_TYPE_PIXBUF_SCALED_ANIM_ITER - -gdk_pixbuf_non_anim_new -gdk_pixbuf_non_anim_get_type - -gdk_pixbuf_animation_get_type -gdk_pixbuf_animation_iter_get_type - -gdk_pixbuf_simple_anim_get_type -gdk_pixbuf_simple_anim_iter_get_type -GdkPixbufSimpleAnimClass -gdk_pixbuf_scaled_anim_get_type -gdk_pixbuf_scaled_anim_iter_get_type -GdkPixbufScaledAnimClass -GdkPixbufScaledAnim -gdk_pixbuf_animation_new_from_file_utf8 -
- -
-scaling -GdkInterpType -gdk_pixbuf_scale_simple -gdk_pixbuf_scale -gdk_pixbuf_composite_color_simple -gdk_pixbuf_composite -gdk_pixbuf_composite_color -GdkPixbufRotation -gdk_pixbuf_rotate_simple -gdk_pixbuf_flip - - -GDK_TYPE_INTERP_TYPE -GDK_TYPE_PIXBUF_ROTATION - - -gdk_interp_type_get_type -gdk_pixbuf_rotation_get_type -
- -
-gdk-pixbuf-loader -GdkPixbufLoader -GdkPixbufLoader -gdk_pixbuf_loader_new -gdk_pixbuf_loader_new_with_type -gdk_pixbuf_loader_new_with_mime_type -gdk_pixbuf_loader_get_format -gdk_pixbuf_loader_write -gdk_pixbuf_loader_write_bytes -gdk_pixbuf_loader_set_size -gdk_pixbuf_loader_get_pixbuf -gdk_pixbuf_loader_get_animation -gdk_pixbuf_loader_close - -GDK_PIXBUF_LOADER -GDK_PIXBUF_LOADER_GET_CLASS -GDK_TYPE_PIXBUF_LOADER -GDK_IS_PIXBUF_LOADER -GDK_PIXBUF_LOADER_CLASS -GDK_IS_PIXBUF_LOADER_CLASS - -GdkPixbufLoaderClass -gdk_pixbuf_loader_get_type -
- -
-Module Interface -module_interface -gdk_pixbuf_get_formats -gdk_pixbuf_format_copy -gdk_pixbuf_format_free -gdk_pixbuf_format_get_name -gdk_pixbuf_format_get_description -gdk_pixbuf_format_get_mime_types -gdk_pixbuf_format_get_extensions -gdk_pixbuf_format_is_save_option_supported -gdk_pixbuf_format_is_writable -gdk_pixbuf_format_is_scalable -gdk_pixbuf_format_is_disabled -gdk_pixbuf_format_set_disabled -gdk_pixbuf_format_get_license -GdkPixbufFormat -GdkPixbufFormatFlags -GdkPixbufModulePattern -GdkPixbufModuleFillVtableFunc -GdkPixbufModuleFillInfoFunc -GdkPixbufModuleSizeFunc -GdkPixbufModulePreparedFunc -GdkPixbufModuleUpdatedFunc -GdkPixbufModule - - -GdkPixbufAnimationClass -GdkPixbufAnimationIterClass - - -GDK_PIXBUF_ANIMATION_GET_CLASS -GDK_IS_PIXBUF_ANIMATION_ITER_CLASS -GDK_PIXBUF_ANIMATION_ITER_CLASS -GDK_IS_PIXBUF_ANIMATION_CLASS -GDK_PIXBUF_ANIMATION_ITER_GET_CLASS -GDK_PIXBUF_ANIMATION_CLASS - - -gdk_pixbuf_format_get_type -
- -
-gdk-pixbuf-xlib-init -gdk_pixbuf_xlib_init -gdk_pixbuf_xlib_init_with_depth -
- -
-gdk-pixbuf-xlib-rendering -gdk_pixbuf_xlib_render_threshold_alpha -gdk_pixbuf_xlib_render_to_drawable -gdk_pixbuf_xlib_render_to_drawable_alpha -gdk_pixbuf_xlib_render_pixmap_and_mask -
- -
-gdk-pixbuf-xlib-from-drawables -gdk_pixbuf_xlib_get_from_drawable -
- -
-gdk-pixbuf-xlib-rgb -XlibRgbCmap -XlibRgbDither -xlib_rgb_init -xlib_rgb_init_with_depth -xlib_rgb_xpixel_from_rgb -xlib_rgb_gc_set_foreground -xlib_rgb_gc_set_background -xlib_draw_rgb_image -xlib_draw_rgb_image_dithalign -xlib_draw_rgb_32_image -xlib_draw_gray_image -xlib_rgb_cmap_new -xlib_rgb_cmap_free -xlib_draw_indexed_image -xlib_rgb_ditherable -xlib_rgb_set_verbose -xlib_rgb_set_install -xlib_rgb_set_min_colors -xlib_rgb_get_cmap -xlib_rgb_get_visual -xlib_rgb_get_visual_info -xlib_rgb_get_depth -xlib_rgb_get_display -xlib_rgb_get_screen - -Bool -Colormap -Display -Drawable -GC -Pixmap -Screen -Visual -
- diff --git a/docs/reference/gdk-pixbuf/gdk-pixbuf.types b/docs/reference/gdk-pixbuf/gdk-pixbuf.types deleted file mode 100644 index d49e973c4..000000000 --- a/docs/reference/gdk-pixbuf/gdk-pixbuf.types +++ /dev/null @@ -1,7 +0,0 @@ -#include - -gdk_pixbuf_get_type -gdk_pixbuf_loader_get_type -gdk_pixbuf_animation_get_type -gdk_pixbuf_animation_iter_get_type -gdk_pixbuf_simple_anim_get_type diff --git a/docs/reference/gdk-pixbuf/gdk-pixbuf.xml b/docs/reference/gdk-pixbuf/gdk-pixbuf.xml deleted file mode 100644 index f70b57662..000000000 --- a/docs/reference/gdk-pixbuf/gdk-pixbuf.xml +++ /dev/null @@ -1,219 +0,0 @@ - - - -]> - - - GDK-PixBuf Reference Manual - - Version &version; - The latest version of this documentation can be found on-line at - http://library.gnome.org/devel/gdk-pixbuf/unstable/. - - - - Federico - Mena Quintero - -
- federico@gimp.org -
-
-
-
- - - 2000 - The Free Software Foundation - - - - - Permission is granted to copy, distribute and/or modify this - document under the terms of the GNU Free - Documentation License, Version 1.1 or any later - version published by the Free Software Foundation with no - Invariant Sections, no Front-Cover Texts, and no Back-Cover - Texts. You may obtain a copy of the GNU Free - Documentation License from the Free Software - Foundation by visiting their Web site or by writing - to: - -
- The Free Software Foundation, Inc., - 59 Temple Place - Suite 330, - Boston, MA 02111-1307, - USA -
-
- - - Many of the names used by companies to distinguish their - products and services are claimed as trademarks. Where those - names appear in any GNOME documentation, and those trademarks - are made aware to the members of the GNOME Documentation - Project, the names have been printed in caps or initial caps. - -
-
- - - API Reference - - - - This part presents the class and function reference for the - gdk-pixbuf library. Classes are described together with - their methods; individual functions are grouped by functional - group. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Tools Reference - - - - This part presents the tools which are shipped with the gdk-pixbuf library. - - - - - - - - - Index of all symbols - - - - Index of deprecated symbols - - - - Index of new symbols in 2.2 - - - - Index of new symbols in 2.4 - - - - Index of new symbols in 2.6 - - - - Index of new symbols in 2.8 - - - - Index of new symbols in 2.12 - - - - Index of new symbols in 2.14 - - - - Index of new symbols in 2.18 - - - - Index of new symbols in 2.22 - - - - Index of new symbols in 2.24 - - - - Index of new symbols in 2.26 - - - - Index of new symbols in 2.28 - - - - Index of new symbols in 2.30 - - - - Index of new symbols in 2.32 - - - - Index of new symbols in 2.36 - - - - Index of new symbols in 2.36.8 - - - - - - - License - - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General - Public License as published by the Free Software - Foundation; either version 2 of the License, or (at your option) - any later version. - - - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Library General Public License for - more details. - - - - You may obtain a copy of the GNU Library General - Public License from the Free Software Foundation by - visiting their Web - site or by writing to: - -
- Free Software Foundation, Inc. - 59 Temple Place - Suite 330 - Boston, MA 02111-1307 - USA -
-
-
- - - -
- diff --git a/docs/reference/gdk-pixbuf/gnome-gmush-1.png b/docs/reference/gdk-pixbuf/gnome-gmush-1.png deleted file mode 100644 index 9e6d829c0..000000000 Binary files a/docs/reference/gdk-pixbuf/gnome-gmush-1.png and /dev/null differ diff --git a/docs/reference/gdk-pixbuf/meson.build b/docs/reference/gdk-pixbuf/meson.build deleted file mode 100644 index 4a40cf1e8..000000000 --- a/docs/reference/gdk-pixbuf/meson.build +++ /dev/null @@ -1,98 +0,0 @@ -version_xml = configuration_data() -version_xml.set('GDK_PIXBUF_VERSION', meson.project_version()) -configure_file(input: 'version.xml.in', - output: 'version.xml', - configuration: version_xml) - -glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix') -glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html') -docpath = join_paths(gdk_pixbuf_datadir, 'gtk-doc', 'html') - -private_headers = [ - 'pixops', - 'gdk-pixbuf.h', - 'gdk-pixbuf-alias.h', - 'gdk-pixbuf-autocleanups.h', - 'gdk-pixbuf-buffer-queue-private.h', - 'gdk-pixbuf-marshal.h', - 'gdk-pixbuf-private.h', - 'gdk-pixbuf-scaled-anim.h', - 'gdk-pixbuf-xlib-private.h', - 'io-ani-animation.h', - 'io-gdip-animation.h', - 'io-gdip-native.h', - 'io-gdip-propertytags.h', - 'io-gdip-utils.h', - 'io-gif-animation.h', - 'xpm-color-table.h', - 'test-images.h', -] - -if not get_option('x11') - private_headers += 'contrib' -endif - -if get_option('docs') - gnome.gtkdoc('gdk-pixbuf', - main_xml: 'gdk-pixbuf.xml', - src_dir: [ - gdk_pixbuf_inc, - gdkpixbuf_xlib_inc, - ], - dependencies: gdkpixbuf_dep, - gobject_typesfile: 'gdk-pixbuf.types', - scan_args: [ - '--rebuild-types', - '--deprecated-guards="GDK_PIXBUF_ENABLE_BROKEN|GDK_PIXBUF_DISABLE_DEPRECATED"', - '--ignore-headers=' + ' '.join(private_headers), - ], - fixxref_args: [ - '--html-dir=@0@'.format(docpath), - '--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')), - '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')), - '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gio')), - ], - html_assets: [ - 'composite.png', - ], - content_files: [ - 'gdk-pixbuf-from-drawables.xml', - 'gdk-pixbuf-rendering.xml', - 'gdk-pixbuf.xml', - 'gdk-pixbuf-csource.xml', - 'gdk-pixbuf-query-loaders.xml', - ], - install: true) -endif - -xsltproc = find_program('xsltproc', required: false) -if get_option('man') and xsltproc.found() - xlstproc_flags = [ - '--nonet', - '--stringparam', 'man.output.quietly', '1', - '--stringparam', 'funcsynopsis.style', 'ansi', - '--stringparam', 'man.th.extra1.suppress', '1', - '--stringparam', 'man.authors.section.enabled', '0', - '--stringparam', 'man.copyright.section.enabled', '0', - ] - - man_files = [ - 'gdk-pixbuf-csource', - 'gdk-pixbuf-query-loaders', - ] - - foreach m: man_files - custom_target(m + '-man', - input: '@0@.xml'.format(m), - output: '@0@.1'.format(m), - command: [ - xsltproc, - xlstproc_flags, - '-o', '@OUTPUT@', - 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl', - '@INPUT@', - ], - install: true, - install_dir: join_paths(gdk_pixbuf_mandir, 'man1')) - endforeach -endif diff --git a/docs/reference/gdk-pixbuf/version.xml.in b/docs/reference/gdk-pixbuf/version.xml.in deleted file mode 100644 index 90ff08b2b..000000000 --- a/docs/reference/gdk-pixbuf/version.xml.in +++ /dev/null @@ -1 +0,0 @@ -@GDK_PIXBUF_VERSION@ diff --git a/docs/version.xml.in b/docs/version.xml.in new file mode 100644 index 000000000..90ff08b2b --- /dev/null +++ b/docs/version.xml.in @@ -0,0 +1 @@ +@GDK_PIXBUF_VERSION@ diff --git a/meson.build b/meson.build index 79bcb0582..626e8978c 100644 --- a/meson.build +++ b/meson.build @@ -394,7 +394,7 @@ subdir('tests') subdir('thumbnailer') # Documentation -subdir('docs/reference/gdk-pixbuf') +subdir('docs') if not meson.is_cross_build() meson.add_install_script('build-aux/post-install.sh', -- cgit v1.2.1