Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glpixelzoom(3g) [xfree86 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)

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

6 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. AIX

Aix Certifications

Hi , I want to know aix certifications,How to perepare for that ?How many number of papers are there? (12 Replies)
Discussion started by: manoj.solaris
12 Replies

3. 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

4. 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

5. 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

6. UNIX Desktop Questions & Answers

Assistance with using quotes in shellscript programming

I am using a Linux command that shrinks a pdf using ghostscript from 100% zoom to 90% zoom. This command works properly from the Linux prompt: gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=sam1.pdf -c "<< /BeginPage{0.9 0.9 scale 30.6 39.6 translate}>> setpagedevice"... (2 Replies)
Discussion started by: sambamcunningha
2 Replies