SFML community forums

Help => Graphics => Topic started by: dydya-stepa on October 23, 2011, 03:16:25 pm

Title: copy sf::Image into another with scaling ?
Post by: dydya-stepa on October 23, 2011, 03:16:25 pm
is there something out of the box in sfml 2.0 ?
Title: copy sf::Image into another with scaling ?
Post by: Laurent on October 23, 2011, 04:57:39 pm
Nop. But why do you want to do that? If it's for drawing, you'd better apply a scale to the corresponding sprite.
Title: copy sf::Image into another with scaling ?
Post by: dydya-stepa on October 29, 2011, 12:29:05 pm
i want to create a texture atlas - combine several images into one image. algorithm may scale images a bit if they do not fit. i can't change the algorithm - 3rd party library.