2.8.68 TimeScaleBehaviorAtom

Referenced by: TimeScaleBehaviorContainer

An atom record that specifies animation information for scaling the size of an object.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

rh

...

A

B

C

D

reserved

fXBy

fYBy

fXFrom

fYFrom

fXTo

fYTo

fZoomContents

unused

rh (8 bytes): A RecordHeader structure (section 2.3.1) that specifies the header for this record. Sub-fields are further specified in the following table.

Field

Meaning

rh.recVer

MUST be 0x0.

rh.recInstance

MUST be 0x000.

rh.recType

MUST be an RT_TimeScaleBehavior.

rh.recLen

MUST be 0x00000020.

A - fByPropertyUsed (1 bit): A bit that specifies whether fXBy and fYBy were explicitly set by a user interface action.

B - fFromPropertyUsed (1 bit): A bit that specifies whether fXFrom and fYFrom were explicitly set by a user interface action. If fFromPropertyUsed is TRUE, fByPropertyUsed or fToPropertyUsed MUST also be TRUE.

C - fToPropertyUsed (1 bit): A bit that specifies whether fXTo and fYTo were explicitly set by a user interface action.

D - fZoomContentsUsed (1 bit): A bit that specifies whether fZoomContents was explicitly set by a user interface action.

reserved (28 bits): MUST be zero, and MUST be ignored.

fXBy (4 bytes): A floating-point number that specifies the offset value of the width of the object that is animated. It MUST be ignored if fByPropertyUsed is FALSE or if fToPropertyUsed is TRUE.

fYBy (4 bytes): A floating-point number that specifies the offset value of the height of the object that is animated. It MUST be ignored if fByPropertyUsed is FALSE or if fToPropertyUsed is TRUE.

fXFrom (4 bytes): A floating-point number that specifies the starting value of the width of the object that is animated. It MUST be ignored if fFromPropertyUsed is FALSE and a value of 0 MUST be used instead.

fYFrom (4 bytes): A floating-point number that specifies the starting value of the height of the object that is animated. It MUST be ignored if fFromPropertyUsed is FALSE and a value of 0 MUST be used instead.

fXTo (4 bytes): A floating-point number that specifies the end value of the width of the object that is animated. It MUST be ignored if fToPropertyUsed is FALSE and a value of 100 MUST be used instead.

fYTo (4 bytes): A floating-point number that specifies the end value of the height of the object that is animated. It MUST be ignored if fToPropertyUsed is FALSE and a value of 100 MUST be used instead.

fZoomContents (1 byte): A bool1 (section 2.2.2) that specifies whether the content contained by the scaling object is also scaled. It MUST be ignored if fZoomContentsUsed is FALSE and a value of 0x01 MUST be used instead.

unused (3 bytes): Undefined and MUST be ignored.