Views
Foundation Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvPushAlpha Class Reference

This class is used to temporarily modify the alpha component of an IlvPort. More...

#include <ilviews/base/port.h>

Public Member Functions

 IlvPushAlpha (IlvPort &port, IlvIntensity alpha)
 Constructor. More...
 

Detailed Description

This class is used to temporarily modify the alpha component of an IlvPort.

Library: xviews or winviews or mviews (mutually exclusive)

Constructor & Destructor Documentation

◆ IlvPushAlpha()

IlvPushAlpha::IlvPushAlpha ( IlvPort port,
IlvIntensity  alpha 
)

Constructor.

This constructor composes the alpha value of the port with alpha. When this object is destroyed, the original alpha value of the port is restored.

Parameters
portThe port whose alpha will be modified.
alphaThe alpha component that will be composed with the alpha component of the port.