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

void Component::init1PinLeft ( int  h1 = -1  )  [protected, inherited]

Create 1 pin on the left of the component, placed half way down if h1 is -1 - else at the position of h1.

Definition at line 487 of file component.cpp.

{
      if ( h1 == -1 ) h1 = offsetY()+height()/2;

      m_pNNode[0] = createPin( offsetX()-8,                 h1, 0,      "n1" );
}


Generated by  Doxygen 1.6.0   Back to index