#2577: d.info: entire screen version frame
-------------------------+--------------------------------------------------
 Reporter:  martinl      |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Display      |     Version:  svn-trunk                
 Keywords:  d.info       |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 It seems that `d.info` reports wrong values when GRASS_RENDER_FRAME is
 defined, if I understand well `-r` should return (entire) screen rectangle
 and `-f` active frame rectangle.

 Example:

 {{{
 export GRASS_RENDER_IMMEDIATE=cairo
 export GRASS_RENDER_WIDTH=600
 export GRASS_RENDER_HEIGHT=540
 }}}

 No frames involved:

 {{{
 d.info -r
 rectangle: 0.000000 600.000000 0.000000 540.000000
 d.info -f
 frame: 0.000000 600.000000 0.000000 540.000000
 }}}

 Define frame:

 {{{
 export GRASS_RENDER_FRAME=270,540,0,300
 }}}

 OK:

 {{{
 d.info -f
 frame: 0.000000 300.000000 270.000000 540.000000
 }}}

 Here I would expect the entire screen:

 {{{
 d.info -r
 rectangle: 0.000000 300.000000 270.000000 540.000000
 }}}

 ?

 Martin

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2577>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to