•  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_get_pixel ]

#include <vdi.h>

void v_get_pixel( int handle, int x, int y, int *pel, int *index );

  <handle> is the VDI Handle.
  <x> is the pixel x coordinate (see VDI Coordinates).
  <y> is the pixel y coordinate.
  <pel> returns the pixel value (bit planes used).
  <index> returns the pixel color index.


Function returns the color for a given pixel.

VDI Opcode 105

See also VDI Raster and  v_pmarker().