Topic: appgraphics "setlinestyle"

need example, don't get the upattern scheme. Just want to draw a heavier line.

BTW typo in the document:
C void setlinestyle (linestyle, upattern, thickness)
Fortran subroutine setfillstyle (linestyle, upattern, thickness)
THX

Re: appgraphics "setlinestyle"

If you want to create a solid line, you can ignore the upattern argument.  You'll have to pass something, of course.  If you want a line that is 5 pixels wide, you would call:

call setlinestyle(SOLID_LINE, int(0, kind=2), 5)

The upattern argument has to be a two-byte integer, which is why it is converted using the int intrinsic function.

Jeff Armstrong
Approximatrix, LLC