关于inflaterect和deflaterect .
来源:互联网 发布:安卓ui优化 编辑:程序博客网 时间:2024/05/29 15:35
在VC中的Rect类中有两个函数
InFlateRect(int l,int t,int r,int b) 和DeFlateRect(int l,int t,int r,int b) ,其中每个函数中的4个参数分别表示什么意思?
简单的说就是左(left) 上(top) 右(right) 下(bottom) 下面列出其全部重载函数 CRect::InflateRect void InflateRect( int x, int y ); void InflateRect( SIZE size ); void InflateRect( LPCRECT lpRect ); void InflateRect( int l, int t, int r, int b ); 参数: x 指定扩大CRect左和右边的单位数。 y 指定扩大CRect上、下边的单位数。 size 一个指定扩大CRect的单位数的SIZE或CSize。cx值指定扩大左、右边的单位数,cy指定扩大上、下边的单位数。 lpRect 指向一个RECT结构或CRect,指定扩大每一边的单位数。 l 指定扩大CRect左边的单位数。 t 指定扩大CRect上边的单位数。 r 指定扩大CRect右边的单位数。 b 指定扩大CRect下边的单位数。 CRect::DeflateRectvoid DeflateRect( int x, int y );void DeflateRect( SIZE size );void DeflateRect( LPCRECT lpRect );void DeflateRect( int l, int t, int r, int b );参数: x 指定缩小CRect的左和右边的单位数。 y 指定缩小CRect的上、下边的单位数。 size 一个指定缩小CRect的单位数的SIZE或CSize。cx值指定缩小左、右边的单位数,cy指定缩小上、下边的单位数。 lpRect 指向一个RECT结构或CRect,指定缩小每一边的单位数。 l 指定缩小CRect左边的单位数。 t 指定缩小CRect上边的单位数。 r 指定缩小CRect右边的单位数。 b 指定缩小CRect下边的单位数。
- 关于inflaterect和deflaterect
- 关于inflaterect和deflaterect .
- 关于inflaterect和deflaterect
- inflaterect和deflaterect
- 【关于Rect类中的inflaterect和deflaterect函数】
- 在VC中的Rect类有两个函数,inflaterect和deflaterect分别表示什么意思?
- 在VC中的Rect类有两个函数,inflaterect和deflaterect分别表示什么意思?
- CRect::DeflateRect() 和OffsetRect()
- InflateRect
- InflateRect
- InflateRect
- DeflateRect
- DeflateRect
- DeflateRect
- CRect::InflateRect 和 CDC::FrameRect
- DeflateRect 使用说明
- CRect::DeflateRect()
- CRect::DeflateRect() 压缩矩形..
- Facebook上市在即 中美互联网巨头市值比拼
- 没有可用于 ‘xxxxx’的编辑器,确保已安装文件类型(.xx)的应用程序
- 大话PHP之性能
- 断言失败-缺少资源 .
- XMODEM协议 .
- 关于inflaterect和deflaterect .
- C#反射的GetCustomAttributes方法
- VC:剪切板参考程序
- 画笔的使用 .
- iOS开发之缓存(一):内存缓存
- JS 玩玩cookie(设置过期时间)
- Jquery 开发插件的两种类型 之别插件开发
- 用U盘装Win7
- 关于Onsize中控件句柄为空的问题 .