Colour pinstripe/Printer: Difference between revisions
m
→{{header|Phix}}
Line 58:
=={{header|Phix}}==
See the print_cb function of [[Colour_pinstripe/Display#Phix]].
Note the function draw_to() draws 4 bands each 1/4 of the page height, however
cdCanvasGetSize() actually returns {width, height, width_mm, height_mm}, the
canvas size in pixels and in millimetres, and from that it is assumed it would
be trivial to change the calculation of h from height/4 to 1 inch, and also the
"for y=1 to 4 do" to "while height do".
=={{header|PicoLisp}}==
|