macro.h
来自「一个非常全的vc编程的原程序代码是关于图像处理的!」· C头文件 代码 · 共 39 行
H
39 行
#ifndef VIEWDIB_MACRO_H_
#define VIEWDIB_MACRO_H_
#define HDIB HANDLE
#define DIB_HEADER_MARKER 19778
#define IS_WIN30_DIB(lpbi) ((*(LPDWORD)(lpbi))==sizeof(BITMAPINFOHEADER))
#define WIDTHBYTES(bits) (((bits)+31)/32*4)
#define RECTWIDTH(lpDCRect) (lpDCRect->right-lpDCRect->left)
#define RECTHEIGHT(lpDCRect) (lpDCRect->bottom-lpDCRect->top)
#define PALVERSION 0x300
#define PW_WINDOW 1
#define PW_CLIENT 2
#define LEFT_UP 1
#define CENTER_UP 2
#define RIGHT_UP 3
#define LEFT_CENTER 4
#define CENTER_CENTER 5
#define RIGHT_CENTER 6
#define LEFT_DOWN 7
#define CENTER_DOWN 8
#define RIGHT_DOWN 9
#define NEAREST 0
#define BIINTERPO 1
#define NW 0
#define N 1
#define NE 2
#define W 3
#define E 5
#define SW 6
#define S 7
#define SE 8
#define pi 3.1415926
#define POLYAREA 0
#define NULLAREA 1
#define RECAREA 2
#define DRAWSTART 0
#define DRAWEND 1
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?