[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: Rotate image dialog
From: Bart Coppens <kde () bartcoppens ! be>
Date: 2005-04-03 20:40:40
Message-ID: 200504032240.41301.kde () bartcoppens ! be
[Download RAW message or body]
On Monday 28 March 2005 16:47, Boudewijn Rempt wrote:
> * I want a preview thumbnail of the rotated image/layer/(selection) -- and
> I haven't got a clue how to go about that. Bart, you've done the preview
> dialog -- have you any good suggestions for me?
If you mean to just have a widget displaying a small, (resized) rotated
version of a layer, you could probably just resize the layer, rotate it, and
add that layer to a (new) KisImage.
Then paint the image on the widget with the code from
KisPreviewView::render(QPainter &painter, KisImageSP image)
but without the painter.scale part, because the image would be scaled before
painting it.
Bart Coppens
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic