1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include
"nsISupports.idl"
8 [scriptable
, uuid(09086623-0f09
-4310-ac56
-c2cda7c29648
)]
9 interface nsIAccessibleImage
: nsISupports
12 * Returns the coordinates of the image.
14 * @param coordType specifies coordinates origin (for available constants
15 * refer to nsIAccessibleCoordinateType)
16 * @param x the x coordinate
17 * @param y the y coordinate
19 void getImagePosition
(in unsigned long coordType
,
24 * Returns the size of the image.
26 * @param width the heigth
27 * @param height the width
29 void getImageSize
(out long width
, out long height
);