/* * ************* DO NOT EDIT THIS FILE *********** * * This file was automatically generated from ./gfxIImageFrame.idl. */ using System; using System.Runtime.InteropServices; namespace Mozilla.XPCOM { /** * Interface gfxIImageFrame * * IID: 0x51cc27a8-1dd2-11b2-a1aa-dad33ab193b4 */ public unsafe class gfxIImageFrame : nsISupports { public static string GFXIIMAGEFRAME_IID_STRING = "51cc27a8-1dd2-11b2-a1aa-dad33ab193b4"; public static System.Guid GFXIIMAGEFRAME_IID = new System.Guid("51cc27a8-1dd2-11b2-a1aa-dad33ab193b4"); /* void init (in nscoord aX, in nscoord aY, in nscoord aWidth, in nscoord aHeight, in gfx_format aFormat, in gfx_depth aDepth); */ public void* init(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight, gfx_format aFormat, gfx_depth aDepth); /* attribute boolean mutable; */ public bool getMutable(); public void setMutable(bool value); /* readonly attribute nscoord x; */ public nscoord getX(); /* readonly attribute nscoord y; */ public nscoord getY(); /* readonly attribute nscoord width; */ public nscoord getWidth(); /* readonly attribute nscoord height; */ public nscoord getHeight(); /* [noscript] void getRect (in nsRectRef rect); */ void* getRect(object rect); /* readonly attribute gfx_format format; */ public gfx_format getFormat(); /* readonly attribute unsigned long imageBytesPerRow; */ public System.Int32 getImageBytesPerRow(); /* readonly attribute unsigned long imageDataLength; */ public System.Int32 getImageDataLength(); /* void getImageData ([array, size_is (length)] out PRUint8 bits, out unsigned long length); */ public void* getImageData(outbyte bits, outSystem.Int32 length); /* void setImageData ([array, size_is (length), const] in PRUint8 data, in unsigned long length, in long offset); */ public void* setImageData(byte data, System.Int32 length, System.Int32 offset); /* void lockImageData (); */ public void* lockImageData(); /* void unlockImageData (); */ public void* unlockImageData(); /* readonly attribute unsigned long alphaBytesPerRow; */ public System.Int32 getAlphaBytesPerRow(); /* readonly attribute unsigned long alphaDataLength; */ public System.Int32 getAlphaDataLength(); /* void getAlphaData ([array, size_is (length)] out PRUint8 bits, out unsigned long length); */ public void* getAlphaData(outbyte bits, outSystem.Int32 length); /* void setAlphaData ([array, size_is (length), const] in PRUint8 data, in unsigned long length, in long offset); */ public void* setAlphaData(byte data, System.Int32 length, System.Int32 offset); /* void lockAlphaData (); */ public void* lockAlphaData(); /* void unlockAlphaData (); */ public void* unlockAlphaData(); /* void drawTo (in gfxIImageFrame aDst, in nscoord aDX, in nscoord aDY, in nscoord aDWidth, in nscoord aDHeight); */ public void* drawTo(gfxIImageFrame* aDst, nscoord aDX, nscoord aDY, nscoord aDWidth, nscoord aDHeight); /* attribute long timeout; */ public System.Int32 getTimeout(); public void setTimeout(System.Int32 value); /* attribute long frameDisposalMethod; */ public System.Int32 getFrameDisposalMethod(); public void setFrameDisposalMethod(System.Int32 value); /* attribute gfx_color backgroundColor; */ public gfx_color getBackgroundColor(); public void setBackgroundColor(gfx_color value); } }