updated Mac build with new API
git-svn-id: svn://10.0.0.236/branches/IMGLIB2_20010126_BRANCH@87138 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -54,6 +54,13 @@ NS_IMETHODIMP nsImageContainer::Init(nscoord aWidth, nscoord aHeight)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
/* readonly attribute gfx_format preferredAlphaChannelFormat; */
|
||||
NS_IMETHODIMP nsImageContainer::GetPreferredAlphaChannelFormat(gfx_format *aFormat)
|
||||
{
|
||||
*aFormat = nsIGFXFormat::RGB_A8;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
/* readonly attribute nscoord width; */
|
||||
NS_IMETHODIMP nsImageContainer::GetWidth(nscoord *aWidth)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user