feat(渲染能力): 完善底纹填充、描边及基础颜色空间支持
build.yaml / build (push) Successful in 36s

This commit is contained in:
xiaoqidun committed 2026-09-09 19:01:50 +08:00
1 parent 6c9b3f6019
commit 777d0c7c89
8 files changed
+253 -178

No files matched your search

+14
View File
@@ -20,12 +20,26 @@ import "encoding/xml"
type Res struct {
XMLName xml.Name `xml:"Res"`
BaseLoc string `xml:"BaseLoc,attr"`
ColorSpaces ColorSpaces `xml:"ColorSpaces"`
Fonts Fonts `xml:"Fonts"`
MultiMedias MultiMedias `xml:"MultiMedias"`
DrawParams DrawParams `xml:"DrawParams"`
CompositeGraphicUnits CompositeGraphicUnits `xml:"CompositeGraphicUnits"`
}
// ColorSpaces 颜色空间集合
type ColorSpaces struct {
ColorSpace []ColorSpace `xml:"ColorSpace"`
}
// ColorSpace 颜色空间定义
type ColorSpace struct {
ID string `xml:"ID,attr"`
Type string `xml:"Type,attr"`
BitsPerComponent int `xml:"BitsPerComponent,attr"`
Palette []string `xml:"Palette>CV"`
}
// Fonts 字体集合
type Fonts struct {
Font []Font `xml:"Font"`