UNPKG

ducjs

Version:

The duc 2D CAD file format is a cornerstone of our advanced design system, conceived to cater to professionals seeking precision and efficiency in their design work.

10 lines (9 loc) 261 B
/** * Utility functions to convert between the two scales */ export const viewportToAnnotationScale = (viewportScale) => { return (1 / viewportScale); }; export const annotationToViewportScale = (annotationScale) => { return (1 / annotationScale); };