Previous Next Up Title Contents Index Functions Index Top Library

SET CELL ARRAY ALIGNMENT

PXSCAA


CALL SEQUENCE

PXSCAA (HORAL,VERAL)

INPUT PARAMETERS

INTEGER HORAL
Horizontal alignment
INTEGER VERAL
Vertical alignment

PHIGS STATE

(PHOP,*,STOP,*)

EFFECT

A GSE element is inserted in the open structure after element pointer or replaces the element indicated by element pointer, depending on the edit mode value. Element pointer is updated and points to the GSE structure element. The values specified in the function are associated with the element.

The horizontal alignment is defined as follows:

The vertical alignment is defined as follows:

The default values are PCAHN and PCAVN

When an element of this type is interpreted, the current cell array alignment entry in the traversal state list is set to the values associated with the element. This value is used when displaying subsequent CELL ARRAY primitives.

When cell array alignment values are not equal to PCAHN and PCAVN, CELL ARRAY primitives are displayed using one pixel per cell. Position of CELL ARRAY is done by the P point depending on cell array alignment values :

FORTRAN binding calls pxset_cell_array_align C function.

Listing of pxset_cell_array_align function is as follow :


	void pxset_cell_array_align(
		Pint	hor_align,
		Pint	ver_align
	)
	{
		Pgse_data  gse_data;

		gse_data.gse_r7.cell_array_align = ( hor_align << 2 ) |  ver_align;

		pgse (PGSE_ID_CELL_ARRAY_ALIGN, &gse_data);
	}

ERRORS

5
Ignoring function, function requires state (PHOP,*, STOP,*)

SEE ALSO

Generalized structure element, see pgse

Cell array, see PCA


Previous Next Up Title Contents Index Functions Index Top Library