2019-08-03 15:03:33 +02:00
|
|
|
import { box } from './shared'
|
2019-02-04 18:32:45 +01:00
|
|
|
|
2021-01-31 09:22:15 +01:00
|
|
|
export default (part) => {
|
2019-08-03 15:03:33 +02:00
|
|
|
let { Point, points, Snippet, snippets } = part.shorthand()
|
2019-02-04 18:32:45 +01:00
|
|
|
|
2019-08-03 15:03:33 +02:00
|
|
|
points.anchor = new Point(50, 15)
|
|
|
|
snippets.demo = new Snippet('logo', points.anchor)
|
|
|
|
.attr('data-scale', 0.8)
|
|
|
|
.attr('data-rotate', 180)
|
2019-02-04 18:32:45 +01:00
|
|
|
|
2019-08-03 15:03:33 +02:00
|
|
|
return box(part)
|
|
|
|
}
|