Files
inventory-plus-plus/server/ui/svg/cx.go
T
angel 82efe19ae0
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
prototyped svg reports
2026-08-19 23:19:41 -06:00

25 lines
338 B
Go

package svg
type (
CX struct {
*LengthAttr[CXTag]
}
CXP struct {
PercentageAttr[CXTag]
}
CXTag struct{}
)
func (l *Length) AsCX() CX {
return CX{LengthAttr: (*LengthAttr[CXTag])(l)}
}
func (p Percentage) AsCX() CXP {
return CXP{PercentageAttr: (PercentageAttr[CXTag])(p)}
}
func (CXTag) PrintTag() string {
return "cx"
}