[OpenLayers-Trac] Re: [OpenLayers] #3305: ExternalGraphic can be blur with canvas renderer on gecko

OpenLayers trac-20090302 at openlayers.org
Thu May 19 09:43:02 EDT 2011


#3305: ExternalGraphic can be blur with canvas renderer on gecko
-----------------------------+----------------------------------------------
 Reporter:  aabt             |       Owner:  crschmidt   
     Type:  feature          |      Status:  new         
 Priority:  minor            |   Milestone:  2.12 Release
Component:  Renderer.Canvas  |     Version:  SVN         
 Keywords:                   |       State:  Commit      
-----------------------------+----------------------------------------------
Changes (by ahocevar):

  * state:  Review => Commit


Comment:

 @aabt: thanks for the patch. If a 1-pixel offset would also be tolerable,
 I would suggest using
 {{{
 var x = (p0 + xOffset) | 0;
 var y= (p1 + xOffset) | 0;
 }}}
 which is much faster than Math.round.

 But I'm fine with either. Please commit whatever version you prefer.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3305#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list