Can someone explain the usage of the setgradient function in the IGraphicsPort interface?
In the IGraphicsPort interface, there is a virtual function:
virtual void setgradient(AGMGradient *agmGrad, const PMMatrix& grMatrix,
const PMReal &xOrig, const PMReal &yOrig,
const PMReal &len, const PMReal &ang,
const PMReal &hiliteLen, const PMReal &hiliteAng) = 0;
I couldn't find a precise definition of the first parameter, AGMGradient *agmGrad. I assume that this requires a pointer to some other object, but how should this object be created? What exactly needs to be passed in?
