?? gdk-pixbuf-unused.sgml
字號:
<!-- ##### SECTION ./tmpl/xlib-init.sgml:See_Also ##### --> <para> XlibRGB </para><!-- ##### SECTION ./tmpl/xlib-init.sgml:Short_Description ##### -->Initializing the &gdk-pixbuf; Xlib library.<!-- ##### SECTION ./tmpl/xlib-init.sgml:Title ##### -->&gdk-pixbuf; Xlib initialization<!-- ##### SECTION ./tmpl/xlib-rendering.sgml:Long_Description ##### --> <para> The &gdk-pixbuf; Xlib library provides several convenience functions to render pixbufs to X drawables. It uses XlibRGB to render the image data. </para> <para> These functions are analogous to those for the Gdk version of &gdk-pixbuf;. </para><!-- ##### SECTION ./tmpl/xlib-rendering.sgml:See_Also ##### --><para></para><!-- ##### SECTION ./tmpl/xlib-rendering.sgml:Short_Description ##### -->Rendering a pixbuf to an X drawable.<!-- ##### SECTION ./tmpl/xlib-rendering.sgml:Title ##### -->Xlib Rendering<!-- ##### SECTION ./tmpl/xlib-rgb.sgml:Long_Description ##### --> <para> The XlibRGB set of functions is a port of the GdkRGB library to use plain Xlib and X drawables. You can use these functions to render RGB buffers into drawables very quickly with high-quality dithering. </para><!-- ##### SECTION ./tmpl/xlib-rgb.sgml:See_Also ##### --> <para> GdkRGB </para><!-- ##### SECTION ./tmpl/xlib-rgb.sgml:Short_Description ##### -->Functions for rendering RGB buffers to X drawables.<!-- ##### SECTION ./tmpl/xlib-rgb.sgml:Title ##### -->XlibRGB<!-- ##### MACRO GDK_PIXBUF_LOADER ##### --> <para> Casts a #GtkObject to a #GdkPixbufLoader. </para>@obj: A GTK+ object.<!-- ##### MACRO GNOME_CANVAS_PIXBUF ##### --> <para> Casts a #GtkOjbect to a #GnomeCanvasPixbuf. </para>@obj: A GTK+ object.<!-- ##### STRUCT GdkPixbufFrame ##### --><para> This object describes an individual frame of an animation.</para><!-- ##### ENUM GdkPixbufFrameAction ##### --><para></para>@GDK_PIXBUF_FRAME_RETAIN: @GDK_PIXBUF_FRAME_DISPOSE: @GDK_PIXBUF_FRAME_REVERT: <!-- ##### USER_FUNCTION GdkPixbufLastUnref ##### --> <para> A function of this type can be used to override the default operation when a pixbuf loses its last reference, i.e. when gdk_pixbuf_unref() is called on a #GdkPixbuf structure that has a reference count of 1. This function should determine whether to finalize the pixbuf by calling gdk_pixbuf_finalize(), or whether to just resume normal execution. The last unref handler for a #GdkPixbuf can be set using the gdk_pixbuf_set_last_unref_handler() function. By default, pixbufs will be finalized automatically if no last unref handler has been defined. </para>@pixbuf: The pixbuf that is losing its last reference.@data: User closure data.<!-- ##### ARG GnomeCanvasPixbuf:height ##### --> <para> Indicates the height the pixbuf will be scaled to. This argument will only be used if the <link linkend="GnomeCanvasPixbuf--height-set">height_set</link> argument is %TRUE. Works in the same way as the <link linkend="GnomeCanvasPixbuf--width">width</link> argument. </para><!-- ##### ARG GnomeCanvasPixbuf:height-in-pixels ##### --> <para> Works in the same way as the <link linkend="GnomeCanvasPixbuf--width-in-pixels">width_in_pixels</link> argument. The default is %FALSE. </para><!-- ##### ARG GnomeCanvasPixbuf:height-pixels ##### --><para></para><!-- ##### ARG GnomeCanvasPixbuf:height-set ##### --> <para> Determines whether the <link linkend="GnomeCanvasPixbuf--height">height</link> argument is taken into account when scaling the pixbuf item. Works in the same way as the <link linkend="GnomeCanvasPixbuf--width-set">width_set</link> argument. The default is %FALSE. </para><!-- ##### ARG GnomeCanvasPixbuf:pixbuf ##### --> <para> Contains a pointer to a #GdkPixbuf structure that will be used by the pixbuf canvas item as an image source. When a pixbuf is set its reference count is incremented; if the pixbuf item kept a pointer to another #GdkPixbuf structure, the reference count of this structure will be decremented. Also, the GdkPixbuf's reference count will automatically be decremented when the #GnomeCanvasPixbuf item is destroyed. When a pixbuf is queried, a reference count will not be added to the return value; you must do this yourself if you intend to keep the pixbuf structure around. </para><!-- ##### ARG GnomeCanvasPixbuf:width ##### --> <para> Indicates the width the pixbuf will be scaled to. This argument will only be used if the <link linkend="GnomeCanvasPixbuf--width-set">width_set</link> argument is %TRUE. If the <link linkend="GnomeCanvasPixbuf--width-in-pixels">width_in_pixels</link> argument is %FALSE, the width will be taken to be in canvas units, and thus will be scaled along with the canvas item's affine transformation. If width_in_pixels is %TRUE, the width will be taken to be in pixels, and will visually remain a constant size even if the item's affine transformation changes. </para><!-- ##### ARG GnomeCanvasPixbuf:width-in-pixels ##### --> <para> If this argument is %TRUE, then the width of the pixbuf will be considered to be in pixels, that is, it will not be visually scaled even if the item's affine transformation changes. If this is %FALSE, then the width of the pixbuf will be considered to be in canvas units, and so will be scaled normally by affine transformations. The default is %FALSE. </para><!-- ##### ARG GnomeCanvasPixbuf:width-pixels ##### --><para></para><!-- ##### ARG GnomeCanvasPixbuf:width-set ##### --> <para> Determines whether the <link linkend="GnomeCanvasPixbuf--width">width</link> argument is taken into account when scaling the pixbuf item. If this argument is %FALSE, then the width value of the pixbuf will be used instead. This argument is %FALSE by default. </para><!-- ##### ARG GnomeCanvasPixbuf:x ##### --> <para> Indicates the horizontal translation offset of the pixbuf item's image. This offset may not actually appear horizontal, since it will be affected by the item's affine transformation. The default is 0.0. </para><!-- ##### ARG GnomeCanvasPixbuf:x-in-pixels ##### --> <para> If this argument is %TRUE, the pixbuf's translation with respect to its logical origin in item-relative coordinates will be in pixels, that is, the visible offset will not change even if the item's affine transformation changes. If it is %FALSE, the pixbuf's translation will be taken to be in canvas units, and thus will change along with the item's affine transformation. The default is %FALSE. </para><!-- ##### ARG GnomeCanvasPixbuf:x-pixels ##### --><para></para><!-- ##### ARG GnomeCanvasPixbuf:x-set ##### --> <para> Determines whether the <link linkend="GnomeCanvasPixbuf--x">x</link> argument is used to translate the pixbuf from its logical origin in item-relative coordinates. </para><!-- ##### ARG GnomeCanvasPixbuf:y ##### --> <para> Indicates the vertical translation offset of the pixbuf item's image. Works in the same way as the <link linkend="GnomeCanvasPixbuf--x">x</link> argument. The default is 0.0. </para><!-- ##### ARG GnomeCanvasPixbuf:y-in-pixels ##### --> <para> Works in the same way as the <link linkend="GnomeCanvasPixbuf--x-in-pixels">x_in_pixels</link> argument, but controls whether the <link linkend="GnomeCanvasPixbuf--y">y</link> translation offset is scaled or not. The default is %FALSE. </para><!--Local variables:mode: sgmlsgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")End:--><!-- ##### ARG GnomeCanvasPixbuf:y-pixels ##### --><para></para><!-- ##### ARG GnomeCanvasPixbuf:y-set ##### --> <para> Determines whether the <link linkend="GnomeCanvasPixbuf--y">y</link> argument is used to translate the pixbuf from its logical origin in item-relative coordinates. Works in the same way as the <link linkend="GnomeCanvasPixbuf--x-set">x_set</link> argument. The default is %FALSE. </para><!-- ##### FUNCTION gdk_pixbuf_new_from_stream ##### --><para></para>@stream_length: @stream: @copy_pixels: @error: @Returns:
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -