Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::ImageContext Class Reference

This is a simple class that is intended to be used when you need access to an image's GraphicsContext. More...

#include <vcf/GraphicsKit/Image.h>

List of all members.

Public Member Functions

 ImageContext ()
 ImageContext (Image *img)
 ~ImageContext ()
ImageContextoperator= (Image *img)
 operator GraphicsContext * ()
GraphicsContextoperator-> ()

Protected Attributes

Imageimg_
GraphicsContextctx_


Detailed Description

This is a simple class that is intended to be used when you need access to an image's GraphicsContext.

It should only be created on the stack, and it will automatically call the appropriate Image::beginDrawing() and Image::finishedDrawing() functions for you.


Constructor & Destructor Documentation

VCF::ImageContext::ImageContext  )  [inline]
 

VCF::ImageContext::ImageContext Image img  )  [inline]
 

VCF::ImageContext::~ImageContext  )  [inline]
 


Member Function Documentation

VCF::ImageContext::operator GraphicsContext *  )  [inline]
 

GraphicsContext* VCF::ImageContext::operator->  )  [inline]
 

ImageContext& VCF::ImageContext::operator= Image img  )  [inline]
 


Member Data Documentation

GraphicsContext* VCF::ImageContext::ctx_ [protected]
 

Image* VCF::ImageContext::img_ [protected]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information