Tk Source Code

View Ticket
Login
2026-10-24
15:06 • Ticket [3bfa5eb4] Aqua: add stipple and tile support status still Closed with 4 other changes artifact: 878199f3 user: chrstphrchvz
15:03 • Closed ticket [3bfa5eb4]. artifact: 7d1cedb9 user: chrstphrchvz
2026-10-23
23:58 • Ticket [220787ff] Stipple patterns don't work in arc/oval items on Windows/Mac status still Pending with 3 other changes artifact: 4d3f7050 user: chrstphrchvz
2022-09-11
00:41 • New ticket [3bfa5eb4] Aqua: add stipple and tile support. artifact: a770188b user: chrstphrchvz

Ticket UUID: 3bfa5eb4bd69e394c67dc6c017230179984a8a49
Title: Aqua: add stipple and tile support
Type: Patch Version: core-8-6-branch
Submitter: chrstphrchvz Created on: 2022-09-11 00:41:20
Subsystem: 82. X11 Emulation Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2026-10-24 15:06:14
Resolution: Out of Date Closed By: chrstphrchvz
    Closed on: 2026-10-24 15:06:14
Description:

Back in February 2022, as an exercise, I tried implementing stipple/tile support for Aqua using CGPattern, and had some success with not too much effort: see https://github.com/chrstphrchvz/tk/commits/aqua-stipple.

I think a few things still need to be addressed before this would be ready for Tk to incorporate, including improving code organization (it is currently placed in TkMacOSXSetColorInContext(), where it might not belong unless the function’s purpose and/or signature are adjusted); handling drawing into monochrome bitmaps; as well as coming up with a convenient way for others to test the FillOpaqueStippled and FillTiled functionality (I have verified these to work, but they aren’t used in core Tk).

User Comments: chrstphrchvz added on 2026-10-24 15:06:14:

Note: although macos-stipple did not implement tile support, I imagine it would not be too difficult to add later if requested.


chrstphrchvz added on 2026-10-24 15:03:32:

Closing; superseded by the macos-stipple branch which has been merged for 9.0+