/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsIDOMUIEvent.idl"

/**
 * For more information on this interface please see
 * http://www.w3.org/TR/SVG11/script.html#InterfaceSVGZoomEvent
 */

interface nsIDOMSVGRect;
interface nsIDOMSVGPoint;

[scriptable, uuid(85ba3378-83eb-4d26-8917-c5c73c705669)]
interface nsIDOMSVGZoomEvent : nsIDOMUIEvent
{
  readonly attribute nsIDOMSVGRect  zoomRectScreen;
  readonly attribute float          previousScale;
  readonly attribute nsIDOMSVGPoint previousTranslate;
  readonly attribute float          newScale;
  readonly attribute nsIDOMSVGPoint newTranslate;
};
