[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: Programming questions
From: Casper Boemann <cbr () boemann ! dk>
Date: 2005-07-10 12:30:59
Message-ID: 200507101430.59328.cbr () boemann ! dk
[Download RAW message or body]
On Sunday 10 July 2005 14:17, Michael Thaler wrote:
> void KisCubismFilter::fillPolyColor (KisPaintDeviceSP src, KisPaintDeviceSP
> dst, KisPolygon* poly, Q_UINT8* col, Q_UINT8* dest)
> {
> ..
> Q_INT32 sx = poly[0].x();
> ...
> }
poly[0] gives you the KisPolygon (remember poly was a pointer)
so you should write
Q_INT32 sx = (*poly)[0].x();
--
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