nanogui: [Nano-X] PolygonRegion
Subject:
Re: [Nano-X] PolygonRegion
From:
Murphy Chen ####@####.####
Date:
7 Jun 2000 00:58:09 -0000
Message-Id: <Pine.LNX.4.10.10006070838460.8578-100000@pc120105.ccl.itri.org.tw>
Dear Greg,
> No, we don't want to use bitmaps for clipping regions. The
> y-x-banding clip region code is perfectly capable of creating
> a polygon-based region. Think of many rectangles all tiling
> the interior area of the polygon. It is important to always
My concern is:
Say, if the polygon region is composed of a triangle shape,
wouldn't there be too many rectangles for filling
the triangle?
> use the MWCLIPREGION structure for regions, since then
> arbitrary regions can always be and/or/xor/excluded from
> any other using the existing routines. So the real problem
> is creating the MWCLIPREGION from a set of lines
> (polygons). I can find you some code for this if you are
> interested.
Great, please send me some. :)
With regards,
Murphy