Quantcast
Channel: Mentor Graphics Communities: Message List
Viewing all articles
Browse latest Browse all 4541

Re: Busbar styling

$
0
0

The below definition is used to render the pin placeholders on vertical edges of the pin list.

 

<parameter type="nopin">

           <glyph type="decoration" name="vline"/>

  </parameter>

 

If a pin is placed on vertical edges, this decoration is used. If pin is placed on top “or” bottom, the same decoration is used, but it is rotated as per the pin’s location. Hence we see a horizontal line, instead of vline on top/bottom edges of pin list.

 

<parameter type="pin">

        <glyph type="decoration" name="vline"/>

</parameter>

 

a.png

 

If there doesn’t exist a border definition in the parameters list, then for those pins & placeholders which are lying in the top-left, top-right, bottom-left, bottom-right corners the below definitions are used respectively.

 

  <parameter type="pin-TL">

            <glyph type="corner-TL" name="square"/>

   </parameter>

   <parameter type="pin-TR">

           <glyph type="corner-TR" name="square"/>

    </parameter>

    <parameter type="pin-BL">

            <glyph type="corner-BL" name="square"/>

    </parameter>

    <parameter type="pin-BR">

           <glyph type="corner-BR" name="square"/>

    </parameter>

 

<parameter type="nopin-TL">

      <glyph type="corner-TL" name="square"/>

</parameter>

<parameter type="nopin-TR">

          <glyph type="corner-TR" name="square"/>

</parameter>

<parameter type="nopin-BL">

          <glyph type="corner-BL" name="square"/>

</parameter>

<parameter type="nopin-BR">

           <glyph type="corner-BR" name="square"/>

</parameter>

 

For example, for the device below, there doesn’t exist any border decoration. The special parameter “pin-TL” is being used by PIN1 and is rendered as “rounded”. Similarly, the parameter “nopin-BR” is being used by the placeholder highlighted at bottom right and is rendered using the “diagnol”  definition.

b.png


Viewing all articles
Browse latest Browse all 4541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>