开发者

Blitting zoomed images using SDL

开发者 https://www.devze.com 2023-01-07 08:30 出处:网络
Is there any way to Blit a zoomed (in) version of a certain image/s开发者_Go百科prite using SDL? (Besides manually saving a zoomed version of the image..)

Is there any way to Blit a zoomed (in) version of a certain image/s开发者_Go百科prite using SDL? (Besides manually saving a zoomed version of the image..)

Thanks :-)


Not with the SDL API itself.

I think there exist libraries (for SDL) who support zooming (so called resizing).

EDIT: http://www.ferzkopp.net/joomla/content/view/19/14/


Generally speaking, SDL isn't suitable for graphics that require real-time rotations and zooming. For that, you'd need an library based around an accelerated API such as DirectX or OpenGL. I understand that SFML meets this requirement.

0

精彩评论

暂无评论...
验证码 换一张
取 消