Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2004:
[Freeciv-Dev] (PR#7637) Problem with line_width=2 [take 4]
Home

[Freeciv-Dev] (PR#7637) Problem with line_width=2 [take 4]

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#7637) Problem with line_width=2 [take 4]
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Sat, 6 Mar 2004 12:55:35 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7637 >


The comment of gui_put_line is plain wrong:

  Draw a 1-pixel-width colored line onto the mapview or citydialog canvas.

since the function also draws 2-pixel-width lines

Additionally there is no clear semantic where the extra pixel of the 2
pixel width line should be placed. For odd line widths it is clear but
for even it isn't. Either this gets defined OR (what I would prefer)
the border code deals with it and calls gui_put_line two times.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Microsoft DNS service terminates abnormally when it recieves a response
  to a DNS query that was never made.
  Fix Information: Run your DNS service on a different platform."
    -- MS service information on bugtraq




[Prev in Thread] Current Thread [Next in Thread]