OOFILE  1.9
Public Member Functions | Protected Attributes | List of all members
OOF_mixFreeImageOwner Class Reference

Mixin for classes keeping a ref-counted FIBITMAP member. More...

#include <oofrpFreeImage.h>

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

Public Member Functions

FIBITMAP * bitmap () const
 
virtual void CleanupOnLastDereference ()
 
HBITMAP copyToBitmap (HDC usingDC)
 Copy to a standard Windows bitmap format for drawing etc. More...
 
void decRefs ()
 
unsigned long height ()
 
void incRefs ()
 
 OOF_mixFreeImageOwner (FIBITMAP *adoptedBitmap)
 
unsigned long width ()
 
virtual ~OOF_mixFreeImageOwner ()
 

Protected Attributes

unsigned int * mSharedReferences
 
unsigned int mTimesDecCalled
 

Detailed Description

Mixin for classes keeping a ref-counted FIBITMAP member.

Definition at line 36 of file oofrpFreeImage.h.

Constructor & Destructor Documentation

OOF_mixFreeImageOwner::OOF_mixFreeImageOwner ( FIBITMAP *  adoptedBitmap)

Definition at line 219 of file oofrpFreeImage.cpp.

OOF_mixFreeImageOwner::~OOF_mixFreeImageOwner ( )
virtual

Definition at line 228 of file oofrpFreeImage.cpp.

References OOF_mixRefCountWithCopy::decRefs().

Member Function Documentation

FIBITMAP * OOF_mixFreeImageOwner::bitmap ( ) const
inline

Definition at line 136 of file oofrpFreeImage.h.

Referenced by oofRepFreeImageBand_RTFRender::draw().

void OOF_mixFreeImageOwner::CleanupOnLastDereference ( )
virtual

Implements OOF_mixRefCountWithCopy.

Definition at line 235 of file oofrpFreeImage.cpp.

HBITMAP OOF_mixFreeImageOwner::copyToBitmap ( HDC  usingDC)

Copy to a standard Windows bitmap format for drawing etc.

Definition at line 246 of file oofrpFreeImage.cpp.

Referenced by oofRepFreeImageBand_WinRender::draw().

void OOF_mixRefCountWithCopy::decRefs ( )
inherited
unsigned long OOF_mixFreeImageOwner::height ( )
inline

Definition at line 123 of file oofrpFreeImage.h.

Referenced by oofRepFreeImageBand::fixedHeight().

void OOF_mixRefCountWithCopy::incRefs ( )
inlineinherited
unsigned long OOF_mixFreeImageOwner::width ( )
inline

Definition at line 129 of file oofrpFreeImage.h.

Referenced by oofRepFreeImageBand::fixedWidth().

Member Data Documentation

unsigned int* OOF_mixRefCountWithCopy::mSharedReferences
protectedinherited
unsigned int OOF_mixRefCountWithCopy::mTimesDecCalled
protectedinherited

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