PEXAccumulateBuffer - Accumulate Buffer (5.2)


Synopsis

                                                                           
  void PEXAccumulateBuffer(                                              
          Display *display,                   
          Drawable drawable,                 
          float source_weight,          
          float dest_weight               
       )                                                                        

Arguments

display
A pointer to a display structure returned by a successful XOpenDisplay call.

drawable
A drawable with an accumulation buffer associated with it.

source_weight
Source weight (see the equation below).

dest_weight
Destination weight (see the equation below).

Returns

None.

Description

Invoke PEXAccumulateBuffer to accumulate the contents of drawable (D) into the ancillary accumulation buffer (A) associated with drawable using the source_weight (ws) and dest_weight (wd) as follows:

If underflow or overflow occurs, then the result is implementation-dependent.

Errors

BadDrawable
drawable does not specify a valid drawable.
BadMatch
The drawable specified by drawable does not have an allocated accumulation buffer.

See Also

See Accumulation Buffers for an overview.