nsIAccessibleImage.idl 1007 B

1234567891011121314151617181920212223242526272829303132
  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/. */
  5. #include "nsISupports.idl"
  6. [scriptable, builtinclass, uuid(09086623-0f09-4310-ac56-c2cda7c29648)]
  7. interface nsIAccessibleImage : nsISupports
  8. {
  9. /**
  10. * Returns the coordinates of the image.
  11. *
  12. * @param coordType specifies coordinates origin (for available constants
  13. * refer to nsIAccessibleCoordinateType)
  14. * @param x the x coordinate
  15. * @param y the y coordinate
  16. */
  17. void getImagePosition(in unsigned long coordType,
  18. out long x,
  19. out long y);
  20. /**
  21. * Returns the size of the image.
  22. *
  23. * @param width the heigth
  24. * @param height the width
  25. */
  26. void getImageSize(out long width, out long height);
  27. };