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
|
<!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: pltga.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 Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a></div>
<h1>pltga.h</h1><a href="pltga_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: pltga_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">//! Defines structures and constants present in TGA files.</span>
00013 <span class="comment"></span>
00014 <span class="preprocessor">#ifndef INCL_PLTGA</span>
00015 <span class="preprocessor"></span><span class="preprocessor">#define INCL_PLTGA</span>
00016 <span class="preprocessor"></span>
00017 <span class="keyword">typedef</span> <span class="keyword">struct </span>_TgaHeader
00018 {
00019 PLBYTE IdLength; <span class="comment">// Image ID Field Length</span>
00020 PLBYTE CmapType; <span class="comment">// Color Map Type</span>
00021 PLBYTE ImageType; <span class="comment">// Image Type</span>
00022
00023 PLWORD CmapIndex; <span class="comment">// First Entry Index</span>
00024 PLWORD CmapLength; <span class="comment">// Color Map Length</span>
00025 PLBYTE CmapEntrySize; <span class="comment">// Color Map Entry Size</span>
00026
00027 PLWORD X_Origin; <span class="comment">// X-origin of Image</span>
00028 PLWORD Y_Origin; <span class="comment">// Y-origin of Image</span>
00029 PLWORD ImageWidth; <span class="comment">// Image Width</span>
00030 PLWORD ImageHeight; <span class="comment">// Image Height</span>
00031 PLBYTE PixelDepth; <span class="comment">// Pixel Depth</span>
00032 PLBYTE ImagDesc; <span class="comment">// Image Descriptor</span>
00033 } TGAHEADER;
00034
00035 <span class="comment">// Definitions for image types.</span>
00036 <span class="preprocessor">#define TGA_Null 0</span>
00037 <span class="preprocessor"></span><span class="preprocessor">#define TGA_Map 1</span>
00038 <span class="preprocessor"></span><span class="preprocessor">#define TGA_RGB 2</span>
00039 <span class="preprocessor"></span><span class="preprocessor">#define TGA_Mono 3</span>
00040 <span class="preprocessor"></span><span class="preprocessor">#define TGA_RLEMap 9</span>
00041 <span class="preprocessor"></span><span class="preprocessor">#define TGA_RLERGB 10</span>
00042 <span class="preprocessor"></span><span class="preprocessor">#define TGA_RLEMono 11</span>
00043 <span class="preprocessor"></span><span class="preprocessor">#define TGA_CompMap 32</span>
00044 <span class="preprocessor"></span><span class="preprocessor">#define TGA_CompMap4 33</span>
00045 <span class="preprocessor"></span>
00046
00047 <span class="preprocessor">#endif</span>
00048 <span class="preprocessor"></span><span class="comment">/*</span>
00049 <span class="comment">/--------------------------------------------------------------------</span>
00050 <span class="comment">|</span>
00051 <span class="comment">| $Log: pltga_8h-source.html,v $
00051 <span class="comment">| Revision 1.4 2004/09/15 15:26:32 uzadow
00051 <span class="comment">| Linux compatibility changes, doc update.
00051 <span class="comment">|</span>
00052 <span class="comment">| Revision 1.4 2004/06/06 12:56:38 uzadow</span>
00053 <span class="comment">| Doxygenified documentation.</span>
00054 <span class="comment">|</span>
00055 <span class="comment">| Revision 1.3 2002/02/24 13:00:40 uzadow</span>
00056 <span class="comment">| Documentation update; removed buggy PLFilterRotate.</span>
00057 <span class="comment">|</span>
00058 <span class="comment">| Revision 1.2 2001/10/06 22:03:26 uzadow</span>
00059 <span class="comment">| Added PL prefix to basic data types.</span>
00060 <span class="comment">|</span>
00061 <span class="comment">| Revision 1.1 2001/09/16 19:03:22 uzadow</span>
00062 <span class="comment">| Added global name prefix PL, changed most filenames.</span>
00063 <span class="comment">|</span>
00064 <span class="comment">| Revision 1.3 1999/10/03 18:50:52 Ulrich von Zadow</span>
00065 <span class="comment">| Added automatic logging of changes.</span>
00066 <span class="comment">|</span>
00067 <span class="comment">|</span>
00068 <span class="comment">--------------------------------------------------------------------</span>
00069 <span class="comment">*/</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Sep 13 16:16:40 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>
|