Modules§
Structs§
Enums§
Constants§
Functions§
- calculate_
bounding_ box - Calculate bounding box for DUC data in millimeters
- calculate_
required_ scale - Calculate required scale to fit content within safe bounds
- calculate_
required_ scale_ with_ crop_ dimensions - Calculate required scale to fit both content AND crop dimensions within safe bounds
- convert_
duc_ to_ pdf_ crop - Conversion function with crop mode
- convert_
duc_ to_ pdf_ crop_ scaled_ wasm - WASM binding for crop conversion with explicit manual drawing scale.
- convert_
duc_ to_ pdf_ crop_ wasm - WASM binding for crop conversion
- convert_
duc_ to_ pdf_ crop_ with_ dimensions - Conversion function with crop mode and specific dimensions
- convert_
duc_ to_ pdf_ crop_ with_ fonts_ scaled_ wasm - WASM binding for crop conversion with fonts and explicit manual drawing scale.
- convert_
duc_ to_ pdf_ crop_ with_ fonts_ wasm - WASM binding for crop conversion with custom font data
- convert_
duc_ to_ pdf_ crop_ with_ options - convert_
duc_ to_ pdf_ rs - WASM binding for the main conversion function
- convert_
duc_ to_ pdf_ with_ fonts_ and_ options - Main conversion function with options and custom font data
- convert_
duc_ to_ pdf_ with_ fonts_ rs - WASM binding for conversion with custom font data font_map_js: a JS Map<string, Uint8Array> mapping font family names to TTF/OTF bytes
- convert_
duc_ to_ pdf_ with_ fonts_ scaled_ wasm - WASM binding for standard conversion with fonts and an explicit manual drawing scale.
- convert_
duc_ to_ pdf_ with_ options - Main conversion function with options
- convert_
duc_ to_ pdf_ with_ scale_ wasm - WASM binding for standard conversion with an explicit manual drawing scale.
- validate_
coordinates - Validates coordinates are within safe bounds
- validate_
coordinates_ with_ scale - Validates coordinates are within safe bounds with optional scaling
- validate_
precision - Validates precision is above minimum threshold