Skewing a bitmap only in the vertical direction
I want to skew (correct me if this is not the correct word) a bitmap so that it appears to have depth. A good way to visualize what I am asking for is how the credits of Star Wars are angled to show depth. I have tried the following: canvas.getMatrix().postSkew(kx,ky,px,py); and canvas.skew(sx,sy); But I have not had much success. The above methods seem to always transform the bitmap into a parallelogram. Is there a way to transform the bitmap into a trapezoid instead? Here is a snippet of code that I took from the examples that Romain pointed me to. canvas.rotate(-mOrientation[0] + mHeading,