C++
static DRAWBRIDGE_API AcGsGraphicsKernel* acquireGraphicsKernel( const AcGsKernelDescriptor & descriptor );
Description
The Graphics Kernel is a descriptor of the underlying graphics system. Each kernel has its own set of capabilities, and AutoCAD will pick the appropriate kernel to use based on the requested capabilities. Graphics Kernels are reference counted, so be sure to call releaseGraphicsKernel() when you are done with the kernel.
Parameters
Parameters | Description |
---|---|
descriptor | A descriptor defining the required capabilities of the kernel. |
Returns
The graphics kernel object.
Remarks
This method is static, so it would be called as AcGsManager::acquireGraphicsKernel(descriptor).