...
Package pdf
- Constants
- type BoardTitle
- type GoFPDF
- func Init() *GoFPDF
- func (g *GoFPDF) AddPDFPage(png []byte, titlePath []BoardTitle, themeID int64, fill string, shapes []d2target.Shape, pad int64, viewboxX, viewboxY float64, pageMap map[string]int, includeNav bool) error
- func (g *GoFPDF) Export(outputPath string) error
- func (g *GoFPDF) GetFillRGB(themeID int64, fill string) (color.RGB, error)
Package files
pdf.go
Constants
const TITLE_SEP = " / "
type BoardTitle struct {
Name string
BoardID string
}
type GoFPDF struct {
}
func Init() *GoFPDF
func (g *GoFPDF) AddPDFPage(png []byte, titlePath []BoardTitle, themeID int64, fill string, shapes []d2target.Shape, pad int64, viewboxX, viewboxY float64, pageMap map[string]int, includeNav bool) error
func (*GoFPDF) Export
¶
func (g *GoFPDF) Export(outputPath string) error
func (g *GoFPDF) GetFillRGB(themeID int64, fill string) (color.RGB, error)