Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
copy sf::Image into another with scaling ?
Print
Pages: [
1
]
Author
Topic: copy sf::Image into another with scaling ? (Read 1394 times)
0 Members and 1 Guest are viewing this topic.
dydya-stepa
Jr. Member
Posts: 82
copy sf::Image into another with scaling ?
«
on:
October 23, 2011, 03:16:25 pm »
is there something out of the box in sfml 2.0 ?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
copy sf::Image into another with scaling ?
«
Reply #1 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.
Logged
Laurent Gomila - SFML developer
dydya-stepa
Jr. Member
Posts: 82
copy sf::Image into another with scaling ?
«
Reply #2 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.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
copy sf::Image into another with scaling ?