forked from AuroraMiddleware/gtk
65de04cdb8
2000-01-05 Owen Taylor <otaylor@redhat.com> * doc/Makefile.am doc/gdk-pixbuf-sections.txt doc/gdk-pixbuf.sgml doc/tmpl/scaling.sgml: Added scaling functions into gtk-doc framework. * gdk-pixbuf/gdk-pixbuf-scale.c: Documentation fixes. * gdk-pixbuf/testpixbuf-scale.c (expose_cb): Simplify a bit. * gdk-pixbuf/pixops/pixops.c (pixops_composite_color): Return immediately if scale_x or scale_y is 0.
43 lines
932 B
Plaintext
43 lines
932 B
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
Drawables to Pixbufs
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
Getting parts of a drawable's image data into a pixbuf.
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
The functions in this section allow you to take the image data
|
|
from a GDK drawable and dump it into a #GdkPixbuf. This can be
|
|
used for screenshots and other special effects. Note that these
|
|
operations can be expensive, since the image data has to be
|
|
transferred from the X server to the client program and converted.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
#GdkPixbuf, gdk_image_get()
|
|
</para>
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_get_from_drawable ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@dest:
|
|
@src:
|
|
@cmap:
|
|
@src_x:
|
|
@src_y:
|
|
@dest_x:
|
|
@dest_y:
|
|
@width:
|
|
@height:
|
|
@Returns: <!--
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")
|
|
End:
|
|
-->
|
|
|
|
|