Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
nsIDrawingSurface.h File Reference
#include "nscore.h"
#include "nsISupports.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nsPixelFormat
class  nsIDrawingSurface

Defines

#define RASWIDTH(width, bpp)   ((((width) * (bpp) + 31) >> 5) << 2)
#define NS_IDRAWING_SURFACE_IID
#define NS_CREATEDRAWINGSURFACE_FOR_PIXEL_ACCESS   0x0001
#define NS_CREATEDRAWINGSURFACE_SHORTLIVED   0x0002
#define NS_LOCK_SURFACE_READ_ONLY   0x0001
#define NS_LOCK_SURFACE_WRITE_ONLY   0x0002

Class Documentation

struct nsPixelFormat

Definition at line 46 of file nsIDrawingSurface.h.

Class Members
PRUint8 mAlphaCount
PRUint32 mAlphaMask
PRUint8 mAlphaShift
PRUint32 mAlphaZeroMask
PRUint8 mBlueCount
PRUint32 mBlueMask
PRUint8 mBlueShift
PRUint32 mBlueZeroMask
PRUint8 mGreenCount
PRUint32 mGreenMask
PRUint8 mGreenShift
PRUint32 mGreenZeroMask
PRUint8 mRedCount
PRUint32 mRedMask
PRUint8 mRedShift
PRUint32 mRedZeroMask

Define Documentation

Definition at line 155 of file nsIDrawingSurface.h.

Definition at line 160 of file nsIDrawingSurface.h.

Value:
{ 0x61cc77e0, 0xcaac, 0x11d2, \
{ 0xa8, 0x49, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9 } }

Definition at line 68 of file nsIDrawingSurface.h.

Definition at line 164 of file nsIDrawingSurface.h.

Definition at line 165 of file nsIDrawingSurface.h.

#define RASWIDTH (   width,
  bpp 
)    ((((width) * (bpp) + 31) >> 5) << 2)

Definition at line 66 of file nsIDrawingSurface.h.