API - PtOSContainer
来源:互联网 发布:linux 删除用户组 编辑:程序博客网 时间:2024/06/14 00:31
PtOSContainer
Offscreen-context container for flicker-free drawing
Class hierarchy:
PtWidget → PtBasic → PtContainer → PtOSContainer
For more information, see the diagram of the widget hierarchy.
Public header:
photon/PtOSContainer.h>
Description:
PtOSContainer creates an offscreen context and forces all its children’s draws to be directed to that context. The draw stream is rendered into offscreen video memory, taking advantage of any hardware-acceleration features supported by the graphics driver. The graphics hardware can then blit the image directly onto the screen, resulting in flicker-free widgets and/or animation.
总结: 对于需要频繁刷新的应用程序, 可以将刷新的窗体 或者是整个 UI程序包含在一个 PtOSContainer 中, 避免出现闪烁的现象。
- API - PtOSContainer
- what is the trick that PtOSContainer
- API
- api
- API
- API
- api
- API
- API
- API
- API
- API
- API
- API
- API
- API
- api
- api
- Android WiFi开发 博客链接
- [心得]传统IT转互联网面试经验分享
- Opencv图像识别从零到精通(4)----cMake与源代码与image watch
- java网络socket编程(三)之ServerSocket服务器端
- ImageLoader源码分析
- API - PtOSContainer
- Linux QT环境的搭建
- LeetCode Ugly Number II(丑数的计算)
- NodeJS学习系列课程笔记(NodeJs Assert断言测试)
- Android实现点击两次返回键退出
- HttpClient设置HTTP请求头Header
- git merge –squash介绍
- Android NFC 开发 博客链接
- iOS 中如何判断当前是2G/3G/4G/5G/WiFi