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

GRASS GIS trac at osgeo.org
Thu Jun 16 18:15:22 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):

 Thank you, I committed it in r68699. I did some minor changes in
 guisections and fixed one warning (-Wreturn-type). I have two more
 * if you use different font than the default one, the background box is
 larger than it should be. You don't use `D_get_text_box` there, I wonder
 if this would give you better estimate?
 * The ticks are currently rendered in the same color as text, but they
 should be black as the legend outline.

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

More information about the grass-dev mailing list