blitit.h

来自「《Windows CE 权威指南》(作者:(美)CHRIS MUENCH」· C头文件 代码 · 共 25 行

H
25
字号

#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 + =
减小字号Ctrl + -
显示快捷键?