@ue-too/board
Version:
<h1 align="center"> uē-tôo </h1> <p align="center"> pan, zoom, rotate, and more with your html canvas. </p>
30 lines (29 loc) • 1.2 kB
TypeScript
/**
* Utility functions module exports.
*
* @remarks
* This module provides helper functions and utilities used throughout the board package.
* Includes coordinate conversion, drawing helpers, observable patterns, and more.
*
* ## Key Utilities
*
* - **Coordinate Conversion**: Functions for converting between coordinate systems
* - **Drawing Utilities**: {@link reverseYAxis} and other canvas drawing helpers
* - **Observable Pattern**: Simple observer implementation for state updates
* - **Handler Pipeline**: {@link createHandlerChain} for composing transformation functions
* - **Canvas Utilities**: Dimension and position helpers for canvas elements
* - **Zoom Level Adjustment**: Helpers for calculating and adjusting zoom levels
*
* @see {@link createHandlerChain} for creating composable function pipelines
* @see {@link reverseYAxis} for Y-axis coordinate system reversal
*
* @module
*/
export * from "./coorindate-conversion";
export * from "./ruler";
export * from "./observable";
export * from "./handler-pipeline";
export * from "./canvas-position-dimension";
export * from "./drawing-utils";
export * from "./drawing";
export * from "./zoomlevel-adjustment";