glPixelZoom specifies values for the ๐ฑ and ๐ฒ zoom factors. During the execution of glDrawPixels or glCopyPixels, if (๐ฑ๐ซ, ๐ฒ๐ซ) is the current raster position, and a given element is in the ๐ฆแตสฐ and ๐งแตสฐ column of the pixel rectangle, then pixels whose centers are in the rectangle with corners at
glPixelZoom
specifies values for the ๐ฑ and ๐ฒ zoom factors. During the execution of glDrawPixels or glCopyPixels, if (๐ฑ๐ซ, ๐ฒ๐ซ) is the current raster position, and a given element is in the ๐ฆแตสฐ and ๐งแตสฐ column of the pixel rectangle, then pixels whose centers are in the rectangle with corners at(๐ฑ๐ซ + ๐งโ xfactor, ๐ฒ๐ซ + ๐ฆโ yfactor)
(๐ฑ๐ซ + (๐ง + 1)โ xfactor, ๐ฒ๐ซ + (๐ฆ + 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.