[Xastir] Pixel_pack and Imagemagick

Bill Vodall WA7NWP wa7nwp at jnos.org
Tue Sep 16 01:34:17 EDT 2003


----- Original Message ----- 
From: "Bill Vodall - WA7NWP" <wa7nwp at jnos.org>
To: <xastir at xastir.org>
Sent: Monday, September 15, 2003 5:41 PM
Subject: [Xastir] Pixel_pack and Imagemagick


> 
> > > > map_geo.c: In function `draw_geo_image_map':
> > > > map_geo.c:1496: `pixel_pack' undeclared (first use in this function)
> > > > map_geo.c:1496: (Each undeclared identifier is reported only once
> > > > map_geo.c:1496: for each function it appears in.)

------
#else   // HAVE_IMAGEMAGICK
                        (void)XSetForeground (XtDisplay (w), gc, XGetPixel (xi,
map_x, map_y));
#endif  // HAVE_IMAGEMAGICK
                        if ( pixel_pack[l].opacity == 0 && !trans_skip  ) // ski
p transparent
                            (void)XFillRectangle (XtDisplay (w),pixmap,gc,scr_x,
scr_y,scr_dx,scr_dy);
                    } // check map boundaries in y direction
                }
------

Can't have the "if( pixel_pack[1].opacity ==..." outside the 
#ifdef HAVE_IMAGICK segment...

Bill



More information about the Xastir mailing list