[cairo-compmgr] doubt about ccm_pixmap_shm_repair |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/cairo-compmgr Archives
]
- To: cairo-compmgr@xxxxxxxxxxxxxxxxxxx
- Subject: [cairo-compmgr] doubt about ccm_pixmap_shm_repair
- From: "Carlos Diógenes" <cerdiogenes@xxxxxxxxx>
- Date: Tue, 8 Jan 2008 11:46:15 -0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=FwyhCNMHtj7OSxJASEe43FE9XTlRlrhWOyyaKUZZo9Y=; b=TIy5llAj2RuxDOiQA4/mUriVH6JZd2CKLFZZy3z8Z0AKuvLVvF0/p43NDhqD7rKbfveC9ZL13KuRiiOAK/Z3/Ghp1eXAOBRvx/Fv0YBUBMAscfuzVNi1BTTsyQz6O5dTq7WpoFQvg+RXjbTB/MrjyITZY6I6ZPtP2QZDF7v3570=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=G9vQy57KkO8VECUut2L9csRe5LI27FVQm85517tky2m9QSDFChp3zA7rivsuZjIWDs9vRnmSHB/E1J3QykIg4RIsT1PJHJ6v/h4aLycw1cQCCgYaQAYHPAEPQETD/3yLtHDh3LPF7b1rTqmONMF9w3e1NjKKG8pj853WwlWSpp8=
Hi,
In the function ccm_pixmap_shm_repair I don't understand how this call
is possible:
XCopyArea(CCM_DISPLAY_XDISPLAY(display),
CCM_PIXMAP_XPIXMAP(self), self->priv->pixmap,
self->priv->gc,
0, 0, self->priv->image->width, self->priv->image->height, 0, 0);
since self->priv->pixmap is a GObject and not a drawable. Probably I'm
missing something and probably this is due my lack of knowledge about
GObject. Can you explain me how this works Nicolas?
Thanks,
Carlos.
---