OriginalBugID: 1274 Bug
Version: 8.2
SubmitDate: '1999-02-23'
LastModified: '2000-04-03'
Severity: SER
Status: Assigned
Submitter: pat
ChangedBy: ericm
RelatedBugIDs: 1379 555 610 4081 4077 2495
OS: All Windows
Machine: X86
Name:
Christopher Nelson
ReproducibleScript:
canvas .c
pack .c
.c create oval 1i 1i 2i 2i -fill black -stipple gray50
ObservedBehavior:
The oval is drawn black, no fill pattern.
DesiredBehavior:
A 50% gray oval.
Stippling is not yet (as of 8.2.0 still) implement for non-Unix platforms.
-- 08/14/1999 hobbs
Some aspects of stippling work, but not most (see 4077, 4081).
-- 03/27/2000 hobbs
Confirmed in 8.3.0. And at the same time I noticed that thick ovals (-width 5) don't look to me to have a constant width on this Win98 machine at least. Strange...
Logged In: YES
user_id=98533
For 8.3.4, stippleborders work for polygons, but
not for rectangles (Win NT).
Logged In: YES
user_id=456242
As of TclTk 8.4.9 oval outlines, and the curved part of arc
outlines, do not stipple on _any_platform_!
Logged In: YES
user_id=72656
It most certainly works on unix, but remember that you need
to use -outlinestipple.
Logged In: YES
user_id=431773
As of Aqua Tk 8.4.12 rectangles ignore stipple. I've not
tried other canvas shapes.
May I suggest adding a warning to the documentation about
using stipple on non-unix platforms?
Logged In: YES
user_id=79902
doc update applied; keeping open as it would still be nice
to fix the bug (if possible)
Logged In: YES
user_id=896923
Is someone working on this bug? It impacts me directly, so
I will fix it if necessary. Please email me if I need to
fix this.
Thanks!
Logged In: YES
user_id=896923
I have fixed the bug to my satisfaction on my machine. I'd
like someone to look it over for integration into the main
code. What is the best way to go about that?
Thanks!
The fix makes use of
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnargdi/html/msdn_transblt.asp
It is about 60 lines of code. I am uncertain of the usage
of FillOpaqueStippled, so I am probably doing that wrong.
It seems possible to restructure the rectangle version to
be more like this, and possibly set up a function that both
could use.
Logged In: NO
I am posting the code in the patches section.
Logged In: NO
Xref: patch 1493260
Logged In: YES
user_id=2029956
Originator: NO
I've tested this bug using Tk 8.5.2.0.284581 (teapot) on both Windows XP Pro and Mac OS X 8.4.
The issue is still present on both platforms. Did the patch provided by 'nobody' on 2006-05-23 16:09 get tested or applied?
I installed Activestate Tcl 8.5.5.0 a while back. This bug is still present. Is there some problem with the patch?
Still not fixed in Tk 8.6b1