From kde-kimageshop Tue Sep 28 06:44:32 2004 From: Boudewijn Rempt Date: Tue, 28 Sep 2004 06:44:32 +0000 To: kde-kimageshop Subject: Re: Pixel access Message-Id: <200409280844.34747.boud () valdyas ! org> X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=109635764124306 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0608121892==" --===============0608121892== Content-Type: multipart/signed; boundary="nextPart2801855.zWcdG1kLXu"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2801855.zWcdG1kLXu Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 27 September 2004 19:08, Cyrille Berger wrote: > There are two functions to create an iterator : iteratorPixelBegin and > iteratorPixelSelectionBegin, the first one if you don't care about > selection, the second one if you care. I do think that in your case you > need to use the first one. I would like to have the option in the scaling code to use either, because it can be very powerful to just scale a selection. But maybe that's better= =20 implemented by copying the selection to a temp layer, scaling that, scaling= =20 the selection layer, and putting the temp layer back and replace the old selection layer with the new selection layer. Hey, this is something I coul= d=20 code right now!=20 <...> Thanks for the explanation; I've added it to the docs in the header file. =2D-=20 Boudewijn Rempt | "Geef mij maar zuurtjes." http://www.valdyas.org/fading/index.cgi --nextPart2801855.zWcdG1kLXu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBWQhSdaCcgCmN5d8RAityAJ0etGW8ezDWj4NOj3c2DTOxCvFqCwCgopP4 BkUkT/DxFu0CeAZzn4McE/Y= =WZIO -----END PGP SIGNATURE----- --nextPart2801855.zWcdG1kLXu-- --===============0608121892== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kimageshop mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop --===============0608121892==--