File: GnomeCanvasPixbuf.html

package info (click to toggle)
libgnomecanvas 2.30.3-1.2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 4,868 kB
  • sloc: ansic: 15,402; sh: 11,080; makefile: 204
file content (213 lines) | stat: -rw-r--r-- 13,256 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GnomeCanvasPixbuf</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" 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.16 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" 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>
<tr><td colspan="5" class="shortcuts">
<a href="#GnomeCanvasPixbuf.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GnomeCanvasPixbuf.description" class="shortcut">Description</a>
                   | 
                  <a href="#GnomeCanvasPixbuf.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GnomeCanvasPixbuf.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="GnomeCanvasPixbuf"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GnomeCanvasPixbuf.top_of_page"></a>GnomeCanvasPixbuf</span></h2>
<p>GnomeCanvasPixbuf — Pixbuf image canvas item</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GnomeCanvasPixbuf.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;libgnomecanvas/libgnomecanvas.h&gt;

struct              <a class="link" href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf-struct" title="struct GnomeCanvasPixbuf">GnomeCanvasPixbuf</a>;
</pre>
</div>
<div class="refsect1">
<a name="GnomeCanvasPixbuf.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
         +----<a href="../gtk/GtkObject.html">GtkObject</a>
               +----<a class="link" href="GnomeCanvasItem.html" title="GnomeCanvasItem">GnomeCanvasItem</a>
                     +----GnomeCanvasPixbuf
</pre>
</div>
<div class="refsect1">
<a name="GnomeCanvasPixbuf.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--anchor" title='The "anchor" property'>anchor</a>"                   <a href="../gtk/gtk-Standard-Enumerations.html#GtkAnchorType"><span class="type">GtkAnchorType</span></a>         : Read / Write
  "<a class="link" href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--height" title='The "height" property'>height</a>"                   <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
  "<a class="link" href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--height-in-pixels" title='The "height-in-pixels" property'>height-in-pixels</a>"         <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--height-set" title='The "height-set" property'>height-set</a>"               <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--pixbuf" title='The "pixbuf" property'>pixbuf</a>"                   <a href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>*            : Read / Write
  "<a class="link" href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--width" title='The "width" property'>width</a>"                    <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
  "<a class="link" href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--width-in-pixels" title='The "width-in-pixels" property'>width-in-pixels</a>"          <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--width-set" title='The "width-set" property'>width-set</a>"                <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--x" title='The "x" property'>x</a>"                        <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
  "<a class="link" href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--x-in-pixels" title='The "x-in-pixels" property'>x-in-pixels</a>"              <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--y" title='The "y" property'>y</a>"                        <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
  "<a class="link" href="GnomeCanvasPixbuf.html#GnomeCanvasPixbuf--y-in-pixels" title='The "y-in-pixels" property'>y-in-pixels</a>"              <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GnomeCanvasPixbuf.description"></a><h2>Description</h2>
<p>
A canvas item for drawing pixbuf images.
</p>
</div>
<div class="refsect1">
<a name="GnomeCanvasPixbuf.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GnomeCanvasPixbuf-struct"></a><h3>struct GnomeCanvasPixbuf</h3>
<pre class="programlisting">struct 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">
<a name="GnomeCanvasPixbuf.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GnomeCanvasPixbuf--anchor"></a><h3>The <code class="literal">"anchor"</code> property</h3>
<pre class="programlisting">  "anchor"                   <a href="../gtk/gtk-Standard-Enumerations.html#GtkAnchorType"><span class="type">GtkAnchorType</span></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">
<a name="GnomeCanvasPixbuf--height"></a><h3>The <code class="literal">"height"</code> property</h3>
<pre class="programlisting">  "height"                   <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write</pre>
<p>
Pixbuf height.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasPixbuf--height-in-pixels"></a><h3>The <code class="literal">"height-in-pixels"</code> property</h3>
<pre class="programlisting">  "height-in-pixels"         <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if "height" parameter is in pixel units, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for canvas world units.
</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasPixbuf--height-set"></a><h3>The <code class="literal">"height-set"</code> property</h3>
<pre class="programlisting">  "height-set"               <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the "height" argument is set and should be used as the
pixbuf height, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to use the actual height of the image.
</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasPixbuf--pixbuf"></a><h3>The <code class="literal">"pixbuf"</code> property</h3>
<pre class="programlisting">  "pixbuf"                   <a href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>*            : Read / Write</pre>
<p>
The pixbuf image to draw.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasPixbuf--width"></a><h3>The <code class="literal">"width"</code> property</h3>
<pre class="programlisting">  "width"                    <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write</pre>
<p>
Pixbuf width.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasPixbuf--width-in-pixels"></a><h3>The <code class="literal">"width-in-pixels"</code> property</h3>
<pre class="programlisting">  "width-in-pixels"          <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if "width" parameter is in pixel units, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for canvas world units.
</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasPixbuf--width-set"></a><h3>The <code class="literal">"width-set"</code> property</h3>
<pre class="programlisting">  "width-set"                <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the "width" parameter is set and should be used as the
pixbuf width, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to use the actual width of the image.
</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasPixbuf--x"></a><h3>The <code class="literal">"x"</code> property</h3>
<pre class="programlisting">  "x"                        <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></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">
<a name="GnomeCanvasPixbuf--x-in-pixels"></a><h3>The <code class="literal">"x-in-pixels"</code> property</h3>
<pre class="programlisting">  "x-in-pixels"              <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to interpret the "x" parameter in pixel units, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for canvas world
units.
</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasPixbuf--y"></a><h3>The <code class="literal">"y"</code> property</h3>
<pre class="programlisting">  "y"                        <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></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">
<a name="GnomeCanvasPixbuf--y-in-pixels"></a><h3>The <code class="literal">"y-in-pixels"</code> property</h3>
<pre class="programlisting">  "y-in-pixels"              <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to interpret the "y" parameter in pixel units, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for canvas world
units.
</p>
<p>Default value: FALSE</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.16</div>
</body>
</html>