Drawing an image in the background of a frame

Lele Gaifax <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Organization Nautilus Entertainments
Message-ID <[email protected]>
Hi all,

I'm asked if it would be possible to obtain something like the following
sketch, where I have a frame with a "background" image and, in a specified
area (a "subframe"), a superimposed list of flowables (paragraphs of text)
with a "white" background:

    +--------------------------------+
    |iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii|
    |iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii|
    |iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii|
    |iiiiiiiiiiiiiiiiiiii+-----------+
    |iiiiiiiiiiiiiiiiiiii|           |
    |iiiiiiiiiiiiiiiiiiii| fffffffff |
    |iiiiiiiiiiiiiiiiiiii| fffffffff |
    |iiiiiiiiiiiiiiiiiiii| fffff     |
    |iiiiiiiiiiiiiiiiiiii|           |
    +--------------------+-----------+

The problem is that I should omit the image *iff* the flowables do not fit in
the given area, possibly "trying" further combinations of image+flowables
until one fits, so I cannot simply draw the image and then do a
"subframe.add(flowable)".

What approach(es) would you suggest, if any?

Thanks in advance for any hint,
ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
[email protected]  |                 -- Fortunato Depero, 1929.

_______________________________________________
reportlab-users mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/reportlab-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.