QASetPtr
You can use theQASetPtrfunction to set a pointer value for a draw context state variable.
#define QASetPtr(drawContext,tag,newValue) \ (drawContext)->setPtr (drawContext,tag,newValue)
drawContext- A draw context.
tag- A state variable tag.
newValue- The new value of the specified state variable.
DESCRIPTION
TheQASetPtrfunction sets the value of the draw context state variable specified by thedrawContextandtagparameters to the pointer value specified by thenewValueparameter.