UiCanvas类参考

Canvas control: 更多...

#include <UiCanvas.h>

继承自UiWin

所有成员的列表。

公有成员

void PaintWin (HDC hdcDst, RECT *prcWin, RECT *prcUpdate)
 Draw the control on the destinate DC.
void SetFlags (DWORD dwFlags)
 set the paint method of the canvas
 UiCanvas (void)
 ~UiCanvas (void)

公有属性

MemoryDC m_dcCanvas
 a memory DC (MemoryDC m_dcCanvas) as a canvas. the control will paint the m_dcCanvas to the window.

保护属性

DWORD m_dwFlags


详细描述

Canvas control:

参见:
MemoryDC

构造及析构函数文档

UiCanvas::UiCanvas ( void   ) 

UiCanvas::~UiCanvas ( void   ) 


成员函数文档

void UiCanvas::PaintWin ( HDC  hdcDst,
RECT *  prcWin,
RECT *  prcUpdate 
) [virtual]

Draw the control on the destinate DC.

Override this member function to define your own drawings of the control

参数:
hdcDst Destinate device contact
prcWin The Rect of the control(hdc 's left-top is the origin)
prcUpdate Rect of the hdc that need to be update(hdc 's left-top is the origin)

重载UiWin

void UiCanvas::SetFlags ( DWORD  dwFlags  ) 

set the paint method of the canvas

参数:
dwFlags values: UI_CANVAS_REPEAT_NONE, UI_CANVAS_REPEAT_V, UI_CANVAS_REPEAT_H


成员数据文档

a memory DC (MemoryDC m_dcCanvas) as a canvas. the control will paint the m_dcCanvas to the window.

DWORD UiCanvas::m_dwFlags [protected]


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

Generated at Fri Feb 20 15:17:30 2009 for Meizu M8 MZFC Documentation by 魅族手机