RectF Sprite::getDestRect() const
    {
        if (_frame.getDiffuse().base)
            return calcDestRectF(_frame.getDestRect(), _frame.getSize());

        return Actor::getDestRect();
    }
Example #2
0
 RectF Stage::getDestRect() const
 {
     Vector2 s = getSize() + getPosition();
     RectF r = calcDestRectF(RectF(-getPosition(), s), s);
     return r;
 }
	RectF ProgressBar::getDestRect() const
	{
		return calcDestRectF(_frame.getDestRect(), _frame.getFrameSize());
	}