Make this comment reflect reality. b=241140

git-svn-id: svn://10.0.0.236/trunk@155895 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
caillon%redhat.com 2004-05-04 03:53:23 +00:00
parent e3877aa5b4
commit 95a12ffde7
2 changed files with 12 additions and 12 deletions

View File

@ -805,12 +805,12 @@ public:
NS_IMETHOD SetRightToLeftText(PRBool aIsRTL) = 0;
/**
* Draw an image, scaling it to fit a specified rectangle.
* Draw a portion of an image, scaling it to fit within a specified rect.
* @param aImage The image to draw
* @param aSrcRect The portion (in twips) of the image to draw.
* @param aSrcRect The rect (in twips) of the image to draw.
* [x,y] denotes the top left corner of the region.
* @param aDestRect The region (in twips) of the page that the image should
* occupy. [x,y] denotes the top left corner.
* @param aDestRect The device context rect (in twips) that the image
* portion should occupy. [x,y] denotes the top left corner.
* [height,width] denotes the desired image size.
*/
NS_IMETHOD DrawImage(imgIContainer *aImage, const nsRect & aSrcRect, const nsRect & aDestRect) = 0;

View File

@ -196,14 +196,14 @@ public:
nsTextDimensions& aLastWordDimensions,
PRInt32* aFontID = nsnull);
/** ---------------------------------------------------
* Draw an image, scaling it to fit a specified rectangle.
* @param aImage The image to draw
* aSrcRect The portion of the image to draw. [x,y] denotes
* the top left corner of the region.
* aDestRect The region of the page that the image should
* occupy. [x,y] denotes the top left corner.
* [height,width] denotes the image size.
/**
* Draw a portion of an image, scaling it to fit a specified rect.
* @param aImage The image to draw
* @param aSrcRect The rect (in twips) of the image to draw.
* [x,y] denotes the top left corner of the region.
* @param aDestRect The device context rect (in twips) that the image
* portion should occupy. [x,y] denotes the top left corner.
* [height,width] denotes the desired image size.
*/
NS_IMETHOD DrawImage(imgIContainer *aImage,
const nsRect & aSrcRect, const nsRect & aDestRect);