Graphical Drawing

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

Submitted by Anonymous on Wed, 09/27/2000 - 04:57. General Questions
This one is killing me!! I am very new to Motif programming, and one of the first projects I am trying to do is draw a box and rotate it.
I can draw the box, draw the window it goes in, but I can`t get the damn box to rotate. I am using a rotation matrix to calculate the next position of the box (a set of 4 lines) but it just isn`t working - the code only draws all the boxes at once, or none at all.
Can anyone give me some pointers on drawing a box and rotating it visually (i.e not instantaneous). I don`t need to interact with the program, so a push button or such is not necessary.

Thanks for any help you could provide
Rob

Mon, 08/06/2012 - 13:05
#1
1 post / 0 new