Pixwin pw_line function in 4.0?

Isidore G Bendrihem igb at cunixa.cc.columbia.edu
Mon Dec 12 18:56:22 AEST 1988


Anybody knows if the Pixwin pw_line function (or is it a macro?) is
actually implemented in SUN OS4.0?  I'm trying to use it to draw textured
lines, but it draws nothing.  I have succesfully used pw_vector with no
problem, but it can't draw textured lines.  This is how I'm using it:

pw_line(pw,x0,y0,x1,y1,brush,tex,PIX_SRC)

where

brush->width=1
tex->pattern=pr_tex_dotted    /* pr_tex_dotted is predefined in 
                                 the pixrect library */

Thanks
Isidore Bendrihem
VLSI Research Lab.
Electrical Eng. Dept.
Columbia University



More information about the Comp.sys.sun mailing list