- 论坛徽章:
- 324
|
回复 nizvoo
#define WIDTHBYTE(bits) ((bits+31)/32*4)
数组是定义好的。
LPBYTE ...
kellenforever 发表于 2011-04-18 11:17 ![]()
biHeight
Specifies the height of the bitmap, in pixels. If biHeight is positive, the bitmap is a bottom-up DIB and its origin is the lower-left corner. If biHeight is negative, the bitmap is a top-down DIB and its origin is the upper-left corner.
If biHeight is negative, indicating a top-down DIB, biCompression must be either BI_RGB or BI_BITFIELDS. Top-down DIBs cannot be compressed.
看看你的biHeight是否负数 |
|