Hi Aaditya,
Your code should be this:
if(pContainer -> getContainerType() == FP_CONTAINER_LINE)
{
da.pG->setTextAngle(iA);
pContainer-draw(&da);
da.pG->setTextAngle(0.0);
}
Now you have to explain to me why the code I've just written is
correct and what is wrong with yours.
(Sorry it's the Professor in me :-)
Cheers
Martin
+ pContainer->draw(&da);
+ if(pContainer -> getContainerType() ==
FP_CONTAINER_LINE)
+ pG->setTextAngle(iA);
+ else
+ pG->setTextAngle(0.0);
Received on Fri Jul 6 04:10:45 2012
This archive was generated by hypermail 2.1.8 : Fri Jul 06 2012 - 04:10:45 CEST