SDL_SoftStretch函数
来源:互联网 发布:剪辑音乐软件 编辑:程序博客网 时间:2024/06/06 15:42
SDL_SoftStretch函数
已经被函数SDL_BlitScaled()替换。缓冲区进行缩放之后拷贝到目标表面。
extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect,
SDL_Surface *dst, SDL_Rect *dstrect);
例子:
//// Draw the backup buffer to the screen//dstrect.x = 0;dstrect.y = screenRealY;dstrect.w = gpScreenReal->w;dstrect.h = screenRealHeight;SDL_SoftStretch(gpScreenBak, NULL, gpScreenReal, &dstrect);SDL_UpdateRect(gpScreenReal, 0, 0, gpScreenReal->w, gpScreenReal->h);
老蔡学堂
0 0
- SDL_SoftStretch函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- LevelDB:Bloom源码精读——数据结构
- Vue.js UI框架 - element
- Java断言(assert)介绍及使用
- 安卓复习之旅—Java多线程同步
- C语言指针引用二维数组
- SDL_SoftStretch函数
- iOS UITableView之cellForRowAtIndexPath和indexpathForCell分别获取指定cell和indexpath
- 如何在laravel/lumen中集成支付宝支付
- IOS 自动布局Masonry简介
- MYSQL 提示Please DISCARD the tablespace before IMPORT
- CPU,OS,编译器位数关系
- opencv android 2.4.11使用
- RedHat Enterprise7.1如何关闭防火墙
- Android6.0 危险权限和普通权限