Reputation: 2347
Can anyone explain the conversion factor for the rotation number in Internet explorer, or how to use it properly? For example:
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation= 1.8);
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation= 1.8)";
copy-ms-transform:rotate(11.5deg);
I understand rotation in chrome because it's measured in degrees, but I'm not sure what this is using as its unit.
Upvotes: 0
Views: 201
Reputation: 54797
From the Microsoft documentation:
Sets or retrieves the value that indicates whether the content is rotated in ninety-degree increments.
So basically, 1
is equal to 90 degrees when using the BasicImage Rotation property. So a rotation of 1.8
is equal to a rotation of 162 degrees.
Upvotes: 0
Reputation: 97004
From Microsoft's documentation:
iRotation specifies or receives one of the following values:
0 Default. Content is not rotated.
1 Content is rotated 90 degrees.
2 Content is rotated 180 degrees.
3 Content is rotated 270 degrees.
Upvotes: 1