CFx SDK Documentation  2023 SP0
Functions
OdDbGsManager Namespace Reference

Functions

TOOLKIT_EXPORT OdGsLayoutHelperPtr setupActiveLayoutViews (OdGsDevice *pDevice, OdGiContextForDbDatabase *pGiCtx)
 
TOOLKIT_EXPORT OdGsLayoutHelperPtr setupLayoutViews (OdDbObjectId layoutId, OdGsDevice *pDevice, OdGiContextForDbDatabase *pGiCtx)
 
TOOLKIT_EXPORT void setupPalette (OdGsDevice *device, OdGiContextForDbDatabase *giContext, OdDbStub *layoutId=0, ODCOLORREF palBackground=ODRGBA(0, 0, 0, 0))
 

Detailed Description

<group TD_Namespaces>

Function Documentation

◆ setupActiveLayoutViews()

TOOLKIT_EXPORT OdGsLayoutHelperPtr OdDbGsManager::setupActiveLayoutViews ( OdGsDevice pDevice,
OdGiContextForDbDatabase pGiCtx 
)

Populates OdGsDevice-derived object with OdGsViews-derived objects. Returns OdGsDevice-derived wrapper that handles some OdGsDevice's calls.

◆ setupLayoutViews()

TOOLKIT_EXPORT OdGsLayoutHelperPtr OdDbGsManager::setupLayoutViews ( OdDbObjectId  layoutId,
OdGsDevice pDevice,
OdGiContextForDbDatabase pGiCtx 
)

Populates OdGsDevice-derived object with OdGsViews-derived objects. Returns OdGsDevice-derived wrapper that handles some OdGsDevice's calls.

◆ setupPalette()

TOOLKIT_EXPORT void OdDbGsManager::setupPalette ( OdGsDevice device,
OdGiContextForDbDatabase giContext,
OdDbStub *  layoutId = 0,
ODCOLORREF  palBackground = ODRGBA(0, 0, 0, 0) 
)

Setups OdGsDevice-derived object with the palette associated with specified layout.