Files
angel 50adc8e2de
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
Tests / Go tests (push) Failing after 20s
prototyped svg reports
2026-08-20 00:35:13 -06:00

21 lines
290 B
Go

package svg
import (
"fmt"
)
type (
ViewBox struct {
X, Y float64
Width, Height float64
}
)
func (b ViewBox) PrintKey() string {
return "viewBox"
}
func (b ViewBox) PrintValue() (string, bool) {
return fmt.Sprintf(`"%v %v %v %v"`, b.X, b.Y, b.Width, b.Height), true
}