Hi all,
(the question could also be how to rotate a member bitmap within the
cast.)
I have one script running where i use 2 members bitmap + 1 text member
to generate a new composite of the 3.
it works. using the copytoclipboard and paste in PS, the reult is great.
now, for the second
On Thursday, December 12, 2002, at 05:45 AM, Fabrice Closier wrote:
see the problem as a book cover on front page you have the title and
pictures, now i need to build the side of the book, i need now to
minimize the title size and paste it on same picture this time with a
90 degrees rotation.
Matrix, matrix...hum... kan you develop a bit more?
or any place where i can find a tut on this?
Fabrice
Andreas Gaunitz P11 heeft op donderdag 12 december 2002 om 15:29 het
volgende geschreven:
(the question could also be how to rotate a member bitmap within the
cast.)
now, for the second
Thank you for the reply Warren, but thats not what i mean.
i compose an image in order to save/print it. it works if all the
members are the way they are.
now i want to use/paste a textfield rotated on a bitmap, for example the
side of a book. the text is 90 dg rotated and the image is still the
This code was posted by James Newton on the games list a little while ago - it should
point you in the right direction
on imageRotate(anImage, anAngle) -
-- INPUT: anImage must be an image object
--anAngle should be an integer or floating point
On Thursday, December 12, 2002, at 10:34 AM, Fabrice Closier wrote:
i compose an image in order to save/print it. it works if all the
members are the way they are.
now i want to use/paste a textfield rotated on a bitmap, for example
the side of a book. the text is 90 dg rotated and the image
you should be able to specify the copyPixels command using quads
(instead of rects) therefore do a rotation (I haven't done it, but
quads can certainly simulate rotation).
hth
-Buzz
At 12:45 PM +0100 12/12/02, you wrote:
Hi all,
(the question could also be how to rotate a member bitmap within
At 11:26 AM -0800 12/12/02, you wrote:
you should be able to specify the copyPixels command using quads
(instead of rects) therefore do a rotation (I haven't done it, but
quads can certainly simulate rotation).
hth
-Buzz
on rotateTextImage textMember, verify
IL =
OK. I think you should try the James Newton handler, but the
principle is like this:
You can use a rotation matrix to rotate a vector (or another matrix).
a point (x, y) in an image is a vector.
A 2d rotation matrix looks like this:
[a, b]
[c, d] where a = cos a#, b = -sin a#, c = sin a#, d