[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: koffice/krita/core
From: Casper Boemann <cbr () boemann ! dk>
Date: 2005-03-28 14:35:50
Message-ID: 200503281635.50643.cbr () boemann ! dk
[Download RAW message or body]
On Monday 28 March 2005 16:11, Casper Boemann wrote:
> On Monday 28 March 2005 15:41, Boudewijn Rempt wrote:
> > > regarding mirroring: was that function really needed? I would have
> > > thought taking the layeroffset and image dimensions and calculating a
> > > new layeroffset would be enough.
> >
> > I explicitly didn't want the image dimensions to come into play; if a
> > layer is bigger than an image, I want it mirrored completely, not just
> > the bits inside the image dimensions.
>
> I agree, but still if you just mirror the normal extent
>
> then the change in x offset would be = imagewidth - pre_extent.x - extent.w
sorry, that would give you what the new extent.x should be
but then the change in offset would be:
imagewidth - 2 *pre_extent.x - extent.w
--
best regards / venlig hilsen
Casper Boemann
_______________________________________________
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