Onwards and Upwards - vertical text, transparent version
[1/1] from: arolls::bigpond::net::au at: 7-Jun-2001 17:27
Here is a modified version with transparent
background to the text. See below.
> The solution works untill there is no underlying face image or the face is
> transparent. For most cases should be sufficient though ...
<<quoted lines omitted: 6>>
> >
> > Anton.
;original
img: to-image layout [
backdrop black ; black will be keyed for transparency
origin 0x0
H1 "hello there" white
]
view center-face layout [image img]
; one way - make the face yourself
rot-face: center-face make face [
image: img
size: reverse img/size ; (width, height) -> (height, width)
edge: none
effect: [rotate 90] ; could put key black here too
]
view rot-face
; or another way - lay it out with layout, and with transparency
view center-face layout [
box red / 2 ; to make transparency obvious
at 20x30
image img reverse img/size effect [rotate 270 key black]
]
Anton.
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted