• ppt怎么保存不变字体 > 绘图与打印
  • 绘图与打印

    免费下载 下载该文档 文档格式:PPT   更新时间:2009-06-01   下载次数:0   点击次数:2
    文档基本属性
    文档语言:
    文档格式:ppt
    文档作者:Zhanghanyu
    关键词:
    主题:
    备注:
    点击这里显示更多文档属性
    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字体保存  ppt怎么改字体颜色  如何设置ppt默认字体  ppt中字体的风格创意  ppt艺术字体下载  ppt字体有阴影  ppt超链接字体颜色  ppt用什么字体好  ppt设置默认字体