[GRASS-dev] [GRASS GIS] #2403: cairo driver fails to create surface

GRASS GIS trac at osgeo.org
Thu Dec 18 09:05:05 PST 2014


#2403: cairo driver fails to create surface
----------------------+-----------------------------------------------------
  Reporter:  martinl  |       Owner:  martinl                   
      Type:  defect   |      Status:  closed                    
  Priority:  major    |   Milestone:  7.0.0                     
 Component:  Display  |     Version:  unspecified               
Resolution:  fixed    |    Keywords:  cairo, resolution, surface
  Platform:  Linux    |         Cpu:  x86-64                    
----------------------+-----------------------------------------------------
Changes (by martinl):

  * status:  assigned => closed
  * resolution:  => fixed


Comment:

 Replying to [comment:9 glynn]:

 > r63582 makes the cairo driver behave almost identically to the PNG
 driver.

 I took liberty to backport it in r63595.

 > For reasons which I've been unable to determine so far, the result is
 one destination pixel wider than with the PNG driver.
 >
 > Ultimately, the code should be modified to use an intermediate surface
 which has the same dimensions as the destination rectangle, to avoid the
 overhead of copying the (empty) borders.

 Since the originally reported issue has been fixed, I took liberty to
 close this ticket.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2403#comment:10>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list