Backed out changesets ce0ef3278d5f, d9d1983edb5c, and 7e0609e54c24 (bug 914847) for...
[gecko.git] / accessible / public / nsIAccessibleImage.idl
blobf0a544ed8457e67b6b12dfdb11618744c1e050ed
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
11 /**
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,
20 out long x,
21 out long y);
23 /**
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);