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 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>GTK+ Foundation Classes</title>
<link href="gfc.css" rel="stylesheet" type="text/css">
<meta content="The GFC Development Team" name="author">
<meta content="Core Library Reference Manual" name="description">
</head>
<body style="color: rgb(0, 0, 0); background-color: rgb(243, 244, 248);"
alink="#000099" link="#000099" vlink="#990099">
<table style="text-align: left; width: 1227px; height: 117px;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td
style="text-align: center; background-color: rgb(255, 255, 255); width: 220px; vertical-align: top;"><img
alt="GFC Logo" src="../images/gfc.png"
style="width: 207px; height: 92px;"></td>
<td
style="text-align: center; background-color: rgb(87, 107, 152); vertical-align: middle;"><img
alt="GFC Title Logo" src="../images/gfc-title.png"
style="width: 418px; height: 76px;"><br>
</td>
</tr>
<tr>
<td
style="text-align: center; background-color: rgb(65, 77, 104); vertical-align: middle;"><big><span
style="color: rgb(255, 255, 153); font-weight: bold;">Reference Manual</span></big><br>
</td>
<td
style="text-align: center; background-color: rgb(148, 164, 200); vertical-align: middle;"><small
style="font-family: helvetica,arial,sans-serif;"><a
href="../html/index.html">Main Page</a> | <a
href="../html/namespaces.html">Namespace List</a> | <a
href="classes.html">Alphabetical List</a> | <a
href="../html/annotated.html">Class List</a> | <a
href="../html/files.html">File List</a></small><br>
</td>
</tr>
</tbody>
</table>
<small> </small>
</body>
</html>
<!-- Generated by Doxygen 1.3.8 -->
<h1>drawable.hh</h1><a href="drawable_8hh.html">Go to the documentation of this file.</a><pre class="fragment"><div>00001 <span class="comment">/* GFC-UI: GTK+ Foundation Classes (User Interface Library)</span>
00002 <span class="comment"> * Copyright (C) 2002-2004 The GFC Development Team.</span>
00003 <span class="comment"> *</span>
00004 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span>
00005 <span class="comment"> * it under the terms of the GNU General Public License as published by</span>
00006 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span>
00007 <span class="comment"> * (at your option) any later version.</span>
00008 <span class="comment"> *</span>
00009 <span class="comment"> * This program is distributed in the hope that it will be useful,</span>
00010 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
00011 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span>
00012 <span class="comment"> * GNU Library General Public License for more details.</span>
00013 <span class="comment"> *</span>
00014 <span class="comment"> * You should have received a copy of the GNU Library General Public License</span>
00015 <span class="comment"> * along with this program; if not, write to the Free Software</span>
00016 <span class="comment"> * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</span>
00017 <span class="comment"> */</span>
00018
00023
00024 <span class="preprocessor">#ifndef GFC_GDK_DRAWABLE_HH</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define GFC_GDK_DRAWABLE_HH</span>
00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#ifndef GFC_G_OBJECT_HH</span>
00028 <span class="preprocessor"></span><span class="preprocessor">#include <gfc/glib/object.hh></span>
00029 <span class="preprocessor">#endif</span>
00030 <span class="preprocessor"></span>
00031 <span class="preprocessor">#ifndef GFC_GDK_GC_HH</span>
00032 <span class="preprocessor"></span><span class="preprocessor">#include <<a class="code" href="gdk_2gc_8hh.html">gfc/gdk/gc.hh</a>></span>
00033 <span class="preprocessor">#endif</span>
00034 <span class="preprocessor"></span>
00035 <span class="preprocessor">#ifndef GFC_GDK_TYPES_HH</span>
00036 <span class="preprocessor"></span><span class="preprocessor">#include <<a class="code" href="gdk_2types_8hh.html">gfc/gdk/types.hh</a>></span>
00037 <span class="preprocessor">#endif</span>
00038 <span class="preprocessor"></span>
00039 <span class="keyword">namespace </span>GFC {
00040
<a name="l00041"></a><a class="code" href="namespaceGFC_1_1Pango.html">00041</a> <span class="keyword">namespace </span>Pango {
00042 <span class="keyword">class </span><a class="code" href="classGFC_1_1Pango_1_1Font.html">Font</a>;
00043 <span class="keyword">class </span><a class="code" href="classGFC_1_1Pango_1_1GlyphString.html">GlyphString</a>;
00044 <span class="keyword">class </span><a class="code" href="classGFC_1_1Pango_1_1Layout.html">Layout</a>;
00045 <span class="keyword">class </span><a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html">LayoutLine</a>;
00046 }
00047
00048 <span class="keyword">namespace </span>Gdk {
00049
00050 <span class="keyword">class </span>Display;
00051 <span class="keyword">class </span>Image;
00052 <span class="keyword">class </span>Pixbuf;
00053 <span class="keyword">class </span>Segment;
00054 <span class="keyword">class </span>Screen;
00055 <span class="keyword">class </span>Visual;
00056
00069
<a name="l00070"></a><a class="code" href="classGFC_1_1Gdk_1_1Drawable.html">00070</a> <span class="keyword">class </span><a class="code" href="classGFC_1_1Gdk_1_1Drawable.html">Drawable</a> : <span class="keyword">public</span> G::<a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Object.html">Object</a>
00071 {
00072 <span class="keyword">friend</span> <span class="keyword">class </span><a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html">G::Object</a>;
00073
00074 <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z132_0">Drawable</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html">Drawable</a>&);
00075 <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html">Drawable</a>& operator=(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html">Drawable</a>&);
00076
00077 <span class="keyword">protected</span>:
00080
00081 <span class="keyword">explicit</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z132_0">Drawable</a>(GdkDrawable *drawable, <span class="keywordtype">bool</span> owns_reference = <span class="keyword">true</span>);
00088
00090
00091 <span class="keyword">public</span>:
00094
00095 <span class="keyword">virtual</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z133_0">~Drawable</a>() = 0;
00097
00101
00102 GdkDrawable* <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z134_0">gdk_drawable</a>() <span class="keyword">const</span>;
00104
00105 <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z134_1">operator GdkDrawable* </a>() <span class="keyword">const</span>;
00107
00108 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z134_2">get_size</a>(<span class="keywordtype">int</span> *width, <span class="keywordtype">int</span> *height) <span class="keyword">const</span>;
00117
00118 <a class="code" href="classGFC_1_1Gdk_1_1Colormap.html">Colormap</a>* <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z134_3">get_colormap</a>() <span class="keyword">const</span>;
00121
00122 <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1Visual.html">Visual</a>* <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z134_4">get_visual</a>() <span class="keyword">const</span>;
00125
00126 <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z134_5">get_depth</a>() <span class="keyword">const</span>;
00132
00133 <a class="code" href="classGFC_1_1Gdk_1_1Screen.html">Screen</a>* <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z134_6">get_screen</a>() <span class="keyword">const</span>;
00136
00137 <a class="code" href="classGFC_1_1Gdk_1_1Display.html">Display</a>* <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z134_7">get_display</a>() <span class="keyword">const</span>;
00140
00141 <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer<Image></a> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z134_8">get_image</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height) <span class="keyword">const</span>;
00170
00171 <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer<Region></a> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z134_9">get_clip_region</a>() <span class="keyword">const</span>;
00180
00181 <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer<Region></a> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z134_10">get_visible_region</a>() <span class="keyword">const</span>;
00187
00188 <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer<Pixbuf></a> get_pixbuf(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <a class="code" href="classGFC_1_1Gdk_1_1Colormap.html">Colormap</a> *colormap = 0) <span class="keyword">const</span>;
00189 <span class="comment">// Returns a new Pixbuf created from this drawable. If drawable is a pixmap a colormap must be specified.</span>
00190
00194
00195 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_0">set_colormap</a>(<a class="code" href="classGFC_1_1Gdk_1_1Colormap.html">Colormap</a> *colormap);
00204
00205 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_1">copy_to_image</a>(<a class="code" href="classGFC_1_1Gdk_1_1Image.html">Image</a>& image, <span class="keywordtype">int</span> src_x, <span class="keywordtype">int</span> src_y, <span class="keywordtype">int</span> dest_x, <span class="keywordtype">int</span> dest_y, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);
00215
00216 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_1">copy_to_image</a>(<a class="code" href="classGFC_1_1Gdk_1_1Image.html">Image</a>& image, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1Rectangle.html">Rectangle</a>& src_rect, <span class="keywordtype">int</span> dest_x, <span class="keywordtype">int</span> dest_y);
00223
00224 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_3">draw_point</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);
00229
00230 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_3">draw_point</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1Point.html">Point</a>& point);
00234
00235 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_5">draw_points</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc, <span class="keyword">const</span> std::vector<Point>& points);
00239
00240 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_6">draw_line</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc, <span class="keywordtype">int</span> x1, <span class="keywordtype">int</span> y1, <span class="keywordtype">int</span> x2, <span class="keywordtype">int</span> y2);
00247
00248 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_6">draw_line</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1Segment.html">Segment</a>& seg);
00252
00253 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_8">draw_lines</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc, <span class="keyword">const</span> std::vector<Point>& points);
00260
00261 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_9">draw_segments</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc, <span class="keyword">const</span> std::vector<Segment>& segs);
00265
00266 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_10">draw_rectangle</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">bool</span> filled = <span class="keyword">true</span>);
00282
00283 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_10">draw_rectangle</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1Rectangle.html">Rectangle</a>& rectangle, <span class="keywordtype">bool</span> filled = <span class="keyword">true</span>);
00296
00297 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_12">draw_arc</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">int</span> angle1, <span class="keywordtype">int</span> angle2, <span class="keywordtype">bool</span> filled = <span class="keyword">true</span>);
00311
00312 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_12">draw_arc</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1Rectangle.html">Rectangle</a>& rectangle, <span class="keywordtype">int</span> angle1, <span class="keywordtype">int</span> angle2, <span class="keywordtype">bool</span> filled = <span class="keyword">true</span>);
00323
00324 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_14">draw_polygon</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc, <span class="keyword">const</span> std::vector<Point>& points, <span class="keywordtype">bool</span> filled = <span class="keyword">true</span>);
00331
00332 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_15">draw_drawable</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html">Drawable</a>& src, <span class="keywordtype">int</span> xsrc, <span class="keywordtype">int</span> ysrc, <span class="keywordtype">int</span> xdest, <span class="keywordtype">int</span> ydest, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);
00352
00353 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_15">draw_drawable</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html">Drawable</a>& src, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1Rectangle.html">Rectangle</a>& src_rect, <span class="keywordtype">int</span> xdest, <span class="keywordtype">int</span> ydest);
00369
00370 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_17">draw_image</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1Image.html">Image</a>& image, <span class="keywordtype">int</span> xsrc, <span class="keywordtype">int</span> ysrc, <span class="keywordtype">int</span> xdest, <span class="keywordtype">int</span> ydest, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);
00384
00385 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_18">draw_glyphs</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1Font.html">Pango::Font</a> *font, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1GlyphString.html">Pango::GlyphString</a> *glyphs);
00397
00398 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_19">draw_layout_line</a>
00399 (
00400 <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc,
00401 <span class="keywordtype">int</span> x,
00402 <span class="keywordtype">int</span> y,
00403 <span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html">Pango::LayoutLine</a>& line,
00404 <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1Color.html">Color</a> *foreground = 0,
00405 <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1Color.html">Color</a> *background = 0
00406 );
00417
00418 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_20">draw_layout</a>
00419 (
00420 <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc,
00421 <span class="keywordtype">int</span> x,
00422 <span class="keywordtype">int</span> y,
00423 <span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html">Pango::Layout</a>& layout,
00424 <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1Color.html">Color</a> *foreground = 0,
00425 <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1Color.html">Color</a> *background = 0
00426 );
00437
00438 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z135_21">draw_pixbuf</a>
00439 (
00440 <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a> *gc,
00441 <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1Pixbuf.html">Pixbuf</a>& pixbuf,
00442 <span class="keywordtype">int</span> src_x,
00443 <span class="keywordtype">int</span> src_y,
00444 <span class="keywordtype">int</span> dest_x,
00445 <span class="keywordtype">int</span> dest_y,
00446 <span class="keywordtype">int</span> width,
00447 <span class="keywordtype">int</span> height,
00448 <a class="code" href="namespaceGFC_1_1Gdk.html#a287">RgbDither</a> dither,
00449 <span class="keywordtype">int</span> x_dither,
00450 <span class="keywordtype">int</span> y_dither
00451 );
00470
00474
00475 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z136_0">draw_rgb_image</a>
00476 (
00477 <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc,
00478 <span class="keywordtype">int</span> x,
00479 <span class="keywordtype">int</span> y,
00480 <span class="keywordtype">int</span> width,
00481 <span class="keywordtype">int</span> height,
00482 <a class="code" href="namespaceGFC_1_1Gdk.html#a287">RgbDither</a> dith,
00483 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *rgb_buf,
00484 <span class="keywordtype">int</span> rowstride
00485 );
00506
00507 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z136_1">draw_rgb_image_dithalign</a>
00508 (
00509 <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc,
00510 <span class="keywordtype">int</span> x,
00511 <span class="keywordtype">int</span> y,
00512 <span class="keywordtype">int</span> width,
00513 <span class="keywordtype">int</span> height,
00514 <a class="code" href="namespaceGFC_1_1Gdk.html#a287">RgbDither</a> dith,
00515 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *rgb_buf,
00516 <span class="keywordtype">int</span> rowstride,
00517 <span class="keywordtype">int</span> xdith,
00518 <span class="keywordtype">int</span> ydith
00519 );
00539
00540 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z136_2">draw_rgb_32_image</a>
00541 (
00542 <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc,
00543 <span class="keywordtype">int</span> x,
00544 <span class="keywordtype">int</span> y,
00545 <span class="keywordtype">int</span> width,
00546 <span class="keywordtype">int</span> height,
00547 <a class="code" href="namespaceGFC_1_1Gdk.html#a287">RgbDither</a> dith,
00548 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *buf,
00549 <span class="keywordtype">int</span> rowstride
00550 );
00566
00567 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z136_3">draw_rgb_32_image_dithalign</a>
00568 (
00569 <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc,
00570 <span class="keywordtype">int</span> x,
00571 <span class="keywordtype">int</span> y,
00572 <span class="keywordtype">int</span> width,
00573 <span class="keywordtype">int</span> height,
00574 <a class="code" href="namespaceGFC_1_1Gdk.html#a287">RgbDither</a> dith,
00575 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *buf,
00576 <span class="keywordtype">int</span> rowstride,
00577 <span class="keywordtype">int</span> xdith,
00578 <span class="keywordtype">int</span> ydith
00579 );
00591
00592 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z136_4">draw_gray_image</a>
00593 (
00594 <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc,
00595 <span class="keywordtype">int</span> x,
00596 <span class="keywordtype">int</span> y,
00597 <span class="keywordtype">int</span> width,
00598 <span class="keywordtype">int</span> height,
00599 <a class="code" href="namespaceGFC_1_1Gdk.html#a287">RgbDither</a> dith,
00600 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *buf,
00601 <span class="keywordtype">int</span> rowstride
00602 );
00612
00613 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gdk_1_1Drawable.html#z136_5">draw_indexed_image</a>
00614 (
00615 <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gdk_1_1GC.html">GC</a>& gc,
00616 <span class="keywordtype">int</span> x,
00617 <span class="keywordtype">int</span> y,
00618 <span class="keywordtype">int</span> width,
00619 <span class="keywordtype">int</span> height,
00620 <a class="code" href="namespaceGFC_1_1Gdk.html#a287">RgbDither</a> dith,
00621 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *buf,
00622 <span class="keywordtype">int</span> rowstride,
00623 GdkRgbCmap *cmap
00624 );
00635
00637 };
00638
00639 } <span class="comment">// namespace Gdk</span>
00640
00641 } <span class="comment">// namespace GFC</span>
00642
00643 <span class="preprocessor">#include <gfc/gdk/inline/drawable.inl></span>
00644
00645 <span class="preprocessor">#endif // GFC_GDK_DRAWABLE_HH</span>
00646 <span class="preprocessor"></span>
</div></pre><hr size="1"><address style="align: right;"><small>Generated on Tue Aug 24 00:34:30 2004 for GFC-UI by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
</body>
</html>
|