RectF Sprite::getDestRect() const { if (_frame.getDiffuse().base) return calcDestRectF(_frame.getDestRect(), _frame.getSize()); return Actor::getDestRect(); }
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()); }