package smaji_glyph_path

  1. Overview
  2. Docs
Smaji Glyph Path

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.1.0.tar.gz
sha256=905aeaaf51ce3e7aa77ff1880b7b0712a67c19fe80b2dd0923da8bb78583daa8
sha512=0ec4fc71bd758b64da9156d249d55eee3fbaa6190bb85ced9d48b51c04eb140b259168d74d59e1f6f6f705204ef68265537f98d7a5e8ec7e07e3d250e3a21154

doc/CHANGES.html

0.1.0 (2026-08-09)

Initial release, including modules:

  • Point: Provides fundamental 2D vector arithmetic (addition, scaling, rotation, distance calculation, etc.).
  • Matrix: 2x2 matrix transformations for handling rotation and coordinate system changes.
  • Bezier: Provides Bézier curve interpolation algorithms to convert curves into point sequences.
  • Line: Handles line intersection calculations and vector-based line segment operations.
  • Path: Defines basic path data types (supporting Line, Qcurve, Ccurve, etc.) and provides core geometric algorithms such as translation, scaling, and bounding box fitting.
  • Svg_path: Handles the mapping and conversion between SVG path commands (e.g., M, L, C, Q, A) and the internal Path structure.
  • Svg: Manages SVG container structures. Note: Only supports <path> element, its d attribute, and optional <g> container. Provides ViewBox auto-reset and fitting functionality.
  • Glif: UFO Glif Path Module. Specifically designed to parse glyph path data from the Unified Font Object (UFO) format and convert them into the internal path model.