mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
1 parent
6c14eef1ee
commit
09a49b2c26
10 files changed
+282
-25
No files matched your search
@@ -81,6 +81,9 @@ func pdfGradientStopsError(stops []pdfgo.GradientStop, space *pdfgo.ColorSpace)
|
||||
// 入参: paint 画刷
|
||||
// 返回: error 不可等价表达的渐变
|
||||
func pdfGradientError(paint pdfgo.Paint) error {
|
||||
if paint.Shading != nil {
|
||||
return &pdfgo.UnsupportedError{Feature: "shading pattern state compositing"}
|
||||
}
|
||||
if paint.Function != nil {
|
||||
return &pdfgo.UnsupportedError{Feature: "function shading conversion"}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user