I'm feeling dim...

Boudewijn Rempt boud at valdyas.org
Thu Sep 9 20:59:50 CEST 2004


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.

-- 
Boudewijn Rempt | "Geef mij maar zuurtjes."
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20040909/c66d62bc/attachment.pgp


More information about the kimageshop mailing list