API Reference > Functions > OdPrcGsManager Namespace > OdPrcGsManager::setupPalette Function
OdPrcGsManager::setupPalette Function
Syntax
C++
PRC_TOOLKIT void setupPalette(OdGsDevice* device, OdGiContextForPrcDatabase* giContext, OdDbStub* layoutId = 0, ODCOLORREF palBackground = ODRGBA(0,0,0,0));

PrcGsManager.h

Parameters 
Description 
OdGsDevice* device 
[in] A pointer to a Gs device.  
OdGiContextForPrcDatabase* giContext 
[in] A pointer to a PRC database context.  
OdDbStub* layoutId = 0 
[in] A pointer to a lyaout object identifier.  
ODCOLORREF palBackground = ODRGBA(0,0,0,0) 
[in] A palette background color. 

Sets up an OdGsDevice-derived object with a palette associated with a specified layout. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.