QAGetPtr
You can use theQAGetPtrfunction to get a pointer value of a draw context state variable.
#define QAGetPtr(drawContext,tag) \ (drawContext)->getPtr (drawContext,tag)
drawContext- A draw context.
tag- A state variable tag.
DESCRIPTION
TheQAGetPtrfunction returns, as its function result, the pointer value of the draw context state variable specified by thedrawContextandtagparameters. If the specified tag is not recognized or supported by that draw context,QAGetPtrreturns the value 0.