• Announce: pix v0.4 released

    From Nicolas Robert@nicolas.robert.19000@gmail.com to comp.lang.tcl on Sun Mar 2 19:30:32 2025
    From Newsgroup: comp.lang.tcl

    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.
    --- Synchronet 3.20c-Linux NewsLink 1.2