Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Member Functions
gfxWindowsSurface Class Reference

#include <gfxWindowsSurface.h>

Inheritance diagram for gfxWindowsSurface:
Inheritance graph
[legend]
Collaboration diagram for gfxWindowsSurface:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 gfxWindowsSurface (HDC dc)
virtual ~gfxWindowsSurface ()
cairo_surface_t * CairoSurface ()

Protected Member Functions

void Init (cairo_surface_t *surface)
void Destroy ()
PRBool Destroyed ()

Detailed Description

Definition at line 45 of file gfxWindowsSurface.h.


Constructor & Destructor Documentation

Definition at line 42 of file gfxWindowsSurface.cpp.

Here is the call graph for this function:

Definition at line 47 of file gfxWindowsSurface.cpp.

{
}

Member Function Documentation

cairo_surface_t* gfxASurface::CairoSurface ( ) [inline, inherited]

Definition at line 50 of file gfxASurface.h.

{ return mSurface; }

Here is the caller graph for this function:

void gfxASurface::Destroy ( void  ) [inline, protected, inherited]

Definition at line 58 of file gfxASurface.h.

                   {
        if (mDestroyed) {
            NS_WARNING("Calling Destroy on an already-destroyed surface!");
            return;
        }

        cairo_surface_destroy(mSurface);
        mDestroyed = PR_TRUE;
    }

Here is the caller graph for this function:

PRBool gfxASurface::Destroyed ( ) [inline, protected, inherited]

Definition at line 68 of file gfxASurface.h.

                       {
        return mDestroyed;
    }
void gfxASurface::Init ( cairo_surface_t *  surface) [inline, protected, inherited]

Definition at line 53 of file gfxASurface.h.

                                        {
        mDestroyed = PR_FALSE;
        mSurface = surface;
    }

Here is the caller graph for this function:


The documentation for this class was generated from the following files: