GINO Graphics Suite - GINO v9.0  

gEnqPixelPacking

Syntax

[C/C++:]
void gEnqPixelPacking(int *nbp, int *nrb, int *npw, int *ndir, int *dir);
[F90:]
subroutine gEnqPixelPacking(nbp, nrb, npw, ndir, dir)
integer, intent(out) :: nbp,nrb,npw,ndir,dir

Arguments

nbp
The number of bits per pixel

nrb
The number of relevant bits

npw
The number of pixels per word

ndir
Pixel order within machine word

= +1, Normal direction
= -1, Reverse direction

dir
Drawing direction

= 1, Start top left, access horizontally
= 2, Start top left, access vertically
= 3, Start top right, access horizontally
= 4, Start top right, access vertically
= 5, Start bottom left, access horizontally
= 6, Start bottom left, access vertically
= 7, Start bottom right, access horizontally
= 8, Start bottom right, access vertically

Description

gEnqPixelPacking() returns the users pixel data characteristics as set by gDefinePixelPacking() and used by gDrawPixelArea() and gGetPixelArea(). It defines the form of bit packing or unpacking between the users data storage and the actual device.

See Also

gEnqPixelPacking Usage
gDefinePixelPacking
gDrawPixelArea
gGetPixelArea