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 189 of file component.cpp.

Referenced by Component::drawPortShape(), ECRotoSwitch::drawShape(), ECAnd::drawShape(), ECNand::drawShape(), ECNor::drawShape(), ECOr::drawShape(), ECXor::drawShape(), ECXnor::drawShape(), and MultiInputGate::drawShape().

{
    if ( !b_flipped && (m_angleDegrees%360 == 0) )
        return;

    p.restore();
}


Generated by  Doxygen 1.6.0   Back to index