Back to index

lightning-sunbird  0.9+nobinonly
Defines | Typedefs
gfxTypes.h File Reference
#include "prtypes.h"
#include "nsISupportsImpl.h"
#include "nsAutoPtr.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define THEBES_IMPL_REFCOUNTING(_class)
 Define refcounting for Thebes.
#define THEBES_DECL_REFCOUNTING_ABSTRACT
#define THEBES_DECL_REFCOUNTING
#define THEBES_DECL_ISUPPORTS_INHERITED

Typedefs

typedef double gfxFloat
 Currently needs to be 'double' for Cairo compatibility.

Define Documentation

Value:
public:                                                          \
  NS_IMETHOD_(nsrefcnt) AddRef(void);                            \
  NS_IMETHOD_(nsrefcnt) Release(void);                           \

Definition at line 80 of file gfxTypes.h.

Value:
public:                                                          \
  NS_IMETHOD_(nsrefcnt) AddRef(void);                            \
  NS_IMETHOD_(nsrefcnt) Release(void);                           \
protected:                                                       \
  nsAutoRefCnt mRefCnt;                                          \
  NS_DECL_OWNINGTHREAD                                           \
public:

Definition at line 71 of file gfxTypes.h.

Value:
public:                                                          \
  NS_IMETHOD_(nsrefcnt) AddRef(void) = 0;                        \
  NS_IMETHOD_(nsrefcnt) Release(void) = 0;                       \
protected:                                                       \
  nsAutoRefCnt mRefCnt;                                          \
  NS_DECL_OWNINGTHREAD                                           \
public:

Definition at line 61 of file gfxTypes.h.

Value:
NS_IMPL_ADDREF(_class)                                       \
    NS_IMPL_RELEASE(_class)

Define refcounting for Thebes.

For now use the stuff from nsISupportsImpl even though it forces the functions to be virtual...

Definition at line 57 of file gfxTypes.h.


Typedef Documentation

typedef double gfxFloat

Currently needs to be 'double' for Cairo compatibility.

Could become 'float', perhaps, in some configurations.

Definition at line 46 of file gfxTypes.h.