|
|
发表于 2005-1-25 18:51:00
|
显示全部楼层
Re:想问一下唐老师书上没讲的东东和一些我不懂的。。。
设备场景(DC)
A device context is a structure that defines a set of graphic objects and their associated attributes, as well as the graphic modes that affect output. The graphic objects include a pen for line drawing, a brush for painting and filling, a bitmap for copying or scrolling parts of the screen, a palette for defining the set of available colors, a region for clipping and other operations, and a path for painting and drawing operations. The remainder of this section is divided into the following three areas
暂存设备场景?可能是dc的缓冲区,它就像手上的钱和身上的钱包一样,DC是手上的钱,当它花的差不多了以后就要到钱包里去拿,钱包则是暂里存钱的地方. 建立一个暂存设备场景后可以在播放连续动画时不闪烁,直接贴图也可以,但如果图片多的话,连续播放会闪烁.这不是玩家想要的.
无所谓什么格式不同的.
SDK:software development kit(软件开发工具包) |
|