[GRASS-dev] [GRASS GIS] #3013: support background and border for d.legend

GRASS GIS trac at osgeo.org
Mon Jun 13 06:54:14 PDT 2016

#3013: support background and border for d.legend
  Reporter:  annakrat    |      Owner:  grass-dev@…
      Type:              |     Status:  new
  enhancement            |
  Priority:  normal      |  Milestone:  7.3.0
 Component:  Display     |    Version:  svn-trunk
Resolution:              |   Keywords:  d.legend, background, gsoc2016,
       CPU:              |  cartography
  Unspecified            |   Platform:  All

Comment (by annakrat):

 Replying to [comment:3 lazaa]:
 > It seems that I have to draw background first :(. Currently all
 calculation is in main function. I would move all calculation into a new
 function and add one parameter to decide whether to draw or
 > not. First time I would call the function to get position, second time
 to draw it. New function should be in separate file or it doesn't matter?
 Separate file is probably better. BTW, do not hesitate to add comments in
 the code about what is which part doing.

Ticket URL: <https://trac.osgeo.org/grass/ticket/3013#comment:4>
GRASS GIS <https://grass.osgeo.org>

More information about the grass-dev mailing list