BCGSuite for MFC
static CBCGPGraphicsManager* CBCGPGraphicsManager::CreateInstance ( BCGP_GRAPHICS_MANAGER  manager = BCGP_GRAPHICS_MANAGER_DEFAULT,
BOOL  bFallback = TRUE,
CBCGPGraphicsManagerParams pParams = NULL 
)
static

Creates an instance of the Graphics Manager.

Parameters
managerThe Graphics Manager manager type.
bFallbackTRUE - support fallback. If creation of D2D Graphics Manager fails, the method automatically creates a GDI Graphics Manager. FALSE - no "fallback" calls.
pParams(Optional) A pointer to Graphics Manager options.
Returns
A new Graphics Manager instance or NULL if failed.