Public Member Functions

gfxContextMatrixAutoSaveRestore Class Reference

Sentry helper class for functions with multiple return points that need to back up the current matrix of a context and have it automatically restored before they return. More...

#include <gfxContext.h>

Collaboration diagram for gfxContextMatrixAutoSaveRestore:

List of all members.

Public Member Functions

 gfxContextMatrixAutoSaveRestore (gfxContext *aContext)
 ~gfxContextMatrixAutoSaveRestore ()
const gfxMatrixMatrix ()

Detailed Description

Sentry helper class for functions with multiple return points that need to back up the current matrix of a context and have it automatically restored before they return.


Constructor & Destructor Documentation

gfxContextMatrixAutoSaveRestore::gfxContextMatrixAutoSaveRestore ( gfxContext aContext  )  [inline]
gfxContextMatrixAutoSaveRestore::~gfxContextMatrixAutoSaveRestore (  )  [inline]

Member Function Documentation

const gfxMatrix& gfxContextMatrixAutoSaveRestore::Matrix (  )  [inline]

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