]> www.wagner.pp.ru Git - oss/fgis.git/blobdiff - dll/fgisEppDraw.c
*** empty log message ***
[oss/fgis.git] / dll / fgisEppDraw.c
index 7cd90174fe0fe18ecdff6092a011e161d02aad0e..f14ad737147dea74aaf0533a88883db81722c2fd 100644 (file)
@@ -1,3 +1,31 @@
+/******************************************************************************
+ * $Id: fgisEppDraw.c,v 1.2 2003-01-04 15:51:34 dron Exp $
+ *
+ * Project:  fGIS core engine
+ * Purpose:  Main code for drawing functions
+ *
+ ******************************************************************************
+ *
+ * Copyright (C) 1997, Victor Wagner <vitus@ice.ru>
+ * Copyright (C) 2003, Andrey Kiselev <dron@remotesensing.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * USA.
+ *****************************************************************************
+ */
+
 #include <tk.h>
 #include <tcl.h>
 #include <stdlib.h>
@@ -153,7 +181,11 @@ int Fgis_MakePhotoImage (Tk_PhotoHandle imghandle,
            }
            *rp = pal[base];
        }
+#ifdef TK_84PREV
        Tk_PhotoPutBlock (imghandle, &block, xl, y, width, 1);
+#else
+       Tk_PhotoPutBlock (imghandle, &block, xl, y, width, 1, TK_PHOTO_COMPOSITE_OVERLAY);
+#endif
     }
     done_border ();
     Tcl_Free ((char *)pal);