skip to main content

Library Routines : WIN$PRINTER : WINPRINT-GRAPH-DRAW

WINPRINT-GRAPH-DRAW
The WINPRINT-GRAPH-DRAW function draws a line or a box. Shapes are drawn using the current pen and brush settings. Use the WINPRINT-GRAPH-BRUSH and WINPRINT-GRAPH-PEN functions to change them.
Syntax:
 CALL "WIN$PRINTER" USING WINPRINT-GRAPH-DRAW
Parameters:
01  winprint-data.
    03 wprtdata-draw.
       05 wprtdata-draw-start-x     pic 9(7)v99 comp-5.
       05 wprtdata-draw-start-y     pic 9(7)v99 comp-5.
       05 wprtdata-draw-stop-x      pic 9(7)v99 comp-5.
       05 wprtdata-draw-stop-y      pic 9(7)v99 comp-5.
       05 wprtdata-draw-units       unsigned-short.
       05 wprtdata-draw-shape       unsigned-short.
 
Return code:
returnCode can be any signed numeric data item and provides additional information:

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left