SFML community forums

Help => Graphics => Topic started by: dabo on June 17, 2008, 08:31:24 pm

Title: [Solved] Draw only a part of the sprite
Post by: dabo on June 17, 2008, 08:31:24 pm
Is it possible to draw only a part of the sprite, for example the bottom half?

If not, will it be in the future?
Title: [Solved] Draw only a part of the sprite
Post by: quasius on June 17, 2008, 10:01:17 pm
void sf::Sprite::SetSubRect(const IntRect& SubRect);
Title: [Solved] Draw only a part of the sprite
Post by: dabo on June 18, 2008, 12:04:02 am
Ok thanks, I'm gonna try it out.