Implements the algorithm described in "Adaptive Photo Collection Page Layout", C. Brian Atkins Imaging Technology Department HP Labs Palo Alto, CA 94304 cbatk.nosp@m.ins@.nosp@m.hpl.h.nosp@m.p.co.nosp@m.m
PDF available at this url: hpl.hp.com/research/isl/layout/
◆ AtkinsPageLayout()
DigikamGenericPrintCreatorPlugin::AtkinsPageLayout::AtkinsPageLayout |
( |
const QRectF & |
pageRect | ) |
|
|
explicit |
Create a page layout object which lays out in the given page rectangle
◆ ~AtkinsPageLayout()
DigikamGenericPrintCreatorPlugin::AtkinsPageLayout::~AtkinsPageLayout |
( |
| ) |
|
◆ addLayoutItem()
void DigikamGenericPrintCreatorPlugin::AtkinsPageLayout::addLayoutItem |
( |
int |
key, |
|
|
const QSizeF & |
itemSize |
|
) |
| |
Add an object of size itemSize to this page. The specified key parameter is used to retrieve the layout rectangle with itemRect().
◆ itemRect()
QRectF DigikamGenericPrintCreatorPlugin::AtkinsPageLayout::itemRect |
( |
int |
key | ) |
|
Retrieve the layout rectangle for the item that was added with the given key. Call this method to retrieve the result after you have added all items with the addLayoutItem method. The returned rectangle has the same origin as the page rectangle.
The documentation for this class was generated from the following files: