[GRASS5] [bug #242] (grass) R_polygon_abs() seems to ignore islands

Request Tracker grass-bugs at intevation.de
Wed May 2 07:27:49 EDT 2001


this bug's URL: http://intevation.de/rt/webrt?serial_num=242
-------------------------------------------------------------------------

Subject: R_polygon_abs() seems to ignore islands

- Vector:
  R_polygon_abs() seems to ignore islands. Correct?

  Comment from Eric Miller:
   While skimming through the BUG list, there's a report about
   R_Polygon_abs() ignoring islands.  A little investigation would show this
   to be correct.  However, each display driver must implement this
   individually, and I only looked at the XDRIVER24 version.
   Anyway,  the code is real simple and does not do anything other than draw
   a filled polygon based on supplied display coordinates and the already   
   set fill color.  Presumably it is up to the caller to handle
   islands/holes. However, this is probably not a simple task when drawing a
   filled polygon cover over other layers.  Perhaps what is wanted is a high
   level vector drawing command such as some of the commands in the
   partially functional DISPLAYLIB???  I don't know X well enough to know if
   it has a way to handle holes in it's polygon drawing routines.
   A little more context for the BUG report seems in order since this really
   doesn't seem to be a "bug", but a shortcoming.


-------------------------------------------- Managed by Request Tracker

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list