00001 /****************************************************************************** 00002 * $Id: gdal_alg_priv.h 14982 2008-07-21 14:35:53Z dron $ 00003 * 00004 * Project: GDAL Image Processing Algorithms 00005 * Purpose: Prototypes and definitions for various GDAL based algorithms: 00006 * private declarations. 00007 * Author: Andrey Kiselev, dron@ak4719.spb.edu 00008 * 00009 ****************************************************************************** 00010 * Copyright (c) 2008, Andrey Kiselev <dron@ak4719.spb.edu> 00011 * 00012 * Permission is hereby granted, free of charge, to any person obtaining a 00013 * copy of this software and associated documentation files (the "Software"), 00014 * to deal in the Software without restriction, including without limitation 00015 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 00016 * and/or sell copies of the Software, and to permit persons to whom the 00017 * Software is furnished to do so, subject to the following conditions: 00018 * 00019 * The above copyright notice and this permission notice shall be included 00020 * in all copies or substantial portions of the Software. 00021 * 00022 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00023 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00024 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 00025 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 00026 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 00027 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 00028 * DEALINGS IN THE SOFTWARE. 00029 ****************************************************************************/ 00030 00031 #ifndef GDAL_ALG_PRIV_H_INCLUDED 00032 #define GDAL_ALG_PRIV_H_INCLUDED 00033 00034 CPL_C_START 00035 00036 /************************************************************************/ 00037 /* Low level rasterizer API. */ 00038 /************************************************************************/ 00039 00040 typedef void (*llScanlineFunc)( void *, int, int, int ); 00041 typedef void (*llPointFunc)( void *, int, int ); 00042 00043 void GDALdllImagePoint( int, int, int, int *, double *, double *, 00044 llPointFunc, void * ); 00045 00046 void GDALdllImageLine( int nRasterXSize, int nRasterYSize, 00047 int nPartCount, int *panPartSize, 00048 double *padfX, double *padfY, 00049 llPointFunc pfnPointFunc, void *pCBData ); 00050 00051 void GDALdllImageFilledPolygon( int, int, int, int *, double *, double *, 00052 llScanlineFunc, void * ); 00053 00054 CPL_C_END 00055 00056 #endif /* ndef GDAL_ALG_PRIV_H_INCLUDED */
1.5.1.