fg_contvb()Win32 DirectX Fastgraph/Light Prototype void fg_contvb (int lower, int upper, int width, int height); Sub fg_contvb (ByVal lower As Long, ByVal upper As Long, ByVal width As Long, ByVal height As Long) procedure fg_contvb (lower, upper, width, height : integer); Description The fg_contvb() function applies a contrast enhancement transform to a rectangular region of the active virtual buffer. The region's lower left corner is at the current graphics position. Parameters lower is the lower bound. All color components below this value will be set to zero. It must be between 0 and 254. upper is the upper bound. All color components above this value will be set to 255. It must be between 1 and 255 and greater than the lower bound. 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.