Logo Search packages:      
Sourcecode: ktechlab version File versions  Download package

void Component::init3PinLeft ( int  h1 = -1,
int  h2 = -1,
int  h3 = -1 
) [protected, inherited]

Create 3 pins on the left of the component, either spread out, or at the given heights.

Definition at line 503 of file component.cpp.

{
      if ( h1 == -1 ) h1 = offsetY()+8;
      if ( h2 == -1 ) h2 = offsetY()+height()/2;
      if ( h3 == -1 ) h3 = offsetY()+height()-8;
      
      m_pNNode[0] = createPin( offsetX()-8,                 h1, 0,      "n1" );
      m_pNNode[1] = createPin( offsetX()-8,                 h2, 0,      "n2" );
      m_pNNode[2] = createPin( offsetX()-8,                 h3, 0,      "n3" );
}


Generated by  Doxygen 1.6.0   Back to index