Post-multiplies the matrix by a specified rotation transformation and returns the resulting matrix.
HRESULT rotateFromVector( float x, float y, ISVGMatrix **ppResult );
- [in] The x-coordinate of a vector (x,y) that determines the rotation angle. This coordinate cannot be zero.
- [in] The y-coordinate of a vector (x,y) that determines the rotation angle. This coordinate cannot be zero.
- [out, retval] The resulting matrix.
Returns one of the following values.
S_OK The operation completed successfully. W3CException_SVG_SVG_INVALID_VALUE_ERR The value is outside the expected range.
The rotation angle is determined by taking (+/-)arctan(y/x). The direction of the vector (x,y) determines whether the positive or negative angle value is used.
Post-multiplies means that other matrix operations are performed before this operation.