diff options
Diffstat (limited to 'style/style.go')
| -rw-r--r-- | style/style.go | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/style/style.go b/style/style.go new file mode 100644 index 0000000..5b74952 --- /dev/null +++ b/style/style.go @@ -0,0 +1,22 @@ +package style + +import ( + "golang.org/x/exp/shiny/unit" + "golang.org/x/image/math/fixed" +) + +// TODO +type Style struct { +} + +// Convert implements the golang.org/x/exp/shiny/unit.Converter +// interface. +func (s *Style) Convert(v unit.Value, to unit.Unit) unit.Value { + // TODO +} + +// Pixels implements the golang.org/x/exp/shiny/unit.Converter +// interface. +func (s *Style) Pixels(v unit.Value) fixed.Int26_6 { + // TODO +} |