Make this comment reflect reality. b=241140

This commit is contained in:
caillon%redhat.com 2004-05-04 03:53:23 +00:00
Родитель 91dd64260a
Коммит 5d4005aefe
2 изменённых файлов: 12 добавлений и 12 удалений

Просмотреть файл

@ -805,12 +805,12 @@ public:
NS_IMETHOD SetRightToLeftText(PRBool aIsRTL) = 0; 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 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. * [x,y] denotes the top left corner of the region.
* @param aDestRect The region (in twips) of the page that the image should * @param aDestRect The device context rect (in twips) that the image
* occupy. [x,y] denotes the top left corner. * portion should occupy. [x,y] denotes the top left corner.
* [height,width] denotes the desired image size. * [height,width] denotes the desired image size.
*/ */
NS_IMETHOD DrawImage(imgIContainer *aImage, const nsRect & aSrcRect, const nsRect & aDestRect) = 0; NS_IMETHOD DrawImage(imgIContainer *aImage, const nsRect & aSrcRect, const nsRect & aDestRect) = 0;

Просмотреть файл

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