rotateFromVector

< svg‎ | methods
Jump to: navigation, search


Notes

Remarks

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.

Syntax

Standards information

See also

Related pages (MSDN)

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]