rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvGradientGeometry Class Reference

Resource class. More...

#include <ilviews/base/port.h>

Inheritance diagram for IlvGradientGeometry:
IlvLinearGradientGeometry IlvRadialGradientGeometry

List of all members.

Public Member Functions

IlvGradientAspectRatio getAspectRatio () const
 Gets the aspect ratio of this gradient geometry.
IlvGradientTransformMode getTransformMode () const
 Gets the transform mode of this gradient geometry.
void setAspectRatio (IlvGradientAspectRatio aspectRatio)
 Sets the aspect ratio of this gradient geometry.
void setTransformMode (IlvGradientTransformMode mode)
 Sets the transform mode of this gradient geometry.

Protected Member Functions

 IlvGradientGeometry (IlvGradientTransformMode mode, IlvGradientAspectRatio aspectRatio)
 Constructor.

Friends

class IlvGradientPattern

Detailed Description

Resource class.

Library: display

Base class for gradient geometries. This class is common to all types of gradient and manages the transform mode and aspect ratio to apply when drawing the gradient pattern.

See also:
IlvLinearGradientGeometry, IlvRadialGradientGeometry, IlvGradientPattern::setGeometry

Constructor & Destructor Documentation

IlvGradientGeometry::IlvGradientGeometry ( IlvGradientTransformMode  mode,
IlvGradientAspectRatio  aspectRatio 
) [protected]

Constructor.

This constructor initializes a new IlvGradientGeometry.

Parameters:
mode The gradient transform mode.
aspectRatio The gradient aspect ratio.

Member Function Documentation

IlvGradientAspectRatio IlvGradientGeometry::getAspectRatio (  )  const

Gets the aspect ratio of this gradient geometry.

Returns:
The aspect ratio of the gradient geometry.
IlvGradientTransformMode IlvGradientGeometry::getTransformMode (  )  const

Gets the transform mode of this gradient geometry.

Returns:
The transform mode of the gradient geometry.
void IlvGradientGeometry::setAspectRatio ( IlvGradientAspectRatio  aspectRatio  ) 

Sets the aspect ratio of this gradient geometry.

Parameters:
mode The new aspect ratio.
void IlvGradientGeometry::setTransformMode ( IlvGradientTransformMode  mode  ) 

Sets the transform mode of this gradient geometry.

Parameters:
mode The new transform mode.

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.