[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Aug 27 11:40:02 1993 
Subject:Drawing on a XpwGraphic widget from C 
From:Anthony Worrall 
Volume-ID:930827.02 

I have some C code linked into pop11 which uses XDrawLine.
I want to get this code to draw on the XpwGraphic Widget in the rc_window.
It draws the lines in the corrct place but does not use the colour as set by
XpwSetColor. Also my lines do not get redisplayed. 
Can any one suggest what I am doing wrong or how to use the XpwDrawline method
from C.

I am passing the Drawable and GC values as

            XtWindow(rc_window),
            XptValue(rc_window,XtN privateGC, TYPESPEC(:XptGC)) 

Cheers

Anthony.Worrall@Reading.ac.uk