|
My Project
|
a gdi render target is a Gdiplus::Bitmap and Gdiplus::Graphics object. More...
#include <GDIEngine.h>
Public Member Functions | |
| CGDIRenderTarget (int nImageSize=0) | |
| void | Init (int nImageSize) |
| call this function to init render target to a new size | |
| void | Cleanup () |
| called to invalidate all interface | |
| bool | IsValid () |
| if interface is initialized and valid. More... | |
| int | GetRenderTargetSize () |
| get the render target size. More... | |
| Gdiplus::Graphics * | GetGraphics () |
| Gdiplus::Bitmap * | GetBitmapSurface () |
Public Attributes | |
| Gdiplus::Bitmap * | m_pBitmapSurface |
| the current render target. More... | |
| int | m_nRenderTargetSize |
| the current render target size, default to 256 pixels. More... | |
| Gdiplus::Graphics * | m_pGraphics |
| the default graphics for the render target. More... | |
Public Attributes inherited from ParaEngine::intrusive_ptr_single_thread_base | |
| long | m_ref_count |
Additional Inherited Members | |
Protected Member Functions inherited from ParaEngine::intrusive_ptr_single_thread_base | |
| intrusive_ptr_single_thread_base (const intrusive_ptr_single_thread_base &) | |
| intrusive_ptr_single_thread_base & | operator= (const intrusive_ptr_single_thread_base &) |
a gdi render target is a Gdiplus::Bitmap and Gdiplus::Graphics object.
| ParaEngine::CGDIRenderTarget::CGDIRenderTarget | ( | int | nImageSize = 0 | ) |
| nImageSize | render target size. if provided, it will be initialized. |
|
inline |
get the render target size.
| bool ParaEngine::CGDIRenderTarget::IsValid | ( | ) |
if interface is initialized and valid.
| int ParaEngine::CGDIRenderTarget::m_nRenderTargetSize |
the current render target size, default to 256 pixels.
| Gdiplus::Bitmap* ParaEngine::CGDIRenderTarget::m_pBitmapSurface |
the current render target.
| Gdiplus::Graphics* ParaEngine::CGDIRenderTarget::m_pGraphics |
the default graphics for the render target.
1.8.12