OS/2 breakage - with new libimg

This commit is contained in:
mkaply%us.ibm.com 2001-03-30 14:24:49 +00:00
parent ac394b336d
commit 0eed1b3ca1
2 changed files with 15 additions and 1 deletions

View File

@ -704,4 +704,13 @@ PRBool nsImageOS2::SlowTile (nsIRenderingContext& aContext, nsDrawingSurface aSu
Draw (aContext, aSurface, x, y, aWidth, aHeight);
return PR_TRUE;
}
}
#ifdef USE_IMG2
NS_IMETHODIMP nsImageOS2::DrawToImage(nsIImage* aDstImage,
nscoord aDX, nscoord aDY,
nscoord aDWidth, nscoord aDHeight)
{
return NS_ERROR_FAILURE;
}
#endif

View File

@ -88,6 +88,11 @@ public:
// OS2TODO
PRBool DrawTile(nsIRenderingContext &aContext, nsDrawingSurface aSurface,nscoord aX0,nscoord aY0,nscoord aX1,nscoord aY1,nscoord aWidth,nscoord aHeight);
#ifdef USE_IMG2
NS_IMETHOD DrawToImage(nsIImage* aDstImage, nscoord aDX, nscoord aDY,
nscoord aDWidth, nscoord aDHeight);
#endif
/**
* Return the header size of the Device Independent Bitmap(DIB).
* @return size of header in bytes