Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rotating a squared matrix
#1
Hi, I'm working on a image (Tile) editor in Qbasic and my Rotate 90 degrees function doesn't work for smaller selections within a bigger image.

So, to solve my problem I need to know how I can achieve this in QBasic:

We have this matrix and the selection I made and I wish to rotate it 90 degrees clockwise:

Before the rotation:
[Image: before.gif]

After the rotation:
[Image: after.gif]

Please help me!

Regards,
Clay Dragon
Reply


Messages In This Thread
Rotating a squared matrix - by Clay Dragon - 01-12-2008, 06:21 AM
Re: Rotating a squared matrix - by Mac - 01-23-2008, 09:23 PM
Re: Rotating a squared matrix - by Clay Dragon - 01-24-2008, 05:31 AM
Re: Rotating a squared matrix - by Tia - 01-24-2008, 08:53 AM
Re: Rotating a squared matrix - by Clay Dragon - 01-24-2008, 09:06 AM
Re: Rotating a squared matrix - by Mac - 01-24-2008, 06:20 PM
Re: Rotating a squared matrix - by Clay Dragon - 01-25-2008, 05:36 AM
Re: Rotating a squared matrix - by Ralph - 01-25-2008, 09:40 AM
Re: Rotating a squared matrix - by Dr_Davenstein - 01-25-2008, 10:20 AM
Re: Rotating a squared matrix - by Ralph - 01-25-2008, 10:09 PM
Re: Rotating a squared matrix - by Clay Dragon - 01-25-2008, 10:56 PM
Re: Rotating a squared matrix - by Dr_Davenstein - 01-26-2008, 05:51 AM
Re: Rotating a squared matrix - by Mac - 01-26-2008, 09:39 AM
Re: Rotating a squared matrix - by Ralph - 01-26-2008, 10:01 AM
Re: Rotating a squared matrix - by Ralph - 01-26-2008, 10:24 AM
Re: Rotating a squared matrix - by Dr_Davenstein - 01-26-2008, 11:24 AM
Re: Rotating a squared matrix - by Dr_Davenstein - 01-26-2008, 11:24 AM
Re: Rotating a squared matrix - by Clay Dragon - 01-27-2008, 02:11 AM
Re: Rotating a squared matrix - by Ralph - 01-29-2008, 02:26 AM
Re: Rotating a squared matrix - by Clay Dragon - 09-18-2009, 09:46 AM
Re: Rotating a squared matrix - by Mac - 01-23-2008, 11:26 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)