CCRect 问题

UIImageView * item_picture = (UIImageView *)m_pPanel->getChildByTag(i);
CCRect rc = item_picture->boundingBox();
CCLog(“width = %f,heigth = %f”,rc.size.width,rc.size.height);
CCLog(“x = %f,x = %f”,rc.origin.x,rc.origin.y);

LOG:
i = 1
width = 0.000000,heigth = 0.000000
x = 80.000000,x = 3432.000000
i = 2
width = 0.000000,heigth = 0.000000
x = 201.600006,x = 3432.000000
i = 3
width = 0.000000,heigth = 0.000000
x = 323.200012,x = 3432.000000
i = 4
width = 0.000000,heigth = 0.000000
x = 444.799988,x = 3432.000000
i = 5
width = 0.000000,heigth = 0.000000
x = 566.400024,x = 3432.000000
i = 6
width = 0.000000,heigth = 0.000000
x = 80.000000,x = 3314.399902
i = 7
width = 0.000000,heigth = 0.000000
x = 201.600006,x = 3314.399902
i = 8
width = 0.000000,heigth = 0.000000
x = 323.200012,x = 3314.399902
i = 9
width = 0.000000,heigth = 0.000000
x = 444.799988,x = 3314.399902
i = 10
width = 0.000000,heigth = 0.000000
x = 566.400024,x = 3314.399902

SIZE无法显示吗?

请使用下面的方式获取 rect:imageView->getVirtualRenderer()->boundingBox();

UIImageView * item_picture = (UIImageView *)m_pPanel->getChildByTag(i);
CCRect rc = item_picture->getVirtualRenderer()->boundingBox();
CCLog("%f %f %f %f",rc.size.width,rc.size.height,rc.origin.x,rc.origin.y);

LOG:

90.000000 90.000000 -45.000000 -45.000000
90.000000 90.000000 -45.000000 -45.000000
90.000000 90.000000 -45.000000 -45.000000
90.000000 90.000000 -45.000000 -45.000000
90.000000 90.000000 -45.000000 -45.000000
90.000000 90.000000 -45.000000 -45.000000
90.000000 90.000000 -45.000000 -45.000000
90.000000 90.000000 -45.000000 -45.000000
90.000000 90.000000 -45.000000 -45.000000
90.000000 90.000000 -45.000000 -45.000000
90.000000 90.000000 -45.000000 -45.000000
90.000000 90.000000 -45.000000 -45.000000