1
我预计(基于直觉,和AffineTransform
在Java中实现):在Android中向后矩阵连接?
a.postConcat(b) -> a = a x b
a.preConcat(b) -> a = b x a
,但根据Android文档:
public boolean preConcat (Matrix other)
Preconcats与指定矩阵的矩阵。 M'= M x其他
public boolean postConcat (Matrix other)
对指定矩阵的矩阵进行后处理。 M'=其他x M
这似乎倒退给我,我错过了什么吗?
重新格式化的代码;如果不正确请回复。 – trashgod 2010-08-26 17:08:06
这不就像Python中着名的string.join(iterable)吗? :) – unwind 2010-08-26 17:09:08
在'AffineTransform'中,'concat()'扮演了你假设的'postConcat()'的角色。 – trashgod 2010-08-26 17:14:00