|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21572/root/usr/share/gtk-doc/html/libgnomecanvas/ |
Upload File : |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GnomeCanvasPixbuf</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="GNOME Canvas Library Reference Manual">
<link rel="up" href="ch02.html" title="GNOME Canvas Library (libgnomecanvas)">
<link rel="prev" href="GnomeCanvasLine.html" title="GnomeCanvasLine">
<link rel="next" href="GnomeCanvasPolygon.html" title="GnomeCanvasPolygon">
<meta name="generator" content="GTK-Doc V1.4 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
<link rel="chapter" href="ch02.html" title="GNOME Canvas Library (libgnomecanvas)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="GnomeCanvasLine.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GNOME Canvas Library Reference Manual</th>
<td><a accesskey="n" href="GnomeCanvasPolygon.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry" lang="en">
<a name="GnomeCanvasPixbuf"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">GnomeCanvasPixbuf</span></h2>
<p>GnomeCanvasPixbuf — Pixbuf image canvas item</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
#include <libgnomecanvas/libgnomecanvas.h>
<a href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf-struct">GnomeCanvasPixbuf</a>;
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2677023"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a href="GnomeCanvasItem.html" title="GnomeCanvasItem">GnomeCanvasItem</a>
+----GnomeCanvasPixbuf
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2677056"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--anchor">anchor</a>" <a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkAnchorType"
>GtkAnchorType</a> : Read / Write
"<a href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--height">height</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--height-in-pixels">height-in-pixels</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--height-set">height-set</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--pixbuf">pixbuf</a>" <a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> : Read / Write
"<a href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--width">width</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--width-in-pixels">width-in-pixels</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--width-set">width-set</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--x">x</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--x-in-pixels">x-in-pixels</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--y">y</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--y-in-pixels">y-in-pixels</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2677273"></a><h2>Description</h2>
<p>
A canvas item for drawing pixbuf images.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2677283"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2677289"></a><h3>
<a name="GnomeCanvasPixbuf-struct"></a>GnomeCanvasPixbuf</h3>
<a class="indexterm" name="id2677300"></a><pre class="programlisting">typedef struct _GnomeCanvasPixbuf GnomeCanvasPixbuf;</pre>
<p>
This structure should not be accessed directly. Use the object's properties
for querying or changing its parameters.
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2677318"></a><h2>Properties</h2>
<div class="refsect2" lang="en">
<a name="id2677324"></a><h3>
<a name="GnomeCanvasPixbuf--anchor"></a>The "<code class="literal">anchor</code>" property</h3>
<pre class="programlisting"> "anchor" <a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkAnchorType"
>GtkAnchorType</a> : Read / Write</pre>
<p>
Anchor (handle) position within the pixbuf, defaults to GTK_ANCHOR_NW (top left
hand corner). The anchor is the point of reference for positioning the image.
</p>
<p>Default value: GTK_ANCHOR_NORTH_WEST</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2677363"></a><h3>
<a name="GnomeCanvasPixbuf--height"></a>The "<code class="literal">height</code>" property</h3>
<pre class="programlisting"> "height" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p>
Pixbuf height.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2677400"></a><h3>
<a name="GnomeCanvasPixbuf--height-in-pixels"></a>The "<code class="literal">height-in-pixels</code>" property</h3>
<pre class="programlisting"> "height-in-pixels" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>
<code class="literal">TRUE</code> if "height" parameter is in pixel units, <code class="literal">FALSE</code> for canvas world units.
</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2677449"></a><h3>
<a name="GnomeCanvasPixbuf--height-set"></a>The "<code class="literal">height-set</code>" property</h3>
<pre class="programlisting"> "height-set" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>
<code class="literal">TRUE</code> if the "height" argument is set and should be used as the
pixbuf height, <code class="literal">FALSE</code> to use the actual height of the image.
</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2677499"></a><h3>
<a name="GnomeCanvasPixbuf--pixbuf"></a>The "<code class="literal">pixbuf</code>" property</h3>
<pre class="programlisting"> "pixbuf" <a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> : Read / Write</pre>
<p>
The pixbuf image to draw.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2677531"></a><h3>
<a name="GnomeCanvasPixbuf--width"></a>The "<code class="literal">width</code>" property</h3>
<pre class="programlisting"> "width" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p>
Pixbuf width.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2677568"></a><h3>
<a name="GnomeCanvasPixbuf--width-in-pixels"></a>The "<code class="literal">width-in-pixels</code>" property</h3>
<pre class="programlisting"> "width-in-pixels" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>
<code class="literal">TRUE</code> if "width" parameter is in pixel units, <code class="literal">FALSE</code> for canvas world units.
</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2677617"></a><h3>
<a name="GnomeCanvasPixbuf--width-set"></a>The "<code class="literal">width-set</code>" property</h3>
<pre class="programlisting"> "width-set" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>
<code class="literal">TRUE</code> if the "width" parameter is set and should be used as the
pixbuf width, <code class="literal">FALSE</code> to use the actual width of the image.
</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2677667"></a><h3>
<a name="GnomeCanvasPixbuf--x"></a>The "<code class="literal">x</code>" property</h3>
<pre class="programlisting"> "x" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p>
The x coordinate of the position to place the pixbuf at.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2677705"></a><h3>
<a name="GnomeCanvasPixbuf--x-in-pixels"></a>The "<code class="literal">x-in-pixels</code>" property</h3>
<pre class="programlisting"> "x-in-pixels" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>
<code class="literal">TRUE</code> to interpret the "x" parameter in pixel units, <code class="literal">FALSE</code> for canvas world
units.
</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2677754"></a><h3>
<a name="GnomeCanvasPixbuf--y"></a>The "<code class="literal">y</code>" property</h3>
<pre class="programlisting"> "y" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p>
The y coordinate of the position to place the pixbuf at.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2677791"></a><h3>
<a name="GnomeCanvasPixbuf--y-in-pixels"></a>The "<code class="literal">y-in-pixels</code>" property</h3>
<pre class="programlisting"> "y-in-pixels" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>
<code class="literal">TRUE</code> to interpret the "y" parameter in pixel units, <code class="literal">FALSE</code> for canvas world
units.
</p>
<p>Default value: FALSE</p>
</div>
</div>
</div>
<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle">
<td align="left"><a accesskey="p" href="GnomeCanvasLine.html"><b><< GnomeCanvasLine</b></a></td>
<td align="right"><a accesskey="n" href="GnomeCanvasPolygon.html"><b>GnomeCanvasPolygon >></b></a></td>
</tr></table>
</body>
</html>