ReactOS 0.4.15-dev-8417-gb6b82fe
CachedBitmap Class Reference

#include <gdiplusheaders.h>

Inheritance diagram for CachedBitmap:
Collaboration diagram for CachedBitmap:

Public Member Functions

 CachedBitmap (Bitmap *bitmap, Graphics *graphics)
 
 ~CachedBitmap ()
 
Status GetLastStatus ()
 
- Public Member Functions inherited from GdiplusBase
void operator delete (void *in_pVoid)
 
void operator delete[] (void *in_pVoid)
 
voidoperator new (size_t in_size)
 
voidoperator new[] (size_t in_size)
 

Protected Attributes

Status lastStatus
 
GpCachedBitmapnativeCachedBitmap
 

Private Member Functions

 CachedBitmap (const CachedBitmap &)
 
CachedBitmapoperator= (const CachedBitmap &)
 

Friends

GpCachedBitmap *& getNat (const CachedBitmap *cb)
 

Detailed Description

Definition at line 613 of file gdiplusheaders.h.

Constructor & Destructor Documentation

◆ CachedBitmap() [1/2]

CachedBitmap::CachedBitmap ( Bitmap bitmap,
Graphics graphics 
)
inline

Definition at line 616 of file gdiplusheaders.h.

617 {
619 lastStatus = DllExports::GdipCreateCachedBitmap(
620 bitmap->GetNativeBitmap(), graphics ? getNat(graphics) : NULL, &nativeCachedBitmap);
621 }
friend GpCachedBitmap *& getNat(const CachedBitmap *cb)
GpCachedBitmap * nativeCachedBitmap
#define NULL
Definition: types.h:112
Definition: uimain.c:89

◆ ~CachedBitmap()

CachedBitmap::~CachedBitmap ( )
inline

Definition at line 623 of file gdiplusheaders.h.

624 {
625 DllExports::GdipDeleteCachedBitmap(nativeCachedBitmap);
626 }

◆ CachedBitmap() [2/2]

CachedBitmap::CachedBitmap ( const CachedBitmap )
private

Member Function Documentation

◆ GetLastStatus()

Status CachedBitmap::GetLastStatus ( )
inline

Definition at line 629 of file gdiplusheaders.h.

630 {
631 return lastStatus;
632 }

◆ operator=()

CachedBitmap & CachedBitmap::operator= ( const CachedBitmap )
private

Friends And Related Function Documentation

◆ getNat

GpCachedBitmap *& getNat ( const CachedBitmap cb)
friend

Definition at line 646 of file gdiplusheaders.h.

647 {
648 return const_cast<CachedBitmap *>(cb)->nativeCachedBitmap;
649 }
static HMODULE MODULEINFO DWORD cb
Definition: module.c:33

Referenced by CachedBitmap().

Member Data Documentation

◆ lastStatus

Status CachedBitmap::lastStatus
mutableprotected

Definition at line 635 of file gdiplusheaders.h.

Referenced by CachedBitmap(), and GetLastStatus().

◆ nativeCachedBitmap

GpCachedBitmap* CachedBitmap::nativeCachedBitmap
protected

Definition at line 636 of file gdiplusheaders.h.

Referenced by CachedBitmap(), and ~CachedBitmap().


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