Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Behavior to set the X scaling factor of a graphic object. More...
#include <ilviews/protos/graphacc.h>
Public Member Functions | |
IlvZoomYAccessor (const char *name, const char *nodename, const char *centerY) | |
Creates a new zoom accessor. | |
virtual IlBoolean | changeValue (IlvAccessorHolder *object, const IlvValue &val) |
Called by the method IlvAccessible::changeValue for each IlvAccessor attached to the IlvAccessorHolder . | |
virtual IlvValue & | queryValue (const IlvAccessorHolder *object, IlvValue &val) const |
Called by the method IlvAccessible::queryValue for each IlvAccessor attached to the IlvAccessorHolder . |
Behavior to set the X scaling factor of a graphic object.
Library: ilvproto
IlvZoomYAccessor
controls the vertical scaling factor of a graphic object. Each time the attribute is changed, the object is scaled to the attribute value and the new scale setting is stored.
IlvZoomYAccessor::IlvZoomYAccessor | ( | const char * | name, | |
const char * | nodename, | |||
const char * | centerY | |||
) |
Creates a new zoom accessor.
This accessor includes an IlvValueAccessor
of type float that holds the current scaling factor of the node. It is therefore implicitly typed to IlvFloatValueType
.
name | Name of the attribute. | |
nodename | Specifies the name of the node that contains the graphic object to be scaled. | |
centerY | Defines the scale center. centerY can contain a constant value, the name of another attribute, or an arithmetic expression that can contain attribute names and/or constants (see IlvUserAccessor::getValue ). |
© 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.