addSize() is never used. Keep it Simple
git-svn-id: http://svn.openlayers.org/trunk/openlayers@50 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -80,18 +80,6 @@ OpenLayers.Pixel.prototype = {
|
||||
},
|
||||
|
||||
|
||||
/** Return a new Pixel with this pixel's x&y augmented by
|
||||
* the Size value passed in.
|
||||
*
|
||||
* @param {OpenLayers.Size} sz
|
||||
*
|
||||
* @return {OpenLayers.Pixel}
|
||||
*/
|
||||
addSize:function(sz) {
|
||||
return new OpenLayers.Pixel(this.x+sz.w, this.y+sz.h);
|
||||
},
|
||||
|
||||
|
||||
/** Return a new Pixel with this pixel's x&y augmented by
|
||||
* the Size value passed in.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user