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