Sets the transform type to SVG_TRANSFORM_ROTATE by using the specified rotation angle and center of rotation.
HRESULT setRotate( float angle, float cx, float cy );
- [in] The rotation angle.
- [in] The x-coordinate of the center of rotation.
- [in] The y-coordinate of the center of rotation.
Returns one of the following values.
S_OK The operation completed successfully. W3CException_DOM_NO_MODIFICATION_ALLOWED_ERR An attempt is made to modify an object that cannot be changed.
The ISVGTransform::setRotate method can raise a DOMException exception with the code NO_MODIFICATION_ALLOWED_ERR. This exception is raised if you try to change the value of a read-only attribute.