@mozilla.org/gfx/image/frame;2
This component implements the following interfaces:
Properties
readonly PRUint32 gfxIImageFrame.alphaBytesPerRow
readonly PRUint32 gfxIImageFrame.alphaDataLength
Returns the number of bytes allocated for the alpha mask
gfx_color gfxIImageFrame.backgroundColor
readonly gfx_format gfxIImageFrame.format
The image data format the image was created with.
PRInt32 gfxIImageFrame.frameDisposalMethod
readonly PRInt32 gfxIImageFrame.height
The height of the image.
readonly PRUint32 gfxIImageFrame.imageBytesPerRow
readonly PRUint32 gfxIImageFrame.imageDataLength
Returns the number of bytes allocated for the image
PRBool gfxIImageFrame.mutable
TRUE by default. When set to FALSE, you will no longer be able to make any modifications to the data of the image. Any attempts will fail.
readonly PRBool gfxIImageFrame.needsBackground
Returns whether the image requires the background to be painted
PRInt32 gfxIImageFrame.timeout
Represents the number of milliseconds until the next frame should be displayed.
readonly PRInt32 gfxIImageFrame.width
The width of the image.
readonly PRInt32 gfxIImageFrame.x
The x-offset of the image.
readonly PRInt32 gfxIImageFrame.y
The y-offset of the image.
Methods
Interface | Method |
---|---|
gfxIImageFrame |
void drawTo ( gfxIImageFrame* dst , PRInt32 DX , PRInt32 DY , PRInt32 DWidth , PRInt32 DHeight )
|
gfxIImageFrame |
void getAlphaData ( out arrayof PRUint8 bits , out PRUint32 length )
|
gfxIImageFrame |
void getImageData ( out arrayof PRUint8 bits , out PRUint32 length )
|
nsIInterfaceRequestor |
void getInterface ( nsIIDRef uuid , out nsQIResult* result )
|
gfxIImageFrame |
[noscript] void getRect ( nsRectRef rect )
|
gfxIImageFrame |
void init ( PRInt32 aX , PRInt32 aY , PRInt32 width , PRInt32 height , gfx_format format , gfx_depth depth )
|
gfxIImageFrame |
void lockAlphaData ( )
|
gfxIImageFrame |
void lockImageData ( )
|
gfxIImageFrame |
void setAlphaData ( arrayof PRUint8 data , PRUint32 length , PRInt32 offset )
|
gfxIImageFrame |
void setImageData ( arrayof PRUint8 data , PRUint32 length , PRInt32 offset )
|
gfxIImageFrame |
void unlockAlphaData ( )
|
gfxIImageFrame |
void unlockImageData ( )
|
Reference documentation is generated from Mozilla's source.