Ticket UUID: | 220787 | |||
Title: | Stipple patterns don't work in arc/oval items on Windows/Mac | |||
Type: | Bug | Version: | obsolete: 8.6b1 | |
Submitter: | welch | Created on: | 2000-11-01 00:54:06 | |
Subsystem: | 05. Canvas Items | Assigned To: | nobody | |
Priority: | 5 Medium | Severity: | Minor | |
Status: | Open | Last Modified: | 2019-12-05 07:05:13 | |
Resolution: | Duplicate | Closed By: | nobody | |
Closed on: | 2017-12-13 23:35:23 | |||
Description: |
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 | |||
User Comments: |
fvogel added on 2018-09-10 20:48:01:
Link to the patch proposed ten years ago that I just rediscovered: [1493260fff] fvogel added on 2017-12-12 20:33:23: See [f3e40e98d4] for an attempt of a fix. nijtmans added on 2010-04-29 22:47:34: Still not fixed in Tk 8.6b1 eabrek added on 2009-07-07 15:51:14: I installed Activestate Tcl 8.5.5.0 a while back. This bug is still present. Is there some problem with the patch? pcaffin added on 2008-03-13 15:59:26: 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? nobody added on 2006-05-23 15:09:29: Logged In: NO Xref: patch 1493260 nobody added on 2006-05-23 05:43:22: Logged In: NO I am posting the code in the patches section. eabrek added on 2006-05-20 02:59:06: 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. eabrek added on 2006-05-12 01:12:31: 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! dkf added on 2006-03-08 05:31:56: Logged In: YES user_id=79902 doc update applied; keeping open as it would still be nice to fix the bug (if possible) reowen added on 2006-03-08 02:56:08: 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? hobbs added on 2005-12-08 00:42:42: Logged In: YES user_id=72656 It most certainly works on unix, but remember that you need to use -outlinestipple. jaspert added on 2005-12-07 23:36:00: 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_! bach added on 2001-12-13 23:36:43: Logged In: YES user_id=98533 For 8.3.4, stippleborders work for polygons, but not for rectangles (Win NT). dkf added on 2000-12-03 01:58:02: 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... |
