Documentation ¶
Overview ¶
SVG driver (text) for graf.go.
Index ¶
- Constants
- func FStyle(f string) string
- type SvgTextT
- func (t *SvgTextT) Style(font string) (r string)
- func (t *SvgTextT) TMoveTo(s [][]byte)
- func (t *SvgTextT) TNextLine()
- func (t *SvgTextT) TSetMatrix(s [][]byte)
- func (t *SvgTextT) TShow(a []byte)
- func (t *SvgTextT) Utf8Advance(s []byte) ([]byte, string)
- func (t *SvgTextT) Utf8TsAdvance(s []byte) ([]byte, int64)
Constants ¶
View Source
const DEFAULT_FSTYLE = "font-family:Arial;"
View Source
const WIDTH_DENSITY = 10000
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SvgTextT ¶
type SvgTextT struct { Pdf *pdfreader.PdfReaderT Drw *graf.PdfDrawerT Page int // contains filtered or unexported fields }
func New ¶
func New(pdf *pdfreader.PdfReaderT, drw *graf.PdfDrawerT) *SvgTextT
func (*SvgTextT) TSetMatrix ¶
Click to show internal directories.
Click to hide internal directories.