Blender  V2.93
Public Member Functions | List of all members
CBlendThumb Class Reference

Inherits IInitializeWithStream, and IThumbnailProvider.

Public Member Functions

 CBlendThumb ()
 
virtual ~CBlendThumb ()
 
IFACEMETHODIMP QueryInterface (REFIID riid, void **ppv)
 
 IFACEMETHODIMP_ (ULONG) AddRef()
 
 IFACEMETHODIMP_ (ULONG) Release()
 
IFACEMETHODIMP Initialize (IStream *pStream, DWORD grfMode)
 
IFACEMETHODIMP GetThumbnail (UINT cx, HBITMAP *phbmp, WTS_ALPHATYPE *pdwAlpha)
 

Detailed Description

Definition at line 26 of file BlenderThumb.cpp.

Constructor & Destructor Documentation

◆ CBlendThumb()

CBlendThumb::CBlendThumb ( )
inline

Definition at line 28 of file BlenderThumb.cpp.

◆ ~CBlendThumb()

virtual CBlendThumb::~CBlendThumb ( )
inlinevirtual

Definition at line 32 of file BlenderThumb.cpp.

Member Function Documentation

◆ GetThumbnail()

IFACEMETHODIMP CBlendThumb::GetThumbnail ( UINT  cx,
HBITMAP *  phbmp,
WTS_ALPHATYPE *  pdwAlpha 
)

Definition at line 103 of file BlenderThumb.cpp.

References BLUE_BYTE, err, float(), gzip_magic, height, max, NULL, RED_BYTE, and width.

◆ IFACEMETHODIMP_() [1/2]

CBlendThumb::IFACEMETHODIMP_ ( ULONG  )
inline

Definition at line 50 of file BlenderThumb.cpp.

◆ IFACEMETHODIMP_() [2/2]

CBlendThumb::IFACEMETHODIMP_ ( ULONG  )
inline

Definition at line 55 of file BlenderThumb.cpp.

◆ Initialize()

IFACEMETHODIMP CBlendThumb::Initialize ( IStream *  pStream,
DWORD  grfMode 
)

Definition at line 87 of file BlenderThumb.cpp.

References NULL.

◆ QueryInterface()

IFACEMETHODIMP CBlendThumb::QueryInterface ( REFIID  riid,
void **  ppv 
)
inline

Definition at line 40 of file BlenderThumb.cpp.

Referenced by CBlendThumb_CreateInstance().


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