📄 blitit.h
字号:
#if !defined(AFX_BLITIT_H__574DEFEB_6E40_4729_BAFA_E72E10351048__INCLUDED_)
#define AFX_BLITIT_H__574DEFEB_6E40_4729_BAFA_E72E10351048__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "resource.h"
// <BOOK_ADDON Chapter 10.1.3> *****************************************
void DrawBitmapFromFile(HDC hdc,LPCTSTR FileName,DWORD Offset,
int x,int y, int dx, int dy,BOOL stretch);
LPBYTE ReadBMPFile( LPCTSTR szFileName, DWORD Offset );
BOOL BlitDIB( HDC JChdc,LPBITMAPINFO lpSrcDIB, int x,int y,int dx,
int dy,BOOL bStretch );
LPSTR FindDIBBits( LPSTR lpbi );
WORD DIBNumColors( LPSTR lpbi );
WORD PaletteSize( LPSTR lpbi );
DWORD BytesPerLine( LPBITMAPINFOHEADER lpBMIH );
#define WIDTHBYTES(bits) ((((bits) + 31)>>5)<<2)
// </BOOK_ADDON Chapter 10.1.3> *****************************************
#endif // !defined(AFX_BLITIT_H__574DEFEB_6E40_4729_BAFA_E72E10351048__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -