YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
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.h283 行定义.

构造及析构函数说明

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

在文件 include/YCLib/Win32GUI.h289 行定义.

platform_ex::Windows::WindowMemorySurface::~WindowMemorySurface ( )
inline

在文件 include/YCLib/Win32GUI.h292 行定义.

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

在文件 E/include/YCLib/Win32GUI.h275 行定义.

platform_ex::Windows::WindowMemorySurface::~WindowMemorySurface ( )
inline

在文件 E/include/YCLib/Win32GUI.h278 行定义.

成员函数说明

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.h291 行定义.

void platform_ex::Windows::WindowMemorySurface::Update ( ScreenBuffer sbuf,
const YSLib::Drawing::Point pt = {} 
)
自从
build 387

在文件 Win32GUI.cpp333 行定义.

参考 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.h304 行定义.

void platform_ex::Windows::WindowMemorySurface::UpdatePremultiplied ( ScreenBuffer sbuf,
NativeWindowHandle  h_wnd,
YSLib::Drawing::AlphaType  a = 0xFF,
const YSLib::Drawing::Point pt = {} 
)
自从
build 435

在文件 Win32GUI.cpp344 行定义.

参考 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.h315 行定义.

类成员变量说明

HDC platform_ex::Windows::WindowMemorySurface::h_mem_dc
private

在文件 include/YCLib/Win32GUI.h286 行定义.

HDC platform_ex::Windows::WindowMemorySurface::h_owner_dc
private

在文件 include/YCLib/Win32GUI.h286 行定义.

platform_ex::Windows::WindowMemorySurface::NativeHandle

在文件 include/YCLib/Win32GUI.h298 行定义.


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