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

void Component::deinitPainter ( QPainter &  p  )  [protected, virtual, inherited]

Untranforms the painter from the matrix. This *must* be called after doing initPainter( QPainter &p );

Definition at line 188 of file component.cpp.

Referenced by Component::drawPortShape(), and ECRotoSwitch::drawShape().

{
      if ( !b_flipped && (m_angleDegrees%360 == 0) )
            return;
      
      p.restore();
}


Generated by  Doxygen 1.6.0   Back to index