From 5c1676dfe6d2f3c837a5e074117b45613fd29a72 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:30:19 +0200 Subject: Adding upstream version 2.10.34. Signed-off-by: Daniel Baumann --- devel-docs/libgimp/html/libgimp-gimppixbuf.html | 306 ++++++++++++++++++++++++ 1 file changed, 306 insertions(+) create mode 100644 devel-docs/libgimp/html/libgimp-gimppixbuf.html (limited to 'devel-docs/libgimp/html/libgimp-gimppixbuf.html') diff --git a/devel-docs/libgimp/html/libgimp-gimppixbuf.html b/devel-docs/libgimp/html/libgimp-gimppixbuf.html new file mode 100644 index 0000000..7fd2311 --- /dev/null +++ b/devel-docs/libgimp/html/libgimp-gimppixbuf.html @@ -0,0 +1,306 @@ + + + + +gimppixbuf: GIMP Library Reference Manual + + + + + + + + + + + + + + + + +
+
+
+ + +
+

gimppixbuf

+

gimppixbuf — Get a thumbnail pixbuf for a drawable or image.

+
+
+

Functions

+
++++ + + + + + + + + + + + + + + +
+GdkPixbuf * + +gimp_image_get_thumbnail () +
+GdkPixbuf * + +gimp_drawable_get_thumbnail () +
+GdkPixbuf * + +gimp_drawable_get_sub_thumbnail () +
+
+
+

Types and Values

+
++++ + + + + +
enumGimpPixbufTransparency
+
+
+

Description

+

Get a thumbnail pixbuf for a drawable or image.

+
+
+

Functions

+
+

gimp_image_get_thumbnail ()

+
GdkPixbuf *
+gimp_image_get_thumbnail (gint32 image_ID,
+                          gint width,
+                          gint height,
+                          GimpPixbufTransparency alpha);
+

Retrieves a thumbnail pixbuf for the image identified by image_ID +. +The thumbnail will be not larger than the requested size.

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + + + + + + +

image_ID

the image ID

 

width

the requested thumbnail width (<= 1024 pixels)

 

height

the requested thumbnail height (<= 1024 pixels)

 

alpha

how to handle an alpha channel

 
+
+
+

Returns

+

a new GdkPixbuf

+
+

Since: 2.2

+
+
+
+

gimp_drawable_get_thumbnail ()

+
GdkPixbuf *
+gimp_drawable_get_thumbnail (gint32 drawable_ID,
+                             gint width,
+                             gint height,
+                             GimpPixbufTransparency alpha);
+

Retrieves a thumbnail pixbuf for the drawable identified by +drawable_ID +. The thumbnail will be not larger than the requested +size.

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + + + + + + +

drawable_ID

the drawable ID

 

width

the requested thumbnail width (<= 1024 pixels)

 

height

the requested thumbnail height (<= 1024 pixels)

 

alpha

how to handle an alpha channel

 
+
+
+

Returns

+

a new GdkPixbuf

+
+

Since: 2.2

+
+
+
+

gimp_drawable_get_sub_thumbnail ()

+
GdkPixbuf *
+gimp_drawable_get_sub_thumbnail (gint32 drawable_ID,
+                                 gint src_x,
+                                 gint src_y,
+                                 gint src_width,
+                                 gint src_height,
+                                 gint dest_width,
+                                 gint dest_height,
+                                 GimpPixbufTransparency alpha);
+

Retrieves a thumbnail pixbuf for the drawable identified by +drawable_ID +. The thumbnail will be not larger than the requested +size.

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

drawable_ID

the drawable ID

 

src_x

the x coordinate of the area

 

src_y

the y coordinate of the area

 

src_width

the width of the area

 

src_height

the height of the area

 

dest_width

the requested thumbnail width (<= 1024 pixels)

 

dest_height

the requested thumbnail height (<= 1024 pixels)

 

alpha

how to handle an alpha channel

 
+
+
+

Returns

+

a new GdkPixbuf

+
+

Since: 2.2

+
+
+
+

Types and Values

+
+

enum GimpPixbufTransparency

+

How to deal with transparency when creating thubnail pixbufs from +images and drawables.

+
+

Members

+
+++++ + + + + + + + + + + + + + + + + + +

GIMP_PIXBUF_KEEP_ALPHA

+

Create a pixbuf with alpha

+
 

GIMP_PIXBUF_SMALL_CHECKS

+

Show transparency as small checks

+
 

GIMP_PIXBUF_LARGE_CHECKS

+

Show transparency as large checks

+
 
+
+
+
+
+ + + \ No newline at end of file -- cgit v1.2.3