读书人

Cximage库的有关问题

发布时间: 2012-03-09 16:54:57 作者: rapoo

Cximage库的问题
Cximage库中有一个函数能画图片的区域,tile(hdc,RECT*) 但是怎么把画在hdc上确切的位置呢?我觉得应该有个x,y参数才对,但是找不到,望高人求解.

[解决办法]
RECT包含xy
[解决办法]
typedef struct _RECT {
LONG left;//Specifie the x-coordinate of the upper-left corner of the rectangle.
LONG top;//Specifies the y-coordinate of the upper-left corner of the rectangle.
LONG right;
LONG bottom;
} RECT;

读书人网 >VC/MFC

热点推荐