Re: How to get GC of pixbuf?
- From: "Lewin A.R.W. Edwards" <larwe larwe com>
- To: gtk-app-devel-list gnome org
- Subject: Re: How to get GC of pixbuf?
- Date: Sun, 16 Dec 2001 20:18:44 -0500
Hi Havoc,
However I need to copy a rectangle from one pixbuf to another, and to
do that I need to create a GC for the target pixbuf. How do I do this?
gdk_pixbuf_copy_area() definitely doesn't take a GC.
Never mind me, I'm just on crack (and too tired). I was trying to use
the render functions to copy between pixbufs. (The code to actually
display stuff works fine. At the moment the only case I'm not handling
correctly is the case where the source is larger than the destination
and the user specified to center the image, no scaling).
Thanks!
--
-- Lewin A.R.W. Edwards (Embedded Engineer)
Work http://www.digi-frame.com/
Personal http://www.larwe.com/
Tel (914) 937-4090 9am-6pm ET M-F
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]