Question on Matrix Transformations

  • Thread starter Thread starter John
  • Start date Start date
J

John

When using the C# for the Matrix Transformation for a 100x200 panel:

1. To Reverse Y axis, I can:
Matrix m = new Matrix(new Rectangle(0,0,100,200), new Point[] {
new Point(0,100), new Point(100,200), new Point(0,0)} );

2. To Reverse X axis, I can:
Matrix m = new Matrix(new Rectangle(0,0,100,200), new Point[] {
new Point(100,0), new Point(100,200), new Point(0,0)} );

My question is:
How to reverse both X and Y axis using the Matrix Transformation?

Thanks,

(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top