T O P I C R E V I E W |
adisonx |
Posted - Nov 03 2021 : 05:02:07 I have text layers above center of images and I want to rotate all text layers about center of image while maintain vertical space between text. How can I do that.
Thank you. |
3 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Nov 05 2021 : 21:07:07 OK. In that case it's all maths. Take the center of your text layer and calculate its angle and distance from the center of the image. Rotate the values, then update the layer position and rotation.
There are methods in hyieutils.pas that will help you, such as:
function IEDistPoint2Point(x1, y1, x2, y2: integer): double; procedure IERotatePoint(var px, py: integer; Angle: double; CenterX: integer = 0; CenterY: integer = 0);
Nigel Xequte Software www.imageen.com
|
adisonx |
Posted - Nov 04 2021 : 00:50:33 I mean coding to rotate text layers around center of image not interactively. |
xequte |
Posted - Nov 03 2021 : 18:01:36 Hi
I'm afraid there is not a way to do that interactively at this time. Or do you mean by coding?
Nigel Xequte Software www.imageen.com
|