CPoint::Offset

CPoint::Offset

将值添加到 CPoint的 x 和 y 成员。

 
void Offset(
   int xOffset,
   int yOffset 
) throw( );
void Offset(
   POINT point 
) throw( );
void Offset(
   SIZE size 
) throw( );
参数

xOffset

指定将元素沿可补偿 CPoint的 x 成员。

yOffset

指定将元素沿可补偿 CPoint的 y 成员。

point

指定将元素沿(POINT 或 CPoint)可补偿 CPoint

size

指定将元素沿(范围 或 CSize)可补偿 CPoint

 

 

 

来自:http://technet.microsoft.com/zh-cn/subscriptions/2s9ze5b0

posted @ 2014-08-11 20:26  学需持  阅读(502)  评论(0编辑  收藏  举报