prototyped svg reports

This commit is contained in:
2026-07-18 18:24:37 -06:00
parent 22e7b003f6
commit c51ad80dc6
106 changed files with 5450 additions and 46 deletions
+71
View File
@@ -0,0 +1,71 @@
package svg
type (
// Rect models a <rect> element
Rect = VoidElement[RectTag, RectAttribute]
RectTag struct{}
// SVGAttributes are Attributes allowed on SVGs
RectAttribute interface {
Attribute
IsRectAttribute()
}
)
func (RectTag) PrintTag() string {
return "rect"
}
func (X) IsRectAttribute() {
}
func (XP) IsRectAttribute() {
}
func (Y) IsRectAttribute() {
}
func (YP) IsRectAttribute() {
}
func (Width) IsRectAttribute() {
}
func (WidthP) IsRectAttribute() {
}
func (Height) IsRectAttribute() {
}
func (HeightP) IsRectAttribute() {
}
func (RX) IsRectAttribute() {
}
func (RXP) IsRectAttribute() {
}
func (RY) IsRectAttribute() {
}
func (RYP) IsRectAttribute() {
}
func (PathLength) IsRectAttribute() {
}
func (Class) IsRectAttribute() {
}
func (Fill) IsRectAttribute() {
}
func (Stroke) IsRectAttribute() {
}
func (StrokeWidth) IsRectAttribute() {
}
func (Style) IsRectAttribute() {
}