TAlfTimedPoint Class Reference
Constructor & Destructor Documentation
TAlfTimedPoint(TReal32, TReal32)
Constructor that sets default values.
TAlfTimedPoint(TReal32, TReal32, TInt)
Constructor. Enables target value setting.
Parameters
TReal32 aXTarget | Target X value. |
TReal32 aYTarget | Target Y value. |
TInt aTransitionTime | When the target value will be in effect. Transition duration in milliseconds. |
Member Functions Documentation
IntTarget()
IMPORT_C TPoint | IntTarget | ( | ) | const |
Returns the target value of the point rounded to nearest integer values. Note that the TAlfTimedPoint values are floating-point.
Target() For returning the floating-point values.
IntValueNow()
IMPORT_C TPoint | IntValueNow | ( | ) | const |
Returns the current interpolatad value of the point rounded to nearest integer values. Note that the TAlfTimedPoint values are floating-point.
ValueNow() For returning the floating-point current value.
SetMappingFunctionIdentifier(TInt)
IMPORT_C void | SetMappingFunctionIdentifier | ( | TInt | aIdentifier | ) | |
Sets identifier of a mapping function that affects the timed value for both components of the point.
Parameters
TInt aIdentifier | Identifier of a function that will map the current value to required number space. |
SetStyle(TAlfInterpolationStyle)
Sets the interpolation style of both components of the point.
SetTarget(const TAlfRealPoint &, TInt)
Sets the target for the timed point.
Parameters
const TAlfRealPoint & aPoint | Target point. |
TInt aTransitionTime = 0 | Duration for reaching the target. |
SetTarget(TReal32, TInt)
IMPORT_C void | SetTarget | ( | TReal32 | aValue, |
| TInt | aTransitionTime = 0 |
| ) | |
Sets the target value of both components of the timed point.
Parameters
TReal32 aValue | New target value. |
TInt aTransitionTime = 0 | Duration for reaching the target. |
SetTargetWithSpeed(const TAlfRealPoint &, TReal32)
Sets the target value for the timed point, with a transition that is done using a specific speed.
Parameters
const TAlfRealPoint & aPoint | Target point. |
TReal32 aUnitsPerSecond | Units per second during the transition. |
SetTargetWithSpeed(TReal32, TReal32)
IMPORT_C void | SetTargetWithSpeed | ( | TReal32 | aValue, |
| TReal32 | aUnitsPerSecond |
| ) | |
Sets the target value of both components of the timed point.
Parameters
TReal32 aValue | New target value. |
TReal32 aUnitsPerSecond | Speed of change. |
Target()
Returns the target value of the point.
TimeToTargetinMilliSeconds()
Returns the transition time value of the point.
ValueNow()
Returns the current value of the point.
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.