From ff6e604b943eed40e3523b8cb5e2b0e1ecc3bb0c Mon Sep 17 00:00:00 2001 From: Philip Giuliani Date: Fri, 10 Apr 2015 16:20:54 +0200 Subject: [PATCH] Add comment --- src/drawer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drawer.js b/src/drawer.js index 32c0c3d5..c9c94214 100644 --- a/src/drawer.js +++ b/src/drawer.js @@ -235,6 +235,7 @@ $.Drawer.prototype = /** @lends OpenSeadragon.Drawer.prototype */{ /** * Translates from OpenSeadragon viewer rectangle to drawer rectangle. * @param {OpenSeadragon.Rect} rectangle - The rectangle in viewport coordinate system. + * @return {OpenSeadragon.Rect} Rectangle in drawer coordinate system. */ viewportToDrawerRectangle: function(rectangle) { var topLeft = this.viewport.pixelFromPoint(rectangle.getTopLeft(), true);