- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
PA_Draw_Sim.h
资源名称:lread.rar [点击查看]
上传用户:holyzs
上传日期:2022-06-29
资源大小:2335k
文件大小:1k
源码类别:
编辑器/阅读器
开发平台:
C/C++
- #ifndef __PA_DRAW_SIM_H__
- #define __PA_DRAW_SIM_H__ 1
- #pragma pack(1)
- typedef struct{
- u16 Id; // ?
- u32 Length;
- u16 Nothing1, Nothing2; // ?
- u16 ImageStart1, ImageStart2; // Offset of start of image, start at position 0x0A, which can only be 2-byte aligined
- } BMPHeader0;
- typedef struct{
- u32 SizeofHeader; // 40
- u32 Width, Height;
- u16 Colorplanes; // Usually 1
- u16 BitsperPixel; //1, 2, 4, 8, 16, 24, 32
- u32 Compression; // 0 for none, 1...
- u32 SizeofData; // Not reliable
- u32 WidthperMeter, HeightperMeter; // Don't care
- u32 NColors, ImportantColors; // Number of colors used, important colors ?
- } BMP_Headers;
- void PA_LoadBmpToBuffer(u16 *Buffer, s16 x, s16 y, void *bmp, s16 SWidth);
- #endif // __PA_DRAW_SIM_H__