1vga_copytoplanar16(3)         Svgalib User Manual        vga_copytoplanar16(3)
2
3
4

NAME

6       vga_copytoplanar16  -  copy  linear pixmap into VGA 16 color mode video
7       memory
8

SYNOPSIS

10       #include <vga.h>
11
12       void vga_copytoplanar16(unsigned char *virtual, int pitch, int voffset,
13       int vpitch, int w, int h);
14
15

DESCRIPTION

17       Similar  to  vga_copytoplanar256(3),  but  for 16 color modes (not well
18       tested). Assumes pixels stored in consecutive bytes ranging from  0  to
19       15 in the virtual screen.
20
21       Copies  part of a linear virtual screen in system memory at *virtual to
22       VGA 16 mode video memory.  pitch is the logical width  of  the  virtual
23       screen  (in  pixels (which are one byte large)), voffset is the address
24       offset into video memory, vpitch is the logical scanline width  of  the
25       screen.   (w,  h) is the size of the area to copy in pixels (width must
26       be multiple of 4).
27
28

SEE ALSO

30       svgalib(7), vgagl(7),  libvga.config(5),  vga_accel(3),  vga_copytopla‐
31       nar256(3),  vga_copytoplane(3),  vga_drawscanline(3),  vga_drawscanseg‐
32       ment(3), vga_getmodeinfo(3),  vga_setlogicalwidth(3),  vga_imageblt(3),
33       vga_setmodeX(3),
34

AUTHOR

36       This  manual  page  was  edited by Michael Weller <eowmob@exp-math.uni-
37       essen.de>. The exact source of the referenced function as  well  as  of
38       the original documentation is unknown.
39
40       It is very likely that both are at least to some extent are due to Harm
41       Hanemaayer <H.Hanemaayer@inter.nl.net>.
42
43       Occasionally this might be wrong. I hereby asked to be excused  by  the
44       original author and will happily accept any additions or corrections to
45       this first version of the svgalib manual.
46
47
48
49Svgalib (>= 1.2.11)              27 July 1997            vga_copytoplanar16(3)
Impressum