Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glpixelzoom(3g) [centos man page]

GLPIXELZOOM(3G) 						   OpenGL Manual						   GLPIXELZOOM(3G)

NAME
glPixelZoom - specify the pixel zoom factors C SPECIFICATION
void glPixelZoom(GLfloat xfactor, GLfloat yfactor); PARAMETERS
xfactor, yfactor Specify the x and y zoom factors for pixel write operations. DESCRIPTION
glPixelZoom specifies values for the x and y zoom factors. During the execution of glDrawPixels() or glCopyPixels(), if (xr, yr) is the current raster position, and a given element is in the mth row and nth column of the pixel rectangle, then pixels whose centers are in the rectangle with corners at (xr + n . xfactor, yr + m . yfactor) (xr + n + 1 . xfactor, yr + m + 1 . yfactor) are candidates for replacement. Any pixel whose center lies on the bottom or left edge of this rectangular region is also modified. Pixel zoom factors are not limited to positive values. Negative zoom factors reflect the resulting image about the current raster position. ERRORS
GL_INVALID_OPERATION is generated if glPixelZoom is executed between the execution of glBegin() and the corresponding execution of glEnd(). ASSOCIATED GETS
glGet() with argument GL_ZOOM_X glGet() with argument GL_ZOOM_Y SEE ALSO
glCopyPixels(), glDrawPixels() COPYRIGHT
Copyright (C) 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. AUTHORS
opengl.org opengl.org 06/10/2014 GLPIXELZOOM(3G)

Check Out this Related Man Page

GLPIXELZOOM(3G) 														   GLPIXELZOOM(3G)

NAME
glPixelZoom - specify the pixel zoom factors C SPECIFICATION
void glPixelZoom( GLfloat xfactor, GLfloat yfactor ) PARAMETERS
xfactor, yfactor Specify the x and y zoom factors for pixel write operations. DESCRIPTION
glPixelZoom specifies values for the x and y zoom factors. During the execution of glDrawPixels or glCopyPixels, if (xr, yr) is the cur- rent raster position, and a given element is in the mth row and nth column of the pixel rectangle, then pixels whose centers are in the rectangle with corners at (xr+n.xfactor, yr+m.yfactor) (xr+(n+1).xfactor, yr+(m+1).yfactor) are candidates for replacement. Any pixel whose center lies on the bottom or left edge of this rectangular region is also modified. Pixel zoom factors are not limited to positive values. Negative zoom factors reflect the resulting image about the current raster posi- tion. ERRORS
GL_INVALID_OPERATION is generated if glPixelZoom is executed between the execution of glBegin and the corresponding execution of glEnd. ASSOCIATED GETS
glGet with argument GL_ZOOM_X glGet with argument GL_ZOOM_Y SEE ALSO
glCopyPixels(3G), glDrawPixels(3G) GLPIXELZOOM(3G)
Man Page

4 More Discussions You Might Find Interesting

1. Programming

What's the different between C and C++?

Since I am a bad student (always sleep in class), I don't quite remember how my professor talked about the differences between Object-oriented programming and Structured (or procedual) programming. What I understand is it: Structured programming combines a series interacting functions... (7 Replies)
Discussion started by: HOUSCOUS
7 Replies

2. UNIX for Dummies Questions & Answers

mth code determination

FILE_DATE=`date +%Y%m%d` current mth code is 200808 How can i find the 56 mths back mth code. (1 Reply)
Discussion started by: dr46014
1 Replies

3. Shell Programming and Scripting

Using IF statements with maths where the input is not an integer

Hi All I've made a few scripts which using GDAL extract the value of a pixel within a given raster. The purpose is to work out the combine value of every pixel. I thought there may have been an easier way to do this but alas! The code below extracts the pixel value at position X Y. The... (3 Replies)
Discussion started by: StudentFitz
3 Replies

4. Shell Programming and Scripting

How to remove mth and nth column from a file?

Hi, i need to remove mth and nth column from a csv file. here m and n is not a specific number. it is a variable ex. m=2 n=5 now i need to remove the 2nd and 5th line.. Please help how to do that. Thanks!!! (18 Replies)
Discussion started by: zaq1xsw2
18 Replies