1
0
Fork 0
freesewing/designs/legend/src/scalebox.mjs

15 lines
357 B
JavaScript

import { box } from './shared.mjs'
import { pluginBundle } from '@freesewing/plugin-bundle'
function legendScalebox({ points, Point, macro, part }) {
points.a = new Point(55, 25)
macro('scalebox', { at: points.a })
return box(part, 110, 55)
}
export const scalebox = {
name: 'legend.scalebox',
plugins: pluginBundle,
draft: legendScalebox,
}