BeOS breakage - with new libimg

This commit is contained in:
mkaply%us.ibm.com 2001-03-30 14:24:59 +00:00
parent 0eed1b3ca1
commit 1119ecc891
2 changed files with 13 additions and 0 deletions

View File

@ -544,3 +544,11 @@ nsImageBeOS::SetDecodedRect(PRInt32 x1, PRInt32 y1, PRInt32 x2, PRInt32 y2 )
return NS_OK;
}
#ifdef USE_IMG2
NS_IMETHODIMP nsImageBeOS::DrawToImage(nsIImage* aDstImage,
nscoord aDX, nscoord aDY,
nscoord aDWidth, nscoord aDHeight)
{
return NS_ERROR_FAILURE;
}
#endif

View File

@ -69,6 +69,11 @@ public:
nsDrawingSurface aSurface,
PRInt32 aSX, PRInt32 aSY, PRInt32 aSWidth, PRInt32 aSHeight,
PRInt32 aDX, PRInt32 aDY, PRInt32 aDWidth, PRInt32 aDHeight);
#ifdef USE_IMG2
NS_IMETHOD DrawToImage(nsIImage* aDstImage, nscoord aDX, nscoord aDY,
nscoord aDWidth, nscoord aDHeight);
#endif
NS_IMETHOD DrawTile(nsIRenderingContext &aContext,
nsDrawingSurface aSurface,