00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: qdraw.h,v 1.6 2002/02/24 13:00:42 uzadow Exp $ 00005 | 00006 | Copyright (c) 1996-2002 Ulrich von Zadow 00007 | 00008 \-------------------------------------------------------------------- 00009 */ 00010 00011 //! \file 00012 //! This file defines the data structures used in pict files. They 00013 //! correspond to the appropriate MAC QuickDraw structs. See 00014 //! QuickDraw docs for an explanation of these structs. 00015 00016 #ifndef INCL_PLQDRAW 00017 #define INCL_PLQDRAW 00018 00019 struct MacRect 00020 { 00021 PLWORD top; 00022 PLWORD left; 00023 PLWORD bottom; 00024 PLWORD right; 00025 }; 00026 00027 struct MacpixMap 00028 { 00029 // Ptr baseAddr // Not used in file. 00030 // short rowBytes // read in seperatly. 00031 struct MacRect Bounds; 00032 PLWORD version; 00033 PLWORD packType; 00034 PLLONG packSize; 00035 PLLONG hRes; 00036 PLLONG vRes; 00037 PLWORD pixelType; 00038 PLWORD pixelSize; 00039 PLWORD cmpCount; 00040 PLWORD cmpSize; 00041 PLLONG planeBytes; 00042 PLLONG pmTable; 00043 PLLONG pmReserved; 00044 }; 00045 00046 struct MacRGBColour 00047 { 00048 PLWORD red; 00049 PLWORD green; 00050 PLWORD blue; 00051 }; 00052 00053 struct MacPoint 00054 { 00055 PLWORD x; 00056 PLWORD y; 00057 }; 00058 00059 struct MacPattern // Klaube 00060 { 00061 PLBYTE pix[64]; 00062 }; 00063 00064 #endif 00065 /* 00066 /-------------------------------------------------------------------- 00067 | 00068 | $Log: qdraw.h,v $ 00069 | Revision 1.6 2002/02/24 13:00:42 uzadow 00070 | Documentation update; removed buggy PLFilterRotate. 00071 | 00072 | Revision 1.5 2001/10/06 22:03:26 uzadow 00073 | Added PL prefix to basic data types. 00074 | 00075 | Revision 1.4 2000/01/10 23:52:59 Ulrich von Zadow 00076 | Changed formatting & removed tabs. 00077 | 00078 | Revision 1.3 1999/10/03 18:50:51 Ulrich von Zadow 00079 | Added automatic logging of changes. 00080 | 00081 | 00082 -------------------------------------------------------------------- 00083 */