This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| =============================================================================== | |
| ACRD: Contrast Analysis and Directional Reconstruction v1.2 | |
| =============================================================================== | |
| High-performance post-processing anti-aliasing that detects edges using | |
| luminance analysis and smooths them through directional reconstruction. | |
| Algorithm Overview: | |
| 1. Detects edges by calculating local contrast with minimal initial sampling | |
| 2. Uses Sobel gradient to determine precise edge direction |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Tkinter | |
| def make_textmenu(root): | |
| global the_menu | |
| the_menu = Tkinter.Menu(root, tearoff=0) | |
| the_menu.add_command(label="Cut") | |
| the_menu.add_command(label="Copy") | |
| the_menu.add_command(label="Paste") | |
| the_menu.add_separator() | |
| the_menu.add_command(label="Select all") |