Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
nsDeviceContextGTK.h File Reference
#include "nsDeviceContext.h"
#include "nsUnitConversion.h"
#include "nsIWidget.h"
#include "nsIView.h"
#include "nsIRenderingContext.h"
#include "nsRenderingContextGTK.h"
#include "nsIScreenManager.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsDeviceContextGTK

Defines

#define NS_TO_GDK_RGB(ns)   ((ns & 0xff) << 16 | (ns & 0xff00) | ((ns >> 16) & 0xff))
#define GDK_COLOR_TO_NS_RGB(c)   ((nscolor) NS_RGB(c.red, c.green, c.blue))

Define Documentation

#define GDK_COLOR_TO_NS_RGB (   c)    ((nscolor) NS_RGB(c.red, c.green, c.blue))

Definition at line 118 of file nsDeviceContextGTK.h.

#define NS_TO_GDK_RGB (   ns)    ((ns & 0xff) << 16 | (ns & 0xff00) | ((ns >> 16) & 0xff))

Definition at line 116 of file nsDeviceContextGTK.h.