Re: gtk-list digest, Vol 1 #1332 - 13 msgs
- From: Allan Black - Sun UK <Allan Black sun com>
- Cc: gtk-list gnome org
- Subject: Re: gtk-list digest, Vol 1 #1332 - 13 msgs
- Date: Mon, 30 Dec 2002 16:52:13 +0000
How about creating the colour/texture in a pixmap and then drawing it
using a filled rectangle as a mask?
That would save you iterating through the pixels, searching for the
boundary, and would also give you the exact points from the
'draw_line' function to clip the image.
Allan
> Saul Simhon wrote:
> > I wish I can use gdk_draw_polygon....However I need to plug in my own
> custom
> > flood fill algorithm. (its actually a texture synthesis method!) I
> >>>I'm trying to write a custom procedure that would flood fill an area
> > using a color (or texture). I have used the drawing_area widget
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]