PEXQueryAlphaBlend - Query Support for Alpha Blend Factors (5.2)


Synopsis

 
   int PEXQueryAlphaBlend(
          Display display,
          Drawable drawable,
          int src_blend_func,
          int dest_blend_func
     )
 

Arguments

display
A pointer to a display structure returned by a successful XOpenDisplay call.
drawable
A resource identifier of a drawable.
src_blend_func
The source blending factor. (See PEXOCCSetAlphaBlend function).
dest_blend_func
The destination blending factor. (See PEXOCCSetAlphaBlend function).

Returns

A non-zero value if the implementation supports the combination of the specified alpha blend factors for the specified drawable. The function returns zero if the pair is not supported.

Description

Invoke PEXQueryAlphaBlend to determine if a pair of alpha blend factors are supported on the specified drawable.

For the alpha blend factors and the PEX-defined alpha blend factor combinations, see PEXOCCSetAlphaBlend.

Errors

BadDrawable
The specified drawable resource identifier is invalid.

See Also

For an overview and for a list of all output attribute functions, see Output Attribute Functions.