/usr/share/GNUstep/Documentation/Developer/Gui/Reference/NSImageCell.html is in gnustep-gui-doc 0.24.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>NSImageCell</title>
</head>
<body>
<font face="serif">
<a href="Gui.html">Up</a>
<br />
<h1><a name="title$NSImageCell">NSImageCell</a></h1>
<h3>Authors</h3>
<dl>
<dt>Jonathan Gapen (<a href="mailto:jagapen@smithlab.chem.wisc.edu"><code>jagapen@smithlab.chem.wisc.edu</code></a>)</dt>
<dd>
</dd>
</dl>
<blockquote>
The image cell class
</blockquote>
<p><b>Copyright:</b> (C) 1999, 2005 Free Software Foundation, Inc.</p>
<div>
</div>
<h1><a name="001000000000">
Software documentation for the NSImageCell class
</a></h1>
<h2><a name="class$NSImageCell">NSImageCell</a> : <a rel="gsdoc" href="NSCell.html#class$NSCell">NSCell</a></h2>
<blockquote class="declared">
<dl>
<dt><b>Declared in:</b></dt>
<dd>AppKit/NSImageCell.h</dd>
</dl>
</blockquote>
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
</p>
<p>
An NSImageCell is a cell that can display a single
image. It is normally associated with an NSImageView
control; but you can use it as a building block in
your own controls.
</p>
<p>
</p>
<p>
The image to display is set using the
<a rel="gsdoc" href="NSCell.html#method$NSCell-setImage$">
-setImage:
</a>
method which is inherited from the superclass.
</p>
<p>
</p>
<p>
The
<a rel="gsdoc" href="#method$NSImageCell-setImageAlignment$">
-setImageAlignment:
</a>
and
<a rel="gsdoc" href="#method$NSImageCell-setImageScaling$">
-setImageScaling:
</a>
methods can be used to control how the image is
drawn inside a rectangle which is larger or smaller
than the image size; the image might need to be
scaled, cropped or aligned.
</p>
<p>
</p>
<p>
The
<a rel="gsdoc" href="#method$NSImageCell-setImageFrameStyle$">
-setImageFrameStyle:
</a>
method can be used to control if the cell should
display a frame border, and which one.
</p>
<p>
</div>
<hr width="50%" align="left" />
<a href="#_NSImageCell_ivars">Instance Variables</a>
<br/><br/>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="NSImageCell.html#method$NSImageCell-imageAlignment">-imageAlignment</a></li>
<li><a rel="gsdoc" href="NSImageCell.html#method$NSImageCell-imageFrameStyle">-imageFrameStyle</a></li>
<li><a rel="gsdoc" href="NSImageCell.html#method$NSImageCell-imageScaling">-imageScaling</a></li>
<li><a rel="gsdoc" href="NSImageCell.html#method$NSImageCell-setImageAlignment$">-setImageAlignment:</a></li>
<li><a rel="gsdoc" href="NSImageCell.html#method$NSImageCell-setImageFrameStyle$">-setImageFrameStyle:</a></li>
<li><a rel="gsdoc" href="NSImageCell.html#method$NSImageCell-setImageScaling$">-setImageScaling:</a></li>
</ul>
<hr width="50%" align="left" />
<div class="method">
<h3><a name="method$NSImageCell-imageAlignment">imageAlignment </a></h3>
- (<a rel="gsdoc" href="TypesAndConstants.html#type$NSImageAlignment">NSImageAlignment</a>) <b>imageAlignment</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns the alignment used when displaying the
image inside a cell that is bigger than the image,
and NSScaleToFit has not been selected.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSImageCell-imageFrameStyle">imageFrameStyle </a></h3>
- (<a rel="gsdoc" href="TypesAndConstants.html#type$NSImageFrameStyle">NSImageFrameStyle</a>) <b>imageFrameStyle</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns the style used to draw the frame around the
image.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSImageCell-imageScaling">imageScaling </a></h3>
- (<a rel="gsdoc" href="TypesAndConstants.html#type$NSImageScaling">NSImageScaling</a>) <b>imageScaling</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns the type of image scaling used on the image
when the image natural size and the cell size are
different.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSImageCell-setImageAlignment$">setImageAlignment: </a></h3>
- (void) <b>setImageAlignment:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSImageAlignment">NSImageAlignment</a>)anAlignment;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Sets the alignment used when displaying the image
inside a cell that is bigger than the image, and
NSScaleToFit has not been selected.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSImageCell-setImageFrameStyle$">setImageFrameStyle: </a></h3>
- (void) <b>setImageFrameStyle:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSImageFrameStyle">NSImageFrameStyle</a>)aFrameStyle;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Sets the style used to draw the frame around the
image.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSImageCell-setImageScaling$">setImageScaling: </a></h3>
- (void) <b>setImageScaling:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSImageScaling">NSImageScaling</a>)scaling;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Sets the type of image <var>scaling</var> used on the
image when the image natural size and the cell size
are different.
</div>
<hr width="25%" align="left" />
</div>
<a name="_NSImageCell_ivars"/> <br/><hr width="50%" align="left" />
<h2>Instance Variables for NSImageCell Class</h2>
<h3><a name="ivariable$NSImageCell*_frameStyle">_frameStyle</a></h3>
@protected NSImageFrameStyle <b>_frameStyle</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Warning</em> the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically <em>private</em>, it is
intended for internal use within the package, and
you should not use the variable in other code.
</div>
<hr width="25%" align="left" />
<h3><a name="ivariable$NSImageCell*_imageAlignment">_imageAlignment</a></h3>
@protected NSImageAlignment <b>_imageAlignment</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Warning</em> the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically <em>private</em>, it is
intended for internal use within the package, and
you should not use the variable in other code.
</div>
<hr width="25%" align="left" />
<h3><a name="ivariable$NSImageCell*_imageScaling">_imageScaling</a></h3>
@protected NSImageScaling <b>_imageScaling</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Warning</em> the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically <em>private</em>, it is
intended for internal use within the package, and
you should not use the variable in other code.
</div>
<hr width="25%" align="left" />
<h3><a name="ivariable$NSImageCell*_original_image_size">_original_image_size</a></h3>
@protected NSSize <b>_original_image_size</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
<em>Warning</em> the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically <em>private</em>, it is
intended for internal use within the package, and
you should not use the variable in other code.
</div>
<hr width="25%" align="left" />
<br/><hr width="50%" align="left" /><br/>
<br />
<a href="Gui.html">Up</a>
</font>
</body>
</html>
|