<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--
Copyright (c) 2006 UGS Corp.

All Rights Reserved.

This software and related documentation are proprietary to UGS Corp.
-->
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>Line Antialiasing</title>
      <script language="javaScript">
        abridged="false";
        displayConditions=new Array();
      </script>
      <link type="text/css" href="../css/main_styles.css" rel="stylesheet">
   </head>
   <body class="bodydocs" onload="top.pageLoader()" bgcolor="#FFFFFF">
      <div class="title_topic4" id="xps10_pagetitle">Line Antialiasing</div>
      <hr noshade="true">
      <p class="para_topic">When Line Antialiasing is turned on, lines, curves, and edges are drawn more smoothly. &quot;Aliasing&quot; refers to the jagged, stair-step appearance of lines drawn across the screen, and it occurs because lines are drawn by filling individual pixels on the screen which are arranged in a rectangular grid pattern. &quot;Antialiasing&quot; is an alternate process of filling pixels to give a smoother, truer line appearance. Enabling the Line Antialiasing option affects the appearance of lines only. It does not affect the appearance of the edges of shaded or filled regions.</p>
      <p class="para_topic">Line Antialiasing should be turned on only when top-quality images are desired, because it can degrade drawing performance and it can produce unexpected colors during editing operations. You can use the Visual option to turn it off or, equivalently, you can use Preferences &rarr; Visualization Performance to turn on Disable Line Antialiasing. The two settings are synchronized, so whenever you modify one, the other is correspondingly changed.</p>
      <p class="para_topic">Line Antialiasing is a session attribute, so it applies to views in all parts in the session. The attribute setting is determined as follows:</p>
      <ol type="1" start="1">
         <li>
            <p class="para_item">If you previously used the Visualization Preferences dialog box to modify the attribute, then that setting is used. Note that the setting is saved, for each user, from session to session.</p>
         </li>
         <li>
            <p class="para_item">If you have never modified the attribute, then the setting is initialized to the value specified by the UGII_LINE_ANITALIASING environment variable, if it is set. The variable can be set to TRUE or FALSE.</p>
            <table border="0">
               <tr>
                  <td valign="top" align="left"><img align="left" src="../graphics/note.gif" alt="Note" title="Note"></td>
                  <td valign="bottom" align="left" width="100%">
                     <div class="para_note">
                        <p class="para_note_body">This environment variable is not listed in the default .ugii_env (UNIX) or .ugii_env.dat (Windows) environment variable file supplied with NX. </p>
                     </div>
                  </td>
               </tr>
            </table>
         </li>
         <li>
            <p class="para_item">If the environment variable is unset, then on UNIX workstations only, the setting is initialized to the value specified by the ugraf***.lineAntialiasing resource in the ugraf*** resource file, if it is set. The resource can be set to TRUE or FALSE.</p>
            <p class="para_item">Example:</p><pre class="indent">*ugraf***.lineAntialiasing: TRUE</pre><table border="0">
               <tr>
                  <td valign="top" align="left"><img align="left" src="../graphics/note.gif" alt="Note" title="Note"></td>
                  <td valign="bottom" align="left" width="100%">
                     <div class="para_note">
                        <p class="para_note_body">This resource is not listed in the default ugraf*** file supplied with NX. </p>
                     </div>
                  </td>
               </tr>
            </table>
         </li>
         <li>
            <p class="para_item">If neither the environment variable nor the resource are set, then the setting is initialized to FALSE.</p>
         </li>
      </ol>
   </body>
</html>