je me attendrais (basé sur l'intuition, et la mise en œuvre de AffineTransform
en Java):La concaténation matricielle est-elle inversée dans Android?
a.postConcat(b) -> a = a x b
a.preConcat(b) -> a = b x a
mais selon la documentation Android:
public boolean preConcat (Matrix other)
Preconcats la matrice avec la matrice spécifiée. M '= M x autre
public boolean postConcat (Matrix other)
Postconcats la matrice avec la matrice spécifiée. M '= autre x M
Cela me semble aller vers l'arrière, est-ce que quelque chose me manque?
Code reformaté; s'il vous plaît revenir si incorrect. – trashgod
N'est-ce pas le fameux (in) string.join (iterable) en Python? :) – unwind
Dans 'AffineTransform',' concat() 'joue le rôle de votre hypothétique' postConcat() '. – trashgod