Function glPixelZoom

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

    Returns void

    Summary

    specify the pixel zoom factors

    See

    glPixelZoom

Generated using TypeDoc