GINO Graphics Suite - GINO v9.0  

gEnqPixelAttribs

Syntax

[C/C++:]
void gEnqPixelAttribs(int *ori, float *xsca, float *ysca, int *xrep, int *yrep);
[F90:]
subroutine gEnqPixelAttribs(ori, xsca, ysca, xrep, yrep)

integer, intent(out) :: ori
real, intent(out) :: xsca,ysca
integer, intent(out) :: xrep,yrep

Arguments

ori
An integer indicating the orientation of the pixel array

= 0, None
= 1, 90 degrees anti-clockwise
= 2, 180 degrees anti-clockwise
= 3, 270 degrees anti-clockwise

xsca,ysca
X and Y scaling factors

xrep,yrep
Direction and number of pixels of replication

Description

gEnqPixelAttribs() returns the current pixel scaling and replication attributes as set by the routines gSetPixelTransform() and gSetPixelReplication().

The orientation and scale factors are set by the routine gSetPixelTransform() and the replication values are set by the routine gSetPixelReplication(). A fuller explanation of the returned variables can be found under the appropriate routine.

See Also

gEnqPixelAttribs Usage
gSetPixelReplication
gSetPixelTransform