r=timeless rs=bz
QT ONLY - remove USE_IMG2 ifdefs git-svn-id: svn://10.0.0.236/trunk@135072 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
8eb8abf86c
commit
85b4a2a508
@ -375,7 +375,6 @@ NS_IMETHODIMP nsImageQT::Draw(nsIRenderingContext &aContext,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
#ifdef USE_IMG2
|
||||
void nsImageQT::CreateOffscreenPixmap(PRInt32 aWidth,PRInt32 aHeight)
|
||||
{
|
||||
if (mImagePixmap)
|
||||
@ -386,7 +385,7 @@ void nsImageQT::CreateOffscreenPixmap(PRInt32 aWidth,PRInt32 aHeight)
|
||||
mImagePixmap->fill(0);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void nsImageQT::CreateImagePixmap(PRInt32 aWidth,PRInt32 aHeight)
|
||||
{
|
||||
mImagePixmap = new QImage(aWidth,aHeight,mDepth);
|
||||
@ -530,7 +529,6 @@ nsImageQT::SetDecodedRect(PRInt32 x1,PRInt32 y1,PRInt32 x2,PRInt32 y2)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
#ifdef USE_IMG2
|
||||
NS_IMETHODIMP nsImageQT::DrawToImage(nsIImage *aDstImage,
|
||||
nscoord aDX,nscoord aDY,
|
||||
nscoord aDWidth,nscoord aDHeight)
|
||||
@ -557,4 +555,3 @@ NS_IMETHODIMP nsImageQT::DrawToImage(nsIImage *aDstImage,
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -98,11 +98,9 @@ public:
|
||||
PRInt32 aDX, PRInt32 aDY,
|
||||
PRInt32 aDWidth, PRInt32 aDHeight);
|
||||
|
||||
#ifdef USE_IMG2
|
||||
void CreateOffscreenPixmap(PRInt32 aWidth,PRInt32 aHeight);
|
||||
NS_IMETHOD DrawToImage(nsIImage *aDstImage,nscoord aDX,nscoord aDY,
|
||||
nscoord aDWidth,nscoord aDHeight);
|
||||
#endif
|
||||
|
||||
NS_IMETHOD DrawTile(nsIRenderingContext &aContext,
|
||||
nsDrawingSurface aSurface,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user