Tk Source Code

View Ticket
Login
Ticket UUID: 1187074
Title: Windows XDrawArc implementation
Type: Bug Version: None
Submitter: jenglish Created on: 2005-04-21 02:32:43
Subsystem: 82. X11 Emulation Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2017-10-01 17:11:13
Resolution: None Closed By: nobody
    Closed on:
Description:
Attached script 'arcs.tcl' creates a canvas with two
sets of concentric circles, the first with odd sizes
(width = height = 1, 3, 5, ...) and the second with
even sizes (width=height=2, 4, 6, ...)

x11dump.png is a screendump taken on X11, and shows
what it's supposed to look like -- notice in particular
that there are no "gaps" between circles.

windump.png is a screenshot taken on Windows 2K; notice
that there are lots of gaps, and that some of the
circles aren't even symmetric.

The same thing happens when using the XLEL XDrawArc()
function from C on Windows, it's just easier to
demonstrate with a canvas widget.
User Comments: fvogel added on 2017-10-01 17:11:13:
I have re-attached the binary attachments of this ticket since migration from cvs to fossil got them lost in translation.

hobbs added on 2005-05-31 10:47:01:
Logged In: YES 
user_id=72656

see also 1081603

hobbs added on 2005-04-21 11:02:42:

File Added - 131139: arcs-ce.png

hobbs added on 2005-04-21 11:02:41:
Logged In: YES 
user_id=72656

and attached is a screenshot of the drawn arcs on CE.

hobbs added on 2005-04-21 11:01:48:

File Added - 131138: tkWinCE.c

hobbs added on 2005-04-21 11:01:46:
Logged In: YES 
user_id=72656

I'm attaching some CE code that I pulled from somewhere else
and adapted to Tk to support drawing arcs on CE.  They
aren't identical to the X11 versions, but they appear to be
better than the XLEL versions.  You can see if they can be
adapted to the XLEL.

jenglish added on 2005-04-21 09:37:03:

File Added - 131132: win-magnified.png

jenglish added on 2005-04-21 09:36:43:

File Added - 131131: x11-magnified.png

jenglish added on 2005-04-21 09:36:42:
Logged In: YES 
user_id=68433

Attaching magnified screenshots to better show the problem.

jenglish added on 2005-04-21 09:33:51:

File Added - 131130: windump.png

jenglish added on 2005-04-21 09:33:10:

File Added - 131129: x11dump.png

jenglish added on 2005-04-21 09:32:44:

File Added - 131128: arcs.tcl

Attachments: