Re: Off-by-one in gdk_draw_poly
- From: Kenneth Albanowski <kjahds kjahds com>
- To: gtk-devel-list redhat com
- Subject: Re: Off-by-one in gdk_draw_poly
- Date: Sat, 21 Nov 1998 18:31:46 -0500 (EST)
On 21 Nov 1998, Owen Taylor wrote:
> I don't believe you are seeing a bug in GDK (which is only a
> think wrapper around X here) or in X. Rather, the set of pixels
> drawn by a filled polygon does not necessarily contain all the
> pixels drawn for an unfilled polygon. The filled polygon (IIRC)
> will only draw the pixels exactly on the border of the polygon
> for the top and left edges, but not for the bottom and right edges.
> (This is so that mulitiple adjacent polygons mate correctly)
As I recall, this also affects arcs (in an even less controllable manner.)
--
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]