I'm feeling dim...

Sven Langkamp longamp at reallygood.de
Thu Sep 9 21:17:20 CEST 2004


Boudewijn Rempt wrote:

>But for the life of me I don't understand the following:
>
>given a method KisPainter::bitBlt(..., KisPaintDeviceSP dev,...);
>
>and a 
>
>KisPaintDeviceSP dev = new KisLayer();
>
>why do I have to do
>
>bitBlt(..., dev.data(), ...); ?
>
>I know it works, but it looks wrong, and besides, I cannot figure out
>whose method data() is -- it looks like it comes from the shared pointer
>wrapper, but I cannot find it there.
>
Inherited from KisPaintDevice.


More information about the kimageshop mailing list