void AiView::scale ( qreal  sx,
qreal  sy 
)

scale image/ change image size

Parameters:
xs : scale x image by qreal
xy : scale y image by qreal

Definition at line 260 of file aiview.cpp.

00261 {
00262     if( !m_image.isNull() )
00263     {
00264         m_scaleX = sx;
00265         m_scaleY = sy;
00266         m_scale  = true;
00267         this->resize( widthView(m_image.width()) , heightView(m_image.height()) );
00268         this->update();
00269     }
00270 }

 All Classes Namespaces Files Functions Variables Typedefs

Generated on Sat Feb 27 08:33:25 2010 for AiFractals by  doxygen 1.6.1