Added some comments clarifying that the value returned are in

device units (pixels)
This commit is contained in:
troy%netscape.com 1998-07-18 03:52:37 +00:00
parent 82b71f1739
commit b2c62b8591
2 changed files with 3 additions and 1 deletions

View File

@ -115,7 +115,7 @@ public:
* The string storage is static, so it must be copied if
* it is to be preserved after the call to the observer.
* kDimensions - aParam1 and aParam2 are the width and height respectively
* of the image.
* of the image in pixels.
* kPixmapUpdate - aParame3 is a pointer to a nsRect struct containing the
* rectangular area of pixels which has been modified by
* the image library. This notification enables the

View File

@ -45,6 +45,8 @@ public:
/**
* Returns the natural dimensions of the image. Returns 0,0
* if the dimensions are unknown.
*
* Note: the dimensions that are returned are in pixels
*
* @param aWidth, aHeight - pointers to integers to be filled in with
* the dimensions.