wrapping text around images?

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jrioux
Posts: 50
Joined: Fri May 04, 2007 4:02 pm

wrapping text around images?

Post by jrioux » Tue Aug 12, 2008 8:24 pm

I know about Revolution's imageSource property and note that an image bigger than the character it's replacing will obviously take up more room (esp. height) than the remaining lines of text. Is there any way to include an image within a field and have the text "wrap around" the image, so that all lines of text are the same "height"?

jrioux
Posts: 50
Joined: Fri May 04, 2007 4:02 pm

Post by jrioux » Tue Aug 12, 2008 8:30 pm

Alternatively, is there something like a windowShape property for objects (like fields)? (That way the field could have a "hole" in it for the image.)

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Wed Aug 13, 2008 5:54 am

You could try playing around with a group, a graphics object and blends; but that will not help wrapping the text as it won't know about the hole.

For more information on using groups and blends for soft clipping, see this old blog post by Mark Waddingham: http://www.revdeveloper.com/include/blo ... p=4#more-4

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Post Reply