•  Back 
  •  Libraries 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : Pure C Library Documentation
Author      : John Kormylo
Version     : LIB.HYP 1.0
Subject     : Documentation/Pure C Library
Nodes       : 1309
Index Size  : 32068
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ v_bit_image ]

#include <vdi.h>

void v_bit_image( int handle, const char *filename, int aspect,
                  int x_scale, int y_scale, int h_align, int v_align,
                  int *xyarray );

  <handle> is the VDI Handle.
  <filename> is a NULL terminated pathname.
  <aspect> selects whether to honor the pixel aspect ratio (1) or not.
  <x_scale> selects whether to use integer (1) or fractional (0)
            scaling along the x axis (horizontal).
  <y_scale> selects whether to use integer (1) or fractional (0)
            scaling along the y axis (vertical).
  <h_align> controls the horizontal placement within the rectangle:
            0 = left
            1 = center
            2 = right
  <v_align> controls the vertical placement within the rectangle:
            0 = top
            1 = middle
            2 = bottom
  <xyarray> is a 4 entry int array defining a clipping rectangle:
            [0] = x coordinate of left (or right) edge.
            [1] = y coordinate of bottom (or top) edge.
            [2] = x coordinate of right (or left) edge.
            [3] = y coordinate of top (or bottom) edge.


Function causes a bit image file (IMG) to be copied to the printer.
(Applies only to GDOS printer device workstations.)

VDI Subopcode 5,23

See also VDI Printer Escapes and VDI Coordinates.