HC convert: help with text as graphic or rotated text
Emmett Gray
film2 at handheldfilm.com
Fri Dec 25 09:11:18 EST 2009
Thanks, Mark, your "attempt" works. Here's my functioning handler:
on doSpine -- called on closing the field "Spine Text" and again when
printing, to be safe
set tool to pointer --to delete existing spine graphic
click at 49,166
delete
click at 455,166
delete
set tool to browse
select empty --to be sure source field is not selected, otherwise
blue hilite border is included in snapshot
import snapshot from field "Spine Text"
set the angle of the last image to 90
move the last image to 49,166 in 1 ticks
copy the last image
paste
set the angle of the last image to 270
move the last image to 455,166 in 1 ticks
end doSpine
The rotated text is a bit fuzzy but is perfectly adequate for the
purpose. I'm very happy to be aboard this list and get such good and
speedy help. RunRev is beginning to be fun to use. I bought a copy
way way back when Rev had a special offer for HC users, paid good
money for the package, gave up in frustration. Just last week I
decided to have another go with the free version since SheepShaver
has been getting on my nerves lately. In fact it crashed the whole
machine last week...
On Thu, 24 Dec 2009 09:44:14 -0800, Mark Wieder <mwieder at ahsoftware.net> wrote:
>> If there is a way to rotate text in Rev I would have an easy
>> solution. I didn't find it, nor can I find a text as graphic tool in
>> Rev to do it the HC way... TIA for help.
>
>Here's my attempt at it - this code in a button script will create a
>graphic from the text, then rotate it 90 degrees:
>
>on mouseUp pMouseBtnNo
> import snapshot from field "fldTextToRotate"
> set the angle of the last image to 90
>end mouseUp
>
More information about the use-livecode
mailing list