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
|
<!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: tif_msrc.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>tif_msrc.h</h1><a href="tif__msrc_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: tif__msrc_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">//! Custom data source for libtiff. Assumes all data is in memory at</span>
00013 <span class="comment">//! start.</span>
00014 <span class="comment"></span>
00015
00016 <span class="preprocessor">#include <tiffio.h></span>
00017
00018 <span class="keyword">extern</span> TIFF* TIFFOpenMem (<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* pData,
00019 <span class="keywordtype">int</span> FileSize,
00020 <span class="keywordtype">int</span>* pCurPos);
00021
00022
00023 <span class="keyword">typedef</span> <span class="keyword">struct</span>
00024 <span class="keyword"></span>{
00025 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* pData;
00026 <span class="keywordtype">int</span> CurPos;
00027 <span class="keywordtype">int</span> MaxFileSize;
00028 <span class="comment">// used when open for reading</span>
00029 <span class="keywordtype">int</span> rFileSize;
00030 <span class="comment">// not NULL when open for writing</span>
00031 <span class="keywordtype">int</span>* pFileSize;
00032 <span class="keywordtype">char</span> mode[2];
00033 }
00034 MemSrcTIFFInfo;
00035 <span class="comment">/*</span>
00036 <span class="comment">/--------------------------------------------------------------------</span>
00037 <span class="comment">|</span>
00038 <span class="comment">| $Log: tif__msrc_8h-source.html,v $
00038 <span class="comment">| Revision 1.4 2004/09/15 15:26:32 uzadow
00038 <span class="comment">| Linux compatibility changes, doc update.
00038 <span class="comment">|</span>
00039 <span class="comment">| Revision 1.8 2004/06/06 12:56:38 uzadow</span>
00040 <span class="comment">| Doxygenified documentation.</span>
00041 <span class="comment">|</span>
00042 <span class="comment">| Revision 1.7 2002/08/07 19:03:58 uzadow</span>
00043 <span class="comment">| no message</span>
00044 <span class="comment">|</span>
00045 <span class="comment">| Revision 1.6 2002/08/07 18:33:51 uzadow</span>
00046 <span class="comment">| Removed dependency on internal libtiff header tiffiop.h</span>
00047 <span class="comment">|</span>
00048 <span class="comment">| Revision 1.5 2002/02/24 13:00:43 uzadow</span>
00049 <span class="comment">| Documentation update; removed buggy PLFilterRotate.</span>
00050 <span class="comment">|</span>
00051 <span class="comment">| Revision 1.4 2000/01/10 23:52:59 Ulrich von Zadow</span>
00052 <span class="comment">| Changed formatting & removed tabs.</span>
00053 <span class="comment">|</span>
00054 <span class="comment">| Revision 1.3 1999/10/03 18:50:52 Ulrich von Zadow</span>
00055 <span class="comment">| Added automatic logging of changes.</span>
00056 <span class="comment">|</span>
00057 <span class="comment">|</span>
00058 <span class="comment">--------------------------------------------------------------------</span>
00059 <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>
|