Xiaolin Wu's line algorithm: Difference between revisions

Content deleted Content added
No edit summary
Tikkanz (talk | contribs)
→‎{{header|J}}: give wd example for J8
Line 413:
 
'''Example use:'''
<lang j> wd'pc win closeok; xywh 0 0 300 200;cc g isigraph; pas 0 0; pshow;' NB. J6 or earlier
Requires J6 or earlier for wd to work.
<lang j> wd'pc win closeok; xywhminwh 0600 0 300 200400;cc g isigraph; pas 0 0; pshow;' NB. J8 or later
glpaint drawLine 10 10 590 390</lang>