freesewing
a library for made-to-measure sewing patterns
A freesewing plugin to add our logo to your pattern.
Install this plugin from NPM:
npm install --save @freesewing/plugin-logo
To load this plugin, add it to your instantiated pattern:
import pattern from '@freesewing/pattern-brian'
import theme from '@freesewing/plugin-theme'
import logo from '@freesewing/plugin-logo'
pattern.with(theme).with(logo);
You now have the following snippets available:
- logo-xs
- logo-sm
- logo
- logo-lg
- logo-xl
- logo-xxl
You can use them as such:
snippets.logo = new Snippet('logo-sm', points.logo);
Below is an example of the logo and the different sizes. As you can see, the logo's anchor point is the chin.
Questions? Stuck? The freesewing chat room on Gitter is the best place to ask for help.