SetTextColor is an output call.)
For example, the framework uses these two device contexts to
implement a CMetaFileDC object that will send output to a metafile
while reading attributes from a physical device. Print preview is
implemented in the framework in a similar fashion. You can also use
the two device contexts in a similar way in your application-specific
code.
2 CClietDC 类
The CClientDC class is derived from CDC and takes care of calling the
Windows functions GetDC at construction time and ReleaseDC at
destruction time. This means that the device context associated with a
CClientDC object is the client area of a window.
3 CPaintDC 类
The CPaintDC class is a device-context class derived from CDC. It
performs a CWnd::BeginPaint at construction time and
CWnd::EndPaint at destruction time. A CPaintDC object can only be
used when responding to a WM_PAINT message, usually in your
OnPaint message-handler member function.
4 CWindowDC 类
The CWindowDC class is derived from CDC. It calls the Windows
functions GetWindowDC at construction time and ReleaseDC at
destruction time. This means that a CWindowDC object accesses the
entire screen area of a CWnd (both client and nonclient areas).
5 CMetaFileDC 类
A Windows metafile contains a sequence of graphics device interface
(GDI) commands that you can replay to create a desired image or text.
To implement a Windows metafile, first create a CMetaFileDC object.
Invoke the CMetaFileDC constructor, then call the Create member
function, which creates a Windows metafile device context and attaches
it to the CMetaFileDC object.
Next send the CMetaFileDC object the sequence of CDC GDI
commands that you intend for it to replay. Only those GDI commands
that create output, such as MoveTo and LineTo, can be used.
- ppt怎么保存不变字体 > 绘图与打印
-
绘图与打印
下载该文档 文档格式:PPT 更新时间:2009-06-01 下载次数:0 点击次数:2文档基本属性 文档语言: 文档格式: ppt 文档作者: Zhanghanyu 关键词: 主题: 备注: 点击这里显示更多文档属性 经理: 单位: cnu 分类: 创建时间: 上次保存者: Zhang 修订次数: 98 编辑时间: 文档创建者: 修订: 加密标识: 幻灯片: 160 段落数: 1932 字节数: 641599 备注: 0 演示格式: 在屏幕上显示 上次保存时间:
- 下载地址 (推荐使用迅雷下载地址,速度快,支持断点续传)
- PPT格式下载
- 更多文档...
-
上一篇:现代教育中心
下一篇:1、下列不属于多媒体信息范畴的是 ( D )。
点击查看更多关于ppt怎么保存不变字体的相关文档
- 您可能感兴趣的
- ppt字体保存 ppt怎么改字体颜色 如何设置ppt默认字体 ppt中字体的风格创意 ppt艺术字体下载 ppt字体有阴影 ppt超链接字体颜色 ppt用什么字体好 ppt设置默认字体
- 大家在找
-
- · qq锁定一段时间
- · cad画图练习题
- · 优酷电影3gp转换器
- · 四川省驾校考试一点通
- · 一年级上学期期中考试
- · cotton,like,silk,was
- · 诛仙2捕兽网怎么用
- · 2011安庆职教中心
- · 流体力学习题集
- · 如何刻录音乐光盘
- · 数据通信与计算机网络
- · 2011国庆节放假时间
- · 沁园春雪书法
- · 物质运输的器官课件
- · 怎么word把文章分两栏
- · 装配作业指导书
- · 东莞医院排名
- · 会计学考试试题
- · 汽车转向系毕业设计论文下载
- · 生化危机5boss
- · 怎样做ppt课件
- · 李连杰金三角枪战电影
- · j开头的女英文名
- · 国家级少儿武术学校
- · 教书育人标兵评选材料
- · 水务专业知识面试题
- · 非特异性免疫应答
- · 南充世纪天骄
- · 小学二年级体育课游戏
- · 小学语文万能说课稿
- 赞助商链接