File: qdraw_8h-source.html

package info (click to toggle)
paintlib 2.6.2-14
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 7,920 kB
  • ctags: 3,874
  • sloc: cpp: 25,209; sh: 10,605; ansic: 1,891; makefile: 120
file content (102 lines) | stat: -rw-r--r-- 5,157 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>paintlib: qdraw.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.2 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a></div>
<h1>qdraw.h</h1><a href="qdraw_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
00002 <span class="comment">/--------------------------------------------------------------------</span>
00003 <span class="comment">|</span>
00004 <span class="comment">|      $Id: qdraw_8h-source.html,v 1.4 2004/09/15 15:26:32 uzadow Exp $</span>
00005 <span class="comment">|</span>
00006 <span class="comment">|      Copyright (c) 1996-2002 Ulrich von Zadow</span>
00007 <span class="comment">|</span>
00008 <span class="comment">\--------------------------------------------------------------------</span>
00009 <span class="comment">*/</span>
00010 <span class="comment"></span>
00011 <span class="comment">//! \file</span>
00012 <span class="comment">//! This file defines the data structures used in pict files. They</span>
00013 <span class="comment">//! correspond to the appropriate MAC QuickDraw structs. See</span>
00014 <span class="comment">//! QuickDraw docs for an explanation of these structs.</span>
00015 <span class="comment"></span>
00016 <span class="preprocessor">#ifndef INCL_PLQDRAW</span>
00017 <span class="preprocessor"></span><span class="preprocessor">#define INCL_PLQDRAW</span>
00018 <span class="preprocessor"></span>
00019 <span class="keyword">struct </span>MacRect
00020 {
00021   PLWORD top;
00022   PLWORD left;
00023   PLWORD bottom;
00024   PLWORD right;
00025 };
00026 
00027 <span class="keyword">struct </span>MacpixMap
00028 {
00029   <span class="comment">// Ptr baseAddr              // Not used in file.</span>
00030   <span class="comment">// short rowBytes            // read in seperatly.</span>
00031   <span class="keyword">struct </span>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 <span class="keyword">struct </span>MacRGBColour
00047 {
00048   PLWORD red;
00049   PLWORD green;
00050   PLWORD blue;
00051 };
00052 
00053 <span class="keyword">struct </span>MacPoint
00054 {
00055   PLWORD x;
00056   PLWORD y;
00057 };
00058 
00059 <span class="keyword">struct </span>MacPattern <span class="comment">// Klaube</span>
00060 {
00061   PLBYTE pix[64];
00062 };
00063 
00064 <span class="preprocessor">#endif</span>
00065 <span class="preprocessor"></span><span class="comment">/*</span>
00066 <span class="comment">/--------------------------------------------------------------------</span>
00067 <span class="comment">|</span>
00068 <span class="comment">|      $Log: qdraw_8h-source.html,v $
00068 <span class="comment">|      Revision 1.4  2004/09/15 15:26:32  uzadow
00068 <span class="comment">|      Linux compatibility changes, doc update.
00068 <span class="comment">|</span>
00069 <span class="comment">|      Revision 1.7  2004/06/06 12:56:38  uzadow</span>
00070 <span class="comment">|      Doxygenified documentation.</span>
00071 <span class="comment">|</span>
00072 <span class="comment">|      Revision 1.6  2002/02/24 13:00:42  uzadow</span>
00073 <span class="comment">|      Documentation update; removed buggy PLFilterRotate.</span>
00074 <span class="comment">|</span>
00075 <span class="comment">|      Revision 1.5  2001/10/06 22:03:26  uzadow</span>
00076 <span class="comment">|      Added PL prefix to basic data types.</span>
00077 <span class="comment">|</span>
00078 <span class="comment">|      Revision 1.4  2000/01/10 23:52:59  Ulrich von Zadow</span>
00079 <span class="comment">|      Changed formatting &amp; removed tabs.</span>
00080 <span class="comment">|</span>
00081 <span class="comment">|      Revision 1.3  1999/10/03 18:50:51  Ulrich von Zadow</span>
00082 <span class="comment">|      Added automatic logging of changes.</span>
00083 <span class="comment">|</span>
00084 <span class="comment">|</span>
00085 <span class="comment">--------------------------------------------------------------------</span>
00086 <span class="comment">*/</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Sep 13 16:16:41 2004 for paintlib by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
</a>1.3.2 </small></address>
</body>
</html>