Which is the fastest way to draw the screen in Symbian?---Symbian中最快速屏幕绘画的两种方法
来源:互联网 发布:中兴云计算怎么样 编辑:程序博客网 时间:2024/05/15 23:44
Which is the fastest way to draw the screen in Symbian?
Symbian中屏幕绘画的最快速的方法是哪一种?
1: DSA, Direct Screen Access
2: RBackupWindow
我认为有两种实现快速屏幕绘画的方法最好:
1. DSA,直接屏幕访问
2. RBackupWindow
DSA is good and have graphics APIs can draw automatically.
DSA是个挺不错的选择,它具有能够自动绘画的图形应用程序接口(API:Application Programming Interface)。
For the RBackedupWindow method. This method does not override the window server, which means it does not draw over system messages. This method always uses the native bit depth, and no color conversion is needed.
对于RBackedupWindow 方法,它不会覆盖窗口服务器。这意味着它不是基于系统消息进行绘图。这种方法通常使用本地位深(位深的概念见下面的注释。),并且不需要颜色转换。
——————————————————————————
wave注:
bit depth<位深>与color depth<色深>类似,位深是指R、G、B三原色中的某一种颜色的位数,而色深是指三种颜色总共的位数。(具体解释可以参考Wikipedia。)比如:
24位色图像的R、G、B各占8位分布,那么:
位深:8 色深: 24
Wikipedia中关于色深的解释:http://en.wikipedia.org/wiki/Color_depth
Color depth is a computer graphics term describing the number of bits used to represent the color of a single pixel in a bitmapped image or video frame buffer. This concept is also known as bits per pixel (bpp), particularly when specified along with the number of bits used. Higher color depth gives a broader range of distinct colors.
色深计算机图形学领域表示在位图或者视频帧缓冲区中储存1像素的颜色所用的位数,它也称为位/像素(bpp)。色彩深度越高,可用的颜色就越多。
另附:关于bit depth的一篇介绍性文章的链接:
http://www.cambridgeincolour.com/tutorials/bit-depth.htm
——————————————————————————
Here are some examples using this two method for drawing.
这里有一些使用上述两种方法绘图的例子。
Here are some DSA examples:
下面是一些DSA的例子:
From nokia forum: 来自诺基亚论坛的资料:
http://forum.nokia.com/info/sw.nokia..._v1_1.zip.html
(wave注:这个链接现在目前已经不可用了,我在Nokia论坛上搜索了一下也没有找到,如果哪位朋友找到了希望能够发给我,谢谢!我的E-mail:wave_1102@126.com)
From EMCC soft:
You can download the example pack under www. emccsoft.com to download the example pack, and in this pack here is a example named skii is used DSA to draw the screen.
来自EMCC软件公司的资料:
你可以到EMCC软件公司的网站www. emccsoft.com 上下载示例包。示例包中的名为skii的例子是使用DSA方法进行绘图的。
From other place:
Frozen bubble is good! 2D game, though!
http://fb-s60.sourceforge.net/
来自其他地方的资料:
泡泡龙游戏非常棒!不过它是个二维游戏。
On the forum nokia, here is a 2D game example using RBackupWindow.
http://forum.nokia.com/info/sw.n ... ample_v1_0.zip.html
在Nokia论坛上面,有使用RBackupWindow类绘图的二维游戏。(网址如上)
wave注:
泡泡龙游戏和Nokia论坛上的提供这个使用RBackupWindow绘图的二维游戏是游戏开发中最经典的两个例子。值得一看!
原文地址:http://www.symbian.net.cn/blog/post/13.html
- Which is the fastest way to draw the screen in Symbian?---Symbian中最快速屏幕绘画的两种方法
- PowerShell: Interact with SharePoint in the fastest way possible
- Read Notify is the fastest, easiest, most reliable way to find out when email you've sent gets read.
- WampDeveloper Pro is the best (and fastest) way to create and run multiple websites on Windows, usin
- symbian的Draw
- Symbian中使用位图的两种方法
- Symbian中使用位图的两种方法
- use the Standard C++ Library in symbian
- Essential LightWave v9: The Fastest and Easiest Way to Master LightWave 3D
- Skinning the application-Symbian中所有的系统颜色设置
- What is the best way to implement a heartbeat in C++ to check for socket connectivity?
- Use pg_test_fsync test which wal_sync_method is fastest in your filesystem
- Another way to HOOK in the kernel
- Another way to HOOK in the kernel
- Another way to HOOK in the kernel
- Fastest way to estimate rows in a table
- How long is the way to the Architect?
- Which Way Did the Bicycle Go 趣题选(中)
- 面试经历
- Windows Hook和Dtrace的区别
- 一次清空多个TextBox
- md5算法
- 免費好用的 PDF Library 大收集
- Which is the fastest way to draw the screen in Symbian?---Symbian中最快速屏幕绘画的两种方法
- 恶行累累:跨国公司在中国正失去尊敬
- 递归查询
- 由列车时刻查询系统想到的...
- 动态增加表格
- 常用到javascript
- GirdView介绍
- 从DB2连接出错来认识WebServer的原理
- 简单七步最大限度优化你的博客文章