fg_gammavb()Win32 DirectX Fastgraph/Light Prototype void fg_gammavb (double gamma, int width, int height); Sub fg_gammavb (ByVal gamma As Double, ByVal width As Long, ByVal height As Long) procedure fg_gammavb (gamma : double; width, height : integer); Description The fg_gammavb() function applies a gamma correction transform to a rectangular region of the active virtual buffer. The region's lower left corner is at the current graphics position. Parameters gamma is the gamma correction value. Values between 0.0 and 1.0 will lighten the image, while values greater than 1.0 will darken the image. width is the region's width in pixels. height is the region's height in pixels. Return value none Restrictions This function is meaningful only with direct color virtual buffers. See also Examples
|
 
copyright 2001 Ted Gruber Software, Inc.