TransformVectors(pointsArray) ?" />
开发者

Matrix TransformPoints vs TransformVectors

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜