CFx SDK Documentation 2024 SP0
|
Functions | |
IFCCORE_EXPORT OdGsIfcLayoutHelperPtr | setupActiveLayoutViews (OdGsDevice *pDevice, OdGiContextForIfcDatabase *pGiCtx) |
IFCCORE_EXPORT void | setupPalette (OdGsDevice *device, OdGiContextForIfcDatabase *giContext, OdDbStub *layoutId=0, ODCOLORREF palBackground=ODRGBA(0, 0, 0, 0)) |
Contains declarations of common functions for Gs object management.
IFCCORE_EXPORT OdGsIfcLayoutHelperPtr OdIfcGsManager::setupActiveLayoutViews | ( | OdGsDevice * | pDevice, |
OdGiContextForIfcDatabase * | pGiCtx | ||
) |
Sets active views for the layout.
reprContextId | [in] An identifier of a representation context object. |
pDevice | [in] A raw pointer to a <exref target="https://docs.opendesign.com/tv/OdGsDevice.html">Gs device</exref> object. |
pGiCtx | [in] A raw pointer to a <link OdGiContextForIfcDatabase, Gi context object> for the IFC database. |
IFCCORE_EXPORT void OdIfcGsManager::setupPalette | ( | OdGsDevice * | device, |
OdGiContextForIfcDatabase * | giContext, | ||
OdDbStub * | layoutId = 0 , |
||
ODCOLORREF | palBackground = ODRGBA(0, 0, 0, 0) |
||
) |
Sets layout views.
layoutId | [in] A layout object identifier. |
pDevice | [in] A pointer to a Gs device. |
pGiCtx | [in] A pointer to a PRC database context. |
Sets a new palette associated with a specified layout for a specified <exref target="https://docs.opendesign.com/tv/OdGsDevice.html">OdGsDevice</exref>-derived object.
device | [in] A raw pointer to an <exref target="https://docs.opendesign.com/tv/OdGsDevice.html">OdGsDevice</exref>-derived object. |
giContext | [in] A raw pointer to a <link OdGiContextForIfcDatabase, Gi context object> for the IFC database. |
layoutId | [in] A pointer to an identifier of the layout object. |
palBackground | [in] A new palette background color value to be set. |