Re: [gtkmm] Drawing primitives on top of an image.
- From: Ainsley Pereira <gtkmm pebble org uk>
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] Drawing primitives on top of an image.
- Date: Wed, 27 Aug 2003 13:07:57 +0100
On Wed, Aug 27, 2003 at 02:55:26PM +0300, Giannis Georgalis wrote:
>
> Hello,
> I'm trying to write a program that will draw primitives (circles,
> rectangles and lines), on top of an image that I'll read from a
> file. Stealing code from the "examples" section and the gtkmm
> tutorial, I was able to write the following program, which does not
> work as expected (it only displays the image).
>
> What am I missing ? Any hint or pointer is highly appreciated.
Hi,
I think you're missing an actual DrawingArea widget. I'm not
entirely sure if that's necessary, but it wouldn't hurt.
Also, you might want to look at the attachments to bugzilla #120417 -
I'm in the process of updating the drawing area sample code.
Hope that helps,
Ainsley
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]