[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: [Bug 112306] JJ: Make "Keep Ratio" for pictures easiert to reach
From: Thomas Zander <zander () kde ! org>
Date: 2005-12-06 8:33:15
Message-ID: 20051206083315.7021.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=112306
zander kde org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
------- Additional Comments From zander kde org 2005-12-06 09:33 -------
SVN commit 485945 by zander:
Set Keep Aspect Ratio to true for inserted images
BUG: 112306
M +2 -0 KPrPage.cpp
--- trunk/koffice/kpresenter/KPrPage.cpp #485944:485945
@ -1451,6 +1451,7 @
kppixmapobject->setSize( m_doc->zoomHandler()->pixelXToPt( \
kppixmapobject->originalSize().width() ),
m_doc->zoomHandler()->pixelYToPt( \
kppixmapobject->originalSize().height() ) ); + \
kppixmapobject->setKeepRatio( true ); // pics have keep-aspect-ratio on by \
default.
KPrInsertCmd *insertCmd = new KPrInsertCmd( i18n( "Insert Picture" ), \
kppixmapobject, m_doc, this ); insertCmd->execute();
@ -1479,6 +1480,7 @
{
KoPictureKey key = m_doc->pictureCollection()->loadPicture( _file \
).getKey();
KPrPixmapObject *kppixmapobject = new KPrPixmapObject( \
m_doc->pictureCollection(), key ); + kppixmapobject->setKeepRatio( true \
); // pics have keep-aspect-ratio on by default. insertObject( i18n( \
"Insert Picture" ), kppixmapobject, _rect ); }
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic