Christopher Harvey wrote:
I'm drawing some arcs in a gtk drawing area. Those arcs can get dragged
around. I'd like to redraw only along the lines, is there already code
that will let me turn a path into a region to redraw? I have access to
the original path and the destination path.

Thanks,
Chris.
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list


I've never needed to do this before. I'm not sure if you'll be able to easily get a tight region around the path, but you can get a rectangle bounding the path using Context::get_stroke_extents() or (get_path_extents() or get_fill_extents() depending on your needs). if you need something more than that, I'm guessing you'll need to code something yourself.

--
jonner
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to