Files
inventory-plus-plus/server/ui/svg/dx.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 (
DX struct {
*LengthAttr[DXTag]
}
DXP struct {
PercentageAttr[DXTag]
}
DXTag struct{}
)
func (l *Length) AsDX() DX {
return DX{LengthAttr: (*LengthAttr[DXTag])(l)}
}
func (p Percentage) AsDX() DXP {
return DXP{PercentageAttr: (PercentageAttr[DXTag])(p)}
}
func (DXTag) PrintTag() string {
return "dx"
}