Views
Foundation Package API Reference Guide
Product Documentation:
Views Documentation Home
Enumerations
resource.h File Reference
#include <ilviews/base/resources/IlvResource.h>
#include <ilviews/base/resources/IlvColor.h>
#include <ilviews/base/resources/IlvCursor.h>
#include <ilviews/base/resources/IlvFont.h>
#include <ilviews/base/resources/IlvLineStyle.h>
#include <ilviews/base/resources/IlvPattern.h>
#include <ilviews/base/resources/IlvPalette.h>
#include <ilviews/base/resources/IlvPushClip.h>
#include <ilviews/base/region.h>
#include <ilog/string.h>

Enumerations

enum  IlvGradientAspectRatio { IlvGradientAspectRatioNo, IlvGradientAspectRatioInside, IlvGradientAspectRatioOutside }
 The gradient aspect ratio setting. More...
 
enum  IlvGradientTransformMode { IlvGradientTransformGraphic, IlvGradientTransformGraphicNoResize, IlvGradientNoTransform }
 The gradient transform mode. More...
 

Detailed Description

Library: xviews or winviews or mviews (mutually exclusive)
Declaration of the graphic resource classes.

Enumeration Type Documentation

◆ IlvGradientAspectRatio

The gradient aspect ratio setting.

This enumeration specifies how to keep the aspect ratio when calculating the gradient transformation to apply when drawing a gradient pattern. This setting is only used with the IlvGradientTransformGraphic gradient transform mode.

See also
IlvGradientGeometry::setAspectRatio().
Enumerator
IlvGradientAspectRatioNo 

Do not keep aspect ratio.

IlvGradientAspectRatioInside 

Keep aspect ratio and ensure that the transformed gradient pattern fits within the graphic/port bounding box.

IlvGradientAspectRatioOutside 

Keep aspect ratio and ensure that the graphic/port bounding box fits within the transformed gradient pattern.

◆ IlvGradientTransformMode

The gradient transform mode.

This enumeration specifies which transformation to apply when drawing a gradient pattern.

See also
IlvGradientGeometry::setTransformMode().
Enumerator
IlvGradientTransformGraphic 

The transformation is computed relative to the graphic object bounding box.

IlvGradientTransformGraphicNoResize 

The transformation is a translation to the upper left corner of the graphic object.

IlvGradientNoTransform 

No transformation.