API Reference > Extension Classes > ExRender Classes > ExGsGradientRender Class > ExGsGradientRender Methods > ExGsGradientRender::setupContext24BPP Method
ExGsGradientRender::setupContext24BPP Method
Syntax
C++
bool setupContext24BPP(OdUInt32 bufferWidth, OdUInt32 bufferHeight, OdUInt8 * pBuffer, ODCOLORREF backgroundColor);
Parameters 
Description 
OdUInt32 bufferWidth 
[in] Buffer width (in pixels).  
OdUInt32 bufferHeight 
[in] Buffer height (in pixels).  
OdUInt8 * pBuffer 
[in] Pointer to the buffer.  
ODCOLORREF backgroundColor 
[in] Background color. 

Sets the 24 bits per pixel draw context.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.