| Deutsch English Français Italiano |
|
<893555a6adcb79aedfb410ba3279cf76@www.novabbs.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail From: Nicolas Robert <nicolas.robert.19000@gmail.com> Newsgroups: comp.lang.tcl Subject: Announce: pix v0.4 released Date: Sun, 2 Mar 2025 19:30:32 +0000 Organization: novaBBS Message-ID: <893555a6adcb79aedfb410ba3279cf76@www.novabbs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: i2pn2.org; logging-data="2541508"; mail-complaints-to="usenet@i2pn2.org"; posting-account="yaRfonnw9z8mYYuYLSOXLEsTycPJlcU2R78DTNDOECs"; User-Agent: Rocksolid Light X-Rslight-Site: $2y$10$zRopoLvwSmOEvXSEY5yYjegHMiU3otV4eqG.YezMT73/lJEogB6D6 X-Spam-Checker-Version: SpamAssassin 4.0.0 X-Rslight-Posting-User: fb32d8609198278b7f44221f7e887491c807a201 Version 0.4 of pix, Tcl wrapper around Pixie (https://github.com/treeform/pixie), a full-featured 2D graphics library written in Nim has been released. Compatibility : Tcl/Tk 8.6 & 9.0 Platforms : - MacOS (x64 / arm64) - Windows x64 - Linux x64 Note: I have mainly tested this package on Windows and MacOs x64 with version 8.6.14 and 9.0.1 of Tcl/Tk, it should work on Linux and MacOS arm (I hope so!) Features: - Typesetting and rasterising text, including styled rich text via spans. - Drawing paths, shapes and curves with even-odd and non-zero windings. - Supported file formats are PNG, BMP, JPG, SVG (pretty limited for SVG file) - Complex masking: Subtract, Intersect, Exclude. - ... For my part, I mainly use this library to find out whether point coordinates are on or outside curves (bezier, circle, etc ...) in order to display them in real time on an image. See https://github.com/nico-robert/pix for more information and the “Releases” section to download binaries for the platforms mentioned above. Best regards, Nicolas Ps: Many thanks to the Nim community for their invaluable advice, and also to the members of TCT, Jan for his advice on switching to Tcl/Tk9 stubs and Ashok, who once again took to his diving mask and immersed himself in my code to check its syntax.