This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

can I use grLineDraw to draw a line on a canvas widget

Can I draw a line on a canvas widget? Is what you pass into sContext determine where the line gets drawn?

For example if I have a canvas - baseCanvas and I want to draw a line on it do write

GrLineDraw(baseCanvas.sBase.psDisplay, ,,,,)