关于SetWindowOrgEx、SetViewportO…
来源:互联网 发布:php输出超链接 编辑:程序博客网 时间:2024/06/03 20:43
关于SetWindowOrgEx、SetViewportOrgEx、SetViewportExtEx
1、
例如:
运行程序的效果为:
修一下程序为:
运行效果为:
得出结论:SetWindowOrgEx是设置窗口原点坐标的大小
2、
我们将上面程序再次修改一下:
效果很上面的一样:
得出结论:SetViewPortOrgEx是设视口原点坐标的大小,也就是客户区的原点大小。在默认的情况下,客户区的原点为左上角坐标为(0,0)。调用SetViewportOrgEx(hdc,100,100,NULL)就把客户的原点坐标设置为(100,100),那么原来客户区的左上角的坐标就变为了(-100,-100)(在映射模式为MM_TEXT时)。
3、
SetViewPortExtEx,
注意:1、上面的两个函数的调用,只有在映射模式为MM_ANISOTROPIC
2、
效果图为:
- 关于SetWindowOrgEx、SetViewportO…
- 转 关于SetViewPortOrgEx与SetWindowOrgEx
- 关于SetWindowOrgEx与SetViewportOrgEx的用法
- 关于SetWindowOrgEx、SetViewportOrgEx、SetViewportExtEx 和SetWindowExtEx 详解
- 关于SetWindowOrgEx和SetViewPortOrgEx之区别
- 关于SetWindowOrgEx、SetViewportOrgEx、SetViewportExtEx 和SetWindowExtEx 详解
- 关于SetWindowOrgEx、SetViewportOrgEx、SetViewportExtEx 和SetWindowExtEx 详解 .
- 关于SetWindowOrgEx、SetViewportOrgEx、SetViewportExtEx 和SetWindowExtEx 详解
- 关于SetWindowOrgEx、SetViewportOrgEx、SetViewportExtEx 和SetWindowExtEx 详解
- SetViewPortOrgEx与SetWindowOrgEx
- SetWindowOrgEx 与 SetViewportOrgEx
- SetWindoworgEx与滚动条的综合使用
- WinAPI: SetWindowOrgEx - 设置窗口坐标原点
- Windows 程序设计 SetWindowExtEx SetViewportExtEx SetWindowOrgEx SetViewportOrgEx
- SetWindowExtEx函数、SetViewportExtEx函数和SetWindowOrgEx函数
- SetWindowOrgEx() 与 SetViewOrgEx () 函数的测试
- GID映射模式MM_ISOTROPIC:SetMapMode();SetWindowOrgEx();SetViewportOrgEx();
- 特别篇-GDI映射模式SetWindowOrgEx,SetViewportOrgEx
- 无插件vim使用方法
- Ubuntu命令行界面中文乱码问题的解…
- Ubuntu 12.04下PHP环境的搭建…
- WM_PAINT
- SetViewportOrgEx 与 Se…
- 关于SetWindowOrgEx、SetViewportO…
- 实验4-6:正弦动态圆
- 引用 LPSTR、LPCSTR、LPTSTR…
- _tcslen和_tcsclen的区别
- 日常问题收集笔记本(持续更新)
- WIN32中字体的一些知识
- 5-5 Win32文本与字体
- sublime text 3
- Windows下修改Git bash的HOME路径