ReactOS  0.4.15-dev-1200-gc3b3fcd
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  {
620  bitmap->GetNativeBitmap(), graphics ? getNat(graphics) : NULL, &nativeCachedBitmap);
621  }
GpCachedBitmap * nativeCachedBitmap
friend GpCachedBitmap *& getNat(const CachedBitmap *cb)
smooth NULL
Definition: ftsmooth.c:416
Definition: uimain.c:88
GpStatus WINGDIPAPI GdipCreateCachedBitmap(GpBitmap *bitmap, GpGraphics *graphics, GpCachedBitmap **cachedbmp)
Definition: image.c:1930

◆ ~CachedBitmap()

CachedBitmap::~CachedBitmap ( )
inline

Definition at line 623 of file gdiplusheaders.h.

624  {
626  }
GpCachedBitmap * nativeCachedBitmap
GpStatus WINGDIPAPI GdipDeleteCachedBitmap(GpCachedBitmap *cachedbmp)
Definition: image.c:2007

◆ 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=()

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:32

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: