Re: How to rotate a complex object on the canvas




maura.monville@xxxxxxxxx schrieb:

http://www.trusoftdev.za.net/maura/MARS-gui/ColorBar-Rotation.png

With reference to the picture above, my goal is to rotate by 90 degrees
and move the color-bar, that nowappears at the bottom of the canvas,
in order to free space for inserting texts.
Of coutse also the numerical labels underneath and at its isded , the
small axes symbol and the "Aspect Ratio .." must be rotated and move
with the color_bar appropriately.

Is the above feasible through any magic Tcl/Tk command ?

Rotation by any degree is only possible for line and polygon items.
A kind of rotation in 90 degree steps is also possible for rectangles
and ovals.
Your screenshot shows many items composed in various ways - I'm afraid
you'll have to rewrite the code that creates them all, especially as
you also want to move parts to some other place.

.



Relevant Pages

  • Re: How to rotate a complex object on the canvas
    ... integrated Blt that allows for rotating texts it'll become feasible .. ... With reference to the picture above, my goal is to rotate by 90 degrees ... Rotation by any degree is only possible for line and polygon items. ...
    (comp.lang.tcl)
  • Re: Newbie looking for info on basic graphics with Delphi.
    ... The wireframe itself is of course three-dimensional; for rendering ... \y/ over an angle phi is done by ... Even knowing *why* it can't really do anything else than rotate ... since rotation is about the model's origin, ...
    (comp.lang.pascal.delphi.misc)
  • Re: translation and rotation in Euclidean space
    ... In the second place a single rotation only requires a 2x2 matrix. ... do and wish to rotate and translate a scene it is helpful if you process ... a 2d rank tensor, say Lij, a vector is a 1st rank tensor say Xi and ...
    (sci.physics.relativity)
  • Re: newbie: rotating meshes
    ... The problems I noticed, were if you for example rolled the ship, then tried ... not the rolled x axis, which says to me that the math for matrix ... concatenation doesnt rotate the values of the matrix correctly is some ... which meant the y roation rotated the models x axis whereas the z rotation ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: translation and rotation in Euclidean space
    ... In the second place a single rotation only requires a 2x2 matrix. ... do and wish to rotate and translate a scene it is helpful if you process ... a 2d rank tensor, say Lij, a vector is a 1st rank tensor say Xi and ...
    (sci.physics.relativity)