adding bytesPerRow and bitsLength attributes
git-svn-id: svn://10.0.0.236/trunk@84512 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
ffacba26a7
commit
5846cd34c9
@ -81,10 +81,12 @@ interface nsIImage : nsISupports
|
||||
*/
|
||||
readonly attribute gfx_format format;
|
||||
|
||||
/**
|
||||
* this data is const and if you touch it you will die!
|
||||
*/
|
||||
PRUint8 getBits();
|
||||
readonly attribute unsigned long bytesPerRow;
|
||||
|
||||
readonly attribute unsigned long bitsLength;
|
||||
|
||||
|
||||
readonly attribute PRUint8 bits;
|
||||
|
||||
/**
|
||||
* Sets \a length bytes of \a data in this object.
|
||||
|
||||
@ -71,10 +71,22 @@ NS_IMETHODIMP nsImage::GetFormat(gfx_format *aFormat)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
/* PRUint8 getBits (); */
|
||||
NS_IMETHODIMP nsImage::GetBits(PRUint8 *_retval)
|
||||
/* readonly attribute unsigned long bytesPerRow; */
|
||||
NS_IMETHODIMP nsImage::GetBytesPerRow(PRUint32 *aBytesPerRow)
|
||||
{
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
/* readonly attribute unsigned long bitsLength; */
|
||||
NS_IMETHODIMP nsImage::GetBitsLength(PRUint32 *aBitsLength)
|
||||
{
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
/* readonly attribute PRUint8 bits; */
|
||||
NS_IMETHODIMP nsImage::GetBits(PRUint8 *aBits)
|
||||
{
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
/* void setBits ([array, size_is (length), const] in PRUint8 data, in unsigned long length, in long offset); */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user