TransformVectors(pointsArray) ?" />
开发者

Matrix TransformPoints vs TransformVectors

开发者 https://www.devze.com 2023-01-07 06:03 出处:网络
What is, in a \"for dummies\" interpretation, the difference between System.Drawing.Drawing2D.Matrix TransformPoints(pointsArray) <==> TransformVectors(pointsArray) ?

What is, in a "for dummies" interpretation, the difference between

System.Drawing.Drawing2D.Matrix

TransformPoints(pointsArray) <==> TransformVectors(pointsArray) ?

Edit:

there is also a VectorTransformPoints(...) method开发者_StackOverflow社区, by the way... :)


Matrix::TransformPoints will translate, rotate and scale the points passed to it.

Matrix::TransformVectors will only rotate and scale the points while ignoring the translation.

Reflector tells me that Matrix::VectorTransformPoints simply forwards it's argument to Matrix::TransformVectors.

0

精彩评论

暂无评论...
验证码 换一张
取 消