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

16 lines
357 B
JavaScript
Raw Normal View History

2022-09-05 17:27:48 +02:00
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)
}
2022-09-05 17:27:48 +02:00
export const scalebox = {
name: 'legend.scalebox',
plugins: pluginBundle,
draft: legendScalebox,
}