YSTest: platform_ex::Windows::WindowMemorySurface类 参考

YSTest PreAlpha_b500_20140530 The YSLib Test Project

- 首页
- 相关页面
- 模块
- 命名空间
- 类
- 文件

- 类列表
- 类索引
- 类继承关系
- 类成员

全部 类 命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 组 页
Public 成员函数 | Public 属性 | Private 属性 | 所有成员列表
platform_ex::Windows::WindowMemorySurface类 参考

窗口内存表面：储存窗口上的二维图形绘制状态。 更多...

`#include <Win32GUI.h>`

类 platform_ex::Windows::WindowMemorySurface 继承关系图:
[图例]

## Public 成员函数

| WindowMemorySurface (::HDC h_dc)
| ~WindowMemorySurface ()
| DefGetter (const ynothrow,::HDC, OwnerHandle, h_owner_dc) DefGetter(const ynothrow
h_mem_dc void | Update (ScreenBuffer &, const YSLib::Drawing::Point &={}) ynothrow
| PDefH (void, Update, ScreenRegionBuffer &rbuf, const YSLib::Drawing::Point &pt={}) ynothrow ImplExpr(Update(rbuf.GetScreenBufferRef()
pt void | UpdatePremultiplied (ScreenBuffer &, NativeWindowHandle, YSLib::Drawing::AlphaType=0xFF, const YSLib::Drawing::Point &={}) ynothrow
void | UpdatePremultiplied (ScreenRegionBuffer &rbuf, NativeWindowHandle h_wnd, YSLib::Drawing::AlphaType a=0xFF, const YSLib::Drawing::Point &pt={}) ynothrow
| WindowMemorySurface (::HDC h_dc)
| ~WindowMemorySurface ()
| DefGetter (const ynothrow,::HDC, OwnerHandle, h_owner_dc) DefGetter(const ynothrow
h_mem_dc void | Update (ScreenBuffer &, const YSLib::Drawing::Point &={}) ynothrow
void | Update (ScreenRegionBuffer &rbuf, const YSLib::Drawing::Point &pt={}) ynothrow
void | UpdatePremultiplied (ScreenBuffer &, NativeWindowHandle, YSLib::Drawing::AlphaType=0xFF, const YSLib::Drawing::Point &={}) ynothrow
void | UpdatePremultiplied (ScreenRegionBuffer &rbuf, NativeWindowHandle h_wnd, YSLib::Drawing::AlphaType a=0xFF, const YSLib::Drawing::Point &pt={}) ynothrow

## Public 属性

| NativeHandle

## Private 属性

::HDC | h_owner_dc
::HDC | h_mem_dc

## 详细描述

窗口内存表面：储存窗口上的二维图形绘制状态。

自从
  build 428

注解
  仅对于内存上下文有所有权。

在文件 include/YCLib/Win32GUI.h 第 283 行定义.

## 构造及析构函数说明

platform_ex::Windows::WindowMemorySurface::WindowMemorySurface | ( | ::HDC | h_dc | ) |

inline

在文件 include/YCLib/Win32GUI.h 第 289 行定义.

platform_ex::Windows::WindowMemorySurface::~WindowMemorySurface | ( |  | ) |

inline

在文件 include/YCLib/Win32GUI.h 第 292 行定义.

platform_ex::Windows::WindowMemorySurface::WindowMemorySurface | ( | ::HDC | h_dc | ) |

inline

在文件 E/include/YCLib/Win32GUI.h 第 275 行定义.

platform_ex::Windows::WindowMemorySurface::~WindowMemorySurface | ( |  | ) |

inline

在文件 E/include/YCLib/Win32GUI.h 第 278 行定义.

## 成员函数说明

platform_ex::Windows::WindowMemorySurface::DefGetter | ( | const ynothrow | ,
|  | ::HDC | ,
|  | OwnerHandle | ,
|  | h_owner_dc |
| ) |  | const

platform_ex::Windows::WindowMemorySurface::DefGetter | ( | const ynothrow | ,
|  | ::HDC | ,
|  | OwnerHandle | ,
|  | h_owner_dc |
| ) |  | const

platform_ex::Windows::WindowMemorySurface::PDefH | ( | void | ,
|  | Update | ,
|  | ScreenRegionBuffer & | rbuf,
|  | const YSLib::Drawing::Point & | pt = `{}`
| ) |  |

自从
  build 387

h_mem_dc void platform_ex::Windows::WindowMemorySurface::Update | ( | ScreenBuffer & | ,
|  | const YSLib::Drawing::Point & | = `{}`
| ) |  |

自从
  build 387

void platform_ex::Windows::WindowMemorySurface::Update | ( | ScreenRegionBuffer & | rbuf,
|  | const YSLib::Drawing::Point & | pt = `{}`
| ) |  |

inline

自从
  build 387

在文件 E/include/YCLib/Win32GUI.h 第 291 行定义.

void platform_ex::Windows::WindowMemorySurface::Update | ( | ScreenBuffer & | sbuf,
|  | const YSLib::Drawing::Point & | pt = `{}`
| ) |  |

自从
  build 387

在文件 Win32GUI.cpp 第 333 行定义.

参考 YSLib::Drawing::Size::Height, platform_ex::Windows::s , 以及 YSLib::Drawing::Size::Width.

void platform_ex::Windows::WindowMemorySurface::UpdatePremultiplied | ( | ScreenBuffer & | ,
|  | NativeWindowHandle | ,
|  | YSLib::Drawing::AlphaType | = `0xFF`,
|  | const YSLib::Drawing::Point & | = `{}`
| ) |  |

自从
  build 435

void platform_ex::Windows::WindowMemorySurface::UpdatePremultiplied | ( | ScreenRegionBuffer & | rbuf,
|  | NativeWindowHandle | h_wnd,
|  | YSLib::Drawing::AlphaType | a = `0xFF`,
|  | const YSLib::Drawing::Point & | pt = `{}`
| ) |  |

inline

自从
  build 435

在文件 E/include/YCLib/Win32GUI.h 第 304 行定义.

void platform_ex::Windows::WindowMemorySurface::UpdatePremultiplied | ( | ScreenBuffer & | sbuf,
|  | NativeWindowHandle | h_wnd,
|  | YSLib::Drawing::AlphaType | a = `0xFF`,
|  | const YSLib::Drawing::Point & | pt = `{}`
| ) |  |

自从
  build 435

在文件 Win32GUI.cpp 第 344 行定义.

参考 YB_UNLIKELY , 以及 YF_Raise_Win32Exception.

参考自 platform_ex::Windows::UpdatePremultipliedTo().

这是这个函数的调用关系图:

void platform_ex::Windows::WindowMemorySurface::UpdatePremultiplied | ( | ScreenRegionBuffer & | rbuf,
|  | NativeWindowHandle | h_wnd,
|  | YSLib::Drawing::AlphaType | a = `0xFF`,
|  | const YSLib::Drawing::Point & | pt = `{}`
| ) |  |

inline

自从
  build 435

在文件 include/YCLib/Win32GUI.h 第 315 行定义.

## 类成员变量说明

HDC platform_ex::Windows::WindowMemorySurface::h_mem_dc

private

在文件 include/YCLib/Win32GUI.h 第 286 行定义.

HDC platform_ex::Windows::WindowMemorySurface::h_owner_dc

private

在文件 include/YCLib/Win32GUI.h 第 286 行定义.

platform_ex::Windows::WindowMemorySurface::NativeHandle

在文件 include/YCLib/Win32GUI.h 第 298 行定义.

该类的文档由以下文件生成:

- include/YCLib/Win32GUI.h
- Win32GUI.cpp