double PrintOptionsPage::scaleHeight() const
{
    d->m_photos->at ( d->m_currentPhoto )->cropRegion = QRect ( 0, 0,
        ( int ) ( d->kcfg_PrintWidth->value() * unitToInches ( scaleUnit() ) ),
        ( int ) ( d->kcfg_PrintHeight->value() * unitToInches ( scaleUnit() ) ) );

    return d->kcfg_PrintHeight->value() * unitToInches ( scaleUnit() );
}
Exemplo n.º 2
0
double PrintOptionsPage::scaleHeight() const
{
    return d->kcfg_PrintHeight->value() * unitToInches ( scaleUnit() );
}
Exemplo n.º 3
0
double PrintOptionsPage::scaleWidth() const
{
    return d->kcfg_PrintWidth->value() * unitToInches ( scaleUnit() );
}