mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 01:27:26 +08:00
1 parent
64f9ec4241
commit
0be872691d
76 files changed
+1926
-1307
No files matched your search
@@ -17,6 +17,7 @@ package ofdgo
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
basegeom "github.com/xiaoqidun/ofdgo/internal/base/geom"
|
||||
"slices"
|
||||
|
||||
"github.com/tdewolff/canvas"
|
||||
@@ -56,7 +57,7 @@ func (n *pdfNavigation) addActions(renderer *Renderer, page int, source actionSo
|
||||
if value == nil {
|
||||
continue
|
||||
}
|
||||
path := geometryRectangle(box)
|
||||
path := GeometryPath(basegeom.Rectangle(box))
|
||||
if outline != "" {
|
||||
parsed, err := canvas.ParseSVGPath(outline)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user