X-Git-Url: http://www.wagner.pp.ru/gitweb/?p=oss%2Ffgis.git;a=blobdiff_plain;f=dll%2FfgisEppDraw.c;fp=dll%2FfgisEppDraw.c;h=f14ad737147dea74aaf0533a88883db81722c2fd;hp=7cd90174fe0fe18ecdff6092a011e161d02aad0e;hb=ed514d6406b2a9110a2dcc043b4c6a1af755e081;hpb=0e811b870704b460c73b50d8d817fd1b595e58b9 diff --git a/dll/fgisEppDraw.c b/dll/fgisEppDraw.c index 7cd9017..f14ad73 100644 --- a/dll/fgisEppDraw.c +++ b/dll/fgisEppDraw.c @@ -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 + * Copyright (C) 2003, Andrey Kiselev + * + * 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 #include #include @@ -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);