Logo Search packages:      
Sourcecode: ktechlab version File versions

void Item::setItemPoints ( const QPointArray &  pa,
bool  setSizeFromPoints = true 
) [protected, inherited]

Set the rough bounding points for this item. Calls itemPointsChanged after setting the points

Definition at line 113 of file item.cpp.

References Item::itemPointsChanged(), and Item::setSize().

Referenced by FlowPart::initSymbol(), and Item::setSize().

      m_itemPoints = pa;
      if (setSizeFromPoints)
            setSize( m_itemPoints.boundingRect() );

Generated by  Doxygen 1.6.0   Back to index